Enum aws_sdk_backup::Error

source ·
#[non_exhaustive]
pub enum Error { AlreadyExistsException(AlreadyExistsException), ConflictException(ConflictException), DependencyFailureException(DependencyFailureException), InvalidParameterValueException(InvalidParameterValueException), InvalidRequestException(InvalidRequestException), InvalidResourceStateException(InvalidResourceStateException), LimitExceededException(LimitExceededException), MissingParameterValueException(MissingParameterValueException), ResourceNotFoundException(ResourceNotFoundException), ServiceUnavailableException(ServiceUnavailableException), 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.
§

AlreadyExistsException(AlreadyExistsException)

The required resource already exists.

§

ConflictException(ConflictException)

Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.

§

DependencyFailureException(DependencyFailureException)

A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.

§

InvalidParameterValueException(InvalidParameterValueException)

Indicates that something is wrong with a parameter's value. For example, the value is out of range.

§

InvalidRequestException(InvalidRequestException)

Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.

§

InvalidResourceStateException(InvalidResourceStateException)

Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.

§

LimitExceededException(LimitExceededException)

A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.

§

MissingParameterValueException(MissingParameterValueException)

Indicates that a required parameter is missing.

§

ResourceNotFoundException(ResourceNotFoundException)

A resource that is required for the action doesn't exist.

§

ServiceUnavailableException(ServiceUnavailableException)

The request failed due to a temporary failure of the server.

§

Unhandled(Unhandled)

👎Deprecated: Matching 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 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)>

Returns 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, request: &mut Request<'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<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CancelLegalHoldError> for Error

source§

