pub enum EnableLoggingError {
BucketNotFoundFault(String),
ClusterNotFoundFault(String),
InsufficientS3BucketPolicyFault(String),
InvalidClusterStateFault(String),
InvalidS3BucketNameFault(String),
InvalidS3KeyPrefixFault(String),
}
Expand description
Errors returned by EnableLogging
Variants§
BucketNotFoundFault(String)
Could not find the specified S3 bucket.
ClusterNotFoundFault(String)
The ClusterIdentifier
parameter does not refer to an existing cluster.
InsufficientS3BucketPolicyFault(String)
The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.
InvalidClusterStateFault(String)
The specified cluster is not in the available
state.
InvalidS3BucketNameFault(String)
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(String)
The string specified for the logging S3 key prefix does not comply with the documented constraints.
Implementations§
Source§impl EnableLoggingError
impl EnableLoggingError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<EnableLoggingError>
Trait Implementations§
Source§impl Debug for EnableLoggingError
impl Debug for EnableLoggingError
Source§impl Display for EnableLoggingError
impl Display for EnableLoggingError
Source§impl Error for EnableLoggingError
impl Error for EnableLoggingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EnableLoggingError
impl PartialEq for EnableLoggingError
impl StructuralPartialEq for EnableLoggingError
Auto Trait Implementations§
impl Freeze for EnableLoggingError
impl RefUnwindSafe for EnableLoggingError
impl Send for EnableLoggingError
impl Sync for EnableLoggingError
impl Unpin for EnableLoggingError
impl UnwindSafe for EnableLoggingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more