Enum rusoto_ds::CreateSnapshotError [−][src]
pub enum CreateSnapshotError { Client(String), EntityDoesNotExist(String), InvalidParameter(String), Service(String), SnapshotLimitExceeded(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateSnapshot
Variants
Client(String)
A client exception has occurred.
EntityDoesNotExist(String)
The specified entity could not be found.
InvalidParameter(String)
One or more parameters are not valid.
Service(String)
An exception has occurred in AWS Directory Service.
SnapshotLimitExceeded(String)
The maximum number of manual snapshots for the directory has been reached. You can use the GetSnapshotLimits operation to determine the snapshot limits for a directory.
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 CreateSnapshotError
[src]
impl CreateSnapshotError
pub fn from_body(body: &str) -> CreateSnapshotError
[src]
pub fn from_body(body: &str) -> CreateSnapshotError
Trait Implementations
impl Debug for CreateSnapshotError
[src]
impl Debug for CreateSnapshotError
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 CreateSnapshotError
[src]
impl PartialEq for CreateSnapshotError
fn eq(&self, other: &CreateSnapshotError) -> bool
[src]
fn eq(&self, other: &CreateSnapshotError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateSnapshotError) -> bool
[src]
fn ne(&self, other: &CreateSnapshotError) -> bool
This method tests for !=
.
impl From<Error> for CreateSnapshotError
[src]
impl From<Error> for CreateSnapshotError
fn from(err: Error) -> CreateSnapshotError
[src]
fn from(err: Error) -> CreateSnapshotError
Performs the conversion.
impl From<CredentialsError> for CreateSnapshotError
[src]
impl From<CredentialsError> for CreateSnapshotError
fn from(err: CredentialsError) -> CreateSnapshotError
[src]
fn from(err: CredentialsError) -> CreateSnapshotError
Performs the conversion.
impl From<HttpDispatchError> for CreateSnapshotError
[src]
impl From<HttpDispatchError> for CreateSnapshotError
fn from(err: HttpDispatchError) -> CreateSnapshotError
[src]
fn from(err: HttpDispatchError) -> CreateSnapshotError
Performs the conversion.
impl From<Error> for CreateSnapshotError
[src]
impl From<Error> for CreateSnapshotError
fn from(err: Error) -> CreateSnapshotError
[src]
fn from(err: Error) -> CreateSnapshotError
Performs the conversion.
impl Display for CreateSnapshotError
[src]
impl Display for CreateSnapshotError
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 CreateSnapshotError
[src]
impl Error for CreateSnapshotError
Auto Trait Implementations
impl Send for CreateSnapshotError
impl Send for CreateSnapshotError
impl Sync for CreateSnapshotError
impl Sync for CreateSnapshotError