Enum aws_sdk_s3::Error

source ·
#[non_exhaustive]
pub enum Error { BucketAlreadyExists(BucketAlreadyExists), BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou), InvalidObjectState(InvalidObjectState), NoSuchBucket(NoSuchBucket), NoSuchKey(NoSuchKey), NoSuchUpload(NoSuchUpload), NotFound(NotFound), ObjectAlreadyInActiveTierError(ObjectAlreadyInActiveTierError), ObjectNotInActiveTierError(ObjectNotInActiveTierError), 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.
§

BucketAlreadyExists(BucketAlreadyExists)

The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.

§

BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou)

The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).

§

InvalidObjectState(InvalidObjectState)

Object is archived and inaccessible until restored.

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectState error. For information about restoring archived objects, see Restoring Archived Objects in the Amazon S3 User Guide.

§

NoSuchBucket(NoSuchBucket)

The specified bucket does not exist.

§

NoSuchKey(NoSuchKey)

The specified key does not exist.

§

NoSuchUpload(NoSuchUpload)

The specified multipart upload does not exist.

§

NotFound(NotFound)

The specified content does not exist.

§

ObjectAlreadyInActiveTierError(ObjectAlreadyInActiveTierError)

This action is not allowed against this storage tier.

§

ObjectNotInActiveTierError(ObjectNotInActiveTierError)

The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.

§

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)>

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<AbortMultipartUploadError> for Error

source§

