Enum aws_sdk_transfer::error::ImportSshPublicKeyErrorKind [−][src]
#[non_exhaustive]
pub enum ImportSshPublicKeyErrorKind {
InternalServiceError(InternalServiceError),
InvalidRequestException(InvalidRequestException),
ResourceExistsException(ResourceExistsException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the ImportSshPublicKey operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InternalServiceError(InternalServiceError)
Tuple Fields
This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.
InvalidRequestException(InvalidRequestException)
Tuple Fields
This exception is thrown when the client submits a malformed request.
ResourceExistsException(ResourceExistsException)
Tuple Fields
The requested resource does not exist.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
ServiceUnavailableException(ServiceUnavailableException)
The request has failed because the Amazon Web ServicesTransfer Family service is not available.
ThrottlingException(ThrottlingException)
Tuple Fields
The request was denied due to request throttling.
HTTP Status Code: 400
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ImportSshPublicKeyErrorKind
impl Send for ImportSshPublicKeyErrorKind
impl Sync for ImportSshPublicKeyErrorKind
impl Unpin for ImportSshPublicKeyErrorKind
impl !UnwindSafe for ImportSshPublicKeyErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
