#[non_exhaustive]
pub enum Error {
Show 23 variants DirectoryInUseException(DirectoryInUseException), DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException), DirectoryUnavailableException(DirectoryUnavailableException), EmailAddressInUseException(EmailAddressInUseException), EntityAlreadyRegisteredException(EntityAlreadyRegisteredException), EntityNotFoundException(EntityNotFoundException), EntityStateException(EntityStateException), InvalidConfigurationException(InvalidConfigurationException), InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException), InvalidParameterException(InvalidParameterException), InvalidPasswordException(InvalidPasswordException), LimitExceededException(LimitExceededException), MailDomainInUseException(MailDomainInUseException), MailDomainNotFoundException(MailDomainNotFoundException), MailDomainStateException(MailDomainStateException), NameAvailabilityException(NameAvailabilityException), OrganizationNotFoundException(OrganizationNotFoundException), OrganizationStateException(OrganizationStateException), ReservedNameException(ReservedNameException), ResourceNotFoundException(ResourceNotFoundException), TooManyTagsException(TooManyTagsException), UnsupportedOperationException(UnsupportedOperationException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

DirectoryInUseException(DirectoryInUseException)

The directory is already in use by another WorkMail organization in the same account and Region.

§

DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException)

The directory service doesn't recognize the credentials supplied by WorkMail.

§

DirectoryUnavailableException(DirectoryUnavailableException)

The directory is unavailable. It might be located in another Region or deleted.

§

EmailAddressInUseException(EmailAddressInUseException)

The email address that you're trying to assign is already created for a different user, group, or resource.

§

EntityAlreadyRegisteredException(EntityAlreadyRegisteredException)

The user, group, or resource that you're trying to register is already registered.

§

EntityNotFoundException(EntityNotFoundException)

The identifier supplied for the user, group, or resource does not exist in your organization.

§

EntityStateException(EntityStateException)

You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.

§

InvalidConfigurationException(InvalidConfigurationException)

The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do so on its behalf.

§

InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException)

You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule.

§

InvalidParameterException(InvalidParameterException)

One or more of the input parameters don't match the service's restrictions.

§

InvalidPasswordException(InvalidPasswordException)

The supplied password doesn't match the minimum security constraints, such as length or use of special characters.

§

LimitExceededException(LimitExceededException)

The request exceeds the limit of the resource.

§

MailDomainInUseException(MailDomainInUseException)

The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

§

MailDomainNotFoundException(MailDomainNotFoundException)

The domain specified is not found in your organization.

§

MailDomainStateException(MailDomainStateException)

After a domain has been added to the organization, it must be verified. The domain is not yet verified.

§

NameAvailabilityException(NameAvailabilityException)

The user, group, or resource name isn't unique in WorkMail.

§

OrganizationNotFoundException(OrganizationNotFoundException)

An operation received a valid organization identifier that either doesn't belong or exist in the system.

§

OrganizationStateException(OrganizationStateException)

The organization must have a valid state to perform certain operations on the organization or its members.

§

ReservedNameException(ReservedNameException)

This user, group, or resource name is not allowed in WorkMail.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource cannot be found.

§

TooManyTagsException(TooManyTagsException)

The resource can have up to 50 user-applied tags.

§

UnsupportedOperationException(UnsupportedOperationException)

You can't perform a write operation against a read-only directory.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AssociateDelegateToResourceError> for Error

source§

