Struct aws_sdk_codecommit::error::UpdatePullRequestApprovalRuleContentError [−][src]
#[non_exhaustive]pub struct UpdatePullRequestApprovalRuleContentError {
pub kind: UpdatePullRequestApprovalRuleContentErrorKind,
// some fields omitted
}Expand description
Error type for the UpdatePullRequestApprovalRuleContent operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: UpdatePullRequestApprovalRuleContentErrorKindKind of error that occurred.
Implementations
Creates a new UpdatePullRequestApprovalRuleContentError.
Creates the UpdatePullRequestApprovalRuleContentError::Unhandled variant from any error type.
Creates the UpdatePullRequestApprovalRuleContentError::Unhandled variant from a aws_smithy_types::Error.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::ApprovalRuleContentRequiredException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::ApprovalRuleDoesNotExistException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::ApprovalRuleNameRequiredException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::CannotModifyApprovalRuleFromTemplateException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::EncryptionIntegrityChecksFailedException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::EncryptionKeyAccessDeniedException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::EncryptionKeyDisabledException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::EncryptionKeyNotFoundException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::EncryptionKeyUnavailableException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::InvalidApprovalRuleContentException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::InvalidApprovalRuleNameException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::InvalidPullRequestIdException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::InvalidRuleContentSha256Exception.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::PullRequestAlreadyClosedException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::PullRequestDoesNotExistException.
Returns true if the error kind is UpdatePullRequestApprovalRuleContentErrorKind::PullRequestIdRequiredException.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more