Enum aws_sdk_redshift::error::EnableLoggingErrorKind [−][src]
#[non_exhaustive]
pub enum EnableLoggingErrorKind {
BucketNotFoundFault(BucketNotFoundFault),
ClusterNotFoundFault(ClusterNotFoundFault),
InsufficientS3BucketPolicyFault(InsufficientS3BucketPolicyFault),
InvalidClusterStateFault(InvalidClusterStateFault),
InvalidS3BucketNameFault(InvalidS3BucketNameFault),
InvalidS3KeyPrefixFault(InvalidS3KeyPrefixFault),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the EnableLogging
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
BucketNotFoundFault(BucketNotFoundFault)
Tuple Fields
Could not find the specified S3 bucket.
ClusterNotFoundFault(ClusterNotFoundFault)
Tuple Fields
The ClusterIdentifier
parameter does not refer to an existing cluster.
InsufficientS3BucketPolicyFault(InsufficientS3BucketPolicyFault)
Tuple Fields
The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.
InvalidClusterStateFault(InvalidClusterStateFault)
Tuple Fields
The specified cluster is not in the available
state.
InvalidS3BucketNameFault(InvalidS3BucketNameFault)
Tuple Fields
The S3 bucket name is invalid. For more information about naming rules, go to Bucket Restrictions and Limitations in the Amazon Simple Storage Service (S3) Developer Guide.
InvalidS3KeyPrefixFault(InvalidS3KeyPrefixFault)
Tuple Fields
The string specified for the logging S3 key prefix does not comply with the documented constraints.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EnableLoggingErrorKind
impl Send for EnableLoggingErrorKind
impl Sync for EnableLoggingErrorKind
impl Unpin for EnableLoggingErrorKind
impl !UnwindSafe for EnableLoggingErrorKind
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