Enum aws_sdk_macie2::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
UnprocessableEntityException(UnprocessableEntityException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Provides information about an error that occurred due to insufficient access to a specified resource.
ConflictException(ConflictException)
Provides information about an error that occurred due to a versioning conflict for a specified resource.
InternalServerException(InternalServerException)
Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
ResourceNotFoundException(ResourceNotFoundException)
Provides information about an error that occurred because a specified resource wasn't found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
Provides information about an error that occurred due to one or more service quotas for an account.
ThrottlingException(ThrottlingException)
Provides information about an error that occurred because too many requests were sent during a certain amount of time.
UnprocessableEntityException(UnprocessableEntityException)
Provides information about an error that occurred due to an unprocessable entity.
ValidationException(ValidationException)
Provides information about an error that occurred due to a syntax error in a request.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AcceptInvitationError> for Error
impl From<AcceptInvitationError> for Error
source§fn from(err: AcceptInvitationError) -> Self
fn from(err: AcceptInvitationError) -> Self
source§impl From<BatchGetCustomDataIdentifiersError> for Error
impl From<BatchGetCustomDataIdentifiersError> for Error
source§fn from(err: BatchGetCustomDataIdentifiersError) -> Self
fn from(err: BatchGetCustomDataIdentifiersError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CreateAllowListError> for Error
impl From<CreateAllowListError> for Error
source§fn from(err: CreateAllowListError) -> Self
fn from(err: CreateAllowListError) -> Self
source§impl From<CreateClassificationJobError> for Error
impl From<CreateClassificationJobError> for Error
source§fn from(err: CreateClassificationJobError) -> Self
fn from(err: CreateClassificationJobError) -> Self
source§impl From<CreateCustomDataIdentifierError> for Error
impl From<CreateCustomDataIdentifierError> for Error
source§fn from(err: CreateCustomDataIdentifierError) -> Self
fn from(err: CreateCustomDataIdentifierError) -> Self
source§impl From<CreateFindingsFilterError> for Error
impl From<CreateFindingsFilterError> for Error
source§fn from(err: CreateFindingsFilterError) -> Self
fn from(err: CreateFindingsFilterError) -> Self
source§impl From<CreateInvitationsError> for Error
impl From<CreateInvitationsError> for Error
source§fn from(err: CreateInvitationsError) -> Self
fn from(err: CreateInvitationsError) -> Self
source§impl From<CreateMemberError> for Error
impl From<CreateMemberError> for Error
source§fn from(err: CreateMemberError) -> Self
fn from(err: CreateMemberError) -> Self
source§impl From<CreateSampleFindingsError> for Error
impl From<CreateSampleFindingsError> for Error
source§fn from(err: CreateSampleFindingsError) -> Self
fn from(err: CreateSampleFindingsError) -> Self
source§impl From<DeclineInvitationsError> for Error
impl From<DeclineInvitationsError> for Error
source§fn from(err: DeclineInvitationsError) -> Self
fn from(err: DeclineInvitationsError) -> Self
source§impl From<DeleteAllowListError> for Error
impl From<DeleteAllowListError> for Error
source§fn from(err: DeleteAllowListError) -> Self
fn from(err: DeleteAllowListError) -> Self
source§impl From<DeleteCustomDataIdentifierError> for Error
impl From<DeleteCustomDataIdentifierError> for Error
source§fn from(err: DeleteCustomDataIdentifierError) -> Self
fn from(err: DeleteCustomDataIdentifierError) -> Self
source§impl From<DeleteFindingsFilterError> for Error
impl From<DeleteFindingsFilterError> for Error
source§fn from(err: DeleteFindingsFilterError) -> Self
fn from(err: DeleteFindingsFilterError) -> Self
source§impl From<DeleteInvitationsError> for Error
impl From<DeleteInvitationsError> for Error
source§fn from(err: DeleteInvitationsError) -> Self
fn from(err: DeleteInvitationsError) -> Self
source§impl From<DeleteMemberError> for Error
impl From<DeleteMemberError> for Error
source§fn from(err: DeleteMemberError) -> Self
fn from(err: DeleteMemberError) -> Self
source§impl From<DescribeBucketsError> for Error
impl From<DescribeBucketsError> for Error
source§fn from(err: DescribeBucketsError) -> Self
fn from(err: DescribeBucketsError) -> Self
source§impl From<DescribeClassificationJobError> for Error
impl From<DescribeClassificationJobError> for Error
source§fn from(err: DescribeClassificationJobError) -> Self
fn from(err: DescribeClassificationJobError) -> Self
source§impl From<DescribeOrganizationConfigurationError> for Error
impl From<DescribeOrganizationConfigurationError> for Error
source§fn from(err: DescribeOrganizationConfigurationError) -> Self
fn from(err: DescribeOrganizationConfigurationError) -> Self
source§impl From<DisableMacieError> for Error
impl From<DisableMacieError> for Error
source§fn from(err: DisableMacieError) -> Self
fn from(err: DisableMacieError) -> Self
source§impl From<DisableOrganizationAdminAccountError> for Error
impl From<DisableOrganizationAdminAccountError> for Error
source§fn from(err: DisableOrganizationAdminAccountError) -> Self
fn from(err: DisableOrganizationAdminAccountError) -> Self
source§impl From<DisassociateFromAdministratorAccountError> for Error
impl From<DisassociateFromAdministratorAccountError> for Error
source§fn from(err: DisassociateFromAdministratorAccountError) -> Self
fn from(err: DisassociateFromAdministratorAccountError) -> Self
source§impl From<DisassociateFromMasterAccountError> for Error
impl From<DisassociateFromMasterAccountError> for Error
source§fn from(err: DisassociateFromMasterAccountError) -> Self
fn from(err: DisassociateFromMasterAccountError) -> Self
source§impl From<DisassociateMemberError> for Error
impl From<DisassociateMemberError> for Error
source§fn from(err: DisassociateMemberError) -> Self
fn from(err: DisassociateMemberError) -> Self
source§impl From<EnableMacieError> for Error
impl From<EnableMacieError> for Error
source§fn from(err: EnableMacieError) -> Self
fn from(err: EnableMacieError) -> Self
source§impl From<EnableOrganizationAdminAccountError> for Error
impl From<EnableOrganizationAdminAccountError> for Error
source§fn from(err: EnableOrganizationAdminAccountError) -> Self
fn from(err: EnableOrganizationAdminAccountError) -> Self
source§impl From<GetAdministratorAccountError> for Error
impl From<GetAdministratorAccountError> for Error
source§fn from(err: GetAdministratorAccountError) -> Self
fn from(err: GetAdministratorAccountError) -> Self
source§impl From<GetAllowListError> for Error
impl From<GetAllowListError> for Error
source§fn from(err: GetAllowListError) -> Self
fn from(err: GetAllowListError) -> Self
source§impl From<GetAutomatedDiscoveryConfigurationError> for Error
impl From<GetAutomatedDiscoveryConfigurationError> for Error
source§fn from(err: GetAutomatedDiscoveryConfigurationError) -> Self
fn from(err: GetAutomatedDiscoveryConfigurationError) -> Self
source§impl From<GetBucketStatisticsError> for Error
impl From<GetBucketStatisticsError> for Error
source§fn from(err: GetBucketStatisticsError) -> Self
fn from(err: GetBucketStatisticsError) -> Self
source§impl From<GetClassificationExportConfigurationError> for Error
impl From<GetClassificationExportConfigurationError> for Error
source§fn from(err: GetClassificationExportConfigurationError) -> Self
fn from(err: GetClassificationExportConfigurationError) -> Self
source§impl From<GetClassificationScopeError> for Error
impl From<GetClassificationScopeError> for Error
source§fn from(err: GetClassificationScopeError) -> Self
fn from(err: GetClassificationScopeError) -> Self
source§impl From<GetCustomDataIdentifierError> for Error
impl From<GetCustomDataIdentifierError> for Error
source§fn from(err: GetCustomDataIdentifierError) -> Self
fn from(err: GetCustomDataIdentifierError) -> Self
source§impl From<GetFindingStatisticsError> for Error
impl From<GetFindingStatisticsError> for Error
source§fn from(err: GetFindingStatisticsError) -> Self
fn from(err: GetFindingStatisticsError) -> Self
source§impl From<GetFindingsError> for Error
impl From<GetFindingsError> for Error
source§fn from(err: GetFindingsError) -> Self
fn from(err: GetFindingsError) -> Self
source§impl From<GetFindingsFilterError> for Error
impl From<GetFindingsFilterError> for Error
source§fn from(err: GetFindingsFilterError) -> Self
fn from(err: GetFindingsFilterError) -> Self
source§impl From<GetFindingsPublicationConfigurationError> for Error
impl From<GetFindingsPublicationConfigurationError> for Error
source§fn from(err: GetFindingsPublicationConfigurationError) -> Self
fn from(err: GetFindingsPublicationConfigurationError) -> Self
source§impl From<GetInvitationsCountError> for Error
impl From<GetInvitationsCountError> for Error
source§fn from(err: GetInvitationsCountError) -> Self
fn from(err: GetInvitationsCountError) -> Self
source§impl From<GetMacieSessionError> for Error
impl From<GetMacieSessionError> for Error
source§fn from(err: GetMacieSessionError) -> Self
fn from(err: GetMacieSessionError) -> Self
source§impl From<GetMasterAccountError> for Error
impl From<GetMasterAccountError> for Error
source§fn from(err: GetMasterAccountError) -> Self
fn from(err: GetMasterAccountError) -> Self
source§impl From<GetMemberError> for Error
impl From<GetMemberError> for Error
source§fn from(err: GetMemberError) -> Self
fn from(err: GetMemberError) -> Self
source§impl From<GetResourceProfileError> for Error
impl From<GetResourceProfileError> for Error
source§fn from(err: GetResourceProfileError) -> Self
fn from(err: GetResourceProfileError) -> Self
source§impl From<GetRevealConfigurationError> for Error
impl From<GetRevealConfigurationError> for Error
source§fn from(err: GetRevealConfigurationError) -> Self
fn from(err: GetRevealConfigurationError) -> Self
source§impl From<GetSensitiveDataOccurrencesAvailabilityError> for Error
impl From<GetSensitiveDataOccurrencesAvailabilityError> for Error
source§fn from(err: GetSensitiveDataOccurrencesAvailabilityError) -> Self
fn from(err: GetSensitiveDataOccurrencesAvailabilityError) -> Self
source§impl From<GetSensitiveDataOccurrencesError> for Error
impl From<GetSensitiveDataOccurrencesError> for Error
source§fn from(err: GetSensitiveDataOccurrencesError) -> Self
fn from(err: GetSensitiveDataOccurrencesError) -> Self
source§impl From<GetSensitivityInspectionTemplateError> for Error
impl From<GetSensitivityInspectionTemplateError> for Error
source§fn from(err: GetSensitivityInspectionTemplateError) -> Self
fn from(err: GetSensitivityInspectionTemplateError) -> Self
source§impl From<GetUsageStatisticsError> for Error
impl From<GetUsageStatisticsError> for Error
source§fn from(err: GetUsageStatisticsError) -> Self
fn from(err: GetUsageStatisticsError) -> Self
source§impl From<GetUsageTotalsError> for Error
impl From<GetUsageTotalsError> for Error
source§fn from(err: GetUsageTotalsError) -> Self
fn from(err: GetUsageTotalsError) -> Self
source§impl From<ListAllowListsError> for Error
impl From<ListAllowListsError> for Error
source§fn from(err: ListAllowListsError) -> Self
fn from(err: ListAllowListsError) -> Self
source§impl From<ListClassificationJobsError> for Error
impl From<ListClassificationJobsError> for Error
source§fn from(err: ListClassificationJobsError) -> Self
fn from(err: ListClassificationJobsError) -> Self
source§impl From<ListClassificationScopesError> for Error
impl From<ListClassificationScopesError> for Error
source§fn from(err: ListClassificationScopesError) -> Self
fn from(err: ListClassificationScopesError) -> Self
source§impl From<ListCustomDataIdentifiersError> for Error
impl From<ListCustomDataIdentifiersError> for Error
source§fn from(err: ListCustomDataIdentifiersError) -> Self
fn from(err: ListCustomDataIdentifiersError) -> Self
source§impl From<ListFindingsError> for Error
impl From<ListFindingsError> for Error
source§fn from(err: ListFindingsError) -> Self
fn from(err: ListFindingsError) -> Self
source§impl From<ListFindingsFiltersError> for Error
impl From<ListFindingsFiltersError> for Error
source§fn from(err: ListFindingsFiltersError) -> Self
fn from(err: ListFindingsFiltersError) -> Self
source§impl From<ListInvitationsError> for Error
impl From<ListInvitationsError> for Error
source§fn from(err: ListInvitationsError) -> Self
fn from(err: ListInvitationsError) -> Self
source§impl From<ListManagedDataIdentifiersError> for Error
impl From<ListManagedDataIdentifiersError> for Error
source§fn from(err: ListManagedDataIdentifiersError) -> Self
fn from(err: ListManagedDataIdentifiersError) -> Self
source§impl From<ListMembersError> for Error
impl From<ListMembersError> for Error
source§fn from(err: ListMembersError) -> Self
fn from(err: ListMembersError) -> Self
source§impl From<ListOrganizationAdminAccountsError> for Error
impl From<ListOrganizationAdminAccountsError> for Error
source§fn from(err: ListOrganizationAdminAccountsError) -> Self
fn from(err: ListOrganizationAdminAccountsError) -> Self
source§impl From<ListResourceProfileArtifactsError> for Error
impl From<ListResourceProfileArtifactsError> for Error
source§fn from(err: ListResourceProfileArtifactsError) -> Self
fn from(err: ListResourceProfileArtifactsError) -> Self
source§impl From<ListResourceProfileDetectionsError> for Error
impl From<ListResourceProfileDetectionsError> for Error
source§fn from(err: ListResourceProfileDetectionsError) -> Self
fn from(err: ListResourceProfileDetectionsError) -> Self
source§impl From<ListSensitivityInspectionTemplatesError> for Error
impl From<ListSensitivityInspectionTemplatesError> for Error
source§fn from(err: ListSensitivityInspectionTemplatesError) -> Self
fn from(err: ListSensitivityInspectionTemplatesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<PutClassificationExportConfigurationError> for Error
impl From<PutClassificationExportConfigurationError> for Error
source§fn from(err: PutClassificationExportConfigurationError) -> Self
fn from(err: PutClassificationExportConfigurationError) -> Self
source§impl From<PutFindingsPublicationConfigurationError> for Error
impl From<PutFindingsPublicationConfigurationError> for Error
source§fn from(err: PutFindingsPublicationConfigurationError) -> Self
fn from(err: PutFindingsPublicationConfigurationError) -> Self
source§impl<R> From<SdkError<AcceptInvitationError, R>> for Error
impl<R> From<SdkError<AcceptInvitationError, R>> for Error
source§fn from(err: SdkError<AcceptInvitationError, R>) -> Self
fn from(err: SdkError<AcceptInvitationError, R>) -> Self
source§impl<R> From<SdkError<BatchGetCustomDataIdentifiersError, R>> for Error
impl<R> From<SdkError<BatchGetCustomDataIdentifiersError, R>> for Error
source§fn from(err: SdkError<BatchGetCustomDataIdentifiersError, R>) -> Self
fn from(err: SdkError<BatchGetCustomDataIdentifiersError, R>) -> Self
source§impl<R> From<SdkError<CreateAllowListError, R>> for Error
impl<R> From<SdkError<CreateAllowListError, R>> for Error
source§fn from(err: SdkError<CreateAllowListError, R>) -> Self
fn from(err: SdkError<CreateAllowListError, R>) -> Self
source§impl<R> From<SdkError<CreateClassificationJobError, R>> for Error
impl<R> From<SdkError<CreateClassificationJobError, R>> for Error
source§fn from(err: SdkError<CreateClassificationJobError, R>) -> Self
fn from(err: SdkError<CreateClassificationJobError, R>) -> Self
source§impl<R> From<SdkError<CreateCustomDataIdentifierError, R>> for Error
impl<R> From<SdkError<CreateCustomDataIdentifierError, R>> for Error
source§fn from(err: SdkError<CreateCustomDataIdentifierError, R>) -> Self
fn from(err: SdkError<CreateCustomDataIdentifierError, R>) -> Self
source§impl<R> From<SdkError<CreateFindingsFilterError, R>> for Error
impl<R> From<SdkError<CreateFindingsFilterError, R>> for Error
source§fn from(err: SdkError<CreateFindingsFilterError, R>) -> Self
fn from(err: SdkError<CreateFindingsFilterError, R>) -> Self
source§impl<R> From<SdkError<CreateInvitationsError, R>> for Error
impl<R> From<SdkError<CreateInvitationsError, R>> for Error
source§fn from(err: SdkError<CreateInvitationsError, R>) -> Self
fn from(err: SdkError<CreateInvitationsError, R>) -> Self
source§impl<R> From<SdkError<CreateMemberError, R>> for Error
impl<R> From<SdkError<CreateMemberError, R>> for Error
source§fn from(err: SdkError<CreateMemberError, R>) -> Self
fn from(err: SdkError<CreateMemberError, R>) -> Self
source§impl<R> From<SdkError<CreateSampleFindingsError, R>> for Error
impl<R> From<SdkError<CreateSampleFindingsError, R>> for Error
source§fn from(err: SdkError<CreateSampleFindingsError, R>) -> Self
fn from(err: SdkError<CreateSampleFindingsError, R>) -> Self
source§impl<R> From<SdkError<DeclineInvitationsError, R>> for Error
impl<R> From<SdkError<DeclineInvitationsError, R>> for Error
source§fn from(err: SdkError<DeclineInvitationsError, R>) -> Self
fn from(err: SdkError<DeclineInvitationsError, R>) -> Self
source§impl<R> From<SdkError<DeleteAllowListError, R>> for Error
impl<R> From<SdkError<DeleteAllowListError, R>> for Error
source§fn from(err: SdkError<DeleteAllowListError, R>) -> Self
fn from(err: SdkError<DeleteAllowListError, R>) -> Self
source§impl<R> From<SdkError<DeleteCustomDataIdentifierError, R>> for Error
impl<R> From<SdkError<DeleteCustomDataIdentifierError, R>> for Error
source§fn from(err: SdkError<DeleteCustomDataIdentifierError, R>) -> Self
fn from(err: SdkError<DeleteCustomDataIdentifierError, R>) -> Self
source§impl<R> From<SdkError<DeleteFindingsFilterError, R>> for Error
impl<R> From<SdkError<DeleteFindingsFilterError, R>> for Error
source§fn from(err: SdkError<DeleteFindingsFilterError, R>) -> Self
fn from(err: SdkError<DeleteFindingsFilterError, R>) -> Self
source§impl<R> From<SdkError<DeleteInvitationsError, R>> for Error
impl<R> From<SdkError<DeleteInvitationsError, R>> for Error
source§fn from(err: SdkError<DeleteInvitationsError, R>) -> Self
fn from(err: SdkError<DeleteInvitationsError, R>) -> Self
source§impl<R> From<SdkError<DeleteMemberError, R>> for Error
impl<R> From<SdkError<DeleteMemberError, R>> for Error
source§fn from(err: SdkError<DeleteMemberError, R>) -> Self
fn from(err: SdkError<DeleteMemberError, R>) -> Self
source§impl<R> From<SdkError<DescribeBucketsError, R>> for Error
impl<R> From<SdkError<DescribeBucketsError, R>> for Error
source§fn from(err: SdkError<DescribeBucketsError, R>) -> Self
fn from(err: SdkError<DescribeBucketsError, R>) -> Self
source§impl<R> From<SdkError<DescribeClassificationJobError, R>> for Error
impl<R> From<SdkError<DescribeClassificationJobError, R>> for Error
source§fn from(err: SdkError<DescribeClassificationJobError, R>) -> Self
fn from(err: SdkError<DescribeClassificationJobError, R>) -> Self
source§impl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error
impl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error
source§fn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DisableMacieError, R>> for Error
impl<R> From<SdkError<DisableMacieError, R>> for Error
source§fn from(err: SdkError<DisableMacieError, R>) -> Self
fn from(err: SdkError<DisableMacieError, R>) -> Self
source§impl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error
impl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error
source§fn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
source§impl<R> From<SdkError<DisassociateFromAdministratorAccountError, R>> for Error
impl<R> From<SdkError<DisassociateFromAdministratorAccountError, R>> for Error
source§fn from(err: SdkError<DisassociateFromAdministratorAccountError, R>) -> Self
fn from(err: SdkError<DisassociateFromAdministratorAccountError, R>) -> Self
source§impl<R> From<SdkError<DisassociateFromMasterAccountError, R>> for Error
impl<R> From<SdkError<DisassociateFromMasterAccountError, R>> for Error
source§fn from(err: SdkError<DisassociateFromMasterAccountError, R>) -> Self
fn from(err: SdkError<DisassociateFromMasterAccountError, R>) -> Self
source§impl<R> From<SdkError<DisassociateMemberError, R>> for Error
impl<R> From<SdkError<DisassociateMemberError, R>> for Error
source§fn from(err: SdkError<DisassociateMemberError, R>) -> Self
fn from(err: SdkError<DisassociateMemberError, R>) -> Self
source§impl<R> From<SdkError<EnableMacieError, R>> for Error
impl<R> From<SdkError<EnableMacieError, R>> for Error
source§fn from(err: SdkError<EnableMacieError, R>) -> Self
fn from(err: SdkError<EnableMacieError, R>) -> Self
source§impl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error
impl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error
source§fn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
source§impl<R> From<SdkError<GetAdministratorAccountError, R>> for Error
impl<R> From<SdkError<GetAdministratorAccountError, R>> for Error
source§fn from(err: SdkError<GetAdministratorAccountError, R>) -> Self
fn from(err: SdkError<GetAdministratorAccountError, R>) -> Self
source§impl<R> From<SdkError<GetAllowListError, R>> for Error
impl<R> From<SdkError<GetAllowListError, R>> for Error
source§fn from(err: SdkError<GetAllowListError, R>) -> Self
fn from(err: SdkError<GetAllowListError, R>) -> Self
source§impl<R> From<SdkError<GetAutomatedDiscoveryConfigurationError, R>> for Error
impl<R> From<SdkError<GetAutomatedDiscoveryConfigurationError, R>> for Error
source§fn from(err: SdkError<GetAutomatedDiscoveryConfigurationError, R>) -> Self
fn from(err: SdkError<GetAutomatedDiscoveryConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetBucketStatisticsError, R>> for Error
impl<R> From<SdkError<GetBucketStatisticsError, R>> for Error
source§fn from(err: SdkError<GetBucketStatisticsError, R>) -> Self
fn from(err: SdkError<GetBucketStatisticsError, R>) -> Self
source§impl<R> From<SdkError<GetClassificationExportConfigurationError, R>> for Error
impl<R> From<SdkError<GetClassificationExportConfigurationError, R>> for Error
source§fn from(err: SdkError<GetClassificationExportConfigurationError, R>) -> Self
fn from(err: SdkError<GetClassificationExportConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetClassificationScopeError, R>> for Error
impl<R> From<SdkError<GetClassificationScopeError, R>> for Error
source§fn from(err: SdkError<GetClassificationScopeError, R>) -> Self
fn from(err: SdkError<GetClassificationScopeError, R>) -> Self
source§impl<R> From<SdkError<GetCustomDataIdentifierError, R>> for Error
impl<R> From<SdkError<GetCustomDataIdentifierError, R>> for Error
source§fn from(err: SdkError<GetCustomDataIdentifierError, R>) -> Self
fn from(err: SdkError<GetCustomDataIdentifierError, R>) -> Self
source§impl<R> From<SdkError<GetFindingStatisticsError, R>> for Error
impl<R> From<SdkError<GetFindingStatisticsError, R>> for Error
source§fn from(err: SdkError<GetFindingStatisticsError, R>) -> Self
fn from(err: SdkError<GetFindingStatisticsError, R>) -> Self
source§impl<R> From<SdkError<GetFindingsError, R>> for Error
impl<R> From<SdkError<GetFindingsError, R>> for Error
source§fn from(err: SdkError<GetFindingsError, R>) -> Self
fn from(err: SdkError<GetFindingsError, R>) -> Self
source§impl<R> From<SdkError<GetFindingsFilterError, R>> for Error
impl<R> From<SdkError<GetFindingsFilterError, R>> for Error
source§fn from(err: SdkError<GetFindingsFilterError, R>) -> Self
fn from(err: SdkError<GetFindingsFilterError, R>) -> Self
source§impl<R> From<SdkError<GetFindingsPublicationConfigurationError, R>> for Error
impl<R> From<SdkError<GetFindingsPublicationConfigurationError, R>> for Error
source§fn from(err: SdkError<GetFindingsPublicationConfigurationError, R>) -> Self
fn from(err: SdkError<GetFindingsPublicationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetInvitationsCountError, R>> for Error
impl<R> From<SdkError<GetInvitationsCountError, R>> for Error
source§fn from(err: SdkError<GetInvitationsCountError, R>) -> Self
fn from(err: SdkError<GetInvitationsCountError, R>) -> Self
source§impl<R> From<SdkError<GetMacieSessionError, R>> for Error
impl<R> From<SdkError<GetMacieSessionError, R>> for Error
source§fn from(err: SdkError<GetMacieSessionError, R>) -> Self
fn from(err: SdkError<GetMacieSessionError, R>) -> Self
source§impl<R> From<SdkError<GetMasterAccountError, R>> for Error
impl<R> From<SdkError<GetMasterAccountError, R>> for Error
source§fn from(err: SdkError<GetMasterAccountError, R>) -> Self
fn from(err: SdkError<GetMasterAccountError, R>) -> Self
source§impl<R> From<SdkError<GetMemberError, R>> for Error
impl<R> From<SdkError<GetMemberError, R>> for Error
source§fn from(err: SdkError<GetMemberError, R>) -> Self
fn from(err: SdkError<GetMemberError, R>) -> Self
source§impl<R> From<SdkError<GetResourceProfileError, R>> for Error
impl<R> From<SdkError<GetResourceProfileError, R>> for Error
source§fn from(err: SdkError<GetResourceProfileError, R>) -> Self
fn from(err: SdkError<GetResourceProfileError, R>) -> Self
source§impl<R> From<SdkError<GetRevealConfigurationError, R>> for Error
impl<R> From<SdkError<GetRevealConfigurationError, R>> for Error
source§fn from(err: SdkError<GetRevealConfigurationError, R>) -> Self
fn from(err: SdkError<GetRevealConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetSensitiveDataOccurrencesAvailabilityError, R>> for Error
impl<R> From<SdkError<GetSensitiveDataOccurrencesAvailabilityError, R>> for Error
source§fn from(err: SdkError<GetSensitiveDataOccurrencesAvailabilityError, R>) -> Self
fn from(err: SdkError<GetSensitiveDataOccurrencesAvailabilityError, R>) -> Self
source§impl<R> From<SdkError<GetSensitiveDataOccurrencesError, R>> for Error
impl<R> From<SdkError<GetSensitiveDataOccurrencesError, R>> for Error
source§fn from(err: SdkError<GetSensitiveDataOccurrencesError, R>) -> Self
fn from(err: SdkError<GetSensitiveDataOccurrencesError, R>) -> Self
source§impl<R> From<SdkError<GetSensitivityInspectionTemplateError, R>> for Error
impl<R> From<SdkError<GetSensitivityInspectionTemplateError, R>> for Error
source§fn from(err: SdkError<GetSensitivityInspectionTemplateError, R>) -> Self
fn from(err: SdkError<GetSensitivityInspectionTemplateError, R>) -> Self
source§impl<R> From<SdkError<GetUsageStatisticsError, R>> for Error
impl<R> From<SdkError<GetUsageStatisticsError, R>> for Error
source§fn from(err: SdkError<GetUsageStatisticsError, R>) -> Self
fn from(err: SdkError<GetUsageStatisticsError, R>) -> Self
source§impl<R> From<SdkError<GetUsageTotalsError, R>> for Error
impl<R> From<SdkError<GetUsageTotalsError, R>> for Error
source§fn from(err: SdkError<GetUsageTotalsError, R>) -> Self
fn from(err: SdkError<GetUsageTotalsError, R>) -> Self
source§impl<R> From<SdkError<ListAllowListsError, R>> for Error
impl<R> From<SdkError<ListAllowListsError, R>> for Error
source§fn from(err: SdkError<ListAllowListsError, R>) -> Self
fn from(err: SdkError<ListAllowListsError, R>) -> Self
source§impl<R> From<SdkError<ListClassificationJobsError, R>> for Error
impl<R> From<SdkError<ListClassificationJobsError, R>> for Error
source§fn from(err: SdkError<ListClassificationJobsError, R>) -> Self
fn from(err: SdkError<ListClassificationJobsError, R>) -> Self
source§impl<R> From<SdkError<ListClassificationScopesError, R>> for Error
impl<R> From<SdkError<ListClassificationScopesError, R>> for Error
source§fn from(err: SdkError<ListClassificationScopesError, R>) -> Self
fn from(err: SdkError<ListClassificationScopesError, R>) -> Self
source§impl<R> From<SdkError<ListCustomDataIdentifiersError, R>> for Error
impl<R> From<SdkError<ListCustomDataIdentifiersError, R>> for Error
source§fn from(err: SdkError<ListCustomDataIdentifiersError, R>) -> Self
fn from(err: SdkError<ListCustomDataIdentifiersError, R>) -> Self
source§impl<R> From<SdkError<ListFindingsError, R>> for Error
impl<R> From<SdkError<ListFindingsError, R>> for Error
source§fn from(err: SdkError<ListFindingsError, R>) -> Self
fn from(err: SdkError<ListFindingsError, R>) -> Self
source§impl<R> From<SdkError<ListFindingsFiltersError, R>> for Error
impl<R> From<SdkError<ListFindingsFiltersError, R>> for Error
source§fn from(err: SdkError<ListFindingsFiltersError, R>) -> Self
fn from(err: SdkError<ListFindingsFiltersError, R>) -> Self
source§impl<R> From<SdkError<ListInvitationsError, R>> for Error
impl<R> From<SdkError<ListInvitationsError, R>> for Error
source§fn from(err: SdkError<ListInvitationsError, R>) -> Self
fn from(err: SdkError<ListInvitationsError, R>) -> Self
source§impl<R> From<SdkError<ListManagedDataIdentifiersError, R>> for Error
impl<R> From<SdkError<ListManagedDataIdentifiersError, R>> for Error
source§fn from(err: SdkError<ListManagedDataIdentifiersError, R>) -> Self
fn from(err: SdkError<ListManagedDataIdentifiersError, R>) -> Self
source§impl<R> From<SdkError<ListMembersError, R>> for Error
impl<R> From<SdkError<ListMembersError, R>> for Error
source§fn from(err: SdkError<ListMembersError, R>) -> Self
fn from(err: SdkError<ListMembersError, R>) -> Self
source§impl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error
impl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error
source§fn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
fn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
source§impl<R> From<SdkError<ListResourceProfileArtifactsError, R>> for Error
impl<R> From<SdkError<ListResourceProfileArtifactsError, R>> for Error
source§fn from(err: SdkError<ListResourceProfileArtifactsError, R>) -> Self
fn from(err: SdkError<ListResourceProfileArtifactsError, R>) -> Self
source§impl<R> From<SdkError<ListResourceProfileDetectionsError, R>> for Error
impl<R> From<SdkError<ListResourceProfileDetectionsError, R>> for Error
source§fn from(err: SdkError<ListResourceProfileDetectionsError, R>) -> Self
fn from(err: SdkError<ListResourceProfileDetectionsError, R>) -> Self
source§impl<R> From<SdkError<ListSensitivityInspectionTemplatesError, R>> for Error
impl<R> From<SdkError<ListSensitivityInspectionTemplatesError, R>> for Error
source§fn from(err: SdkError<ListSensitivityInspectionTemplatesError, R>) -> Self
fn from(err: SdkError<ListSensitivityInspectionTemplatesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<PutClassificationExportConfigurationError, R>> for Error
impl<R> From<SdkError<PutClassificationExportConfigurationError, R>> for Error
source§fn from(err: SdkError<PutClassificationExportConfigurationError, R>) -> Self
fn from(err: SdkError<PutClassificationExportConfigurationError, R>) -> Self
source§impl<R> From<SdkError<PutFindingsPublicationConfigurationError, R>> for Error
impl<R> From<SdkError<PutFindingsPublicationConfigurationError, R>> for Error
source§fn from(err: SdkError<PutFindingsPublicationConfigurationError, R>) -> Self
fn from(err: SdkError<PutFindingsPublicationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<SearchResourcesError, R>> for Error
impl<R> From<SdkError<SearchResourcesError, R>> for Error
source§fn from(err: SdkError<SearchResourcesError, R>) -> Self
fn from(err: SdkError<SearchResourcesError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<TestCustomDataIdentifierError, R>> for Error
impl<R> From<SdkError<TestCustomDataIdentifierError, R>> for Error
source§fn from(err: SdkError<TestCustomDataIdentifierError, R>) -> Self
fn from(err: SdkError<TestCustomDataIdentifierError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateAllowListError, R>> for Error
impl<R> From<SdkError<UpdateAllowListError, R>> for Error
source§fn from(err: SdkError<UpdateAllowListError, R>) -> Self
fn from(err: SdkError<UpdateAllowListError, R>) -> Self
source§impl<R> From<SdkError<UpdateAutomatedDiscoveryConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateAutomatedDiscoveryConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateAutomatedDiscoveryConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateAutomatedDiscoveryConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateClassificationJobError, R>> for Error
impl<R> From<SdkError<UpdateClassificationJobError, R>> for Error
source§fn from(err: SdkError<UpdateClassificationJobError, R>) -> Self
fn from(err: SdkError<UpdateClassificationJobError, R>) -> Self
source§impl<R> From<SdkError<UpdateClassificationScopeError, R>> for Error
impl<R> From<SdkError<UpdateClassificationScopeError, R>> for Error
source§fn from(err: SdkError<UpdateClassificationScopeError, R>) -> Self
fn from(err: SdkError<UpdateClassificationScopeError, R>) -> Self
source§impl<R> From<SdkError<UpdateFindingsFilterError, R>> for Error
impl<R> From<SdkError<UpdateFindingsFilterError, R>> for Error
source§fn from(err: SdkError<UpdateFindingsFilterError, R>) -> Self
fn from(err: SdkError<UpdateFindingsFilterError, R>) -> Self
source§impl<R> From<SdkError<UpdateMacieSessionError, R>> for Error
impl<R> From<SdkError<UpdateMacieSessionError, R>> for Error
source§fn from(err: SdkError<UpdateMacieSessionError, R>) -> Self
fn from(err: SdkError<UpdateMacieSessionError, R>) -> Self
source§impl<R> From<SdkError<UpdateMemberSessionError, R>> for Error
impl<R> From<SdkError<UpdateMemberSessionError, R>> for Error
source§fn from(err: SdkError<UpdateMemberSessionError, R>) -> Self
fn from(err: SdkError<UpdateMemberSessionError, R>) -> Self
source§impl<R> From<SdkError<UpdateOrganizationConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateOrganizationConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateOrganizationConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateOrganizationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateResourceProfileDetectionsError, R>> for Error
impl<R> From<SdkError<UpdateResourceProfileDetectionsError, R>> for Error
source§fn from(err: SdkError<UpdateResourceProfileDetectionsError, R>) -> Self
fn from(err: SdkError<UpdateResourceProfileDetectionsError, R>) -> Self
source§impl<R> From<SdkError<UpdateResourceProfileError, R>> for Error
impl<R> From<SdkError<UpdateResourceProfileError, R>> for Error
source§fn from(err: SdkError<UpdateResourceProfileError, R>) -> Self
fn from(err: SdkError<UpdateResourceProfileError, R>) -> Self
source§impl<R> From<SdkError<UpdateRevealConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateRevealConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateRevealConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateRevealConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateSensitivityInspectionTemplateError, R>> for Error
impl<R> From<SdkError<UpdateSensitivityInspectionTemplateError, R>> for Error
source§fn from(err: SdkError<UpdateSensitivityInspectionTemplateError, R>) -> Self
fn from(err: SdkError<UpdateSensitivityInspectionTemplateError, R>) -> Self
source§impl From<SearchResourcesError> for Error
impl From<SearchResourcesError> for Error
source§fn from(err: SearchResourcesError) -> Self
fn from(err: SearchResourcesError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<TestCustomDataIdentifierError> for Error
impl From<TestCustomDataIdentifierError> for Error
source§fn from(err: TestCustomDataIdentifierError) -> Self
fn from(err: TestCustomDataIdentifierError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateAllowListError> for Error
impl From<UpdateAllowListError> for Error
source§fn from(err: UpdateAllowListError) -> Self
fn from(err: UpdateAllowListError) -> Self
source§impl From<UpdateAutomatedDiscoveryConfigurationError> for Error
impl From<UpdateAutomatedDiscoveryConfigurationError> for Error
source§fn from(err: UpdateAutomatedDiscoveryConfigurationError) -> Self
fn from(err: UpdateAutomatedDiscoveryConfigurationError) -> Self
source§impl From<UpdateClassificationJobError> for Error
impl From<UpdateClassificationJobError> for Error
source§fn from(err: UpdateClassificationJobError) -> Self
fn from(err: UpdateClassificationJobError) -> Self
source§impl From<UpdateClassificationScopeError> for Error
impl From<UpdateClassificationScopeError> for Error
source§fn from(err: UpdateClassificationScopeError) -> Self
fn from(err: UpdateClassificationScopeError) -> Self
source§impl From<UpdateFindingsFilterError> for Error
impl From<UpdateFindingsFilterError> for Error
source§fn from(err: UpdateFindingsFilterError) -> Self
fn from(err: UpdateFindingsFilterError) -> Self
source§impl From<UpdateMacieSessionError> for Error
impl From<UpdateMacieSessionError> for Error
source§fn from(err: UpdateMacieSessionError) -> Self
fn from(err: UpdateMacieSessionError) -> Self
source§impl From<UpdateMemberSessionError> for Error
impl From<UpdateMemberSessionError> for Error
source§fn from(err: UpdateMemberSessionError) -> Self
fn from(err: UpdateMemberSessionError) -> Self
source§impl From<UpdateOrganizationConfigurationError> for Error
impl From<UpdateOrganizationConfigurationError> for Error
source§fn from(err: UpdateOrganizationConfigurationError) -> Self
fn from(err: UpdateOrganizationConfigurationError) -> Self
source§impl From<UpdateResourceProfileDetectionsError> for Error
impl From<UpdateResourceProfileDetectionsError> for Error
source§fn from(err: UpdateResourceProfileDetectionsError) -> Self
fn from(err: UpdateResourceProfileDetectionsError) -> Self
source§impl From<UpdateResourceProfileError> for Error
impl From<UpdateResourceProfileError> for Error
source§fn from(err: UpdateResourceProfileError) -> Self
fn from(err: UpdateResourceProfileError) -> Self
source§impl From<UpdateRevealConfigurationError> for Error
impl From<UpdateRevealConfigurationError> for Error
source§fn from(err: UpdateRevealConfigurationError) -> Self
fn from(err: UpdateRevealConfigurationError) -> Self
source§impl From<UpdateSensitivityInspectionTemplateError> for Error
impl From<UpdateSensitivityInspectionTemplateError> for Error
source§fn from(err: UpdateSensitivityInspectionTemplateError) -> Self
fn from(err: UpdateSensitivityInspectionTemplateError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more