CodeCommit.Client.
list_repositories_for_approval_rule_template
(**kwargs)¶Lists all repositories associated with the specified approval rule template.
See also: AWS API Documentation
Request Syntax
response = client.list_repositories_for_approval_rule_template(
approvalRuleTemplateName='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The name of the approval rule template for which you want to list repositories that are associated with that template.
dict
Response Syntax
{
'repositoryNames': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
repositoryNames (list) --
A list of repository names that are associated with the specified approval rule template.
nextToken (string) --
An enumeration token that allows the operation to batch the next results of the operation.
Exceptions
CodeCommit.Client.exceptions.ApprovalRuleTemplateNameRequiredException
CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateNameException
CodeCommit.Client.exceptions.ApprovalRuleTemplateDoesNotExistException
CodeCommit.Client.exceptions.InvalidMaxResultsException
CodeCommit.Client.exceptions.InvalidContinuationTokenException
CodeCommit.Client.exceptions.EncryptionIntegrityChecksFailedException
CodeCommit.Client.exceptions.EncryptionKeyAccessDeniedException
CodeCommit.Client.exceptions.EncryptionKeyDisabledException
CodeCommit.Client.exceptions.EncryptionKeyNotFoundException
CodeCommit.Client.exceptions.EncryptionKeyUnavailableException