CodeCatalyst / Client / get_source_repository

get_source_repository#

CodeCatalyst.Client.get_source_repository(**kwargs)#

Returns information about a source repository.

See also: AWS API Documentation

Request Syntax

response = client.get_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',
    'description': 'string',
    'lastUpdatedTime': datetime(2015, 1, 1),
    'createdTime': datetime(2015, 1, 1)
}

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 source repository.

    • description (string) –

      The description of the source repository.

    • lastUpdatedTime (datetime) –

      The time the source repository was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

    • createdTime (datetime) –

      The time the source repository was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

Exceptions