CodeCatalyst / Client / get_source_repository_clone_urls

get_source_repository_clone_urls#

CodeCatalyst.Client.get_source_repository_clone_urls(**kwargs)#

Returns information about the URLs that can be used with a Git client to clone a source repository.

See also: AWS API Documentation

Request Syntax

response = client.get_source_repository_clone_urls(
    spaceName='string',
    projectName='string',
    sourceRepositoryName='string'
)
Parameters:
  • spaceName (string) –

    [REQUIRED]

    The name of the space.

  • projectName (string) –

    [REQUIRED]

    The name of the project in the space.

  • sourceRepositoryName (string) –

    [REQUIRED]

    The name of the source repository.

Return type:

dict

Returns:

Response Syntax

{
    'https': 'string'
}

Response Structure

  • (dict) –

    • https (string) –

      The HTTPS URL to use when cloning the source repository.

Exceptions

  • CodeCatalyst.Client.exceptions.ThrottlingException

  • CodeCatalyst.Client.exceptions.ConflictException

  • CodeCatalyst.Client.exceptions.ValidationException

  • CodeCatalyst.Client.exceptions.ServiceQuotaExceededException

  • CodeCatalyst.Client.exceptions.ResourceNotFoundException

  • CodeCatalyst.Client.exceptions.AccessDeniedException