Enum aws_sdk_ssoadmin::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
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)
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
InternalServerException(InternalServerException)
The request processing has failed because of an unknown error, exception, or failure with an internal server.
ResourceNotFoundException(ResourceNotFoundException)
Indicates that a requested resource is not found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
Indicates that the principal has crossed the permitted number of resources that can be created.
ThrottlingException(ThrottlingException)
Indicates that the principal has crossed the throttling limits of the API operations.
ValidationException(ValidationException)
The request failed because it contains a syntax error.
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<AttachManagedPolicyToPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AttachManagedPolicyToPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AttachManagedPolicyToPermissionSetError, R>) -> Self
fn from(err: SdkError<AttachManagedPolicyToPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateAccountAssignmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAccountAssignmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAccountAssignmentError, R>) -> Self
fn from(err: SdkError<CreateAccountAssignmentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<CreateInstanceAccessControlAttributeConfigurationError, R>
) -> Self
fn from(
err: SdkError<CreateInstanceAccessControlAttributeConfigurationError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreatePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreatePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreatePermissionSetError, R>) -> Self
fn from(err: SdkError<CreatePermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteAccountAssignmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAccountAssignmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAccountAssignmentError, R>) -> Self
fn from(err: SdkError<DeleteAccountAssignmentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteInlinePolicyFromPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteInlinePolicyFromPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteInlinePolicyFromPermissionSetError, R>) -> Self
fn from(err: SdkError<DeleteInlinePolicyFromPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DeleteInstanceAccessControlAttributeConfigurationError, R>
) -> Self
fn from(
err: SdkError<DeleteInstanceAccessControlAttributeConfigurationError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePermissionSetError, R>) -> Self
fn from(err: SdkError<DeletePermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccountAssignmentCreationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccountAssignmentCreationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccountAssignmentCreationStatusError, R>) -> Self
fn from(err: SdkError<DescribeAccountAssignmentCreationStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccountAssignmentDeletionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccountAssignmentDeletionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccountAssignmentDeletionStatusError, R>) -> Self
fn from(err: SdkError<DescribeAccountAssignmentDeletionStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeInstanceAccessControlAttributeConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeInstanceAccessControlAttributeConfigurationError, R>
) -> Self
fn from(
err: SdkError<DescribeInstanceAccessControlAttributeConfigurationError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePermissionSetError, R>) -> Self
fn from(err: SdkError<DescribePermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribePermissionSetProvisioningStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePermissionSetProvisioningStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePermissionSetProvisioningStatusError, R>) -> Self
fn from(err: SdkError<DescribePermissionSetProvisioningStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DetachManagedPolicyFromPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DetachManagedPolicyFromPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DetachManagedPolicyFromPermissionSetError, R>) -> Self
fn from(err: SdkError<DetachManagedPolicyFromPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetInlinePolicyForPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetInlinePolicyForPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetInlinePolicyForPermissionSetError, R>) -> Self
fn from(err: SdkError<GetInlinePolicyForPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAccountAssignmentCreationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAccountAssignmentCreationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAccountAssignmentCreationStatusError, R>) -> Self
fn from(err: SdkError<ListAccountAssignmentCreationStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAccountAssignmentDeletionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAccountAssignmentDeletionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAccountAssignmentDeletionStatusError, R>) -> Self
fn from(err: SdkError<ListAccountAssignmentDeletionStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAccountAssignmentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAccountAssignmentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAccountAssignmentsError, R>) -> Self
fn from(err: SdkError<ListAccountAssignmentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAccountsForProvisionedPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAccountsForProvisionedPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAccountsForProvisionedPermissionSetError, R>) -> Self
fn from(err: SdkError<ListAccountsForProvisionedPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListInstancesError, R>) -> Self
fn from(err: SdkError<ListInstancesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListManagedPoliciesInPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListManagedPoliciesInPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListManagedPoliciesInPermissionSetError, R>) -> Self
fn from(err: SdkError<ListManagedPoliciesInPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionSetProvisioningStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionSetProvisioningStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionSetProvisioningStatusError, R>) -> Self
fn from(err: SdkError<ListPermissionSetProvisioningStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionSetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionSetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionSetsError, R>) -> Self
fn from(err: SdkError<ListPermissionSetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionSetsProvisionedToAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionSetsProvisionedToAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionSetsProvisionedToAccountError, R>) -> Self
fn from(err: SdkError<ListPermissionSetsProvisionedToAccountError, 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<ProvisionPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ProvisionPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ProvisionPermissionSetError, R>) -> Self
fn from(err: SdkError<ProvisionPermissionSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutInlinePolicyToPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutInlinePolicyToPermissionSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutInlinePolicyToPermissionSetError, R>) -> Self
fn from(err: SdkError<PutInlinePolicyToPermissionSetError, 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<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.
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