pub enum AssociateApprovalRuleTemplateWithRepositoryError {
ApprovalRuleTemplateDoesNotExist(String),
ApprovalRuleTemplateNameRequired(String),
EncryptionIntegrityChecksFailed(String),
EncryptionKeyAccessDenied(String),
EncryptionKeyDisabled(String),
EncryptionKeyNotFound(String),
EncryptionKeyUnavailable(String),
InvalidApprovalRuleTemplateName(String),
InvalidRepositoryName(String),
MaximumRuleTemplatesAssociatedWithRepository(String),
RepositoryDoesNotExist(String),
RepositoryNameRequired(String),
}Expand description
Errors returned by AssociateApprovalRuleTemplateWithRepository
Variants§
ApprovalRuleTemplateDoesNotExist(String)
The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template was created, and then try again.
ApprovalRuleTemplateNameRequired(String)
An approval rule template name is required, but was not specified.
EncryptionIntegrityChecksFailed(String)
An encryption integrity check failed.
EncryptionKeyAccessDenied(String)
An encryption key could not be accessed.
EncryptionKeyDisabled(String)
The encryption key is disabled.
EncryptionKeyNotFound(String)
No encryption key was found.
The encryption key is not available.
InvalidApprovalRuleTemplateName(String)
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 AWS CodeCommit, see AWS CodeCommit User Guide.
InvalidRepositoryName(String)
A specified repository name is not valid.
This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
MaximumRuleTemplatesAssociatedWithRepository(String)
The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25 approval rule templates with a repository.
RepositoryDoesNotExist(String)
The specified repository does not exist.
RepositoryNameRequired(String)
A repository name is required, but was not specified.
Implementations§
Trait Implementations§
Source§impl Error for AssociateApprovalRuleTemplateWithRepositoryError
impl Error for AssociateApprovalRuleTemplateWithRepositoryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for AssociateApprovalRuleTemplateWithRepositoryError
impl PartialEq for AssociateApprovalRuleTemplateWithRepositoryError
Source§fn eq(&self, other: &AssociateApprovalRuleTemplateWithRepositoryError) -> bool
fn eq(&self, other: &AssociateApprovalRuleTemplateWithRepositoryError) -> bool
self and other values to be equal, and is used by ==.