Enum rusoto_lightsail::GetDiskSnapshotsError [−][src]
pub enum GetDiskSnapshotsError { AccessDenied(String), AccountSetupInProgress(String), InvalidInput(String), NotFound(String), OperationFailure(String), Service(String), Unauthenticated(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetDiskSnapshots
Variants
AccessDenied(String)
Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.
AccountSetupInProgress(String)
Lightsail throws this exception when an account is still in the setup in progress state.
InvalidInput(String)
Lightsail throws this exception when user input does not conform to the validation rules of an input field.
Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your AWS Region configuration to us-east-1 to create, view, or edit these resources.
NotFound(String)
Lightsail throws this exception when it cannot find a resource.
OperationFailure(String)
Lightsail throws this exception when an operation fails to execute.
Service(String)
A general service exception.
Unauthenticated(String)
Lightsail throws this exception when the user has not been authenticated.
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 GetDiskSnapshotsError
[src]
impl GetDiskSnapshotsError
pub fn from_body(body: &str) -> GetDiskSnapshotsError
[src]
pub fn from_body(body: &str) -> GetDiskSnapshotsError
Trait Implementations
impl Debug for GetDiskSnapshotsError
[src]
impl Debug for GetDiskSnapshotsError
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 GetDiskSnapshotsError
[src]
impl PartialEq for GetDiskSnapshotsError
fn eq(&self, other: &GetDiskSnapshotsError) -> bool
[src]
fn eq(&self, other: &GetDiskSnapshotsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetDiskSnapshotsError) -> bool
[src]
fn ne(&self, other: &GetDiskSnapshotsError) -> bool
This method tests for !=
.
impl From<Error> for GetDiskSnapshotsError
[src]
impl From<Error> for GetDiskSnapshotsError
fn from(err: Error) -> GetDiskSnapshotsError
[src]
fn from(err: Error) -> GetDiskSnapshotsError
Performs the conversion.
impl From<CredentialsError> for GetDiskSnapshotsError
[src]
impl From<CredentialsError> for GetDiskSnapshotsError
fn from(err: CredentialsError) -> GetDiskSnapshotsError
[src]
fn from(err: CredentialsError) -> GetDiskSnapshotsError
Performs the conversion.
impl From<HttpDispatchError> for GetDiskSnapshotsError
[src]
impl From<HttpDispatchError> for GetDiskSnapshotsError
fn from(err: HttpDispatchError) -> GetDiskSnapshotsError
[src]
fn from(err: HttpDispatchError) -> GetDiskSnapshotsError
Performs the conversion.
impl From<Error> for GetDiskSnapshotsError
[src]
impl From<Error> for GetDiskSnapshotsError
fn from(err: Error) -> GetDiskSnapshotsError
[src]
fn from(err: Error) -> GetDiskSnapshotsError
Performs the conversion.
impl Display for GetDiskSnapshotsError
[src]
impl Display for GetDiskSnapshotsError
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 GetDiskSnapshotsError
[src]
impl Error for GetDiskSnapshotsError
Auto Trait Implementations
impl Send for GetDiskSnapshotsError
impl Send for GetDiskSnapshotsError
impl Sync for GetDiskSnapshotsError
impl Sync for GetDiskSnapshotsError