fn from(err: AssociateDelegateToResourceError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateMemberToGroupError> for Error

source§

fn from(err: AssociateMemberToGroupError) -> Self

Converts to this type from the input type.
source§

impl From<AssumeImpersonationRoleError> for Error

source§

fn from(err: AssumeImpersonationRoleError) -> Self

Converts to this type from the input type.
source§

impl From<CancelMailboxExportJobError> for Error

source§

fn from(err: CancelMailboxExportJobError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAliasError> for Error

source§

fn from(err: CreateAliasError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAvailabilityConfigurationError> for Error

source§

fn from(err: CreateAvailabilityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGroupError> for Error

source§

fn from(err: CreateGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateImpersonationRoleError> for Error

source§

fn from(err: CreateImpersonationRoleError) -> Self

Converts to this type from the input type.
source§

impl From<CreateMobileDeviceAccessRuleError> for Error

source§

fn from(err: CreateMobileDeviceAccessRuleError) -> Self

Converts to this type from the input type.
source§

impl From<CreateOrganizationError> for Error

source§

fn from(err: CreateOrganizationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateResourceError> for Error

source§

fn from(err: CreateResourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserError> for Error

source§

fn from(err: CreateUserError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAccessControlRuleError> for Error

source§

fn from(err: DeleteAccessControlRuleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAliasError> for Error

source§

fn from(err: DeleteAliasError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAvailabilityConfigurationError> for Error

source§

fn from(err: DeleteAvailabilityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEmailMonitoringConfigurationError> for Error

source§

fn from(err: DeleteEmailMonitoringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGroupError> for Error

source§

fn from(err: DeleteGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteImpersonationRoleError> for Error

source§

fn from(err: DeleteImpersonationRoleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteMailboxPermissionsError> for Error

source§

fn from(err: DeleteMailboxPermissionsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteMobileDeviceAccessOverrideError> for Error

source§

fn from(err: DeleteMobileDeviceAccessOverrideError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteMobileDeviceAccessRuleError> for Error

source§

fn from(err: DeleteMobileDeviceAccessRuleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteOrganizationError> for Error

source§

fn from(err: DeleteOrganizationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResourceError> for Error

source§

fn from(err: DeleteResourceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRetentionPolicyError> for Error

source§

fn from(err: DeleteRetentionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserError> for Error

source§

fn from(err: DeleteUserError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterFromWorkMailError> for Error

source§

fn from(err: DeregisterFromWorkMailError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterMailDomainError> for Error

source§

fn from(err: DeregisterMailDomainError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEmailMonitoringConfigurationError> for Error

source§

fn from(err: DescribeEmailMonitoringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeGroupError> for Error

source§

fn from(err: DescribeGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeInboundDmarcSettingsError> for Error

source§

fn from(err: DescribeInboundDmarcSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeMailboxExportJobError> for Error

source§

fn from(err: DescribeMailboxExportJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeOrganizationError> for Error

source§

fn from(err: DescribeOrganizationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeResourceError> for Error

source§

fn from(err: DescribeResourceError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserError> for Error

source§

fn from(err: DescribeUserError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateDelegateFromResourceError> for Error

source§

fn from(err: DisassociateDelegateFromResourceError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateMemberFromGroupError> for Error

source§

fn from(err: DisassociateMemberFromGroupError) -> Self

Converts to this type from the input type.
source§

impl From<GetAccessControlEffectError> for Error

source§

fn from(err: GetAccessControlEffectError) -> Self

Converts to this type from the input type.
source§

impl From<GetDefaultRetentionPolicyError> for Error

source§

fn from(err: GetDefaultRetentionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetImpersonationRoleEffectError> for Error

source§

fn from(err: GetImpersonationRoleEffectError) -> Self

Converts to this type from the input type.
source§

impl From<GetImpersonationRoleError> for Error

source§

fn from(err: GetImpersonationRoleError) -> Self

Converts to this type from the input type.
source§

impl From<GetMailDomainError> for Error

source§

fn from(err: GetMailDomainError) -> Self

Converts to this type from the input type.
source§

impl From<GetMailboxDetailsError> for Error

source§

fn from(err: GetMailboxDetailsError) -> Self

Converts to this type from the input type.
source§

impl From<GetMobileDeviceAccessEffectError> for Error

source§

fn from(err: GetMobileDeviceAccessEffectError) -> Self

Converts to this type from the input type.
source§

impl From<GetMobileDeviceAccessOverrideError> for Error

source§

fn from(err: GetMobileDeviceAccessOverrideError) -> Self

Converts to this type from the input type.
source§

impl From<ListAccessControlRulesError> for Error

source§

fn from(err: ListAccessControlRulesError) -> Self

Converts to this type from the input type.
source§

impl From<ListAliasesError> for Error

source§

fn from(err: ListAliasesError) -> Self

Converts to this type from the input type.
source§

impl From<ListAvailabilityConfigurationsError> for Error

source§

fn from(err: ListAvailabilityConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListGroupMembersError> for Error

source§

fn from(err: ListGroupMembersError) -> Self

Converts to this type from the input type.
source§

impl From<ListGroupsError> for Error

source§

fn from(err: ListGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListImpersonationRolesError> for Error

source§

fn from(err: ListImpersonationRolesError) -> Self

Converts to this type from the input type.
source§

impl From<ListMailDomainsError> for Error

source§

fn from(err: ListMailDomainsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMailboxExportJobsError> for Error

source§

fn from(err: ListMailboxExportJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMailboxPermissionsError> for Error

source§

fn from(err: ListMailboxPermissionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMobileDeviceAccessOverridesError> for Error

source§

fn from(err: ListMobileDeviceAccessOverridesError) -> Self

Converts to this type from the input type.
source§

impl From<ListMobileDeviceAccessRulesError> for Error

source§

fn from(err: ListMobileDeviceAccessRulesError) -> Self

Converts to this type from the input type.
source§

impl From<ListOrganizationsError> for Error

source§

fn from(err: ListOrganizationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListResourceDelegatesError> for Error

source§

fn from(err: ListResourceDelegatesError) -> Self

Converts to this type from the input type.
source§

impl From<ListResourcesError> for Error

source§

fn from(err: ListResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListUsersError> for Error

source§

fn from(err: ListUsersError) -> Self

Converts to this type from the input type.
source§

impl From<PutAccessControlRuleError> for Error

source§

fn from(err: PutAccessControlRuleError) -> Self

Converts to this type from the input type.
source§

impl From<PutEmailMonitoringConfigurationError> for Error

source§

fn from(err: PutEmailMonitoringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutInboundDmarcSettingsError> for Error

source§

fn from(err: PutInboundDmarcSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<PutMailboxPermissionsError> for Error

source§

fn from(err: PutMailboxPermissionsError) -> Self

Converts to this type from the input type.
source§

impl From<PutMobileDeviceAccessOverrideError> for Error

source§

fn from(err: PutMobileDeviceAccessOverrideError) -> Self

Converts to this type from the input type.
source§

impl From<PutRetentionPolicyError> for Error

source§

fn from(err: PutRetentionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RegisterMailDomainError> for Error

source§

fn from(err: RegisterMailDomainError) -> Self

Converts to this type from the input type.
source§

impl From<RegisterToWorkMailError> for Error

source§

fn from(err: RegisterToWorkMailError) -> Self

Converts to this type from the input type.
source§

impl From<ResetPasswordError> for Error

source§

fn from(err: ResetPasswordError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateDelegateToResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateDelegateToResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateMemberToGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateMemberToGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssumeImpersonationRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssumeImpersonationRoleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CancelMailboxExportJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CancelMailboxExportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateAliasError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateAvailabilityConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateAvailabilityConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateImpersonationRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateImpersonationRoleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateMobileDeviceAccessRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateMobileDeviceAccessRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateOrganizationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateOrganizationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUserError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteAccessControlRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteAccessControlRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteAliasError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteAvailabilityConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteAvailabilityConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteEmailMonitoringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteEmailMonitoringConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteImpersonationRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteImpersonationRoleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteMailboxPermissionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteMailboxPermissionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteMobileDeviceAccessOverrideError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteMobileDeviceAccessOverrideError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteMobileDeviceAccessRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteMobileDeviceAccessRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteOrganizationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteOrganizationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRetentionPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRetentionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeregisterFromWorkMailError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeregisterFromWorkMailError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeregisterMailDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeregisterMailDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeEmailMonitoringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeEmailMonitoringConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeInboundDmarcSettingsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeInboundDmarcSettingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeMailboxExportJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeMailboxExportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeOrganizationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeOrganizationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUserError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateDelegateFromResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DisassociateDelegateFromResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateMemberFromGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DisassociateMemberFromGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetAccessControlEffectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetAccessControlEffectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetDefaultRetentionPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetDefaultRetentionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetImpersonationRoleEffectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetImpersonationRoleEffectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetImpersonationRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetImpersonationRoleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMailDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetMailDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMailboxDetailsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetMailboxDetailsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMobileDeviceAccessEffectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetMobileDeviceAccessEffectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMobileDeviceAccessOverrideError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetMobileDeviceAccessOverrideError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListAccessControlRulesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListAccessControlRulesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListAliasesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListAliasesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListAvailabilityConfigurationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListAvailabilityConfigurationsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListGroupMembersError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListGroupMembersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListImpersonationRolesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListImpersonationRolesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMailDomainsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListMailDomainsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMailboxExportJobsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListMailboxExportJobsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMailboxPermissionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListMailboxPermissionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMobileDeviceAccessOverridesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListMobileDeviceAccessOverridesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMobileDeviceAccessRulesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListMobileDeviceAccessRulesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListOrganizationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListOrganizationsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListResourceDelegatesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListResourceDelegatesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListResourcesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListResourcesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUsersError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUsersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutAccessControlRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutAccessControlRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutEmailMonitoringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutEmailMonitoringConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutInboundDmarcSettingsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutInboundDmarcSettingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutMailboxPermissionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutMailboxPermissionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutMobileDeviceAccessOverrideError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutMobileDeviceAccessOverrideError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutRetentionPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutRetentionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RegisterMailDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RegisterMailDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RegisterToWorkMailError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RegisterToWorkMailError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ResetPasswordError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ResetPasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartMailboxExportJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StartMailboxExportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TestAvailabilityConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TestAvailabilityConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateAvailabilityConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateAvailabilityConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateDefaultMailDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateDefaultMailDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateImpersonationRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateImpersonationRoleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateMailboxQuotaError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateMailboxQuotaError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateMobileDeviceAccessRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateMobileDeviceAccessRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdatePrimaryEmailAddressError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdatePrimaryEmailAddressError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl From<StartMailboxExportJobError> for Error

source§

fn from(err: StartMailboxExportJobError) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<TestAvailabilityConfigurationError> for Error

source§

fn from(err: TestAvailabilityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAvailabilityConfigurationError> for Error

source§

fn from(err: UpdateAvailabilityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDefaultMailDomainError> for Error

source§

fn from(err: UpdateDefaultMailDomainError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateImpersonationRoleError> for Error

source§

fn from(err: UpdateImpersonationRoleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateMailboxQuotaError> for Error

source§

fn from(err: UpdateMailboxQuotaError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateMobileDeviceAccessRuleError> for Error

source§

fn from(err: UpdateMobileDeviceAccessRuleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdatePrimaryEmailAddressError> for Error

source§

fn from(err: UpdatePrimaryEmailAddressError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateResourceError> for Error

source§

fn from(err: UpdateResourceError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

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§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more