CodeCommit / Client / list_repositories_for_approval_rule_template

list_repositories_for_approval_rule_template#

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
)
Parameters:
  • approvalRuleTemplateName (string) –

    [REQUIRED]

    The name of the approval rule template for which you want to list repositories that are associated with that template.

  • nextToken (string) – An enumeration token that, when provided in a request, returns the next batch of the results.

  • maxResults (integer) – A non-zero, non-negative integer used to limit the number of returned results.

Return type:

dict

Returns:

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.

      • (string) –

    • 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