fn from(err: CancelLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<CreateBackupPlanError> for Error

source§

fn from(err: CreateBackupPlanError) -> Self

Converts to this type from the input type.
source§

impl From<CreateBackupSelectionError> for Error

source§

fn from(err: CreateBackupSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateBackupVaultError> for Error

source§

fn from(err: CreateBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFrameworkError> for Error

source§

fn from(err: CreateFrameworkError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLegalHoldError> for Error

source§

fn from(err: CreateLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLogicallyAirGappedBackupVaultError> for Error

source§

fn from(err: CreateLogicallyAirGappedBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<CreateReportPlanError> for Error

source§

fn from(err: CreateReportPlanError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRestoreTestingPlanError> for Error

source§

fn from(err: CreateRestoreTestingPlanError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRestoreTestingSelectionError> for Error

source§

fn from(err: CreateRestoreTestingSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupPlanError> for Error

source§

fn from(err: DeleteBackupPlanError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupSelectionError> for Error

source§

fn from(err: DeleteBackupSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupVaultAccessPolicyError> for Error

source§

fn from(err: DeleteBackupVaultAccessPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupVaultError> for Error

source§

fn from(err: DeleteBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupVaultLockConfigurationError> for Error

source§

fn from(err: DeleteBackupVaultLockConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupVaultNotificationsError> for Error

source§

fn from(err: DeleteBackupVaultNotificationsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFrameworkError> for Error

source§

fn from(err: DeleteFrameworkError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRecoveryPointError> for Error

source§

fn from(err: DeleteRecoveryPointError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteReportPlanError> for Error

source§

fn from(err: DeleteReportPlanError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRestoreTestingPlanError> for Error

source§

fn from(err: DeleteRestoreTestingPlanError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRestoreTestingSelectionError> for Error

source§

fn from(err: DeleteRestoreTestingSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeBackupJobError> for Error

source§

fn from(err: DescribeBackupJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeBackupVaultError> for Error

source§

fn from(err: DescribeBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCopyJobError> for Error

source§

fn from(err: DescribeCopyJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFrameworkError> for Error

source§

fn from(err: DescribeFrameworkError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeGlobalSettingsError> for Error

source§

fn from(err: DescribeGlobalSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProtectedResourceError> for Error

source§

fn from(err: DescribeProtectedResourceError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRecoveryPointError> for Error

source§

fn from(err: DescribeRecoveryPointError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRegionSettingsError> for Error

source§

fn from(err: DescribeRegionSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReportJobError> for Error

source§

fn from(err: DescribeReportJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReportPlanError> for Error

source§

fn from(err: DescribeReportPlanError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRestoreJobError> for Error

source§

fn from(err: DescribeRestoreJobError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateRecoveryPointError> for Error

source§

fn from(err: DisassociateRecoveryPointError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateRecoveryPointFromParentError> for Error

source§

fn from(err: DisassociateRecoveryPointFromParentError) -> Self

Converts to this type from the input type.
source§

impl From<ExportBackupPlanTemplateError> for Error

source§

fn from(err: ExportBackupPlanTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupPlanError> for Error

source§

fn from(err: GetBackupPlanError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupPlanFromJSONError> for Error

source§

fn from(err: GetBackupPlanFromJSONError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupPlanFromTemplateError> for Error

source§

fn from(err: GetBackupPlanFromTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupSelectionError> for Error

source§

fn from(err: GetBackupSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupVaultAccessPolicyError> for Error

source§

fn from(err: GetBackupVaultAccessPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetBackupVaultNotificationsError> for Error

source§

fn from(err: GetBackupVaultNotificationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetLegalHoldError> for Error

source§

fn from(err: GetLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<GetRecoveryPointRestoreMetadataError> for Error

source§

fn from(err: GetRecoveryPointRestoreMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<GetRestoreJobMetadataError> for Error

source§

fn from(err: GetRestoreJobMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<GetRestoreTestingInferredMetadataError> for Error

source§

fn from(err: GetRestoreTestingInferredMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<GetRestoreTestingPlanError> for Error

source§

fn from(err: GetRestoreTestingPlanError) -> Self

Converts to this type from the input type.
source§

impl From<GetRestoreTestingSelectionError> for Error

source§

fn from(err: GetRestoreTestingSelectionError) -> Self

Converts to this type from the input type.
source§

impl From<GetSupportedResourceTypesError> for Error

source§

fn from(err: GetSupportedResourceTypesError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupJobSummariesError> for Error

source§

fn from(err: ListBackupJobSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupJobsError> for Error

source§

fn from(err: ListBackupJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupPlanTemplatesError> for Error

source§

fn from(err: ListBackupPlanTemplatesError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupPlanVersionsError> for Error

source§

fn from(err: ListBackupPlanVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupPlansError> for Error

source§

fn from(err: ListBackupPlansError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupSelectionsError> for Error

source§

fn from(err: ListBackupSelectionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBackupVaultsError> for Error

source§

fn from(err: ListBackupVaultsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCopyJobSummariesError> for Error

source§

fn from(err: ListCopyJobSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListCopyJobsError> for Error

source§

fn from(err: ListCopyJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFrameworksError> for Error

source§

fn from(err: ListFrameworksError) -> Self

Converts to this type from the input type.
source§

impl From<ListLegalHoldsError> for Error

source§

fn from(err: ListLegalHoldsError) -> Self

Converts to this type from the input type.
source§

impl From<ListProtectedResourcesByBackupVaultError> for Error

source§

fn from(err: ListProtectedResourcesByBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<ListProtectedResourcesError> for Error

source§

fn from(err: ListProtectedResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecoveryPointsByBackupVaultError> for Error

source§

fn from(err: ListRecoveryPointsByBackupVaultError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecoveryPointsByLegalHoldError> for Error

source§

fn from(err: ListRecoveryPointsByLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecoveryPointsByResourceError> for Error

source§

fn from(err: ListRecoveryPointsByResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListReportJobsError> for Error

source§

fn from(err: ListReportJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReportPlansError> for Error

source§

fn from(err: ListReportPlansError) -> Self

Converts to this type from the input type.
source§

impl From<ListRestoreJobSummariesError> for Error

source§

fn from(err: ListRestoreJobSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListRestoreJobsByProtectedResourceError> for Error

source§

fn from(err: ListRestoreJobsByProtectedResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListRestoreJobsError> for Error

source§

fn from(err: ListRestoreJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRestoreTestingPlansError> for Error

source§

fn from(err: ListRestoreTestingPlansError) -> Self

Converts to this type from the input type.
source§

impl From<ListRestoreTestingSelectionsError> for Error

source§

fn from(err: ListRestoreTestingSelectionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsError> for Error

source§

fn from(err: ListTagsError) -> Self

Converts to this type from the input type.
source§

impl From<PutBackupVaultAccessPolicyError> for Error

source§

fn from(err: PutBackupVaultAccessPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<PutBackupVaultLockConfigurationError> for Error

source§

fn from(err: PutBackupVaultLockConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBackupVaultNotificationsError> for Error

source§

fn from(err: PutBackupVaultNotificationsError) -> Self

Converts to this type from the input type.
source§

impl From<PutRestoreValidationResultError> for Error

source§

fn from(err: PutRestoreValidationResultError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CancelLegalHoldError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateBackupPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateBackupSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFrameworkError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateLegalHoldError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateLogicallyAirGappedBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateReportPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRestoreTestingPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRestoreTestingSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupVaultAccessPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupVaultLockConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupVaultNotificationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFrameworkError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRecoveryPointError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteReportPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRestoreTestingPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRestoreTestingSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeBackupJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeCopyJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeFrameworkError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeGlobalSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeProtectedResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRecoveryPointError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRegionSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeReportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeReportPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRestoreJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateRecoveryPointError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateRecoveryPointFromParentError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ExportBackupPlanTemplateError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupPlanFromJSONError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupPlanFromTemplateError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupVaultAccessPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetBackupVaultNotificationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLegalHoldError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRecoveryPointRestoreMetadataError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRestoreJobMetadataError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRestoreTestingInferredMetadataError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRestoreTestingPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRestoreTestingSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSupportedResourceTypesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupJobSummariesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupPlanTemplatesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupPlanVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupPlansError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupSelectionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBackupVaultsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCopyJobSummariesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCopyJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFrameworksError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListLegalHoldsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListProtectedResourcesByBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListProtectedResourcesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecoveryPointsByBackupVaultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecoveryPointsByLegalHoldError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecoveryPointsByResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListReportJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListReportPlansError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRestoreJobSummariesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRestoreJobsByProtectedResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRestoreJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRestoreTestingPlansError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRestoreTestingSelectionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutBackupVaultAccessPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutBackupVaultLockConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutBackupVaultNotificationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutRestoreValidationResultError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartBackupJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartCopyJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartReportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartRestoreJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StopBackupJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where 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<UntagResourceError, R>> for Error
where 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<UpdateBackupPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFrameworkError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateGlobalSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRecoveryPointLifecycleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRegionSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateReportPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRestoreTestingPlanError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRestoreTestingSelectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl From<StartBackupJobError> for Error

source§

fn from(err: StartBackupJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartCopyJobError> for Error

source§

fn from(err: StartCopyJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartReportJobError> for Error

source§

fn from(err: StartReportJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartRestoreJobError> for Error

source§

fn from(err: StartRestoreJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopBackupJobError> for Error

source§

fn from(err: StopBackupJobError) -> 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<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateBackupPlanError> for Error

source§

fn from(err: UpdateBackupPlanError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFrameworkError> for Error

source§

fn from(err: UpdateFrameworkError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateGlobalSettingsError> for Error

source§

fn from(err: UpdateGlobalSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRecoveryPointLifecycleError> for Error

source§

fn from(err: UpdateRecoveryPointLifecycleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRegionSettingsError> for Error

source§

fn from(err: UpdateRegionSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateReportPlanError> for Error

source§

fn from(err: UpdateReportPlanError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRestoreTestingPlanError> for Error

source§

fn from(err: UpdateRestoreTestingPlanError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRestoreTestingSelectionError> for Error

source§

fn from(err: UpdateRestoreTestingSelectionError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

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

Returns the error code if it’s available.
source§

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

Returns the error message, if there is one.
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 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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

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

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where 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 T
where U: Into<T>,

source§

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 T
where U: TryFrom<T>,

source§

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