CodeCommit.Client.
list_associated_approval_rule_templates_for_repository
(**kwargs)¶Lists all approval rule templates that are associated with a specified repository.
See also: AWS API Documentation
Request Syntax
response = client.list_associated_approval_rule_templates_for_repository(
repositoryName='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The name of the repository for which you want to list all associated approval rule templates.
dict
Response Syntax
{
'approvalRuleTemplateNames': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
approvalRuleTemplateNames (list) --
The names of all approval rule templates associated with the repository.
nextToken (string) --
An enumeration token that allows the operation to batch the next results of the operation.
Exceptions
CodeCommit.Client.exceptions.RepositoryNameRequiredException
CodeCommit.Client.exceptions.InvalidRepositoryNameException
CodeCommit.Client.exceptions.RepositoryDoesNotExistException
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