SageMaker.Paginator.
ListCodeRepositories
¶paginator = client.get_paginator('list_code_repositories')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from SageMaker.Client.list_code_repositories()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
CreationTimeAfter=datetime(2015, 1, 1),
CreationTimeBefore=datetime(2015, 1, 1),
LastModifiedTimeAfter=datetime(2015, 1, 1),
LastModifiedTimeBefore=datetime(2015, 1, 1),
NameContains='string',
SortBy='Name'|'CreationTime'|'LastModifiedTime',
SortOrder='Ascending'|'Descending',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
Name
.Ascending
.A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'CodeRepositorySummaryList': [
{
'CodeRepositoryName': 'string',
'CodeRepositoryArn': 'string',
'CreationTime': datetime(2015, 1, 1),
'LastModifiedTime': datetime(2015, 1, 1),
'GitConfig': {
'RepositoryUrl': 'string',
'Branch': 'string',
'SecretArn': 'string'
}
},
],
}
Response Structure
(dict) --
CodeRepositorySummaryList (list) --
Gets a list of summaries of the Git repositories. Each summary specifies the following values for the repository:
(dict) --
Specifies summary information about a Git repository.
CodeRepositoryName (string) --
The name of the Git repository.
CodeRepositoryArn (string) --
The Amazon Resource Name (ARN) of the Git repository.
CreationTime (datetime) --
The date and time that the Git repository was created.
LastModifiedTime (datetime) --
The date and time that the Git repository was last modified.
GitConfig (dict) --
Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
RepositoryUrl (string) --
The URL where the Git repository is located.
Branch (string) --
The default branch for the Git repository.
SecretArn (string) --
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}