fn from(err: AbortMultipartUploadError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CompleteMultipartUploadError> for Error

source§

fn from(err: CompleteMultipartUploadError) -> Self

Converts to this type from the input type.
source§

impl From<CopyObjectError> for Error

source§

fn from(err: CopyObjectError) -> Self

Converts to this type from the input type.
source§

impl From<CreateBucketError> for Error

source§

fn from(err: CreateBucketError) -> Self

Converts to this type from the input type.
source§

impl From<CreateMultipartUploadError> for Error

source§

fn from(err: CreateMultipartUploadError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSessionError> for Error

source§

fn from(err: CreateSessionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketAnalyticsConfigurationError> for Error

source§

fn from(err: DeleteBucketAnalyticsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketCorsError> for Error

source§

fn from(err: DeleteBucketCorsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketEncryptionError> for Error

source§

fn from(err: DeleteBucketEncryptionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketError> for Error

source§

fn from(err: DeleteBucketError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketIntelligentTieringConfigurationError> for Error

source§

fn from(err: DeleteBucketIntelligentTieringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketInventoryConfigurationError> for Error

source§

fn from(err: DeleteBucketInventoryConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketLifecycleError> for Error

source§

fn from(err: DeleteBucketLifecycleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketMetricsConfigurationError> for Error

source§

fn from(err: DeleteBucketMetricsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketOwnershipControlsError> for Error

source§

fn from(err: DeleteBucketOwnershipControlsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketPolicyError> for Error

source§

fn from(err: DeleteBucketPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketReplicationError> for Error

source§

fn from(err: DeleteBucketReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketTaggingError> for Error

source§

fn from(err: DeleteBucketTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBucketWebsiteError> for Error

source§

fn from(err: DeleteBucketWebsiteError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteObjectError> for Error

source§

fn from(err: DeleteObjectError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteObjectTaggingError> for Error

source§

fn from(err: DeleteObjectTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteObjectsError> for Error

source§

fn from(err: DeleteObjectsError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePublicAccessBlockError> for Error

source§

fn from(err: DeletePublicAccessBlockError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketAccelerateConfigurationError> for Error

source§

fn from(err: GetBucketAccelerateConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketAclError> for Error

source§

fn from(err: GetBucketAclError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketAnalyticsConfigurationError> for Error

source§

fn from(err: GetBucketAnalyticsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketCorsError> for Error

source§

fn from(err: GetBucketCorsError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketEncryptionError> for Error

source§

fn from(err: GetBucketEncryptionError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketIntelligentTieringConfigurationError> for Error

source§

fn from(err: GetBucketIntelligentTieringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketInventoryConfigurationError> for Error

source§

fn from(err: GetBucketInventoryConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketLifecycleConfigurationError> for Error

source§

fn from(err: GetBucketLifecycleConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketLocationError> for Error

source§

fn from(err: GetBucketLocationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketLoggingError> for Error

source§

fn from(err: GetBucketLoggingError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketMetricsConfigurationError> for Error

source§

fn from(err: GetBucketMetricsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketNotificationConfigurationError> for Error

source§

fn from(err: GetBucketNotificationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketOwnershipControlsError> for Error

source§

fn from(err: GetBucketOwnershipControlsError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketPolicyError> for Error

source§

fn from(err: GetBucketPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketPolicyStatusError> for Error

source§

fn from(err: GetBucketPolicyStatusError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketReplicationError> for Error

source§

fn from(err: GetBucketReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketRequestPaymentError> for Error

source§

fn from(err: GetBucketRequestPaymentError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketTaggingError> for Error

source§

fn from(err: GetBucketTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketVersioningError> for Error

source§

fn from(err: GetBucketVersioningError) -> Self

Converts to this type from the input type.
source§

impl From<GetBucketWebsiteError> for Error

source§

fn from(err: GetBucketWebsiteError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectAclError> for Error

source§

fn from(err: GetObjectAclError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectAttributesError> for Error

source§

fn from(err: GetObjectAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectError> for Error

source§

fn from(err: GetObjectError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectLegalHoldError> for Error

source§

fn from(err: GetObjectLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectLockConfigurationError> for Error

source§

fn from(err: GetObjectLockConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectRetentionError> for Error

source§

fn from(err: GetObjectRetentionError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectTaggingError> for Error

source§

fn from(err: GetObjectTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<GetObjectTorrentError> for Error

source§

fn from(err: GetObjectTorrentError) -> Self

Converts to this type from the input type.
source§

impl From<GetPublicAccessBlockError> for Error

source§

fn from(err: GetPublicAccessBlockError) -> Self

Converts to this type from the input type.
source§

impl From<HeadBucketError> for Error

source§

fn from(err: HeadBucketError) -> Self

Converts to this type from the input type.
source§

impl From<HeadObjectError> for Error

source§

fn from(err: HeadObjectError) -> Self

Converts to this type from the input type.
source§

impl From<ListBucketAnalyticsConfigurationsError> for Error

source§

fn from(err: ListBucketAnalyticsConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBucketIntelligentTieringConfigurationsError> for Error

source§

fn from(err: ListBucketIntelligentTieringConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBucketInventoryConfigurationsError> for Error

source§

fn from(err: ListBucketInventoryConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBucketMetricsConfigurationsError> for Error

source§

fn from(err: ListBucketMetricsConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBucketsError> for Error

source§

fn from(err: ListBucketsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDirectoryBucketsError> for Error

source§

fn from(err: ListDirectoryBucketsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMultipartUploadsError> for Error

source§

fn from(err: ListMultipartUploadsError) -> Self

Converts to this type from the input type.
source§

impl From<ListObjectVersionsError> for Error

source§

fn from(err: ListObjectVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListObjectsError> for Error

source§

fn from(err: ListObjectsError) -> Self

Converts to this type from the input type.
source§

impl From<ListObjectsV2Error> for Error

source§

fn from(err: ListObjectsV2Error) -> Self

Converts to this type from the input type.
source§

impl From<ListPartsError> for Error

source§

fn from(err: ListPartsError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketAccelerateConfigurationError> for Error

source§

fn from(err: PutBucketAccelerateConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketAclError> for Error

source§

fn from(err: PutBucketAclError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketAnalyticsConfigurationError> for Error

source§

fn from(err: PutBucketAnalyticsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketCorsError> for Error

source§

fn from(err: PutBucketCorsError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketEncryptionError> for Error

source§

fn from(err: PutBucketEncryptionError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketIntelligentTieringConfigurationError> for Error

source§

fn from(err: PutBucketIntelligentTieringConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketInventoryConfigurationError> for Error

source§

fn from(err: PutBucketInventoryConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketLifecycleConfigurationError> for Error

source§

fn from(err: PutBucketLifecycleConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketLoggingError> for Error

source§

fn from(err: PutBucketLoggingError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketMetricsConfigurationError> for Error

source§

fn from(err: PutBucketMetricsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketNotificationConfigurationError> for Error

source§

fn from(err: PutBucketNotificationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketOwnershipControlsError> for Error

source§

fn from(err: PutBucketOwnershipControlsError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketPolicyError> for Error

source§

fn from(err: PutBucketPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketReplicationError> for Error

source§

fn from(err: PutBucketReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketRequestPaymentError> for Error

source§

fn from(err: PutBucketRequestPaymentError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketTaggingError> for Error

source§

fn from(err: PutBucketTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketVersioningError> for Error

source§

fn from(err: PutBucketVersioningError) -> Self

Converts to this type from the input type.
source§

impl From<PutBucketWebsiteError> for Error

source§

fn from(err: PutBucketWebsiteError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectAclError> for Error

source§

fn from(err: PutObjectAclError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectError> for Error

source§

fn from(err: PutObjectError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectLegalHoldError> for Error

source§

fn from(err: PutObjectLegalHoldError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectLockConfigurationError> for Error

source§

fn from(err: PutObjectLockConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectRetentionError> for Error

source§

fn from(err: PutObjectRetentionError) -> Self

Converts to this type from the input type.
source§

impl From<PutObjectTaggingError> for Error

source§

fn from(err: PutObjectTaggingError) -> Self

Converts to this type from the input type.
source§

impl From<PutPublicAccessBlockError> for Error

source§

fn from(err: PutPublicAccessBlockError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreObjectError> for Error

source§

fn from(err: RestoreObjectError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<SelectObjectContentError> for Error

source§

fn from(err: SelectObjectContentError) -> Self

Converts to this type from the input type.
source§

impl From<SelectObjectContentEventStreamError> for Error

source§

fn from(err: SelectObjectContentEventStreamError) -> Self

Converts to this type from the input type.
source§

impl From<UploadPartCopyError> for Error

source§

fn from(err: UploadPartCopyError) -> Self

Converts to this type from the input type.
source§

impl From<UploadPartError> for Error

source§

fn from(err: UploadPartError) -> Self

Converts to this type from the input type.
source§

impl<O, E> From<WaiterError<O, E>> for Error
where O: Debug + Send + Sync + 'static, E: Error + Send + Sync + 'static,

source§

fn from(err: WaiterError<O, E>) -> Self

Converts to this type from the input type.
source§

impl From<WriteGetObjectResponseError> for Error

source§

fn from(err: WriteGetObjectResponseError) -> 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.
source§

impl RequestIdExt for Error

source§

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

Returns the S3 Extended Request ID necessary when contacting AWS Support.

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

§

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>,

§

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>,

§

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