Package-level declarations
Types
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.
Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see Amazon S3 Transfer Acceleration in the Amazon S3 User Guide.
Contains the elements that set the ACL permissions for an object per grantee.
A container for information about access control for replicas.
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
Where to publish the analytics results.
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
Contains information about where to publish the analytics results.
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.
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).
Specifies the information about the bucket that will be created. For more information about directory buckets, see Directory buckets in the Amazon S3 User Guide.
Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see Object Lifecycle Management in the Amazon S3 User Guide.
Container for logging status information.
Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.
The container for the completed multipart upload details.
Details of the parts that were uploaded.
A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs
folder, redirect to the /documents
folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.
Container for all response elements.
Container for all response elements.
Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.
The configuration information for the bucket.
The container element for optionally specifying the default Object Lock retention settings for new objects placed in the specified bucket.
Information about the deleted object.
Information about the delete marker.
Specifies whether Amazon S3 replicates delete markers. If you specify a Filter
in your replication configuration, you must also include a DeleteMarkerReplication
element. If your Filter
includes a Tag
element, the DeleteMarkerReplication``Status
must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see Basic Rule Configuration.
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
The destination information for the S3 Metadata configuration.
Encoding type used by Amazon S3 to encode the object keys in the response. Responses are encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response. For more information about characters to avoid in object key names, see Object key naming guidelines.
Contains the type of server-side encryption used.
Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
The existing object was created with a different encryption type. Subsequent write requests must include the appropriate encryption parameters in the request or while creating the session.
If an S3 Metadata V1 CreateBucketMetadataTableConfiguration
or V2 CreateBucketMetadataConfiguration
request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.
The error information.
A container for specifying the configuration for Amazon EventBridge.
Optional configuration to replicate existing source bucket objects.
Specifies the Amazon S3 object key name to filter on. An object key name is the name assigned to an object in your Amazon S3 bucket. You specify whether to filter on the suffix or prefix of the object key name. A prefix is a specific string of characters at the beginning of an object key name, which you can use to organize objects. For example, you can start the key names of related objects with a prefix, such as 2023-
or engineering/
. Then, you can use FilterRule
to find objects in a bucket with key names that have the same prefix. A suffix is similar to a prefix, but it is at the end of the object key name instead of at the beginning.
The S3 Metadata configuration for a general purpose bucket.
The V1 S3 Metadata configuration for a general purpose bucket.
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
A collection of parts associated with a multipart upload.
Container for S3 Glacier job parameters.
Parameters on this idempotent request are inconsistent with parameters used in previous request(s).
Container for the Suffix
element.
Describes the serialization format of the object.
A container for specifying S3 Intelligent-Tiering filters. The filters determine the subset of objects to which the rule applies.
Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
The Filter
is used to identify objects that the S3 Intelligent-Tiering configuration applies to.
Object is archived and inaccessible until restored.
You may receive this error in multiple cases. Depending on the reason for the error, you may receive one of the messages below:
The write offset value that you specified does not match the current object size.
Specifies the S3 Inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.
Specifies the S3 Inventory configuration for an Amazon S3 bucket.
Contains the type of server-side encryption used to encrypt the S3 Inventory results.
Specifies an S3 Inventory filter. The inventory only includes objects that meet the filter's criteria.
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where S3 Inventory results are published.
Specifies the schedule for generating S3 Inventory results.
The inventory table configuration for an S3 Metadata configuration.
The inventory table configuration for an S3 Metadata configuration.
The specified updates to the S3 Metadata inventory table configuration.
The journal table configuration for an S3 Metadata configuration.
The journal table configuration for the S3 Metadata configuration.
The specified updates to the S3 Metadata journal table configuration.
Specifies JSON as request's output serialization format.
A container for specifying the configuration for Lambda notifications.
Container for the expiration for the lifecycle of the object.
A lifecycle rule for individual objects in an Amazon S3 bucket.
This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
The Filter
is used to identify objects that a Lifecycle Rule applies to. A Filter
can have exactly one of Prefix
, Tag
, ObjectSizeGreaterThan
, ObjectSizeLessThan
, or And
specified. If the Filter
element is left empty, the Lifecycle Rule applies to all objects in the bucket.
Specifies the location where the bucket will be created.
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
The S3 Metadata configuration for a general purpose bucket.
The S3 Metadata configuration for a general purpose bucket.
A metadata key-value pair to store with an object.
The V1 S3 Metadata configuration for a general purpose bucket.
The V1 S3 Metadata configuration for a general purpose bucket. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
The encryption settings for an S3 Metadata journal table or inventory table configuration.
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.
Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
Container for the MultipartUpload
for the Amazon S3 object.
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage class at a specific period in the object's lifetime.
The specified bucket does not exist.
The specified key does not exist.
The specified multipart upload does not exist.
The specified content does not exist.
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
Specifies object key name filtering rules. For information about key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide.
This action is not allowed against this storage tier.
Object Identifier is unique value to identify objects.
The container element for Object Lock configuration parameters.
A legal hold configuration for an object.
A Retention configuration for an object.
The container element for an Object Lock rule.
The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.
The container element for object ownership for a bucket's ownership controls.
A container for elements related to an individual part.
The version of an object.
Describes the location where the restore job's output is stored.
Describes how results of the Select job are serialized.
End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning DisplayName
. Update your applications to use canonical IDs (unique identifier for Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of DisplayName
.
The container element for a bucket's ownership controls.
The container element for an ownership control rule.
Container for Parquet.
Amazon S3 keys for log objects are partitioned in the following format:
The container element for a bucket's policy status.
This data type contains information about the progress event of an operation.
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.
The journal table record expiration settings for a journal table in an S3 Metadata configuration.
The container for the records event.
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
A filter that you can specify for selection for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when Filter
is specified), you can specify this element and set the status to Enabled
to replicate modifications on replicas.
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
Specifies which Amazon S3 objects to replicate and where to store the replicas.
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
A filter that identifies the subset of objects to which the replication rule applies. A Filter
must specify exactly one Prefix
, Tag
, or an And
child element.
A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics
block.
A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics EventThreshold
.
If present, indicates that the requester was successfully charged for the request. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
Container for Payer.
Container for specifying if periodic QueryProgress
messages should be sent.
Container for restore job parameters.
Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.
Specifies the redirect behavior and when a redirect is applied. For more information about routing rules, see Configuring advanced conditional redirects in the Amazon S3 User Guide.
Base class for all service related exceptions thrown by the S3 client
A container for object key name prefix and suffix filtering rules.
Describes an Amazon S3 location that will receive the results of the restore request.
The destination information for a V1 S3 Metadata configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
The destination information for a V1 S3 Metadata configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
The container for selecting objects from a content event stream.
Learn Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. For more information, see PutBucketEncryption.
Specifies the default server-side-encryption configuration.
Specifies the default server-side encryption configuration.
The established temporary security credentials of the session.
To use simple format for S3 keys for log objects, set SimplePrefix to an empty object.
A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).
A container for filter information for the selection of S3 objects encrypted with Amazon Web Services KMS.
Container for the Stats Event.
Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
Container for data related to the storage class analysis for an Amazon S3 bucket for export.
Container for granting information.
Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.
You have attempted to add more parts than the maximum of 10000 that are allowed for this object. You can use the CopyObject operation to copy this object to another and then add more data to the newly copied object.
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.
Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide.
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.
Specifies website configuration parameters for an Amazon S3 bucket.