Enum rusoto_logs::PutRetentionPolicyError
[−]
[src]
pub enum PutRetentionPolicyError { InvalidParameter(String), OperationAborted(String), ResourceNotFound(String), ServiceUnavailable(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutRetentionPolicy
Variants
InvalidParameter(String)
A parameter is specified incorrectly.
OperationAborted(String)
Multiple requests to update the same resource were in conflict.
ResourceNotFound(String)
The specified resource does not exist.
The service cannot complete the request.
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 PutRetentionPolicyError
[src]
fn from_body(body: &str) -> PutRetentionPolicyError
[src]
Trait Implementations
impl Debug for PutRetentionPolicyError
[src]
impl PartialEq for PutRetentionPolicyError
[src]
fn eq(&self, __arg_0: &PutRetentionPolicyError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PutRetentionPolicyError) -> bool
[src]
This method tests for !=
.
impl From<Error> for PutRetentionPolicyError
[src]
fn from(err: Error) -> PutRetentionPolicyError
[src]
Performs the conversion.
impl From<CredentialsError> for PutRetentionPolicyError
[src]
fn from(err: CredentialsError) -> PutRetentionPolicyError
[src]
Performs the conversion.
impl From<HttpDispatchError> for PutRetentionPolicyError
[src]
fn from(err: HttpDispatchError) -> PutRetentionPolicyError
[src]
Performs the conversion.
impl From<Error> for PutRetentionPolicyError
[src]
fn from(err: Error) -> PutRetentionPolicyError
[src]
Performs the conversion.
impl Display for PutRetentionPolicyError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more