list_repositories_for_approval_rule_template
async
¶
list_repositories_for_approval_rule_template(
approval_rule_template_name: ApprovalRuleTemplateName,
*,
config_overrides: Optional[AsyncCodeCommitClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListRepositoriesForApprovalRuleTemplateOutput
Lists all repositories associated with the specified approval rule template.
Parameters:
-
approval_rule_template_name(ApprovalRuleTemplateName) –The name of the approval rule template for which you want to list repositories that are associated with that template.
-
next_token(Optional[NextToken], default:None) –An enumeration token that, when provided in a request, returns the next batch of the results.
-
max_results(Optional[MaxResults], default:None) –A non-zero, non-negative integer used to limit the number of returned results.
Raises:
-
ApprovalRuleTemplateDoesNotExistException–The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template was created, and then try again.
-
ApprovalRuleTemplateNameRequiredException–An approval rule template name is required, but was not specified.
-
EncryptionIntegrityChecksFailedException–An encryption integrity check failed.
-
EncryptionKeyAccessDeniedException–An encryption key could not be accessed.
-
EncryptionKeyDisabledException–The encryption key is disabled.
-
EncryptionKeyNotFoundException–No encryption key was found.
-
EncryptionKeyUnavailableException–The encryption key is not available.
-
InvalidApprovalRuleTemplateNameException–The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide.
-
InvalidContinuationTokenException–The specified continuation token is not valid.
-
InvalidMaxResultsException–The specified number of maximum results is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codecommit/_services/async_code_commit.py
4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 | |