CodeCatalyst / Client / delete_source_repository

delete_source_repository#

CodeCatalyst.Client.delete_source_repository(**kwargs)#

Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository.

See also: AWS API Documentation

Request Syntax

response = client.delete_source_repository(
    spaceName='string',
    projectName='string',
    name='string'
)
Parameters:
  • spaceName (string) –

    [REQUIRED]

    The name of the space.

  • projectName (string) –

    [REQUIRED]

    The name of the project in the space.

  • name (string) –

    [REQUIRED]

    The name of the source repository.

Return type:

dict

Returns:

Response Syntax

{
    'spaceName': 'string',
    'projectName': 'string',
    'name': 'string'
}

Response Structure

  • (dict) –

    • spaceName (string) –

      The name of the space.

    • projectName (string) –

      The name of the project in the space.

    • name (string) –

      The name of the repository.

Exceptions