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]
impl EnableLoggingError
pub fn from_body(body: &str) -> EnableLoggingError
[src]
pub fn from_body(body: &str) -> EnableLoggingError
Trait Implementations
impl Debug for EnableLoggingError
[src]
impl Debug for EnableLoggingError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for EnableLoggingError
[src]
impl PartialEq for EnableLoggingError
fn eq(&self, other: &EnableLoggingError) -> bool
[src]
fn eq(&self, other: &EnableLoggingError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EnableLoggingError) -> bool
[src]
fn ne(&self, other: &EnableLoggingError) -> bool
This method tests for !=
.
impl From<XmlParseError> for EnableLoggingError
[src]
impl From<XmlParseError> for EnableLoggingError
fn from(err: XmlParseError) -> EnableLoggingError
[src]
fn from(err: XmlParseError) -> EnableLoggingError
Performs the conversion.
impl From<CredentialsError> for EnableLoggingError
[src]
impl From<CredentialsError> for EnableLoggingError
fn from(err: CredentialsError) -> EnableLoggingError
[src]
fn from(err: CredentialsError) -> EnableLoggingError
Performs the conversion.
impl From<HttpDispatchError> for EnableLoggingError
[src]
impl From<HttpDispatchError> for EnableLoggingError
fn from(err: HttpDispatchError) -> EnableLoggingError
[src]
fn from(err: HttpDispatchError) -> EnableLoggingError
Performs the conversion.
impl From<Error> for EnableLoggingError
[src]
impl From<Error> for EnableLoggingError
fn from(err: Error) -> EnableLoggingError
[src]
fn from(err: Error) -> EnableLoggingError
Performs the conversion.
impl Display for EnableLoggingError
[src]
impl Display for EnableLoggingError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for EnableLoggingError
[src]
impl Error for EnableLoggingError
Auto Trait Implementations
impl Send for EnableLoggingError
impl Send for EnableLoggingError
impl Sync for EnableLoggingError
impl Sync for EnableLoggingError