Enum rusoto_redshift::EnableLoggingError
[−]
[src]
pub enum EnableLoggingError { BucketNotFoundFault(String), ClusterNotFoundFault(String), InsufficientS3BucketPolicyFault(String), InvalidS3BucketNameFault(String), InvalidS3KeyPrefixFault(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
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.
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl EnableLoggingError
[src]
pub fn from_body(body: &str) -> EnableLoggingError
[src]
Trait Implementations
impl Debug for EnableLoggingError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for EnableLoggingError
[src]
fn eq(&self, __arg_0: &EnableLoggingError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnableLoggingError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for EnableLoggingError
[src]
fn from(err: XmlParseError) -> EnableLoggingError
[src]
Performs the conversion.
impl From<CredentialsError> for EnableLoggingError
[src]
fn from(err: CredentialsError) -> EnableLoggingError
[src]
Performs the conversion.
impl From<HttpDispatchError> for EnableLoggingError
[src]
fn from(err: HttpDispatchError) -> EnableLoggingError
[src]
Performs the conversion.
impl From<Error> for EnableLoggingError
[src]
fn from(err: Error) -> EnableLoggingError
[src]
Performs the conversion.
impl Display for EnableLoggingError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more