Enum aws_sdk_transfer::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServiceError(InternalServiceError),
InvalidNextTokenException(InvalidNextTokenException),
InvalidRequestException(InvalidRequestException),
ResourceExistsException(ResourceExistsException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
ConflictException(ConflictException)
This exception is thrown when the UpdateServer
is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID
is not in the available state.
InternalServiceError(InternalServiceError)
This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.
InvalidNextTokenException(InvalidNextTokenException)
The NextToken
parameter that was passed is invalid.
InvalidRequestException(InvalidRequestException)
This exception is thrown when the client submits a malformed request.
ResourceExistsException(ResourceExistsException)
The requested resource does not exist.
ResourceNotFoundException(ResourceNotFoundException)
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)
The request was denied due to request throttling.
HTTP Status Code: 400
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CreateAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAccessError, R>) -> Self
fn from(err: SdkError<CreateAccessError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateServerError, R>) -> Self
fn from(err: SdkError<CreateServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateUserError, R>) -> Self
fn from(err: SdkError<CreateUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateWorkflowError, R>) -> Self
fn from(err: SdkError<CreateWorkflowError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAccessError, R>) -> Self
fn from(err: SdkError<DeleteAccessError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteServerError, R>) -> Self
fn from(err: SdkError<DeleteServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteSshPublicKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteSshPublicKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteSshPublicKeyError, R>) -> Self
fn from(err: SdkError<DeleteSshPublicKeyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteUserError, R>) -> Self
fn from(err: SdkError<DeleteUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteWorkflowError, R>) -> Self
fn from(err: SdkError<DeleteWorkflowError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccessError, R>) -> Self
fn from(err: SdkError<DescribeAccessError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeExecutionError, R>) -> Self
fn from(err: SdkError<DescribeExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSecurityPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSecurityPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSecurityPolicyError, R>) -> Self
fn from(err: SdkError<DescribeSecurityPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeServerError, R>) -> Self
fn from(err: SdkError<DescribeServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeUserError, R>) -> Self
fn from(err: SdkError<DescribeUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeWorkflowError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeWorkflowError, R>) -> Self
fn from(err: SdkError<DescribeWorkflowError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ImportSshPublicKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportSshPublicKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ImportSshPublicKeyError, R>) -> Self
fn from(err: SdkError<ImportSshPublicKeyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAccessesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAccessesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAccessesError, R>) -> Self
fn from(err: SdkError<ListAccessesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListExecutionsError, R>) -> Self
fn from(err: SdkError<ListExecutionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListSecurityPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListSecurityPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListSecurityPoliciesError, R>) -> Self
fn from(err: SdkError<ListSecurityPoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListServersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListServersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListServersError, R>) -> Self
fn from(err: SdkError<ListServersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListUsersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListUsersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListUsersError, R>) -> Self
fn from(err: SdkError<ListUsersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListWorkflowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListWorkflowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListWorkflowsError, R>) -> Self
fn from(err: SdkError<ListWorkflowsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendWorkflowStepStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendWorkflowStepStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendWorkflowStepStateError, R>) -> Self
fn from(err: SdkError<SendWorkflowStepStateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartServerError, R>) -> Self
fn from(err: SdkError<StartServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StopServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopServerError, R>) -> Self
fn from(err: SdkError<StopServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TestIdentityProviderError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TestIdentityProviderError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TestIdentityProviderError, R>) -> Self
fn from(err: SdkError<TestIdentityProviderError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateAccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateAccessError, R>) -> Self
fn from(err: SdkError<UpdateAccessError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more