update_approval_rule_template_description
¶
update_approval_rule_template_description(
approval_rule_template_name: ApprovalRuleTemplateName,
approval_rule_template_description: ApprovalRuleTemplateDescription,
*,
config_overrides: Optional[CodeCommitClientConfig] = None,
) -> UpdateApprovalRuleTemplateDescriptionOutput
Updates the description for a specified approval rule template.
Parameters:
-
approval_rule_template_name(ApprovalRuleTemplateName) –The name of the template for which you want to update the description.
-
approval_rule_template_description(ApprovalRuleTemplateDescription) –The updated description of the approval rule template.
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.
-
InvalidApprovalRuleTemplateDescriptionException–The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide.
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.