CodeCommit.Client.
list_approval_rule_templates
(**kwargs)¶Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
See also: AWS API Documentation
Request Syntax
response = client.list_approval_rule_templates(
nextToken='string',
maxResults=123
)
dict
Response Syntax
{
'approvalRuleTemplateNames': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
approvalRuleTemplateNames (list) --
The names of all the approval rule templates found in the AWS Region for your AWS account.
nextToken (string) --
An enumeration token that allows the operation to batch the next results of the operation.
Exceptions
CodeCommit.Client.exceptions.InvalidMaxResultsException
CodeCommit.Client.exceptions.InvalidContinuationTokenException