SageMaker.Client.
describe_code_repository
(**kwargs)¶Gets details about the specified Git repository.
See also: AWS API Documentation
Request Syntax
response = client.describe_code_repository(
CodeRepositoryName='string'
)
[REQUIRED]
The name of the Git repository to describe.
{
'CodeRepositoryName': 'string',
'CodeRepositoryArn': 'string',
'CreationTime': datetime(2015, 1, 1),
'LastModifiedTime': datetime(2015, 1, 1),
'GitConfig': {
'RepositoryUrl': 'string',
'Branch': 'string',
'SecretArn': 'string'
}
}
Response Structure
The name of the Git repository.
The Amazon Resource Name (ARN) of the Git repository.
The date and time that the repository was created.
The date and time that the repository was last changed.
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
The URL where the Git repository is located.
The default branch for the Git repository.
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}