Struct aws_sdk_cloudtrail::error::UpdateTrailError
source · [−]#[non_exhaustive]pub struct UpdateTrailError {
pub kind: UpdateTrailErrorKind,
/* private fields */
}
Expand description
Error type for the UpdateTrail
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: UpdateTrailErrorKind
Kind of error that occurred.
Implementations
Creates a new UpdateTrailError
.
Creates the UpdateTrailError::Unhandled
variant from any error type.
Creates the UpdateTrailError::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 UpdateTrailErrorKind::CloudTrailAccessNotEnabledException
.
Returns true
if the error kind is UpdateTrailErrorKind::CloudTrailInvalidClientTokenIdException
.
Returns true
if the error kind is UpdateTrailErrorKind::CloudWatchLogsDeliveryUnavailableException
.
Returns true
if the error kind is UpdateTrailErrorKind::InsufficientDependencyServiceAccessPermissionException
.
Returns true
if the error kind is UpdateTrailErrorKind::InsufficientEncryptionPolicyException
.
Returns true
if the error kind is UpdateTrailErrorKind::InsufficientS3BucketPolicyException
.
Returns true
if the error kind is UpdateTrailErrorKind::InsufficientSnsTopicPolicyException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidCloudWatchLogsLogGroupArnException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidCloudWatchLogsRoleArnException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidEventSelectorsException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidHomeRegionException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidKmsKeyIdException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidParameterCombinationException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidS3BucketNameException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidS3PrefixException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidSnsTopicNameException
.
Returns true
if the error kind is UpdateTrailErrorKind::InvalidTrailNameException
.
Returns true
if the error kind is UpdateTrailErrorKind::KmsException
.
Returns true
if the error kind is UpdateTrailErrorKind::KmsKeyDisabledException
.
Returns true
if the error kind is UpdateTrailErrorKind::KmsKeyNotFoundException
.
Returns true
if the error kind is UpdateTrailErrorKind::NotOrganizationMasterAccountException
.
Returns true
if the error kind is UpdateTrailErrorKind::OperationNotPermittedException
.
Returns true
if the error kind is UpdateTrailErrorKind::OrganizationNotInAllFeaturesModeException
.
Returns true
if the error kind is UpdateTrailErrorKind::OrganizationsNotInUseException
.
Returns true
if the error kind is UpdateTrailErrorKind::S3BucketDoesNotExistException
.
Returns true
if the error kind is UpdateTrailErrorKind::TrailNotFoundException
.
Returns true
if the error kind is UpdateTrailErrorKind::TrailNotProvidedException
.
Returns true
if the error kind is UpdateTrailErrorKind::UnsupportedOperationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateTrailError
impl Send for UpdateTrailError
impl Sync for UpdateTrailError
impl Unpin for UpdateTrailError
impl !UnwindSafe for UpdateTrailError
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