{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.s3#AbortDate": { "type": "timestamp" }, "com.amazonaws.s3#AbortIncompleteMultipartUpload": { "type": "structure", "members": { "DaysAfterInitiation": { "target": "com.amazonaws.s3#DaysAfterInitiation", "traits": { "smithy.api#documentation": "
Specifies the number of days after which Amazon S3 aborts an incomplete multipart\n upload.
" } } }, "traits": { "smithy.api#documentation": "Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will\n wait before permanently removing all parts of the upload. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in\n the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#AbortMultipartUpload": { "type": "operation", "input": { "target": "com.amazonaws.s3#AbortMultipartUploadRequest" }, "output": { "target": "com.amazonaws.s3#AbortMultipartUploadOutput" }, "errors": [ { "target": "com.amazonaws.s3#NoSuchUpload" } ], "traits": { "smithy.api#documentation": "This operation aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.
\nTo verify that all parts have been removed and prevent getting charged for the part\n storage, you should call the ListParts API operation and ensure that\n the parts list is empty.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - For information about permissions required to use the multipart upload, see Multipart Upload\n and Permissions in the Amazon S3\n User Guide.
\n\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to AbortMultipartUpload
:
\n UploadPart\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe bucket name to which the upload was taking place.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Key of the object for which the multipart upload was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID that identifies the multipart upload.
", "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the transfer acceleration status of the bucket.
" } } }, "traits": { "smithy.api#documentation": "Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see\n Amazon S3\n Transfer Acceleration in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#AcceptRanges": { "type": "string" }, "com.amazonaws.s3#AccessControlPolicy": { "type": "structure", "members": { "Grants": { "target": "com.amazonaws.s3#Grants", "traits": { "smithy.api#documentation": "A list of grants.
", "smithy.api#xmlName": "AccessControlList" } }, "Owner": { "target": "com.amazonaws.s3#Owner", "traits": { "smithy.api#documentation": "Container for the bucket owner's display name and ID.
" } } }, "traits": { "smithy.api#documentation": "Contains the elements that set the ACL permissions for an object per grantee.
" } }, "com.amazonaws.s3#AccessControlTranslation": { "type": "structure", "members": { "Owner": { "target": "com.amazonaws.s3#OwnerOverride", "traits": { "smithy.api#documentation": "Specifies the replica ownership. For default and valid values, see PUT bucket\n replication in the Amazon S3 API Reference.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A container for information about access control for replicas.
" } }, "com.amazonaws.s3#AccessKeyIdValue": { "type": "string" }, "com.amazonaws.s3#AccessPointAlias": { "type": "boolean" }, "com.amazonaws.s3#AccessPointArn": { "type": "string" }, "com.amazonaws.s3#AccountId": { "type": "string" }, "com.amazonaws.s3#AllowQuotedRecordDelimiter": { "type": "boolean" }, "com.amazonaws.s3#AllowedHeader": { "type": "string" }, "com.amazonaws.s3#AllowedHeaders": { "type": "list", "member": { "target": "com.amazonaws.s3#AllowedHeader" } }, "com.amazonaws.s3#AllowedMethod": { "type": "string" }, "com.amazonaws.s3#AllowedMethods": { "type": "list", "member": { "target": "com.amazonaws.s3#AllowedMethod" } }, "com.amazonaws.s3#AllowedOrigin": { "type": "string" }, "com.amazonaws.s3#AllowedOrigins": { "type": "list", "member": { "target": "com.amazonaws.s3#AllowedOrigin" } }, "com.amazonaws.s3#AmazonS3": { "type": "service", "version": "2006-03-01", "operations": [ { "target": "com.amazonaws.s3#AbortMultipartUpload" }, { "target": "com.amazonaws.s3#CompleteMultipartUpload" }, { "target": "com.amazonaws.s3#CopyObject" }, { "target": "com.amazonaws.s3#CreateBucket" }, { "target": "com.amazonaws.s3#CreateMultipartUpload" }, { "target": "com.amazonaws.s3#CreateSession" }, { "target": "com.amazonaws.s3#DeleteBucket" }, { "target": "com.amazonaws.s3#DeleteBucketAnalyticsConfiguration" }, { "target": "com.amazonaws.s3#DeleteBucketCors" }, { "target": "com.amazonaws.s3#DeleteBucketEncryption" }, { "target": "com.amazonaws.s3#DeleteBucketIntelligentTieringConfiguration" }, { "target": "com.amazonaws.s3#DeleteBucketInventoryConfiguration" }, { "target": "com.amazonaws.s3#DeleteBucketLifecycle" }, { "target": "com.amazonaws.s3#DeleteBucketMetricsConfiguration" }, { "target": "com.amazonaws.s3#DeleteBucketOwnershipControls" }, { "target": "com.amazonaws.s3#DeleteBucketPolicy" }, { "target": "com.amazonaws.s3#DeleteBucketReplication" }, { "target": "com.amazonaws.s3#DeleteBucketTagging" }, { "target": "com.amazonaws.s3#DeleteBucketWebsite" }, { "target": "com.amazonaws.s3#DeleteObject" }, { "target": "com.amazonaws.s3#DeleteObjects" }, { "target": "com.amazonaws.s3#DeleteObjectTagging" }, { "target": "com.amazonaws.s3#DeletePublicAccessBlock" }, { "target": "com.amazonaws.s3#GetBucketAccelerateConfiguration" }, { "target": "com.amazonaws.s3#GetBucketAcl" }, { "target": "com.amazonaws.s3#GetBucketAnalyticsConfiguration" }, { "target": "com.amazonaws.s3#GetBucketCors" }, { "target": "com.amazonaws.s3#GetBucketEncryption" }, { "target": "com.amazonaws.s3#GetBucketIntelligentTieringConfiguration" }, { "target": "com.amazonaws.s3#GetBucketInventoryConfiguration" }, { "target": "com.amazonaws.s3#GetBucketLifecycleConfiguration" }, { "target": "com.amazonaws.s3#GetBucketLocation" }, { "target": "com.amazonaws.s3#GetBucketLogging" }, { "target": "com.amazonaws.s3#GetBucketMetricsConfiguration" }, { "target": "com.amazonaws.s3#GetBucketNotificationConfiguration" }, { "target": "com.amazonaws.s3#GetBucketOwnershipControls" }, { "target": "com.amazonaws.s3#GetBucketPolicy" }, { "target": "com.amazonaws.s3#GetBucketPolicyStatus" }, { "target": "com.amazonaws.s3#GetBucketReplication" }, { "target": "com.amazonaws.s3#GetBucketRequestPayment" }, { "target": "com.amazonaws.s3#GetBucketTagging" }, { "target": "com.amazonaws.s3#GetBucketVersioning" }, { "target": "com.amazonaws.s3#GetBucketWebsite" }, { "target": "com.amazonaws.s3#GetObject" }, { "target": "com.amazonaws.s3#GetObjectAcl" }, { "target": "com.amazonaws.s3#GetObjectAttributes" }, { "target": "com.amazonaws.s3#GetObjectLegalHold" }, { "target": "com.amazonaws.s3#GetObjectLockConfiguration" }, { "target": "com.amazonaws.s3#GetObjectRetention" }, { "target": "com.amazonaws.s3#GetObjectTagging" }, { "target": "com.amazonaws.s3#GetObjectTorrent" }, { "target": "com.amazonaws.s3#GetPublicAccessBlock" }, { "target": "com.amazonaws.s3#HeadBucket" }, { "target": "com.amazonaws.s3#HeadObject" }, { "target": "com.amazonaws.s3#ListBucketAnalyticsConfigurations" }, { "target": "com.amazonaws.s3#ListBucketIntelligentTieringConfigurations" }, { "target": "com.amazonaws.s3#ListBucketInventoryConfigurations" }, { "target": "com.amazonaws.s3#ListBucketMetricsConfigurations" }, { "target": "com.amazonaws.s3#ListBuckets" }, { "target": "com.amazonaws.s3#ListDirectoryBuckets" }, { "target": "com.amazonaws.s3#ListMultipartUploads" }, { "target": "com.amazonaws.s3#ListObjects" }, { "target": "com.amazonaws.s3#ListObjectsV2" }, { "target": "com.amazonaws.s3#ListObjectVersions" }, { "target": "com.amazonaws.s3#ListParts" }, { "target": "com.amazonaws.s3#PutBucketAccelerateConfiguration" }, { "target": "com.amazonaws.s3#PutBucketAcl" }, { "target": "com.amazonaws.s3#PutBucketAnalyticsConfiguration" }, { "target": "com.amazonaws.s3#PutBucketCors" }, { "target": "com.amazonaws.s3#PutBucketEncryption" }, { "target": "com.amazonaws.s3#PutBucketIntelligentTieringConfiguration" }, { "target": "com.amazonaws.s3#PutBucketInventoryConfiguration" }, { "target": "com.amazonaws.s3#PutBucketLifecycleConfiguration" }, { "target": "com.amazonaws.s3#PutBucketLogging" }, { "target": "com.amazonaws.s3#PutBucketMetricsConfiguration" }, { "target": "com.amazonaws.s3#PutBucketNotificationConfiguration" }, { "target": "com.amazonaws.s3#PutBucketOwnershipControls" }, { "target": "com.amazonaws.s3#PutBucketPolicy" }, { "target": "com.amazonaws.s3#PutBucketReplication" }, { "target": "com.amazonaws.s3#PutBucketRequestPayment" }, { "target": "com.amazonaws.s3#PutBucketTagging" }, { "target": "com.amazonaws.s3#PutBucketVersioning" }, { "target": "com.amazonaws.s3#PutBucketWebsite" }, { "target": "com.amazonaws.s3#PutObject" }, { "target": "com.amazonaws.s3#PutObjectAcl" }, { "target": "com.amazonaws.s3#PutObjectLegalHold" }, { "target": "com.amazonaws.s3#PutObjectLockConfiguration" }, { "target": "com.amazonaws.s3#PutObjectRetention" }, { "target": "com.amazonaws.s3#PutObjectTagging" }, { "target": "com.amazonaws.s3#PutPublicAccessBlock" }, { "target": "com.amazonaws.s3#RestoreObject" }, { "target": "com.amazonaws.s3#SelectObjectContent" }, { "target": "com.amazonaws.s3#UploadPart" }, { "target": "com.amazonaws.s3#UploadPartCopy" }, { "target": "com.amazonaws.s3#WriteGetObjectResponse" } ], "traits": { "aws.api#service": { "sdkId": "S3", "arnNamespace": "s3", "cloudFormationName": "S3", "cloudTrailEventSource": "s3.amazonaws.com", "endpointPrefix": "s3" }, "aws.auth#sigv4": { "name": "s3" }, "aws.protocols#restXml": { "noErrorWrapping": true }, "smithy.api#documentation": "", "smithy.api#suppress": [ "RuleSetAuthSchemes" ], "smithy.api#title": "Amazon Simple Storage Service", "smithy.api#xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "smithy.rules#clientContextParams": { "ForcePathStyle": { "documentation": "Forces this client to use path-style addressing for buckets.", "type": "boolean" }, "UseArnRegion": { "documentation": "Enables this client to use an ARN's region when constructing an endpoint instead of the client's configured region.", "type": "boolean" }, "DisableMultiRegionAccessPoints": { "documentation": "Disables this client's usage of Multi-Region Access Points.", "type": "boolean" }, "Accelerate": { "documentation": "Enables this client to use S3 Transfer Acceleration endpoints.", "type": "boolean" }, "DisableS3ExpressSessionAuth": { "documentation": "Disables this client's usage of Session Auth for S3Express buckets and reverts to using conventional SigV4 for those.", "type": "boolean" } }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Bucket": { "required": false, "documentation": "The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.", "type": "String" }, "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "Boolean" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "Boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" }, "ForcePathStyle": { "builtIn": "AWS::S3::ForcePathStyle", "required": true, "default": false, "documentation": "When true, force a path-style endpoint to be used where the bucket name is part of the path.", "type": "Boolean" }, "Accelerate": { "builtIn": "AWS::S3::Accelerate", "required": true, "default": false, "documentation": "When true, use S3 Accelerate. NOTE: Not all regions support S3 accelerate.", "type": "Boolean" }, "UseGlobalEndpoint": { "builtIn": "AWS::S3::UseGlobalEndpoint", "required": true, "default": false, "documentation": "Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.", "type": "Boolean" }, "UseObjectLambdaEndpoint": { "required": false, "documentation": "Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)", "type": "Boolean" }, "Key": { "required": false, "documentation": "The S3 Key used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Key.", "type": "String" }, "Prefix": { "required": false, "documentation": "The S3 Prefix used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Prefix.", "type": "String" }, "CopySource": { "required": false, "documentation": "The Copy Source used for Copy Object request. This is an optional parameter that will be set automatically for operations that are scoped to Copy Source.", "type": "String" }, "DisableAccessPoints": { "required": false, "documentation": "Internal parameter to disable Access Point Buckets", "type": "Boolean" }, "DisableMultiRegionAccessPoints": { "builtIn": "AWS::S3::DisableMultiRegionAccessPoints", "required": true, "default": false, "documentation": "Whether multi-region access points (MRAP) should be disabled.", "type": "Boolean" }, "UseArnRegion": { "builtIn": "AWS::S3::UseArnRegion", "required": false, "documentation": "When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.", "type": "Boolean" }, "UseS3ExpressControlEndpoint": { "required": false, "documentation": "Internal parameter to indicate whether S3Express operation should use control plane, (ex. CreateBucket)", "type": "Boolean" }, "DisableS3ExpressSessionAuth": { "required": false, "documentation": "Parameter to indicate whether S3Express session auth should be disabled", "type": "Boolean" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Accelerate cannot be used with FIPS", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "error": "Cannot set dual-stack in combination with a custom endpoint.", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "A custom endpoint cannot be combined with FIPS", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] } ], "error": "A custom endpoint cannot be combined with S3 Accelerate", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "partitionResult" }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "partitionResult" }, "name" ] }, "aws-cn" ] } ], "error": "Partition does not support FIPS", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Bucket" } ] }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 0, 6, true ], "assign": "bucketSuffix" }, { "fn": "stringEquals", "argv": [ { "ref": "bucketSuffix" }, "--x-s3" ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "S3Express does not support Dual-stack.", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] } ], "error": "S3Express does not support S3 Accelerate.", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "DisableS3ExpressSessionAuth" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "DisableS3ExpressSessionAuth" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, true ] } ], "rules": [ { "conditions": [ { "fn": "uriEncode", "argv": [ { "ref": "Bucket" } ], "assign": "uri_encoded_bucket" } ], "rules": [ { "conditions": [], "endpoint": { "url": "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [ { "fn": "aws.isVirtualHostableS3Bucket", "argv": [ { "ref": "Bucket" }, false ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "S3Express bucket name is not a valid virtual hostable name.", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, true ] } ], "rules": [ { "conditions": [ { "fn": "uriEncode", "argv": [ { "ref": "Bucket" } ], "assign": "uri_encoded_bucket" } ], "rules": [ { "conditions": [], "endpoint": { "url": "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [ { "fn": "aws.isVirtualHostableS3Bucket", "argv": [ { "ref": "Bucket" }, false ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "S3Express bucket name is not a valid virtual hostable name.", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "UseS3ExpressControlEndpoint" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseS3ExpressControlEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "uriEncode", "argv": [ { "ref": "Bucket" } ], "assign": "uri_encoded_bucket" }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [ { "fn": "aws.isVirtualHostableS3Bucket", "argv": [ { "ref": "Bucket" }, false ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "DisableS3ExpressSessionAuth" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "DisableS3ExpressSessionAuth" }, true ] } ], "rules": [ { "conditions": [ { "fn": "substring", "argv": [ { "ref": "Bucket" }, 6, 14, true ], "assign": "s3expressAvailabilityZoneId" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 14, 16, true ], "assign": "s3expressAvailabilityZoneDelim" }, { "fn": "stringEquals", "argv": [ { "ref": "s3expressAvailabilityZoneDelim" }, "--" ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "substring", "argv": [ { "ref": "Bucket" }, 6, 15, true ], "assign": "s3expressAvailabilityZoneId" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 15, 17, true ], "assign": "s3expressAvailabilityZoneDelim" }, { "fn": "stringEquals", "argv": [ { "ref": "s3expressAvailabilityZoneDelim" }, "--" ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Unrecognized S3Express bucket name format.", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "substring", "argv": [ { "ref": "Bucket" }, 6, 14, true ], "assign": "s3expressAvailabilityZoneId" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 14, 16, true ], "assign": "s3expressAvailabilityZoneDelim" }, { "fn": "stringEquals", "argv": [ { "ref": "s3expressAvailabilityZoneDelim" }, "--" ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "substring", "argv": [ { "ref": "Bucket" }, 6, 15, true ], "assign": "s3expressAvailabilityZoneId" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 15, 17, true ], "assign": "s3expressAvailabilityZoneDelim" }, { "fn": "stringEquals", "argv": [ { "ref": "s3expressAvailabilityZoneDelim" }, "--" ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4-s3express", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Unrecognized S3Express bucket name format.", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "S3Express bucket name is not a valid virtual hostable name.", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Bucket" } ] } ] }, { "fn": "isSet", "argv": [ { "ref": "UseS3ExpressControlEndpoint" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseS3ExpressControlEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" } ], "endpoint": { "url": "{url#scheme}://{url#authority}{url#path}", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://s3express-control-fips.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://s3express-control.{Region}.amazonaws.com", "properties": { "backend": "S3Express", "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3express", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Bucket" } ] }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 49, 50, true ], "assign": "hardwareType" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 8, 12, true ], "assign": "regionPrefix" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 0, 7, true ], "assign": "bucketAliasSuffix" }, { "fn": "substring", "argv": [ { "ref": "Bucket" }, 32, 49, true ], "assign": "outpostId" }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "regionPartition" }, { "fn": "stringEquals", "argv": [ { "ref": "bucketAliasSuffix" }, "--op-s3" ] } ], "rules": [ { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "ref": "outpostId" }, false ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "hardwareType" }, "e" ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "regionPrefix" }, "beta" ] } ], "rules": [ { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] } ], "error": "Expected a endpoint to be specified but no endpoint was found", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" } ], "endpoint": { "url": "https://{Bucket}.ec2.{url#authority}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4a", "signingName": "s3-outposts", "signingRegionSet": [ "*" ] }, { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-outposts", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4a", "signingName": "s3-outposts", "signingRegionSet": [ "*" ] }, { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-outposts", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "hardwareType" }, "o" ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "regionPrefix" }, "beta" ] } ], "rules": [ { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] } ], "error": "Expected a endpoint to be specified but no endpoint was found", "type": "error" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" } ], "endpoint": { "url": "https://{Bucket}.op-{outpostId}.{url#authority}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4a", "signingName": "s3-outposts", "signingRegionSet": [ "*" ] }, { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-outposts", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4a", "signingName": "s3-outposts", "signingRegionSet": [ "*" ] }, { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-outposts", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Bucket" } ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ] } ] } ] } ], "error": "Custom endpoint `{Endpoint}` was not a valid URI", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "ForcePathStyle" }, false ] }, { "fn": "aws.isVirtualHostableS3Bucket", "argv": [ { "ref": "Bucket" }, false ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "partitionResult" } ], "rules": [ { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "ref": "Region" }, false ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "partitionResult" }, "name" ] }, "aws-cn" ] } ], "error": "S3 Accelerate cannot be used in this region", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, true ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, false ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, true ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "us-east-1" ] } ], "endpoint": { "url": "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, false ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "us-east-1" ] } ], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, true ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "isIp" ] }, false ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "us-east-1" ] } ], "endpoint": { "url": "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ], "endpoint": { "url": "https://{Bucket}.s3.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "us-east-1" ] } ], "endpoint": { "url": "https://{Bucket}.s3.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] }, { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "Region" }, "aws-global" ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseGlobalEndpoint" }, false ] } ], "endpoint": { "url": "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Invalid region: region was not a valid DNS name.", "type": "error" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "url" }, "scheme" ] }, "http" ] }, { "fn": "aws.isVirtualHostableS3Bucket", "argv": [ { "ref": "Bucket" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "ForcePathStyle" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, false ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "partitionResult" } ], "rules": [ { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "ref": "Region" }, false ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "{url#scheme}://{Bucket}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3", "signingRegion": "{Region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Invalid region: region was not a valid DNS name.", "type": "error" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "ForcePathStyle" }, false ] }, { "fn": "aws.parseArn", "argv": [ { "ref": "Bucket" } ], "assign": "bucketArn" } ], "rules": [ { "conditions": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "resourceId[0]" ], "assign": "arnType" }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "arnType" }, "" ] } ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "service" ] }, "s3-object-lambda" ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "ref": "arnType" }, "accesspoint" ] } ], "rules": [ { "conditions": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "resourceId[1]" ], "assign": "accessPointName" }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "ref": "accessPointName" }, "" ] } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "S3 Object Lambda does not support Dual-stack", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "Accelerate" }, true ] } ], "error": "S3 Object Lambda does not support S3 Accelerate", "type": "error" }, { "conditions": [ { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "region" ] }, "" ] } ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "DisableAccessPoints" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "DisableAccessPoints" }, true ] } ], "error": "Access points are not supported for this operation", "type": "error" }, { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "resourceId[2]" ] } ] } ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "UseArnRegion" } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseArnRegion" }, false ] }, { "fn": "not", "argv": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "region" ] }, "{Region}" ] } ] } ], "error": "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", "type": "error" }, { "conditions": [ { "fn": "aws.partition", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "region" ] } ], "assign": "bucketPartition" } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "partitionResult" } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketPartition" }, "name" ] }, { "fn": "getAttr", "argv": [ { "ref": "partitionResult" }, "name" ] } ] } ], "rules": [ { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "region" ] }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "accountId" ] }, "" ] } ], "error": "Invalid ARN: Missing account id", "type": "error" }, { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "bucketArn" }, "accountId" ] }, false ] } ], "rules": [ { "conditions": [ { "fn": "isValidHostLabel", "argv": [ { "ref": "accessPointName" }, false ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "parseURL", "argv": [ { "ref": "Endpoint" } ], "assign": "url" } ], "endpoint": { "url": "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-object-lambda", "signingRegion": "{bucketArn#region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "endpoint": { "url": "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-object-lambda", "signingRegion": "{bucketArn#region}" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", "properties": { "authSchemes": [ { "disableDoubleEncoding": true, "name": "sigv4", "signingName": "s3-object-lambda", "signingRegion": "{bucketArn#region}" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", "type": "error" } ], "type": "tree" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: bucket ARN is missing a region", "type": "error" } ], "type": "tree" }, { "conditions": [], "error": "Invalid ARN: Expected a resource of the format `accesspoint:The prefix to use when evaluating an AND predicate: The prefix that an object must have\n to be included in the metrics results.
" } }, "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "The list of tags to use when evaluating an AND predicate.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } } }, "traits": { "smithy.api#documentation": "A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates in any combination, and an object must match\n all of the predicates for the filter to apply.
" } }, "com.amazonaws.s3#AnalyticsConfiguration": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.s3#AnalyticsId", "traits": { "smithy.api#documentation": "The ID that identifies the analytics configuration.
", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.s3#AnalyticsFilter", "traits": { "smithy.api#documentation": "The filter used to describe a set of objects for analyses. A filter must have exactly\n one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided,\n all objects will be considered in any analysis.
" } }, "StorageClassAnalysis": { "target": "com.amazonaws.s3#StorageClassAnalysis", "traits": { "smithy.api#documentation": "Contains data related to access patterns to be collected and made available to analyze\n the tradeoffs between different storage classes.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the configuration and any analyses for the analytics filter of an Amazon S3\n bucket.
" } }, "com.amazonaws.s3#AnalyticsConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#AnalyticsConfiguration" } }, "com.amazonaws.s3#AnalyticsExportDestination": { "type": "structure", "members": { "S3BucketDestination": { "target": "com.amazonaws.s3#AnalyticsS3BucketDestination", "traits": { "smithy.api#documentation": "A destination signifying output to an S3 bucket.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Where to publish the analytics results.
" } }, "com.amazonaws.s3#AnalyticsFilter": { "type": "union", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix to use when evaluating an analytics filter.
" } }, "Tag": { "target": "com.amazonaws.s3#Tag", "traits": { "smithy.api#documentation": "The tag to use when evaluating an analytics filter.
" } }, "And": { "target": "com.amazonaws.s3#AnalyticsAndOperator", "traits": { "smithy.api#documentation": "A conjunction (logical AND) of predicates, which is used in evaluating an analytics\n filter. The operator must have at least two predicates.
" } } }, "traits": { "smithy.api#documentation": "The filter used to describe a set of objects for analyses. A filter must have exactly\n one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided,\n all objects will be considered in any analysis.
" } }, "com.amazonaws.s3#AnalyticsId": { "type": "string" }, "com.amazonaws.s3#AnalyticsS3BucketDestination": { "type": "structure", "members": { "Format": { "target": "com.amazonaws.s3#AnalyticsS3ExportFileFormat", "traits": { "smithy.api#documentation": "Specifies the file format used when exporting data to Amazon S3.
", "smithy.api#required": {} } }, "BucketAccountId": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID that owns the destination S3 bucket. If no account ID is provided, the\n owner is not validated before exporting data.
\nAlthough this value is optional, we strongly recommend that you set it to help\n prevent problems if the destination bucket ownership changes.
\nThe Amazon Resource Name (ARN) of the bucket to which data is exported.
", "smithy.api#required": {} } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix to use when exporting data. The prefix is prepended to all results.
" } } }, "traits": { "smithy.api#documentation": "Contains information about where to publish the analytics results.
" } }, "com.amazonaws.s3#AnalyticsS3ExportFileFormat": { "type": "enum", "members": { "CSV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CSV" } } } }, "com.amazonaws.s3#ArchiveStatus": { "type": "enum", "members": { "ARCHIVE_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ARCHIVE_ACCESS" } }, "DEEP_ARCHIVE_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEEP_ARCHIVE_ACCESS" } } } }, "com.amazonaws.s3#Body": { "type": "blob" }, "com.amazonaws.s3#Bucket": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket.
" } }, "CreationDate": { "target": "com.amazonaws.s3#CreationDate", "traits": { "smithy.api#documentation": "Date the bucket was created. This date can change when making changes to your bucket,\n such as editing its bucket policy.
" } } }, "traits": { "smithy.api#documentation": "In terms of implementation, a Bucket is a resource.
" } }, "com.amazonaws.s3#BucketAccelerateStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Suspended": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Suspended" } } } }, "com.amazonaws.s3#BucketAlreadyExists": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "The requested bucket name is not available. The bucket namespace is shared by all users\n of the system. Select a different name and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.s3#BucketAlreadyOwnedByYou": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "The bucket you tried to create already exists, and you own it. Amazon S3 returns this error\n in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you\n re-create an existing bucket that you already own in the North Virginia Region, Amazon S3\n returns 200 OK and resets the bucket access control lists (ACLs).
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.s3#BucketCannedACL": { "type": "enum", "members": { "private": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "private" } }, "public_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "public-read" } }, "public_read_write": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "public-read-write" } }, "authenticated_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "authenticated-read" } } } }, "com.amazonaws.s3#BucketInfo": { "type": "structure", "members": { "DataRedundancy": { "target": "com.amazonaws.s3#DataRedundancy", "traits": { "smithy.api#documentation": "The number of Availability Zone that's used for redundancy for the bucket.
" } }, "Type": { "target": "com.amazonaws.s3#BucketType", "traits": { "smithy.api#documentation": "The type of bucket.
" } } }, "traits": { "smithy.api#documentation": "Specifies the information about the bucket that will be created. For more information about directory buckets, see \n Directory buckets in the Amazon S3 User Guide.
\nThis functionality is only supported by directory buckets.
\nA lifecycle rule for individual objects in an Amazon S3 bucket.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" } } }, "traits": { "smithy.api#documentation": "Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more\n information, see Object Lifecycle Management\n in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#BucketLocationConstraint": { "type": "enum", "members": { "af_south_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "af-south-1" } }, "ap_east_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-east-1" } }, "ap_northeast_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-northeast-1" } }, "ap_northeast_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-northeast-2" } }, "ap_northeast_3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-northeast-3" } }, "ap_south_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-south-1" } }, "ap_south_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-south-2" } }, "ap_southeast_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-southeast-1" } }, "ap_southeast_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-southeast-2" } }, "ap_southeast_3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-southeast-3" } }, "ca_central_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ca-central-1" } }, "cn_north_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "cn-north-1" } }, "cn_northwest_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "cn-northwest-1" } }, "EU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EU" } }, "eu_central_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-central-1" } }, "eu_north_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-north-1" } }, "eu_south_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-south-1" } }, "eu_south_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-south-2" } }, "eu_west_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-west-1" } }, "eu_west_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-west-2" } }, "eu_west_3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-west-3" } }, "me_south_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "me-south-1" } }, "sa_east_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sa-east-1" } }, "us_east_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "us-east-2" } }, "us_gov_east_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "us-gov-east-1" } }, "us_gov_west_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "us-gov-west-1" } }, "us_west_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "us-west-1" } }, "us_west_2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "us-west-2" } } } }, "com.amazonaws.s3#BucketLocationName": { "type": "string" }, "com.amazonaws.s3#BucketLoggingStatus": { "type": "structure", "members": { "LoggingEnabled": { "target": "com.amazonaws.s3#LoggingEnabled" } }, "traits": { "smithy.api#documentation": "Container for logging status information.
" } }, "com.amazonaws.s3#BucketLogsPermission": { "type": "enum", "members": { "FULL_CONTROL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FULL_CONTROL" } }, "READ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "READ" } }, "WRITE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WRITE" } } } }, "com.amazonaws.s3#BucketName": { "type": "string" }, "com.amazonaws.s3#BucketType": { "type": "enum", "members": { "Directory": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Directory" } } } }, "com.amazonaws.s3#BucketVersioningStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Suspended": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Suspended" } } } }, "com.amazonaws.s3#Buckets": { "type": "list", "member": { "target": "com.amazonaws.s3#Bucket", "traits": { "smithy.api#xmlName": "Bucket" } } }, "com.amazonaws.s3#BypassGovernanceRetention": { "type": "boolean" }, "com.amazonaws.s3#BytesProcessed": { "type": "long" }, "com.amazonaws.s3#BytesReturned": { "type": "long" }, "com.amazonaws.s3#BytesScanned": { "type": "long" }, "com.amazonaws.s3#CORSConfiguration": { "type": "structure", "members": { "CORSRules": { "target": "com.amazonaws.s3#CORSRules", "traits": { "smithy.api#documentation": "A set of origins and methods (cross-origin access that you want to allow). You can add\n up to 100 rules to the configuration.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CORSRule" } } }, "traits": { "smithy.api#documentation": "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#CORSRule": { "type": "structure", "members": { "ID": { "target": "com.amazonaws.s3#ID", "traits": { "smithy.api#documentation": "Unique identifier for the rule. The value cannot be longer than 255 characters.
" } }, "AllowedHeaders": { "target": "com.amazonaws.s3#AllowedHeaders", "traits": { "smithy.api#documentation": "Headers that are specified in the Access-Control-Request-Headers
header.\n These headers are allowed in a preflight OPTIONS request. In response to any preflight\n OPTIONS request, Amazon S3 returns any requested headers that are allowed.
An HTTP method that you allow the origin to execute. Valid values are GET
,\n PUT
, HEAD
, POST
, and DELETE
.
One or more origins you want customers to be able to access the bucket from.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AllowedOrigin" } }, "ExposeHeaders": { "target": "com.amazonaws.s3#ExposeHeaders", "traits": { "smithy.api#documentation": "One or more headers in the response that you want customers to be able to access from\n their applications (for example, from a JavaScript XMLHttpRequest
\n object).
The time in seconds that your browser is to cache the preflight response for the\n specified resource.
" } } }, "traits": { "smithy.api#documentation": "Specifies a cross-origin access rule for an Amazon S3 bucket.
" } }, "com.amazonaws.s3#CORSRules": { "type": "list", "member": { "target": "com.amazonaws.s3#CORSRule" } }, "com.amazonaws.s3#CSVInput": { "type": "structure", "members": { "FileHeaderInfo": { "target": "com.amazonaws.s3#FileHeaderInfo", "traits": { "smithy.api#documentation": "Describes the first line of input. Valid values are:
\n\n NONE
: First line is not a header.
\n IGNORE
: First line is a header, but you can't use the header values\n to indicate the column in an expression. You can use column position (such as _1, _2,\n …) to indicate the column (SELECT s._1 FROM OBJECT s
).
\n Use
: First line is a header, and you can use the header value to\n identify a column in an expression (SELECT \"name\" FROM OBJECT
).
A single character used to indicate that a row should be ignored when the character is\n present at the start of that row. You can specify any character to indicate a comment line.\n The default character is #
.
Default: #
\n
A single character used for escaping the quotation mark character inside an already\n escaped value. For example, the value \"\"\" a , b \"\"\"
is parsed as \" a , b\n \"
.
A single character used to separate individual records in the input. Instead of the\n default value, you can specify an arbitrary delimiter.
" } }, "FieldDelimiter": { "target": "com.amazonaws.s3#FieldDelimiter", "traits": { "smithy.api#documentation": "A single character used to separate individual fields in a record. You can specify an\n arbitrary delimiter.
" } }, "QuoteCharacter": { "target": "com.amazonaws.s3#QuoteCharacter", "traits": { "smithy.api#documentation": "A single character used for escaping when the field delimiter is part of the value. For\n example, if the value is a, b
, Amazon S3 wraps this field value in quotation marks,\n as follows: \" a , b \"
.
Type: String
\nDefault: \"
\n
Ancestors: CSV
\n
Specifies that CSV field values may contain quoted record delimiters and such records\n should be allowed. Default value is FALSE. Setting this value to TRUE may lower\n performance.
" } } }, "traits": { "smithy.api#documentation": "Describes how an uncompressed comma-separated values (CSV)-formatted input object is\n formatted.
" } }, "com.amazonaws.s3#CSVOutput": { "type": "structure", "members": { "QuoteFields": { "target": "com.amazonaws.s3#QuoteFields", "traits": { "smithy.api#documentation": "Indicates whether to use quotation marks around output fields.
\n\n ALWAYS
: Always use quotation marks for output fields.
\n ASNEEDED
: Use quotation marks for output fields when needed.
The single character used for escaping the quote character inside an already escaped\n value.
" } }, "RecordDelimiter": { "target": "com.amazonaws.s3#RecordDelimiter", "traits": { "smithy.api#documentation": "A single character used to separate individual records in the output. Instead of the\n default value, you can specify an arbitrary delimiter.
" } }, "FieldDelimiter": { "target": "com.amazonaws.s3#FieldDelimiter", "traits": { "smithy.api#documentation": "The value used to separate individual fields in a record. You can specify an arbitrary\n delimiter.
" } }, "QuoteCharacter": { "target": "com.amazonaws.s3#QuoteCharacter", "traits": { "smithy.api#documentation": "A single character used for escaping when the field delimiter is part of the value. For\n example, if the value is a, b
, Amazon S3 wraps this field value in quotation marks,\n as follows: \" a , b \"
.
Describes how uncompressed comma-separated values (CSV)-formatted results are\n formatted.
" } }, "com.amazonaws.s3#CacheControl": { "type": "string" }, "com.amazonaws.s3#Checksum": { "type": "structure", "members": { "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Contains all the possible checksum or digest values for an object.
" } }, "com.amazonaws.s3#ChecksumAlgorithm": { "type": "enum", "members": { "CRC32": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CRC32" } }, "CRC32C": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CRC32C" } }, "SHA1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SHA1" } }, "SHA256": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SHA256" } } } }, "com.amazonaws.s3#ChecksumAlgorithmList": { "type": "list", "member": { "target": "com.amazonaws.s3#ChecksumAlgorithm" } }, "com.amazonaws.s3#ChecksumCRC32": { "type": "string" }, "com.amazonaws.s3#ChecksumCRC32C": { "type": "string" }, "com.amazonaws.s3#ChecksumMode": { "type": "enum", "members": { "ENABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENABLED" } } } }, "com.amazonaws.s3#ChecksumSHA1": { "type": "string" }, "com.amazonaws.s3#ChecksumSHA256": { "type": "string" }, "com.amazonaws.s3#Code": { "type": "string" }, "com.amazonaws.s3#Comments": { "type": "string" }, "com.amazonaws.s3#CommonPrefix": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Container for the specified common prefix.
" } } }, "traits": { "smithy.api#documentation": "Container for all (if there are any) keys between Prefix and the next occurrence of the\n string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in\n the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter\n is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.
" } }, "com.amazonaws.s3#CommonPrefixList": { "type": "list", "member": { "target": "com.amazonaws.s3#CommonPrefix" } }, "com.amazonaws.s3#CompleteMultipartUpload": { "type": "operation", "input": { "target": "com.amazonaws.s3#CompleteMultipartUploadRequest" }, "output": { "target": "com.amazonaws.s3#CompleteMultipartUploadOutput" }, "traits": { "smithy.api#documentation": "Completes a multipart upload by assembling previously uploaded parts.
\nYou first initiate the multipart upload and then upload all parts using the UploadPart\n operation or the UploadPartCopy\n operation. After successfully uploading all relevant parts of an upload, you call this\n CompleteMultipartUpload
operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts\n in ascending order by part number to create a new object. In the CompleteMultipartUpload \n request, you must provide the parts list and ensure that the parts list is complete.\n The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list,\n you must provide the PartNumber
value and the ETag
value that are returned after that part\n was uploaded.
The processing of a CompleteMultipartUpload request could take several minutes to\n finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK
response. While processing is in progress, Amazon S3 periodically sends white\n space characters to keep the connection from timing out. A request could fail after the\n initial 200 OK
response has been sent. This means that a 200 OK
response can\n contain either a success or an error. The error response might be embedded in the 200 OK
response. \n If you call this API operation directly, make sure to design\n your application to parse the contents of the response and handle it appropriately. If you\n use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply\n error handling per your configuration settings (including automatically retrying the\n request as appropriate). If the condition persists, the SDKs throw an exception (or, for\n the SDKs that don't use exceptions, they return an error).
Note that if CompleteMultipartUpload
fails, applications should be prepared\n to retry any failed requests (including 500 error responses). For more information, see Amazon S3 Error Best\n Practices.
You can't use Content-Type: application/x-www-form-urlencoded
for the \n CompleteMultipartUpload requests. Also, if you don't provide a\n Content-Type
header, CompleteMultipartUpload
can still return a 200\n OK
response.
For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3\n User Guide.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - For information about permissions required to use the multipart upload API, see Multipart Upload\n and Permissions in the Amazon S3\n User Guide.
\n\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
Error Code: EntityTooSmall
\n
Description: Your proposed upload is smaller than the minimum allowed object\n size. Each part must be at least 5 MB in size, except the last part.
\nHTTP Status Code: 400 Bad Request
\nError Code: InvalidPart
\n
Description: One or more of the specified parts could not be found. The part\n might not have been uploaded, or the specified ETag might not have\n matched the uploaded part's ETag.
\nHTTP Status Code: 400 Bad Request
\nError Code: InvalidPartOrder
\n
Description: The list of parts was not in ascending order. The parts list\n must be specified in order by part number.
\nHTTP Status Code: 400 Bad Request
\nError Code: NoSuchUpload
\n
Description: The specified multipart upload does not exist. The upload ID\n might be invalid, or the multipart upload might have been aborted or\n completed.
\nHTTP Status Code: 404 Not Found
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CompleteMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe URI that identifies the newly created object.
" } }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket that contains the newly created object. Does not return the access point\n ARN or access point alias if used.
\nAccess points are not supported by directory buckets.
\nThe object key of the newly created object.
" } }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { "smithy.api#documentation": "If the object expiration is configured, this will contain the expiration date\n (expiry-date
) and rule ID (rule-id
). The value of\n rule-id
is URL-encoded.
This functionality is not supported for directory buckets.
\nEntity tag that identifies the newly created object's data. Objects with different\n object data will have different entity tags. The entity tag is an opaque string. The entity\n tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5\n digest of the object data, it will contain one or more nonhexadecimal characters and/or\n will consist of less than 32 or more than 32 hexadecimal digits. For more information about\n how the entity tag is calculated, see Checking object\n integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
Version ID of the newly created object, in case the bucket has versioning turned\n on.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nName of the bucket to which the multipart upload was initiated.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Object key for which the multipart upload was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "MultipartUpload": { "target": "com.amazonaws.s3#CompletedMultipartUpload", "traits": { "smithy.api#documentation": "The container for the multipart upload request information.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "CompleteMultipartUpload" } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "ID for the initiated multipart upload.
", "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is\n required only when the object was created using a checksum algorithm or if\n your bucket policy requires the use of SSE-C. For more information, see Protecting data\n using SSE-C keys in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. \n For more information, see\n Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum \n algorithm. For more information,\n see Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nArray of CompletedPart data types.
\nIf you do not supply a valid Part
with your request, the service sends back\n an HTTP 400 response.
The container for the completed multipart upload details.
" } }, "com.amazonaws.s3#CompletedPart": { "type": "structure", "members": { "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "Entity tag returned when the part was uploaded.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { "smithy.api#documentation": "Part number that identifies the part. This is a positive integer between 1 and\n 10,000.
\n\n General purpose buckets - In CompleteMultipartUpload
, when a additional checksum (including x-amz-checksum-crc32
, x-amz-checksum-crc32c
, x-amz-checksum-sha1
, or \n x-amz-checksum-sha256
) is applied to each part, the PartNumber
must start at 1 and \n the part numbers must be consecutive. Otherwise, Amazon S3 generates an HTTP 400 Bad Request
status code and an InvalidPartOrder
error code.
\n Directory buckets - In CompleteMultipartUpload
, the PartNumber
must start at 1 and \n the part numbers must be consecutive.
Details of the parts that were uploaded.
" } }, "com.amazonaws.s3#CompletedPartList": { "type": "list", "member": { "target": "com.amazonaws.s3#CompletedPart" } }, "com.amazonaws.s3#CompressionType": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } }, "GZIP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GZIP" } }, "BZIP2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BZIP2" } } } }, "com.amazonaws.s3#Condition": { "type": "structure", "members": { "HttpErrorCodeReturnedEquals": { "target": "com.amazonaws.s3#HttpErrorCodeReturnedEquals", "traits": { "smithy.api#documentation": "The HTTP error code when the redirect is applied. In the event of an error, if the error\n code equals this value, then the specified redirect is applied. Required when parent\n element Condition
is specified and sibling KeyPrefixEquals
is not\n specified. If both are specified, then both must be true for the redirect to be\n applied.
The object key name prefix when the redirect is applied. For example, to redirect\n requests for ExamplePage.html
, the key prefix will be\n ExamplePage.html
. To redirect request for all pages with the prefix\n docs/
, the key prefix will be /docs
, which identifies all\n objects in the docs/
folder. Required when the parent element\n Condition
is specified and sibling HttpErrorCodeReturnedEquals
\n is not specified. If both conditions are specified, both must be true for the redirect to\n be applied.
Replacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nA container for describing a condition that must be met for the specified redirect to\n apply. For example, 1. If request is for pages in the /docs
folder, redirect\n to the /documents
folder. 2. If request results in HTTP error 4xx, redirect\n request to another host where you might process the error.
Creates a copy of an object that is already stored in Amazon S3.
\nYou can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic action using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy\n (UploadPartCopy) API. For more information, see Copy Object Using the\n REST Multipart Upload API.
\nYou can copy individual objects between general purpose buckets, between directory buckets, and \n between general purpose buckets and directory buckets.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
Both the\n Region that you want to copy the object from and the Region that you want to copy the\n object to must be enabled for your account. For more information about how to enable a Region for your account, see Enable \n or disable a Region for standalone accounts in the\n Amazon Web Services Account Management Guide.
\nAmazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request
error. For more information, see Transfer\n Acceleration.
All CopyObject
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including\n x-amz-copy-source
, must be signed. For more information, see REST Authentication.
\n Directory buckets - You must use the IAM credentials to authenticate and authorize your access to the CopyObject
API operation, instead of using the \n temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
\nYou must have\n read access to the source object and write\n access to the destination bucket.
\n\n General purpose bucket permissions -\n You must have permissions in an IAM policy based on the source and destination\n bucket types in a CopyObject
operation.
If the source object is in a general purpose bucket, you must have\n \n s3:GetObject
\n \n permission to read the source object that is being copied.
If the destination bucket is a general purpose bucket, you must have\n \n s3:PutObject
\n \n permission to write the object copy to the destination bucket.
\n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination\n bucket types in a CopyObject
operation.
If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession
\n permission in\n the Action
element of a policy to read the object. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the copy source bucket.
If the copy destination is a directory bucket, you must have the \n s3express:CreateSession
\n permission in the\n Action
element of a policy to write the object\n to the destination. The s3express:SessionMode
condition\n key can't be set to ReadOnly
on the copy destination bucket.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the\n Amazon S3 User Guide.
\nWhen the request is an HTTP 1.1 request, the response is chunk encoded. When\n the request is not an HTTP 1.1 request, the response would not contain the\n Content-Length
. You always need to read the entire response body\n to check if the copy succeeds.
If the copy is successful, you receive a response with information about the copied\n object.
\nA copy request might return an error when Amazon S3 receives the copy request or while Amazon S3\n is copying the files. A 200 OK
response can contain either a success or an error.
If the error occurs before the copy action starts, you receive a\n standard Amazon S3 error.
\nIf the error occurs during the copy operation, the error response is\n embedded in the 200 OK
response. For example, in a cross-region copy, you \n may encounter throttling and receive a 200 OK
response. \n For more information, see Resolve \n the Error 200 response when copying objects to Amazon S3. \n The 200 OK
status code means the copy was accepted, but \n it doesn't mean the copy is complete. Another example is \n when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a 200 OK
response. \n You must stay connected to Amazon S3 until the entire response is successfully received and processed.
If you call this API operation directly, make\n sure to design your application to parse the content of the response and handle it\n appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the\n embedded error and apply error handling per your configuration settings (including\n automatically retrying the request as appropriate). If the condition persists, the SDKs\n throw an exception (or, for the SDKs that don't use exceptions, they return an \n error).
\nThe copy request charge is based on the storage class and Region that you specify for\n the destination object. The request can also result in a data retrieval charge for the\n source if the source storage class bills for data retrieval. If the copy source is in a different region, the data transfer is billed to the copy source account. For pricing information, see\n Amazon S3 pricing.
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CopyObject
:
Container for all response elements.
", "smithy.api#httpPayload": {} } }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { "smithy.api#documentation": "If the object expiration is configured, the response includes this header.
\nThis functionality is not supported for directory buckets.
\nVersion ID of the source object that was copied.
\nThis functionality is not supported when the source object is in a directory bucket.
\nVersion ID of the newly created copy.
\nThis functionality is not supported for directory buckets.
\nThe server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the copied object uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nThe canned access control list (ACL) to apply to the object.
\nWhen you copy an object, the ACL metadata is not preserved and is set\n to private
by default. Only the owner has full access\n control. To override the default ACL setting,\n specify a new ACL when you generate a copy request. For more information, see Using\n ACLs.
If the destination bucket that you're copying objects to uses the bucket owner enforced\n setting for S3 Object Ownership, ACLs are disabled and no longer affect\n permissions. Buckets that use this setting only accept PUT
requests\n that don't specify an ACL or PUT
requests that specify bucket owner\n full control ACLs, such as the bucket-owner-full-control
canned ACL\n or an equivalent form of this ACL expressed in the XML format. For more information, see Controlling\n ownership of objects and disabling ACLs in the\n Amazon S3 User Guide.
If your destination bucket uses the bucket owner enforced setting for Object Ownership,\n all objects written to the bucket by any account will be owned by the bucket\n owner.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe name of the destination bucket.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Specifies the caching behavior along the request/reply chain.
", "smithy.api#httpHeader": "Cache-Control" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see\n Checking object integrity in\n the Amazon S3 User Guide.
\nWhen you copy an object, if the source object has a checksum, that checksum value will be copied to\n the new object by default. If the CopyObject
request does not include this x-amz-checksum-algorithm
header, the checksum algorithm will be copied from the source object to the destination object (if it's present on the source object). You can optionally\n specify a different checksum algorithm to use with the\n x-amz-checksum-algorithm
header. Unrecognized or unsupported values will respond with the HTTP status code 400 Bad Request
.
For directory buckets, when you use Amazon Web Services SDKs, CRC32
is the default checksum algorithm that's used for performance.
Specifies presentational information for the object. Indicates whether an object should be displayed in a web browser or downloaded as a file. It allows specifying the desired filename for the downloaded file.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
\nFor directory buckets, only the aws-chunked
value is supported in this header field.
The language the content is in.
", "smithy.api#httpHeader": "Content-Language" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { "smithy.api#documentation": "A standard MIME type that describes the format of the object data.
", "smithy.api#httpHeader": "Content-Type" } }, "CopySource": { "target": "com.amazonaws.s3#CopySource", "traits": { "smithy.api#documentation": "Specifies the source object for the copy operation. The source object \n can be up to 5 GB. If the source object is an object that was uploaded by using a multipart upload, the object copy will be a single part object after the source object is copied to the destination bucket.
\nYou specify the value of the copy source in one of two\n formats, depending on whether you want to access the source object through an access point:
\nFor objects not accessed through an access point, specify the name of the source bucket\n and the key of the source object, separated by a slash (/). For example, to copy the\n object reports/january.pdf
from the general purpose bucket \n awsexamplebucket
, use awsexamplebucket/reports/january.pdf
.\n The value must be URL-encoded. To copy the\n object reports/january.pdf
from the directory bucket \n awsexamplebucket--use1-az5--x-s3
, use awsexamplebucket--use1-az5--x-s3/reports/january.pdf
.\n The value must be URL-encoded.
For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:
. For example, to copy the object reports/january.pdf
through access point my-access-point
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf
. The value must be URL encoded.
Amazon S3 supports copy operations using Access points only when the source and destination buckets are in the same Amazon Web Services Region.
\nAccess points are not supported by directory buckets.
\nAlternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:
. For example, to copy the object reports/january.pdf
through outpost my-outpost
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf
. The value must be URL-encoded.
If your source bucket versioning is enabled, the x-amz-copy-source
header by default identifies the current\n version of an object to copy. If the current version is a delete marker, Amazon S3\n behaves as if the object was deleted. To copy a different version, use the\n versionId
query parameter. Specifically, append ?versionId=
\n to the value (for example,\n awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893
).\n If you don't specify a version ID, Amazon S3 copies the latest version of the source\n object.
If you enable versioning on the destination bucket, Amazon S3 generates a unique version\n ID for the copied object. This version ID is different from the version ID\n of the source object. Amazon S3 returns the version ID of the copied object in the\n x-amz-version-id
response header in the response.
If you do not enable versioning or suspend it on the destination bucket, the version\n ID that Amazon S3 generates in the\n x-amz-version-id
response header is always null.
\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets.
\nCopies the object if its entity tag (ETag) matches the specified tag.
\n If both the x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request and evaluate as follows, Amazon S3 returns 200 OK
and copies the\n data:
\n x-amz-copy-source-if-match
condition evaluates to\n true
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
Copies the object if it has been modified since the specified time.
\nIf both the x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request and evaluate as follows, Amazon S3 returns the 412 Precondition\n Failed
response code:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
Copies the object if its entity tag (ETag) is different than the specified ETag.
\nIf both the x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request and evaluate as follows, Amazon S3 returns the 412 Precondition\n Failed
response code:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
Copies the object if it hasn't been modified since the specified time.
\n If both the x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request and evaluate as follows, Amazon S3 returns 200 OK
and copies the\n data:
\n x-amz-copy-source-if-match
condition evaluates to\n true
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
The date and time at which the object is no longer cacheable.
", "smithy.api#httpHeader": "Expires" } }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to read the object data and its metadata.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to read the object ACL.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to write the ACL for the applicable object.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe key of the destination object.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "Metadata": { "target": "com.amazonaws.s3#Metadata", "traits": { "smithy.api#documentation": "A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "MetadataDirective": { "target": "com.amazonaws.s3#MetadataDirective", "traits": { "smithy.api#documentation": "Specifies whether the metadata is copied from the source object or replaced with\n metadata that's provided in the request. \n When copying an object, you can preserve all metadata (the default) or specify\n new metadata. If this header isn’t specified, COPY
is the default behavior. \n
\n General purpose bucket - For general purpose buckets, when you grant permissions, you\n can use the s3:x-amz-metadata-directive
condition key to enforce\n certain metadata behavior when objects are uploaded. For more information, see\n Amazon S3 condition key examples in the Amazon S3 User Guide.
\n x-amz-website-redirect-location
is unique to each object and is not copied when using the\n x-amz-metadata-directive
header. To copy the value, you \n must specify x-amz-website-redirect-location
in the request header.
Specifies whether the object tag-set is copied from the source object or replaced with\n the tag-set that's provided in the request.
\nThe default value is COPY
.
\n Directory buckets - For directory buckets in a CopyObject
operation, only the empty tag-set is supported. Any requests that attempt to write non-empty tags into directory buckets will receive a 501 Not Implemented
status code. \nWhen the destination bucket is a directory bucket, you will receive a 501 Not Implemented
response in any of the following situations:
When you attempt to COPY
the tag-set from an S3 source object that has non-empty tags.
When you attempt to REPLACE
the tag-set of a source object and set a non-empty value to x-amz-tagging
.
When you don't set the x-amz-tagging-directive
header and the source object has non-empty tags. This is because the default value of x-amz-tagging-directive
is COPY
.
Because only the empty tag-set is supported for directory buckets in a CopyObject
operation, the following situations are allowed:
When you attempt to COPY
the tag-set from a directory bucket source object that has no tags to a general purpose bucket. It copies an empty tag-set to the destination object.
When you attempt to REPLACE
the tag-set of a directory bucket source object and set the x-amz-tagging
value of the directory bucket destination object to empty.
When you attempt to REPLACE
the tag-set of a general purpose bucket source object that has non-empty tags and set the x-amz-tagging
value of the directory bucket destination object to empty.
When you attempt to REPLACE
the tag-set of a directory bucket source object and don't set the x-amz-tagging
value of the directory bucket destination object. This is because the default value of x-amz-tagging
is the empty value.
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
). Unrecognized or unsupported values won’t write a destination object and will receive a 400 Bad Request
response.
Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket.\n When copying an object, if you don't specify encryption information in your copy\n request, the encryption setting of the target object is set to the default\n encryption configuration of the destination bucket. By default, all buckets have a\n base level of encryption configuration that uses server-side encryption with Amazon S3\n managed keys (SSE-S3). If the destination bucket has a default encryption\n configuration that uses server-side encryption with Key Management Service (KMS) keys\n (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or\n server-side encryption with customer-provided encryption keys (SSE-C), Amazon S3 uses\n the corresponding KMS key, or a customer-provided key to encrypt the target\n object copy.
\nWhen you perform a CopyObject
operation, if you want to use a\n different type of encryption setting for the target object, you can specify \n appropriate encryption-related headers to encrypt the target object with an Amazon S3 managed key, a\n KMS key, or a customer-provided key. If the encryption setting in\n your request is different from the default encryption configuration of the\n destination bucket, the encryption setting in your request takes precedence.
With server-side\n encryption, Amazon S3 encrypts your data as it writes your data to disks in its data\n centers and decrypts the data when you access it. For more information about server-side encryption, see Using\n Server-Side Encryption in the\n Amazon S3 User Guide.
\nFor directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
If the x-amz-storage-class
header is not used, the copied object will be stored in the\n STANDARD
Storage Class by default. The STANDARD
storage class provides high durability and\n high availability. Depending on performance needs, you can specify a different Storage\n Class.\n
\n Directory buckets - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. \nUnsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request
.
\n Amazon S3 on Outposts - S3 on Outposts only uses the OUTPOSTS
Storage Class.
You can use the CopyObject
action to change the storage class of\n an object that is already stored in Amazon S3 by using the x-amz-storage-class
\n header. For more information, see Storage Classes in\n the Amazon S3 User Guide.
Before using an object as a source object for the copy operation, you must restore a copy of it if it meets any of the following conditions:
\nThe storage class of the source object is GLACIER
or\n DEEP_ARCHIVE
.
The storage class of the source object is\n INTELLIGENT_TIERING
and it's S3 Intelligent-Tiering access tier is\n Archive Access
or Deep Archive Access
.
For more\n information, see RestoreObject and Copying\n Objects in\n the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-storage-class" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { "smithy.api#documentation": "If the destination bucket is configured as a website, redirects requests for this object copy to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. This value is unique to each object and is not copied when using the\n x-amz-metadata-directive
header. Instead, you may opt to provide this\n header in combination with the x-amz-metadata-directive
header.
This functionality is not supported for directory buckets.
\nSpecifies the algorithm to use when encrypting the object (for example,\n AES256
).
When you perform a CopyObject
operation, if you want to use a\n different type of encryption setting for the target object, you can specify \n appropriate encryption-related headers to encrypt the target object with an Amazon S3 managed key, a\n KMS key, or a customer-provided key. If the encryption setting in\n your request is different from the default encryption configuration of the\n destination bucket, the encryption setting in your request takes precedence.
This functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded. Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
This functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object encryption. All GET and PUT requests for an\n object protected by KMS will fail if they're not made via SSL or using SigV4. For\n information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see\n Specifying the\n Signature Version in Request Authentication in the\n Amazon S3 User Guide.
\nThis functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs. This value must be explicitly added to specify encryption context for \n CopyObject
requests.
This functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using Key Management Service (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the\n object.
\nSetting this header to\n true
causes Amazon S3 to use an S3 Bucket Key for object encryption with\n SSE-KMS. Specifying this header with a COPY action doesn’t affect bucket-level settings for S3\n Bucket Key.
For more information, see Amazon S3 Bucket Keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the algorithm to use when decrypting the source object (for example,\n AES256
).
If\n the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the\n necessary encryption information in your request so that Amazon S3 can decrypt the\n object for copying.
\nThis functionality is not supported when the source object is in a directory bucket.
\nSpecifies the customer-provided encryption key for Amazon S3 to use to decrypt the source\n object. The encryption key provided in this header must be the same one that was used when the\n source object was created.
\nIf\n the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the\n necessary encryption information in your request so that Amazon S3 can decrypt the\n object for copying.
\nThis functionality is not supported when the source object is in a directory bucket.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nIf\n the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the\n necessary encryption information in your request so that Amazon S3 can decrypt the\n object for copying.
\nThis functionality is not supported when the source object is in a directory bucket.
\nThe tag-set for the object copy in the destination bucket. This value must be used in conjunction\n with the x-amz-tagging-directive
if you choose REPLACE
for the x-amz-tagging-directive
. If you choose COPY
for the x-amz-tagging-directive
, you don't need to set \n the x-amz-tagging
header, because the tag-set will be copied from the source object directly. The tag-set must be encoded as URL Query\n parameters.
The default value is the empty value.
\n\n Directory buckets - For directory buckets in a CopyObject
operation, only the empty tag-set is supported. Any requests that attempt to write non-empty tags into directory buckets will receive a 501 Not Implemented
status code. \nWhen the destination bucket is a directory bucket, you will receive a 501 Not Implemented
response in any of the following situations:
When you attempt to COPY
the tag-set from an S3 source object that has non-empty tags.
When you attempt to REPLACE
the tag-set of a source object and set a non-empty value to x-amz-tagging
.
When you don't set the x-amz-tagging-directive
header and the source object has non-empty tags. This is because the default value of x-amz-tagging-directive
is COPY
.
Because only the empty tag-set is supported for directory buckets in a CopyObject
operation, the following situations are allowed:
When you attempt to COPY
the tag-set from a directory bucket source object that has no tags to a general purpose bucket. It copies an empty tag-set to the destination object.
When you attempt to REPLACE
the tag-set of a directory bucket source object and set the x-amz-tagging
value of the directory bucket destination object to empty.
When you attempt to REPLACE
the tag-set of a general purpose bucket source object that has non-empty tags and set the x-amz-tagging
value of the directory bucket destination object to empty.
When you attempt to REPLACE
the tag-set of a directory bucket source object and don't set the x-amz-tagging
value of the directory bucket destination object. This is because the default value of x-amz-tagging
is the empty value.
The Object Lock mode that you want to apply to the object copy.
\nThis functionality is not supported for directory buckets.
\nThe date and time when you want the Object Lock of the object copy to expire.
\nThis functionality is not supported for directory buckets.
\nSpecifies whether you want to apply a legal hold to the object copy.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Returns the ETag of the new object. The ETag reflects only changes to the contents of an\n object, not its metadata.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Creation date of the object.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Container for all response elements.
" } }, "com.amazonaws.s3#CopyPartResult": { "type": "structure", "members": { "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "Entity tag of the object.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Date and time at which the object was uploaded.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Container for all response elements.
" } }, "com.amazonaws.s3#CopySource": { "type": "string", "traits": { "smithy.api#pattern": "^\\/.+\\/.+$" } }, "com.amazonaws.s3#CopySourceIfMatch": { "type": "string" }, "com.amazonaws.s3#CopySourceIfModifiedSince": { "type": "timestamp" }, "com.amazonaws.s3#CopySourceIfNoneMatch": { "type": "string" }, "com.amazonaws.s3#CopySourceIfUnmodifiedSince": { "type": "timestamp" }, "com.amazonaws.s3#CopySourceRange": { "type": "string" }, "com.amazonaws.s3#CopySourceSSECustomerAlgorithm": { "type": "string" }, "com.amazonaws.s3#CopySourceSSECustomerKey": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.s3#CopySourceSSECustomerKeyMD5": { "type": "string" }, "com.amazonaws.s3#CopySourceVersionId": { "type": "string" }, "com.amazonaws.s3#CreateBucket": { "type": "operation", "input": { "target": "com.amazonaws.s3#CreateBucketRequest" }, "output": { "target": "com.amazonaws.s3#CreateBucketOutput" }, "errors": [ { "target": "com.amazonaws.s3#BucketAlreadyExists" }, { "target": "com.amazonaws.s3#BucketAlreadyOwnedByYou" } ], "traits": { "smithy.api#documentation": "This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see \n CreateBucket
\n .
Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a\n valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to\n create buckets. By creating the bucket, you become the bucket owner.
\nThere are two types of buckets: general purpose buckets and directory buckets. For more\n information about these bucket types, see Creating, configuring, and\n working with Amazon S3 buckets in the Amazon S3 User Guide.
\n\n General purpose buckets - If you send your CreateBucket
request to the s3.amazonaws.com
global endpoint,\n the request goes to the us-east-1
Region. So the signature\n calculations in Signature Version 4 must use us-east-1
as the Region, even\n if the location constraint in the request specifies another Region where the bucket is\n to be created. If you create a bucket in a Region other than US East (N. Virginia), your\n application must be able to handle 307 redirect. For more information, see Virtual hosting of\n buckets in the Amazon S3 User Guide.
\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - In addition to the s3:CreateBucket
permission, the following permissions are\n required in a policy when your CreateBucket
request includes specific\n headers:
\n Access control lists (ACLs) - In your CreateBucket
request, if you specify an access control list (ACL) \n and set it to public-read
, public-read-write
,\n authenticated-read
, or if you explicitly specify any other custom ACLs, both s3:CreateBucket
and\n s3:PutBucketAcl
permissions are required. In your CreateBucket
request, if you set the ACL to private
, \n or if you don't specify any ACLs, only the s3:CreateBucket
permission is required.\n
\n Object Lock - In your\n CreateBucket
request, if you set \n x-amz-bucket-object-lock-enabled
to true, the \n s3:PutBucketObjectLockConfiguration
and\n s3:PutBucketVersioning
permissions are required.
\n S3 Object Ownership - If your\n CreateBucket
request includes the\n x-amz-object-ownership
header, then the\n s3:PutBucketOwnershipControls
permission is required.
To set an ACL on a bucket as part of a\n CreateBucket
request, you must explicitly set S3\n Object Ownership for the bucket to a different value than the\n default, BucketOwnerEnforced
. Additionally, if your\n desired bucket ACL grants public access, you must first create the\n bucket (without the bucket ACL) and then explicitly disable Block\n Public Access on the bucket before using PutBucketAcl
\n to set the ACL. If you try to create a bucket with a public ACL,\n the request will fail.
For the majority of modern use cases in S3, we recommend\n that you keep all Block Public Access settings enabled and keep\n ACLs disabled. If you would like to share data with users outside\n of your account, you can use bucket policies as needed. For more\n information, see Controlling ownership of objects and disabling ACLs for your\n bucket and Blocking public access to your Amazon S3 storage in\n the Amazon S3 User Guide.
\n\n S3 Block Public Access - If your\n specific use case requires granting public access to your S3 resources, you\n can disable Block Public Access. Specifically, you can create a new bucket with Block\n Public Access enabled, then separately call the \n DeletePublicAccessBlock
\n API. To use this operation, you must have the\n s3:PutBucketPublicAccessBlock
permission. For more information about S3 Block Public\n Access, see Blocking\n public access to your Amazon S3 storage in the\n Amazon S3 User Guide.
\n Directory bucket permissions - You must have the s3express:CreateBucket
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access are not supported for directory buckets. \n For directory buckets, all Block Public Access settings are enabled at the bucket level and S3 \n Object Ownership is set to Bucket owner enforced (ACLs disabled). These settings can't be modified.\n
\nFor more information about permissions for creating and working with \n directory buckets, see Directory buckets in the Amazon S3 User Guide. \n For more information about supported S3 features for directory buckets, see Features of S3 Express One Zone in the Amazon S3 User Guide.
\n\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to CreateBucket
:
\n PutObject\n
\n\n DeleteBucket\n
\nSpecifies the Region where the bucket will be created. You might choose a Region to\n optimize latency, minimize costs, or address regulatory requirements. For example, if you\n reside in Europe, you will probably find it advantageous to create buckets in the Europe\n (Ireland) Region. For more information, see Accessing a\n bucket in the Amazon S3 User Guide.
\nIf you don't specify a Region,\n the bucket is created in the US East (N. Virginia) Region (us-east-1) by default.
\nThis functionality is not supported for directory buckets.
\nSpecifies the location where the bucket will be created.
\nFor directory buckets, the location type is Availability Zone.
\nThis functionality is only supported by directory buckets.
\nSpecifies the information about the bucket that will be created.
\nThis functionality is only supported by directory buckets.
\nThe configuration information for the bucket.
" } }, "com.amazonaws.s3#CreateBucketOutput": { "type": "structure", "members": { "Location": { "target": "com.amazonaws.s3#Location", "traits": { "smithy.api#documentation": "A forward slash followed by the name of the bucket.
", "smithy.api#httpHeader": "Location" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#CreateBucketRequest": { "type": "structure", "members": { "ACL": { "target": "com.amazonaws.s3#BucketCannedACL", "traits": { "smithy.api#documentation": "The canned ACL to apply to the bucket.
\nThis functionality is not supported for directory buckets.
\nThe name of the bucket to create.
\n\n General purpose buckets - For information about bucket naming\n restrictions, see Bucket naming\n rules in the Amazon S3 User Guide.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format \n bucket_base_name--az_id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide\n
The configuration information for the bucket.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "CreateBucketConfiguration" } }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { "smithy.api#documentation": "Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.
\nThis functionality is not supported for directory buckets.
\nAllows grantee to list the objects in the bucket.
\nThis functionality is not supported for directory buckets.
\nAllows grantee to read the bucket ACL.
\nThis functionality is not supported for directory buckets.
\nAllows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
\nThis functionality is not supported for directory buckets.
\nAllows grantee to write the ACL for the applicable bucket.
\nThis functionality is not supported for directory buckets.
\nSpecifies whether you want S3 Object Lock to be enabled for the new bucket.
\nThis functionality is not supported for directory buckets.
\nThis action initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload\n request. For more information about multipart uploads, see Multipart Upload Overview in the Amazon S3 User Guide.
\nAfter you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stops charging you for\n storing them only after you either complete or abort a multipart upload.
\nIf you have configured a lifecycle rule to abort incomplete multipart uploads, the created multipart \n upload must be completed within the number of days specified in the bucket lifecycle\n configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort\n action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle\n Configuration.
\n\n Directory buckets - S3 Lifecycle is not supported by directory buckets.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
For request signing, multipart upload is just a series of regular requests. You initiate\n a multipart upload, send one or more requests to upload parts, and then complete the\n multipart upload process. You sign each request individually. There is nothing special\n about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 User Guide.
\n\n General purpose bucket permissions - For information about the permissions required to use the multipart upload API, see\n Multipart\n upload and permissions in the Amazon S3 User Guide.
\nTo perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester\n must have permission to the kms:Decrypt
and kms:GenerateDataKey*
\n actions on the key. These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API\n and permissions and Protecting data using\n server-side encryption with Amazon Web Services KMS in the\n Amazon S3 User Guide.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose buckets - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it. Amazon S3\n automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a\n multipart upload, if you don't specify encryption information in your request, the\n encryption setting of the uploaded parts is set to the default encryption configuration of\n the destination bucket. By default, all buckets have a base level of encryption\n configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the\n destination bucket has a default encryption configuration that uses server-side encryption\n with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),\n Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded\n parts. When you perform a CreateMultipartUpload operation, if you want to use a different\n type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the\n object with a different encryption key (such as an Amazon S3 managed key, a KMS key, or a customer-provided key). When the encryption\n setting in your request is different from the default encryption configuration of the\n destination bucket, the encryption setting in your request takes precedence. If you choose\n to provide your own encryption key, the request headers you provide in UploadPart\n and UploadPartCopy requests must match the headers you used in the CreateMultipartUpload
request.
Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key\n (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) –\n If you want Amazon Web Services to manage the keys used to encrypt data, specify the\n following headers in the request.
\n x-amz-server-side-encryption
\n
\n x-amz-server-side-encryption-aws-kms-key-id
\n
\n x-amz-server-side-encryption-context
\n
If you specify x-amz-server-side-encryption:aws:kms
, but\n don't provide x-amz-server-side-encryption-aws-kms-key-id
,\n Amazon S3 uses the Amazon Web Services managed key (aws/s3
key) in KMS to\n protect the data.
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester\n must have permission to the kms:Decrypt
and kms:GenerateDataKey*
\n actions on the key. These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API\n and permissions and Protecting data using\n server-side encryption with Amazon Web Services KMS in the\n Amazon S3 User Guide.
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key,\n then you must have these permissions on the key policy. If your IAM user or role is in a different account from the key, then you must have the permissions on both the key\n policy and your IAM user or role.
\nAll GET
and PUT
requests for an object\n protected by KMS fail if you don't make them by using Secure Sockets\n Layer (SSL), Transport Layer Security (TLS), or Signature Version\n 4. For information about configuring any of the officially supported Amazon Web Services\n SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 User Guide.
For more information about server-side encryption with KMS keys\n (SSE-KMS), see Protecting Data\n Using Server-Side Encryption with KMS keys in the Amazon S3 User Guide.
\nUse customer-provided encryption keys (SSE-C) – If you want to manage\n your own encryption keys, provide all the following headers in the\n request.
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about server-side encryption with customer-provided\n encryption keys (SSE-C), see \n Protecting data using server-side encryption with customer-provided\n encryption keys (SSE-C) in the Amazon S3 User Guide.
\n\n Directory buckets -For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CreateMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nIf the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, the response includes this header. The header indicates when the initiated\n multipart upload becomes eligible for an abort operation. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle\n Configuration in the Amazon S3 User Guide.
\nThe response also includes the x-amz-abort-rule-id
header that provides the\n ID of the lifecycle configuration rule that defines the abort action.
This functionality is not supported for directory buckets.
\nThis header is returned along with the x-amz-abort-date
header. It\n identifies the applicable lifecycle configuration rule that defines the action to abort\n incomplete multipart uploads.
This functionality is not supported for directory buckets.
\nThe name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
\nAccess points are not supported by directory buckets.
\nObject key for which the multipart upload was initiated.
" } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "ID for the initiated multipart upload.
" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nThe algorithm that was used to create a checksum of the object.
", "smithy.api#httpHeader": "x-amz-checksum-algorithm" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "InitiateMultipartUploadResult" } }, "com.amazonaws.s3#CreateMultipartUploadRequest": { "type": "structure", "members": { "ACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { "smithy.api#documentation": "The canned ACL to apply to the object. Amazon S3 supports a set of\n predefined ACLs, known as canned ACLs. Each canned ACL\n has a predefined set of grantees and permissions. For more information, see\n Canned\n ACL in the Amazon S3 User Guide.
\nBy default, all objects are private. Only the owner has full access\n control. When uploading an object, you can grant access permissions to individual\n Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then\n added to the access control list (ACL) on the new object. For more information, see\n Using ACLs. One way to\n grant the permissions using the request headers is to specify a canned ACL with the x-amz-acl
request header.
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe name of the bucket where the multipart upload is initiated and where the object is uploaded.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Specifies caching behavior along the request/reply chain.
", "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { "target": "com.amazonaws.s3#ContentDisposition", "traits": { "smithy.api#documentation": "Specifies presentational information for the object.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
\nFor directory buckets, only the aws-chunked
value is supported in this header field.
The language that the content is in.
", "smithy.api#httpHeader": "Content-Language" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { "smithy.api#documentation": "A standard MIME type describing the format of the object data.
", "smithy.api#httpHeader": "Content-Type" } }, "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { "smithy.api#documentation": "The date and time at which the object is no longer cacheable.
", "smithy.api#httpHeader": "Expires" } }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { "smithy.api#documentation": "Specify access permissions explicitly to give the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nBy default, all objects are private. Only the owner has full access\n control. When uploading an object, you can use this header to explicitly grant access\n permissions to specific Amazon Web Services accounts or groups.\n This header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access Control List (ACL)\n Overview in the Amazon S3 User Guide.
\nYou specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nSpecify access permissions explicitly to allow grantee to read the object data and its metadata.
\nBy default, all objects are private. Only the owner has full access\n control. When uploading an object, you can use this header to explicitly grant access\n permissions to specific Amazon Web Services accounts or groups.\n This header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access Control List (ACL)\n Overview in the Amazon S3 User Guide.
\nYou specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nSpecify access permissions explicitly to allows grantee to read the object ACL.
\nBy default, all objects are private. Only the owner has full access\n control. When uploading an object, you can use this header to explicitly grant access\n permissions to specific Amazon Web Services accounts or groups.\n This header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access Control List (ACL)\n Overview in the Amazon S3 User Guide.
\nYou specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nSpecify access permissions explicitly to allows grantee to allow grantee to write the ACL for the applicable object.
\nBy default, all objects are private. Only the owner has full access\n control. When uploading an object, you can use this header to explicitly grant access\n permissions to specific Amazon Web Services accounts or groups.\n This header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access Control List (ACL)\n Overview in the Amazon S3 User Guide.
\nYou specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nObject key for which the multipart upload is to be initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "Metadata": { "target": "com.amazonaws.s3#Metadata", "traits": { "smithy.api#documentation": "A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
\nFor directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects.
\nAmazon S3 on Outposts only uses\n the OUTPOSTS Storage Class.
\nIf the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.
\nThis functionality is not supported for directory buckets.
\nSpecifies the algorithm to use when encrypting the object (for example,\n AES256).
\nThis functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
This functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported for directory buckets.
\nSpecifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric encryption customer managed key to use for object encryption.
\nThis functionality is not supported for directory buckets.
\nSpecifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs.
\nThis functionality is not supported for directory buckets.
\nSpecifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using Key Management Service (KMS) keys (SSE-KMS). Setting this header to\n true
causes Amazon S3 to use an S3 Bucket Key for object encryption with\n SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3\n Bucket Key.
\nThis functionality is not supported for directory buckets.
\nThe tag-set for the object. The tag-set must be encoded as URL Query parameters.
\nThis functionality is not supported for directory buckets.
\nSpecifies the Object Lock mode that you want to apply to the uploaded object.
\nThis functionality is not supported for directory buckets.
\nSpecifies the date and time when you want the Object Lock to expire.
\nThis functionality is not supported for directory buckets.
\nSpecifies whether you want to apply a legal hold to the uploaded object.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see\n Checking object integrity in\n the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-algorithm" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#CreateSession": { "type": "operation", "input": { "target": "com.amazonaws.s3#CreateSessionRequest" }, "output": { "target": "com.amazonaws.s3#CreateSessionOutput" }, "errors": [ { "target": "com.amazonaws.s3#NoSuchBucket" } ], "traits": { "smithy.api#documentation": "Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets. \n For more information about Zonal endpoint APIs that include the Availability Zone in the request endpoint, see \n S3 Express One Zone APIs in the Amazon S3 User Guide. \n
\nTo make Zonal endpoint API requests on a directory bucket, use the CreateSession
\n API operation. Specifically, you grant s3express:CreateSession
permission to a\n bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the\n CreateSession
API request on the bucket, which returns temporary security\n credentials that include the access key ID, secret access key, session token, and\n expiration. These credentials have associated permissions to access the Zonal endpoint APIs. After\n the session is created, you don’t need to use other policies to grant permissions to each\n Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by\n applying the temporary security credentials of the session to the request headers and\n following the SigV4 protocol for authentication. You also apply the session token to the\n x-amz-s3session-token
request header for authorization. Temporary security\n credentials are scoped to the bucket and expire after 5 minutes. After the expiration time,\n any calls that you make with those credentials will fail. You must use IAM credentials\n again to make a CreateSession
API request that generates a new set of\n temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond\n the original specified interval.
If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid\n service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to\n initiate and manage requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the\n Amazon S3 User Guide.
\nYou must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n \n CopyObject
API operation - Unlike other Zonal endpoint APIs, the CopyObject
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the CopyObject
API operation on directory buckets, see CopyObject.
\n \n HeadBucket
API operation - Unlike other Zonal endpoint APIs, the HeadBucket
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the HeadBucket
API operation on directory buckets, see HeadBucket.
To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that\n grants s3express:CreateSession
permission to the bucket. In a\n policy, you can have the s3express:SessionMode
condition key to\n control who can create a ReadWrite
or ReadOnly
session.\n For more information about ReadWrite
or ReadOnly
\n sessions, see \n x-amz-create-session-mode
\n . For example policies, see\n Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the\n Amazon S3 User Guide.
To grant cross-account access to Zonal endpoint APIs, the bucket policy should also grant both accounts the s3express:CreateSession
permission.
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The established temporary security credentials for the created session.
", "smithy.api#required": {}, "smithy.api#xmlName": "Credentials" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#CreateSessionRequest": { "type": "structure", "members": { "SessionMode": { "target": "com.amazonaws.s3#SessionMode", "traits": { "smithy.api#documentation": "Specifies the mode of the session that will be created, either ReadWrite
or\n ReadOnly
. By default, a ReadWrite
session is created. A\n ReadWrite
session is capable of executing all the Zonal endpoint APIs on a\n directory bucket. A ReadOnly
session is constrained to execute the following\n Zonal endpoint APIs: GetObject
, HeadObject
, ListObjectsV2
,\n GetObjectAttributes
, ListParts
, and\n ListMultipartUploads
.
The name of the bucket that you create a session for.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#CreationDate": { "type": "timestamp" }, "com.amazonaws.s3#DataRedundancy": { "type": "enum", "members": { "SingleAvailabilityZone": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SingleAvailabilityZone" } } } }, "com.amazonaws.s3#Date": { "type": "timestamp", "traits": { "smithy.api#timestampFormat": "date-time" } }, "com.amazonaws.s3#Days": { "type": "integer" }, "com.amazonaws.s3#DaysAfterInitiation": { "type": "integer" }, "com.amazonaws.s3#DefaultRetention": { "type": "structure", "members": { "Mode": { "target": "com.amazonaws.s3#ObjectLockRetentionMode", "traits": { "smithy.api#documentation": "The default Object Lock retention mode you want to apply to new objects placed in the\n specified bucket. Must be used with either Days
or Years
.
The number of days that you want to specify for the default retention period. Must be\n used with Mode
.
The number of years that you want to specify for the default retention period. Must be\n used with Mode
.
The container element for specifying the default Object Lock retention settings for new\n objects placed in the specified bucket.
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
or\n Years
but you must select one. You cannot specify\n Days
and Years
at the same time.
The object to delete.
\n\n Directory buckets - For directory buckets, an object that's composed entirely of \n whitespace characters is not supported by the DeleteObjects
API operation. The request will receive a 400 Bad Request
error \n and none of the objects in the request will be deleted.
Element to enable quiet mode for the request. When you add this element, you must set\n its value to true
.
Container for the objects to delete.
" } }, "com.amazonaws.s3#DeleteBucket": { "type": "operation", "input": { "target": "com.amazonaws.s3#DeleteBucketRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "smithy.api#documentation": "Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.
\n\n Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - You must have the s3:DeleteBucket
permission on the specified bucket in a policy.
\n Directory bucket permissions - You must have the s3express:DeleteBucket
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to DeleteBucket
:
\n CreateBucket\n
\n\n DeleteObject\n
\nThis operation is not supported by directory buckets.
\nDeletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n DeleteBucketAnalyticsConfiguration
:
The name of the bucket from which an analytics configuration is deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#AnalyticsId", "traits": { "smithy.api#documentation": "The ID that identifies the analytics configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nDeletes the cors
configuration information set for the bucket.
To use this operation, you must have permission to perform the\n s3:PutBucketCORS
action. The bucket owner has this permission by default\n and can grant this permission to others.
For information about cors
, see Enabling Cross-Origin Resource Sharing in\n the Amazon S3 User Guide.
\n Related Resources\n
\n\n PutBucketCors\n
\n\n RESTOPTIONSobject\n
\nSpecifies the bucket whose cors
configuration is being deleted.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nThis implementation of the DELETE action resets the default encryption for the bucket as\n server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket\n default encryption feature, see Amazon S3 Bucket Default Encryption\n in the Amazon S3 User Guide.
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to your Amazon S3 Resources in the\n Amazon S3 User Guide.
The following operations are related to DeleteBucketEncryption
:
\n PutBucketEncryption\n
\n\n GetBucketEncryption\n
\nThe name of the bucket containing the server-side encryption configuration to\n delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nDeletes the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to DeleteBucketIntelligentTieringConfiguration
include:
The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#IntelligentTieringId", "traits": { "smithy.api#documentation": "The ID used to identify the S3 Intelligent-Tiering configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#DeleteBucketInventoryConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nDeletes an inventory configuration (identified by the inventory ID) from the\n bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nOperations related to DeleteBucketInventoryConfiguration
include:
The name of the bucket containing the inventory configuration to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#InventoryId", "traits": { "smithy.api#documentation": "The ID used to identify the inventory configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nDeletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.
\nTo use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration
action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.
There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.
\nFor more information about the object expiration, see Elements to Describe Lifecycle Actions.
\nRelated actions include:
\nThe bucket name of the lifecycle to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nDeletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.
\n To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with\n Amazon CloudWatch.
\nThe following operations are related to\n DeleteBucketMetricsConfiguration
:
The name of the bucket containing the metrics configuration to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#MetricsId", "traits": { "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nRemoves OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:PutBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
\nThe following operations are related to\n DeleteBucketOwnershipControls
:
The Amazon S3 bucket whose OwnershipControls
you want to delete.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Deletes the\n policy of a specified bucket.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
If you are using an identity other than the\n root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the\n DeleteBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have DeleteBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
To ensure that bucket owners don't inadvertently lock themselves out of their own\n buckets, the root principal in a bucket owner's Amazon Web Services account can perform the\n GetBucketPolicy
, PutBucketPolicy
, and\n DeleteBucketPolicy
API actions, even if their bucket policy explicitly\n denies the root principal's access. Bucket owner root principals can only be blocked\n from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations\n policies.
\n General purpose bucket permissions - The s3:DeleteBucketPolicy
permission is required in a policy. \n For more information about general purpose buckets bucket policies, see Using Bucket Policies and User\n Policies in the Amazon S3 User Guide.
\n Directory bucket permissions - To grant access to this API operation, you must have the s3express:DeleteBucketPolicy
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to DeleteBucketPolicy
\n
\n CreateBucket\n
\n\n DeleteObject\n
\nThe bucket name.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format \n bucket_base_name--az_id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide\n
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code \n501 Not Implemented
.
This operation is not supported by directory buckets.
\nDeletes the replication configuration from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration
action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
It can take a while for the deletion of a replication configuration to fully\n propagate.
\nFor information about replication configuration, see Replication in the\n Amazon S3 User Guide.
\nThe following operations are related to DeleteBucketReplication
:
\n PutBucketReplication\n
\n\n GetBucketReplication\n
\nThe bucket name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the bucket being deleted.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format \n bucket_base_name--az_id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide\n
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code \n501 Not Implemented
.
This operation is not supported by directory buckets.
\nDeletes the tags from the bucket.
\nTo use this operation, you must have permission to perform the\n s3:PutBucketTagging
action. By default, the bucket owner has this\n permission and can grant this permission to others.
The following operations are related to DeleteBucketTagging
:
\n GetBucketTagging\n
\n\n PutBucketTagging\n
\nThe bucket that has the tag set to be removed.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nThis action removes the website configuration for a bucket. Amazon S3 returns a 200\n OK
response upon successfully deleting a website configuration on the specified\n bucket. You will get a 200 OK
response if the website configuration you are\n trying to delete does not exist on the bucket. Amazon S3 returns a 404
response if\n the bucket specified in the request does not exist.
This DELETE action requires the S3:DeleteBucketWebsite
permission. By\n default, only the bucket owner can delete the website configuration attached to a bucket.\n However, bucket owners can grant other users permission to delete the website configuration\n by writing a bucket policy granting them the S3:DeleteBucketWebsite
\n permission.
For more information about hosting websites, see Hosting Websites on Amazon S3.
\nThe following operations are related to DeleteBucketWebsite
:
\n GetBucketWebsite\n
\n\n PutBucketWebsite\n
\nThe bucket name for which you want to remove the website configuration.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The account that created the delete marker.>
" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key.
" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "Version ID of an object.
" } }, "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { "smithy.api#documentation": "Specifies whether the object is (true) or is not (false) the latest version of an\n object.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Date and time when the object was last modified.
" } } }, "traits": { "smithy.api#documentation": "Information about the delete marker.
" } }, "com.amazonaws.s3#DeleteMarkerReplication": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#DeleteMarkerReplicationStatus", "traits": { "smithy.api#documentation": "Indicates whether to replicate delete markers.
\nIndicates whether to replicate delete markers.
\nSpecifies whether Amazon S3 replicates delete markers. If you specify a Filter
\n in your replication configuration, you must also include a\n DeleteMarkerReplication
element. If your Filter
includes a\n Tag
element, the DeleteMarkerReplication
\n Status
must be set to Disabled, because Amazon S3 does not support replicating\n delete markers for tag-based rules. For an example configuration, see Basic Rule Configuration.
For more information about delete marker replication, see Basic Rule\n Configuration.
\nIf you are using an earlier version of the replication configuration, Amazon S3 handles\n replication of delete markers differently. For more information, see Backward Compatibility.
\nRemoves an object from a bucket. The behavior depends on the bucket's versioning state:
\nIf bucket versioning is not enabled, the operation permanently deletes the object.
\nIf bucket versioning is enabled, the operation inserts a delete marker, which becomes the current version of the object. To permanently delete an object in a versioned bucket, you must include the object’s versionId
in the request. For more information about versioning-enabled buckets, see Deleting object versions from a versioning-enabled bucket.
If bucket versioning is suspended, the operation removes the object that has a null versionId
, if there is one, and inserts a delete marker that becomes the current version of the object. If there isn't an object with a null versionId
, and all versions of the object have a versionId
, Amazon S3 does not remove the object and only inserts a delete marker. To permanently delete an object that has a versionId
, you must include the object’s versionId
in the request. For more information about versioning-suspended buckets, see Deleting objects from versioning-suspended buckets.
\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
\n to the versionId
query parameter in the request.
\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
To remove a specific version, you must use the versionId
query parameter. Using this\n query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3\n sets the response header x-amz-delete-marker
to true.
If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa
request\n header in the DELETE versionId
request. Requests that include\n x-amz-mfa
must use HTTPS. For more information about MFA Delete, see Using MFA Delete in the Amazon S3\n User Guide. To see sample\n requests that use versioning, see Sample\n Request.
\n Directory buckets - MFA delete is not supported by directory buckets.
\nYou can delete objects by explicitly calling DELETE Object or calling \n (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block\n users or accounts from removing or deleting objects from your bucket, you must deny them\n the s3:DeleteObject
, s3:DeleteObjectVersion
, and\n s3:PutLifeCycleConfiguration
actions.
\n Directory buckets - S3 Lifecycle is not supported by directory buckets.
\n\n General purpose bucket permissions - The following permissions are required in your policies when your \n DeleteObjects
request includes specific headers.
\n \n s3:DeleteObject
\n - To delete an object from a bucket, you must always have the s3:DeleteObject
permission.
\n \n s3:DeleteObjectVersion
\n - To delete a specific version of an object from a versioning-enabled bucket, you must have the s3:DeleteObjectVersion
permission.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following action is related to DeleteObject
:
\n PutObject\n
\nIndicates whether the specified object version that was permanently deleted was (true) or was\n not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or\n not (false) the current version of the object is a delete marker.
\nThis functionality is not supported for directory buckets.
\nReturns the version ID of the delete marker created as a result of the DELETE\n operation.
\nThis functionality is not supported for directory buckets.
\nThe bucket name of the bucket containing the object.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Key name of the object to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "MFA": { "target": "com.amazonaws.s3#MFA", "traits": { "smithy.api#documentation": "The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device. Required to permanently delete a versioned\n object if versioning is configured with MFA delete enabled.
\nThis functionality is not supported for directory buckets.
\nVersion ID used to reference a specific version of the object.
\nFor directory buckets in this API operation, only the null
value of the version ID is supported.
Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation. To use this header, you must have the\n s3:BypassGovernanceRetention
permission.
This functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nRemoves the entire tag set from the specified object. For more information about\n managing object tags, see Object Tagging.
\nTo use this operation, you must have permission to perform the\n s3:DeleteObjectTagging
action.
To delete tags of a specific object version, add the versionId
query\n parameter in the request. You will need permission for the\n s3:DeleteObjectVersionTagging
action.
The following operations are related to DeleteObjectTagging
:
\n PutObjectTagging\n
\n\n GetObjectTagging\n
\nThe versionId of the object the tag-set was removed from.
", "smithy.api#httpHeader": "x-amz-version-id" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#DeleteObjectTaggingRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the objects from which to remove the tags.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
The key that identifies the object in the bucket from which to remove all tags.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The versionId of the object that the tag-set will be removed from.
", "smithy.api#httpQuery": "versionId" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this operation provides a\n suitable alternative to sending individual delete requests, reducing per-request\n overhead.
\nThe request can contain a list of up to 1000 keys that you want to delete. In the XML, you\n provide the object key names, and optionally, version IDs if you want to delete a specific\n version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a\n delete operation and returns the result of that delete, success or failure, in the response.\n Note that if the object specified in the request is not found, Amazon S3 returns the result as\n deleted.
\n\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
The operation supports two modes for the response: verbose and quiet. By default, the\n operation uses verbose mode in which the response includes the result of deletion of each key\n in your request. In quiet mode the response includes only keys where the delete operation \n encountered an error. For a successful deletion in a quiet mode, the operation does not return any information\n about the delete in the response body.
\nWhen performing this action on an MFA Delete enabled bucket, that attempts to delete any\n versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete in the Amazon S3\n User Guide.
\n\n Directory buckets - MFA delete is not supported by directory buckets.
\n\n General purpose bucket permissions - The following permissions are required in your policies when your \n DeleteObjects
request includes specific headers.
\n \n s3:DeleteObject
\n - To delete an object from a bucket, you must always specify the s3:DeleteObject
permission.
\n \n s3:DeleteObjectVersion
\n - To delete a specific version of an object from a versioning-enabled bucket, you must specify the s3:DeleteObjectVersion
permission.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose bucket - The Content-MD5 request header is required for all Multi-Object Delete requests. Amazon S3\n uses the header value to ensure that your request body has not been altered in\n transit.
\n\n Directory bucket - The Content-MD5 request header or a additional checksum request header \n (including x-amz-checksum-crc32
, x-amz-checksum-crc32c
, x-amz-checksum-sha1
, or \n x-amz-checksum-sha256
) is required for all Multi-Object Delete requests.
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to DeleteObjects
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nContainer element for a successful delete. It identifies the object that was\n successfully deleted.
", "smithy.api#xmlFlattened": {} } }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } }, "Errors": { "target": "com.amazonaws.s3#Errors", "traits": { "smithy.api#documentation": "Container for a failed delete action that describes the object that Amazon S3 attempted to\n delete and the error it encountered.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Error" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "DeleteResult" } }, "com.amazonaws.s3#DeleteObjectsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the objects to delete.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Container for the request.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "Delete" } }, "MFA": { "target": "com.amazonaws.s3#MFA", "traits": { "smithy.api#documentation": "The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device. Required to permanently delete a versioned\n object if versioning is configured with MFA delete enabled.
\nWhen performing the DeleteObjects
operation on an MFA delete enabled bucket, which attempts to delete the specified \n versioned objects, you must include an MFA token. If you don't provide an MFA token, the entire\n request will fail, even if there are non-versioned objects that you are trying to delete. If you\n provide an invalid token, whether there are versioned object keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete in the Amazon S3 User Guide.
This functionality is not supported for directory buckets.
\nSpecifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. To use this header, you must have the\n s3:BypassGovernanceRetention
permission.
This functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
.
For the x-amz-checksum-algorithm\n
header, replace \n algorithm\n
with the supported algorithm from the following list:
CRC32
\nCRC32C
\nSHA1
\nSHA256
\nFor more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
\nIf the individual checksum value you provide through x-amz-checksum-algorithm\n
doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm
, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n
.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This operation is not supported by directory buckets.
\nRemoves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock
permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The following operations are related to DeletePublicAccessBlock
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nThe Amazon S3 bucket whose PublicAccessBlock
configuration you want to delete.\n
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The name of the deleted object.
" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID of the deleted object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the specified object version that was permanently deleted was (true) or was\n not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or\n not (false) the current version of the object is a delete marker.
\nThis functionality is not supported for directory buckets.
\nThe version ID of the delete marker created as a result of the DELETE operation. If you\n delete a specific object version, the value returned by this header is the version ID of\n the object version deleted.
\nThis functionality is not supported for directory buckets.
\nInformation about the deleted object.
" } }, "com.amazonaws.s3#DeletedObjects": { "type": "list", "member": { "target": "com.amazonaws.s3#DeletedObject" } }, "com.amazonaws.s3#Delimiter": { "type": "string" }, "com.amazonaws.s3#Description": { "type": "string" }, "com.amazonaws.s3#Destination": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the\n results.
", "smithy.api#required": {} } }, "Account": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to\n change replica ownership to the Amazon Web Services account that owns the destination bucket by\n specifying the AccessControlTranslation
property, this is the account ID of\n the destination bucket owner. For more information, see Replication Additional\n Configuration: Changing the Replica Owner in the\n Amazon S3 User Guide.
The storage class to use when replicating objects, such as S3 Standard or reduced\n redundancy. By default, Amazon S3 uses the storage class of the source object to create the\n object replica.
\nFor valid values, see the StorageClass
element of the PUT Bucket\n replication action in the Amazon S3 API Reference.
Specify this only in a cross-account scenario (where source and destination bucket\n owners are not the same), and you want to change replica ownership to the Amazon Web Services account\n that owns the destination bucket. If this is not specified in the replication\n configuration, the replicas are owned by same Amazon Web Services account that owns the source\n object.
" } }, "EncryptionConfiguration": { "target": "com.amazonaws.s3#EncryptionConfiguration", "traits": { "smithy.api#documentation": "A container that provides information about encryption. If\n SourceSelectionCriteria
is specified, you must specify this element.
A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time\n when all objects and operations on objects must be replicated. Must be specified together\n with a Metrics
block.
A container specifying replication metrics-related settings enabling replication\n metrics and events.
" } } }, "traits": { "smithy.api#documentation": "Specifies information about where to publish analysis or configuration results for an\n Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
" } }, "com.amazonaws.s3#DirectoryBucketToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 } } }, "com.amazonaws.s3#DisplayName": { "type": "string" }, "com.amazonaws.s3#ETag": { "type": "string" }, "com.amazonaws.s3#EmailAddress": { "type": "string" }, "com.amazonaws.s3#EnableRequestProgress": { "type": "boolean" }, "com.amazonaws.s3#EncodingType": { "type": "enum", "members": { "url": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "url" } } }, "traits": { "smithy.api#documentation": "Requests Amazon S3 to encode the object keys in the response and specifies the encoding\n method to use. An object key can contain any Unicode character; however, the XML 1.0 parser\n cannot parse some characters, such as characters with an ASCII value from 0 to 10. For\n characters that are not supported in XML 1.0, you can add this parameter to request that\n Amazon S3 encode the keys in the response.
" } }, "com.amazonaws.s3#Encryption": { "type": "structure", "members": { "EncryptionType": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when storing job results in Amazon S3 (for example,\n AES256, aws:kms
).
If the encryption type is aws:kms
, this optional value specifies the ID of\n the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only\n supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service\n Developer Guide.
If the encryption type is aws:kms
, this optional value can be used to\n specify the encryption context for the restore results.
Contains the type of server-side encryption used.
" } }, "com.amazonaws.s3#EncryptionConfiguration": { "type": "structure", "members": { "ReplicaKmsKeyID": { "target": "com.amazonaws.s3#ReplicaKmsKeyID", "traits": { "smithy.api#documentation": "Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in\n Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to\n encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more\n information, see Asymmetric keys in Amazon Web Services\n KMS in the Amazon Web Services Key Management Service Developer\n Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies encryption-related information for an Amazon S3 bucket that is a destination for\n replicated objects.
" } }, "com.amazonaws.s3#End": { "type": "long" }, "com.amazonaws.s3#EndEvent": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "A message that indicates the request is complete and no more messages will be sent. You\n should not assume that the request is complete until the client receives an\n EndEvent
.
The error key.
" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID of the error.
\nThis functionality is not supported for directory buckets.
\nThe error code is a string that uniquely identifies an error condition. It is meant to\n be read and understood by programs that detect and handle errors by type. The following is\n a list of Amazon S3 error codes. For more information, see Error responses.
\n\n Code: AccessDenied
\n\n Description: Access Denied
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AccountProblem
\n\n Description: There is a problem with your Amazon Web Services account\n that prevents the action from completing successfully. Contact Amazon Web Services Support\n for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AllAccessDisabled
\n\n Description: All access to this Amazon S3 resource has been\n disabled. Contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AmbiguousGrantByEmailAddress
\n\n Description: The email address you provided is\n associated with more than one account.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AuthorizationHeaderMalformed
\n\n Description: The authorization header you provided is\n invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n HTTP Status Code: N/A
\n\n Code: BadDigest
\n\n Description: The Content-MD5 you specified did not\n match what we received.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyExists
\n\n Description: The requested bucket name is not\n available. The bucket namespace is shared by all users of the system. Please\n select a different name and try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyOwnedByYou
\n\n Description: The bucket you tried to create already\n exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in\n the North Virginia Region. For legacy compatibility, if you re-create an\n existing bucket that you already own in the North Virginia Region, Amazon S3 returns\n 200 OK and resets the bucket access control lists (ACLs).
\n\n Code: 409 Conflict (in all Regions except the North\n Virginia Region)
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketNotEmpty
\n\n Description: The bucket you tried to delete is not\n empty.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CredentialsNotSupported
\n\n Description: This request does not support\n credentials.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CrossLocationLoggingProhibited
\n\n Description: Cross-location logging not allowed.\n Buckets in one geographic location cannot log information to a bucket in\n another location.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooSmall
\n\n Description: Your proposed upload is smaller than the\n minimum allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooLarge
\n\n Description: Your proposed upload exceeds the maximum\n allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ExpiredToken
\n\n Description: The provided token has expired.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IllegalVersioningConfigurationException
\n\n Description: Indicates that the versioning\n configuration specified in the request is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncompleteBody
\n\n Description: You did not provide the number of bytes\n specified by the Content-Length HTTP header
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncorrectNumberOfFilesInPostRequest
\n\n Description: POST requires exactly one file upload per\n request.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InlineDataTooLarge
\n\n Description: Inline data exceeds the maximum allowed\n size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InternalError
\n\n Description: We encountered an internal error. Please\n try again.
\n\n HTTP Status Code: 500 Internal Server Error
\n\n SOAP Fault Code Prefix: Server
\n\n Code: InvalidAccessKeyId
\n\n Description: The Amazon Web Services access key ID you provided does\n not exist in our records.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidAddressingHeader
\n\n Description: You must specify the Anonymous\n role.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidArgument
\n\n Description: Invalid Argument
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketName
\n\n Description: The specified bucket is not valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketState
\n\n Description: The request is not valid with the current\n state of the bucket.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidDigest
\n\n Description: The Content-MD5 you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidEncryptionAlgorithmError
\n\n Description: The encryption request you specified is\n not valid. The valid value is AES256.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidLocationConstraint
\n\n Description: The specified location constraint is not\n valid. For more information about Regions, see How to Select\n a Region for Your Buckets.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidObjectState
\n\n Description: The action is not valid for the current\n state of the object.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPart
\n\n Description: One or more of the specified parts could\n not be found. The part might not have been uploaded, or the specified entity\n tag might not have matched the part's entity tag.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPartOrder
\n\n Description: The list of parts was not in ascending\n order. Parts list must be specified in order by part number.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPayer
\n\n Description: All access to this object has been\n disabled. Please contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPolicyDocument
\n\n Description: The content of the form does not meet the\n conditions specified in the policy document.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRange
\n\n Description: The requested range cannot be\n satisfied.
\n\n HTTP Status Code: 416 Requested Range Not\n Satisfiable
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Please use\n AWS4-HMAC-SHA256
.
\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: SOAP requests must be made over an HTTPS\n connection.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with non-DNS compliant names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with periods (.) in their names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate endpoint only\n supports virtual style requests.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is not configured\n on this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is disabled on\n this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration cannot be\n enabled on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidSecurity
\n\n Description: The provided security credentials are not\n valid.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidSOAPRequest
\n\n Description: The SOAP request body is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidStorageClass
\n\n Description: The storage class you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidTargetBucketForLogging
\n\n Description: The target bucket for logging does not\n exist, is not owned by you, or does not have the appropriate grants for the\n log-delivery group.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidToken
\n\n Description: The provided token is malformed or\n otherwise invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidURI
\n\n Description: Couldn't parse the specified URI.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: KeyTooLongError
\n\n Description: Your key is too long.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedACLError
\n\n Description: The XML you provided was not well-formed\n or did not validate against our published schema.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedPOSTRequest
\n\n Description: The body of your POST request is not\n well-formed multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedXML
\n\n Description: This happens when the user sends malformed\n XML (XML that doesn't conform to the published XSD) for the configuration. The\n error message is, \"The XML you provided was not well-formed or did not validate\n against our published schema.\"
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxMessageLengthExceeded
\n\n Description: Your request was too big.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxPostPreDataLengthExceededError
\n\n Description: Your POST request fields preceding the\n upload file were too large.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MetadataTooLarge
\n\n Description: Your metadata headers exceed the maximum\n allowed metadata size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MethodNotAllowed
\n\n Description: The specified method is not allowed\n against this resource.
\n\n HTTP Status Code: 405 Method Not Allowed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingAttachment
\n\n Description: A SOAP attachment was expected, but none\n were found.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingContentLength
\n\n Description: You must provide the Content-Length HTTP\n header.
\n\n HTTP Status Code: 411 Length Required
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingRequestBodyError
\n\n Description: This happens when the user sends an empty\n XML document as a request. The error message is, \"Request body is empty.\"\n
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityElement
\n\n Description: The SOAP 1.1 request is missing a security\n element.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityHeader
\n\n Description: Your request is missing a required\n header.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoLoggingStatusForKey
\n\n Description: There is no such thing as a logging status\n subresource for a key.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucket
\n\n Description: The specified bucket does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucketPolicy
\n\n Description: The specified bucket does not have a\n bucket policy.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchKey
\n\n Description: The specified key does not exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchLifecycleConfiguration
\n\n Description: The lifecycle configuration does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchUpload
\n\n Description: The specified multipart upload does not\n exist. The upload ID might be invalid, or the multipart upload might have been\n aborted or completed.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchVersion
\n\n Description: Indicates that the version ID specified in\n the request does not match an existing version.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NotImplemented
\n\n Description: A header you provided implies\n functionality that is not implemented.
\n\n HTTP Status Code: 501 Not Implemented
\n\n SOAP Fault Code Prefix: Server
\n\n Code: NotSignedUp
\n\n Description: Your account is not signed up for the Amazon S3\n service. You must sign up before you can use Amazon S3. You can sign up at the\n following URL: Amazon S3\n
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: OperationAborted
\n\n Description: A conflicting conditional action is\n currently in progress against this resource. Try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PermanentRedirect
\n\n Description: The bucket you are attempting to access\n must be addressed using the specified endpoint. Send all future requests to\n this endpoint.
\n\n HTTP Status Code: 301 Moved Permanently
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PreconditionFailed
\n\n Description: At least one of the preconditions you\n specified did not hold.
\n\n HTTP Status Code: 412 Precondition Failed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: Redirect
\n\n Description: Temporary redirect.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RestoreAlreadyInProgress
\n\n Description: Object restore is already in\n progress.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestIsNotMultiPartContent
\n\n Description: Bucket POST must be of the enclosure-type\n multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeout
\n\n Description: Your socket connection to the server was\n not read from or written to within the timeout period.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeTooSkewed
\n\n Description: The difference between the request time\n and the server's time is too large.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTorrentOfBucketError
\n\n Description: Requesting the torrent file of a bucket is\n not permitted.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: SignatureDoesNotMatch
\n\n Description: The request signature we calculated does\n not match the signature you provided. Check your Amazon Web Services secret access key and\n signing method. For more information, see REST\n Authentication and SOAP\n Authentication for details.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ServiceUnavailable
\n\n Description: Service is unable to handle\n request.
\n\n HTTP Status Code: 503 Service Unavailable
\n\n SOAP Fault Code Prefix: Server
\n\n Code: SlowDown
\n\n Description: Reduce your request rate.
\n\n HTTP Status Code: 503 Slow Down
\n\n SOAP Fault Code Prefix: Server
\n\n Code: TemporaryRedirect
\n\n Description: You are being redirected to the bucket\n while DNS updates.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TokenRefreshRequired
\n\n Description: The provided token must be\n refreshed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TooManyBuckets
\n\n Description: You have attempted to create more buckets\n than allowed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnexpectedContent
\n\n Description: This request does not support\n content.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnresolvableGrantByEmailAddress
\n\n Description: The email address you provided does not\n match any account on record.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UserKeyMustBeSpecified
\n\n Description: The bucket POST must contain the specified\n field name. If it is specified, check the order of the fields.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\nThe error message contains a generic description of the error condition in English. It\n is intended for a human audience. Simple programs display the message directly to the end\n user if they encounter an error condition they don't know how or don't care to handle.\n Sophisticated programs with more exhaustive error handling and proper internationalization\n are more likely to ignore the error message.
" } } }, "traits": { "smithy.api#documentation": "Container for all error elements.
" } }, "com.amazonaws.s3#ErrorCode": { "type": "string" }, "com.amazonaws.s3#ErrorDocument": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key name to use when a 4XX class error occurs.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nThe error information.
" } }, "com.amazonaws.s3#ErrorMessage": { "type": "string" }, "com.amazonaws.s3#Errors": { "type": "list", "member": { "target": "com.amazonaws.s3#Error" } }, "com.amazonaws.s3#Event": { "type": "enum", "members": { "s3_ReducedRedundancyLostObject": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ReducedRedundancyLostObject" } }, "s3_ObjectCreated_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectCreated:*" } }, "s3_ObjectCreated_Put": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectCreated:Put" } }, "s3_ObjectCreated_Post": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectCreated:Post" } }, "s3_ObjectCreated_Copy": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectCreated:Copy" } }, "s3_ObjectCreated_CompleteMultipartUpload": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectCreated:CompleteMultipartUpload" } }, "s3_ObjectRemoved_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRemoved:*" } }, "s3_ObjectRemoved_Delete": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRemoved:Delete" } }, "s3_ObjectRemoved_DeleteMarkerCreated": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRemoved:DeleteMarkerCreated" } }, "s3_ObjectRestore_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRestore:*" } }, "s3_ObjectRestore_Post": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRestore:Post" } }, "s3_ObjectRestore_Completed": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRestore:Completed" } }, "s3_Replication_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:Replication:*" } }, "s3_Replication_OperationFailedReplication": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:Replication:OperationFailedReplication" } }, "s3_Replication_OperationNotTracked": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:Replication:OperationNotTracked" } }, "s3_Replication_OperationMissedThreshold": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:Replication:OperationMissedThreshold" } }, "s3_Replication_OperationReplicatedAfterThreshold": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:Replication:OperationReplicatedAfterThreshold" } }, "s3_ObjectRestore_Delete": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectRestore:Delete" } }, "s3_LifecycleTransition": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:LifecycleTransition" } }, "s3_IntelligentTiering": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:IntelligentTiering" } }, "s3_ObjectAcl_Put": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectAcl:Put" } }, "s3_LifecycleExpiration_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:LifecycleExpiration:*" } }, "s3_LifecycleExpiration_Delete": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:LifecycleExpiration:Delete" } }, "s3_LifecycleExpiration_DeleteMarkerCreated": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:LifecycleExpiration:DeleteMarkerCreated" } }, "s3_ObjectTagging_": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectTagging:*" } }, "s3_ObjectTagging_Put": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectTagging:Put" } }, "s3_ObjectTagging_Delete": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "s3:ObjectTagging:Delete" } } }, "traits": { "smithy.api#documentation": "The bucket event for which to send notifications.
" } }, "com.amazonaws.s3#EventBridgeConfiguration": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "A container for specifying the configuration for Amazon EventBridge.
" } }, "com.amazonaws.s3#EventList": { "type": "list", "member": { "target": "com.amazonaws.s3#Event" } }, "com.amazonaws.s3#ExistingObjectReplication": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#ExistingObjectReplicationStatus", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 replicates existing source bucket objects.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Optional configuration to replicate existing source bucket objects. For more\n information, see Replicating Existing Objects in the Amazon S3 User Guide.\n
" } }, "com.amazonaws.s3#ExistingObjectReplicationStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#Expiration": { "type": "string" }, "com.amazonaws.s3#ExpirationStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#ExpiredObjectDeleteMarker": { "type": "boolean" }, "com.amazonaws.s3#Expires": { "type": "timestamp" }, "com.amazonaws.s3#ExposeHeader": { "type": "string" }, "com.amazonaws.s3#ExposeHeaders": { "type": "list", "member": { "target": "com.amazonaws.s3#ExposeHeader" } }, "com.amazonaws.s3#Expression": { "type": "string" }, "com.amazonaws.s3#ExpressionType": { "type": "enum", "members": { "SQL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SQL" } } } }, "com.amazonaws.s3#FetchOwner": { "type": "boolean" }, "com.amazonaws.s3#FieldDelimiter": { "type": "string" }, "com.amazonaws.s3#FileHeaderInfo": { "type": "enum", "members": { "USE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USE" } }, "IGNORE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IGNORE" } }, "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } } } }, "com.amazonaws.s3#FilterRule": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.s3#FilterRuleName", "traits": { "smithy.api#documentation": "The object key name prefix or suffix identifying one or more objects to which the\n filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and\n suffixes are not supported. For more information, see Configuring Event Notifications\n in the Amazon S3 User Guide.
" } }, "Value": { "target": "com.amazonaws.s3#FilterRuleValue", "traits": { "smithy.api#documentation": "The value that the filter searches for in object key names.
" } } }, "traits": { "smithy.api#documentation": "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.
A list of containers for the key-value pair that defines the criteria for the filter\n rule.
" } }, "com.amazonaws.s3#FilterRuleName": { "type": "enum", "members": { "prefix": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "prefix" } }, "suffix": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "suffix" } } } }, "com.amazonaws.s3#FilterRuleValue": { "type": "string" }, "com.amazonaws.s3#GetBucketAccelerateConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#GetBucketAccelerateConfigurationRequest" }, "output": { "target": "com.amazonaws.s3#GetBucketAccelerateConfigurationOutput" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nThis implementation of the GET action uses the accelerate
subresource to\n return the Transfer Acceleration state of a bucket, which is either Enabled
or\n Suspended
. Amazon S3 Transfer Acceleration is a bucket-level feature that\n enables you to perform faster data transfers to and from Amazon S3.
To use this operation, you must have permission to perform the\n s3:GetAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to your Amazon S3 Resources in the\n Amazon S3 User Guide.
You set the Transfer Acceleration state of an existing bucket to Enabled
or\n Suspended
by using the PutBucketAccelerateConfiguration operation.
A GET accelerate
request does not return a state value for a bucket that\n has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state\n has never been set on the bucket.
For more information about transfer acceleration, see Transfer Acceleration in\n the Amazon S3 User Guide.
\nThe following operations are related to\n GetBucketAccelerateConfiguration
:
The accelerate configuration of the bucket.
" } }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "AccelerateConfiguration" } }, "com.amazonaws.s3#GetBucketAccelerateConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket for which the accelerate configuration is retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nThis implementation of the GET
action uses the acl
subresource\n to return the access control list (ACL) of a bucket. To use GET
to return the\n ACL of the bucket, you must have the READ_ACP
access to the bucket. If\n READ_ACP
permission is granted to the anonymous user, you can return the\n ACL of the bucket without using an authorization header.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership,\n requests to read ACLs are still supported and return the\n bucket-owner-full-control
ACL with the owner being the account that\n created the bucket. For more information, see Controlling object\n ownership and disabling ACLs in the\n Amazon S3 User Guide.
The following operations are related to GetBucketAcl
:
\n ListObjects\n
\nContainer for the bucket owner's display name and ID.
" } }, "Grants": { "target": "com.amazonaws.s3#Grants", "traits": { "smithy.api#documentation": "A list of grants.
", "smithy.api#xmlName": "AccessControlList" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "AccessControlPolicy" } }, "com.amazonaws.s3#GetBucketAclRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "Specifies the S3 bucket whose ACL is being requested.
\nWhen you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nThis implementation of the GET action returns an analytics configuration (identified by\n the analytics configuration ID) from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis in the Amazon S3 User Guide.
\nThe following operations are related to\n GetBucketAnalyticsConfiguration
:
The configuration and any analyses for the analytics filter.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketAnalyticsConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket from which an analytics configuration is retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#AnalyticsId", "traits": { "smithy.api#documentation": "The ID that identifies the analytics configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the Cross-Origin Resource Sharing (CORS) configuration information set for the\n bucket.
\n To use this operation, you must have permission to perform the\n s3:GetBucketCORS
action. By default, the bucket owner has this permission\n and can grant it to others.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
For more information about CORS, see Enabling Cross-Origin Resource\n Sharing.
\nThe following operations are related to GetBucketCors
:
\n PutBucketCors\n
\n\n DeleteBucketCors\n
\nA set of origins and methods (cross-origin access that you want to allow). You can add\n up to 100 rules to the configuration.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CORSRule" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "CORSConfiguration" } }, "com.amazonaws.s3#GetBucketCorsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name for which to get the cors configuration.
\nWhen you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the default encryption configuration for an Amazon S3 bucket. By default, all buckets\n have a default encryption configuration that uses server-side encryption with Amazon S3 managed\n keys (SSE-S3). For information about the bucket default encryption feature, see Amazon S3 Bucket\n Default Encryption in the Amazon S3 User Guide.
\nTo use this operation, you must have permission to perform the\n s3:GetEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The following operations are related to GetBucketEncryption
:
\n PutBucketEncryption\n
\nThe name of the bucket from which the server-side encryption configuration is\n retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nGets the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to GetBucketIntelligentTieringConfiguration
include:
Container for S3 Intelligent-Tiering configuration.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#IntelligentTieringId", "traits": { "smithy.api#documentation": "The ID used to identify the S3 Intelligent-Tiering configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#GetBucketInventoryConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#GetBucketInventoryConfigurationRequest" }, "output": { "target": "com.amazonaws.s3#GetBucketInventoryConfigurationOutput" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nReturns an inventory configuration (identified by the inventory configuration ID) from\n the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nThe following operations are related to\n GetBucketInventoryConfiguration
:
Specifies the inventory configuration.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketInventoryConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket containing the inventory configuration to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#InventoryId", "traits": { "smithy.api#documentation": "The ID used to identify the inventory configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nBucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.\n For the related API description, see GetBucketLifecycle. Accordingly,\n this section describes the latest API. The response describes the new filter element\n that you can use to specify a filter to select a subset of objects to which the rule\n applies. If you are using a previous version of the lifecycle configuration, it still\n works. For the earlier action,
\nReturns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object Lifecycle\n Management.
\nTo use this operation, you must have permission to perform the\n s3:GetLifecycleConfiguration
action. The bucket owner has this permission,\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n GetBucketLifecycleConfiguration
has the following special error:
Error code: NoSuchLifecycleConfiguration
\n
Description: The lifecycle configuration does not exist.
\nHTTP Status Code: 404 Not Found
\nSOAP Fault Code Prefix: Client
\nThe following operations are related to\n GetBucketLifecycleConfiguration
:
\n GetBucketLifecycle\n
\n\n PutBucketLifecycle\n
\nContainer for a lifecycle rule.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "LifecycleConfiguration" } }, "com.amazonaws.s3#GetBucketLifecycleConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket for which to get the lifecycle information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the Region the bucket resides in. You set the bucket's Region using the\n LocationConstraint
request parameter in a CreateBucket
\n request. For more information, see CreateBucket.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
We recommend that you use HeadBucket to return the Region\n that a bucket resides in. For backward compatibility, Amazon S3 continues to support\n GetBucketLocation.
\nThe following operations are related to GetBucketLocation
:
\n GetObject\n
\n\n CreateBucket\n
\nSpecifies the Region where the bucket resides. For a list of all the Amazon S3 supported\n location constraints by Region, see Regions and Endpoints. Buckets in\n Region us-east-1
have a LocationConstraint of null
.
The name of the bucket for which to get the location.
\nWhen you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the logging status of a bucket and the permissions users have to view and modify\n that status.
\nThe following operations are related to GetBucketLogging
:
\n CreateBucket\n
\n\n PutBucketLogging\n
\nThe bucket name for which to get the logging information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nGets a metrics configuration (specified by the metrics configuration ID) from the\n bucket. Note that this doesn't include the daily storage metrics.
\n To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring\n Metrics with Amazon CloudWatch.
\nThe following operations are related to\n GetBucketMetricsConfiguration
:
Specifies the metrics configuration.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketMetricsConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket containing the metrics configuration to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#MetricsId", "traits": { "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the notification configuration of a bucket.
\nIf notifications are not enabled on the bucket, the action returns an empty\n NotificationConfiguration
element.
By default, you must be the bucket owner to read the notification configuration of a\n bucket. However, the bucket owner can use a bucket policy to grant permission to other\n users to read this configuration with the s3:GetBucketNotification
\n permission.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
For more information about setting and reading the notification configuration on a\n bucket, see Setting Up Notification of Bucket Events. For more information about bucket\n policies, see Using Bucket Policies.
\nThe following action is related to GetBucketNotification
:
The name of the bucket for which to get the notification configuration.
\nWhen you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\nWhen you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nRetrieves OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:GetBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying permissions in a\n policy.
For information about Amazon S3 Object Ownership, see Using Object\n Ownership.
\nThe following operations are related to GetBucketOwnershipControls
:
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or\n ObjectWriter) currently in effect for this Amazon S3 bucket.
The name of the Amazon S3 bucket whose OwnershipControls
you want to retrieve.\n
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Returns the policy of a specified bucket.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
If you are using an identity other than the\n root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the\n GetBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have GetBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
To ensure that bucket owners don't inadvertently lock themselves out of their own\n buckets, the root principal in a bucket owner's Amazon Web Services account can perform the\n GetBucketPolicy
, PutBucketPolicy
, and\n DeleteBucketPolicy
API actions, even if their bucket policy explicitly\n denies the root principal's access. Bucket owner root principals can only be blocked\n from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations\n policies.
\n General purpose bucket permissions - The s3:GetBucketPolicy
permission is required in a policy. \n For more information about general purpose buckets bucket policies, see Using Bucket Policies and User\n Policies in the Amazon S3 User Guide.
\n Directory bucket permissions - To grant access to this API operation, you must have the s3express:GetBucketPolicy
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
\n General purpose buckets example bucket policies - See Bucket policy examples in the Amazon S3 User Guide.
\n\n Directory bucket example bucket policies - See Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide.
\n\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following action is related to GetBucketPolicy
:
\n GetObject\n
\nThe bucket policy as a JSON document.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketPolicyRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name to get the bucket policy for.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format \n bucket_base_name--az_id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide\n
\n Access points - When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
\n\n Object Lambda access points - When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
Access points and Object Lambda access points are not supported by directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code \n501 Not Implemented
.
This operation is not supported by directory buckets.
\nRetrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.\n In order to use this operation, you must have the s3:GetBucketPolicyStatus
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
For more information about when Amazon S3 considers a bucket public, see The Meaning of \"Public\".
\nThe following operations are related to GetBucketPolicyStatus
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nThe policy status for the specified bucket.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetBucketPolicyStatusRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the Amazon S3 bucket whose policy status you want to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the replication configuration of a bucket.
\nIt can take a while to propagate the put or delete a replication configuration to\n all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong\n result.
\nFor information about replication configuration, see Replication in the\n Amazon S3 User Guide.
\nThis action requires permissions for the s3:GetReplicationConfiguration
\n action. For more information about permissions, see Using Bucket Policies and User\n Policies.
If you include the Filter
element in a replication configuration, you must\n also include the DeleteMarkerReplication
and Priority
elements.\n The response also returns those elements.
For information about GetBucketReplication
errors, see List of\n replication-related error codes\n
The following operations are related to GetBucketReplication
:
\n PutBucketReplication\n
\nThe bucket name for which to get the replication information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the request payment configuration of a bucket. To use this version of the\n operation, you must be the bucket owner. For more information, see Requester Pays\n Buckets.
\nThe following operations are related to GetBucketRequestPayment
:
\n ListObjects\n
\nSpecifies who pays for the download and request fees.
" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "RequestPaymentConfiguration" } }, "com.amazonaws.s3#GetBucketRequestPaymentRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket for which to get the payment request configuration
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the tag set associated with the bucket.
\nTo use this operation, you must have permission to perform the\n s3:GetBucketTagging
action. By default, the bucket owner has this\n permission and can grant this permission to others.
\n GetBucketTagging
has the following special error:
Error code: NoSuchTagSet
\n
Description: There is no tag set associated with the bucket.
\nThe following operations are related to GetBucketTagging
:
\n PutBucketTagging\n
\n\n DeleteBucketTagging\n
\nContains the tag set.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "Tagging" } }, "com.amazonaws.s3#GetBucketTaggingRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket for which to get the tagging information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the versioning state of a bucket.
\nTo retrieve the versioning state of a bucket, you must be the bucket owner.
\nThis implementation also returns the MFA Delete status of the versioning state. If the\n MFA Delete status is enabled
, the bucket owner must use an authentication\n device to change the versioning state of the bucket.
The following operations are related to GetBucketVersioning
:
\n GetObject\n
\n\n PutObject\n
\n\n DeleteObject\n
\nThe versioning state of the bucket.
" } }, "MFADelete": { "target": "com.amazonaws.s3#MFADeleteStatus", "traits": { "smithy.api#documentation": "Specifies whether MFA delete is enabled in the bucket versioning configuration. This\n element is only returned if the bucket has been configured with MFA delete. If the bucket\n has never been so configured, this element is not returned.
", "smithy.api#xmlName": "MfaDelete" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "VersioningConfiguration" } }, "com.amazonaws.s3#GetBucketVersioningRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket for which to get the versioning information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the website configuration for a bucket. To host website on Amazon S3, you can\n configure a bucket as website by adding a website configuration. For more information about\n hosting websites, see Hosting Websites on Amazon S3.
\nThis GET action requires the S3:GetBucketWebsite
permission. By default,\n only the bucket owner can read the bucket website configuration. However, bucket owners can\n allow other users to read the website configuration by writing a bucket policy granting\n them the S3:GetBucketWebsite
permission.
The following operations are related to GetBucketWebsite
:
\n DeleteBucketWebsite\n
\n\n PutBucketWebsite\n
\nSpecifies the redirect behavior of all requests to a website endpoint of an Amazon S3\n bucket.
" } }, "IndexDocument": { "target": "com.amazonaws.s3#IndexDocument", "traits": { "smithy.api#documentation": "The name of the index document for the website (for example\n index.html
).
The object key name of the website error document to use for 4XX class errors.
" } }, "RoutingRules": { "target": "com.amazonaws.s3#RoutingRules", "traits": { "smithy.api#documentation": "Rules that define when a redirect is applied and the redirect behavior.
" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "WebsiteConfiguration" } }, "com.amazonaws.s3#GetBucketWebsiteRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name for which to get the website configuration.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Retrieves an object from Amazon S3.
\nIn the GetObject
request, specify the full key name for the object.
\n General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg
, specify the object key name as\n /photos/2006/February/sample.jpg
. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg
in the bucket named\n examplebucket
, specify the object key name as\n /examplebucket/photos/2006/February/sample.jpg
. For more information about\n request types, see HTTP Host\n Header Bucket Specification in the Amazon S3 User Guide.
\n Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg
in the bucket named examplebucket--use1-az5--x-s3
, specify the object key name as /photos/2006/February/sample.jpg
. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject
, you must have the READ
\n access to the object (or version). If you grant READ
access to the anonymous user, the GetObject
operation \n returns the object without using an authorization header. For more information, see Specifying permissions in\n a policy in the Amazon S3 User Guide.
If you include a versionId
in your request header, you must have the\n s3:GetObjectVersion
permission to access a specific\n version of an object. The s3:GetObject
permission is not required in this scenario.
If you request the\n current version of an object without a specific versionId
in the request header, only\n the s3:GetObject
permission is required. The s3:GetObjectVersion
permission is not required in this scenario.\n
If the object that you request doesn’t exist, the error that\n Amazon S3 returns depends on whether you also have the s3:ListBucket
\n permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3\n returns an HTTP status code 404 Not Found
error.
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an\n HTTP status code 403 Access Denied
error.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the \n S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the \n S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a\n copy using RestoreObject. Otherwise, this operation returns an\n InvalidObjectState
error. For information about restoring archived objects,\n see Restoring\n Archived Objects in the Amazon S3 User Guide.
\n Directory buckets - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. \nUnsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request
.
Encryption request headers, like x-amz-server-side-encryption
, should not\n be sent for the GetObject
requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS)\n keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your GetObject
requests for the object that uses \n these types of keys, you’ll get an HTTP 400 Bad Request
error.
There are times when you want to override certain response header values of a\n GetObject
response. For example, you might override the\n Content-Disposition
response header value through your GetObject
\n request.
You can override values for a set of response headers. These modified response header values are included only in a successful response, that is, when the HTTP status code 200 OK
is returned. \n The headers you can override using the following query parameters in the request are a subset of the headers that Amazon S3 accepts when you create an object. \n
The response headers that you can override for the\n GetObject
response are Cache-Control
, Content-Disposition
, \n Content-Encoding
, Content-Language
, Content-Type
, and Expires
.
To override values for a set of response headers in the\n GetObject
response, you can use the following query\n parameters in the request.
\n response-cache-control
\n
\n response-content-disposition
\n
\n response-content-encoding
\n
\n response-content-language
\n
\n response-content-type
\n
\n response-expires
\n
When you use these parameters, you must sign the request by using either an Authorization header or a\n presigned URL. These parameters cannot be used with an\n unsigned (anonymous) request.
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to GetObject
:
\n ListBuckets\n
\n\n GetObjectAcl\n
\nThis operation is not supported by directory buckets.
\nReturns the access control list (ACL) of an object. To use this operation, you must have\n s3:GetObjectAcl
permissions or READ_ACP
access to the object.\n For more information, see Mapping of ACL permissions and access policy permissions in the Amazon S3\n User Guide\n
This functionality is not supported for Amazon S3 on Outposts.
\nBy default, GET returns ACL information about the current version of an object. To\n return ACL information about a different version, use the versionId subresource.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership,\n requests to read ACLs are still supported and return the\n bucket-owner-full-control
ACL with the owner being the account that\n created the bucket. For more information, see Controlling object\n ownership and disabling ACLs in the\n Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
\n GetObject\n
\n\n GetObjectAttributes\n
\n\n DeleteObject\n
\n\n PutObject\n
\nContainer for the bucket owner's display name and ID.
" } }, "Grants": { "target": "com.amazonaws.s3#Grants", "traits": { "smithy.api#documentation": "A list of grants.
", "smithy.api#xmlName": "AccessControlList" } }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "AccessControlPolicy" } }, "com.amazonaws.s3#GetObjectAclRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name that contains the object for which to get the ACL information.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The key of the object for which to get the ACL information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "Version ID used to reference a specific version of the object.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Retrieves all the metadata from an object without returning the object itself. This\n operation is useful if you're interested only in an object's metadata.
\n\n GetObjectAttributes
combines the functionality of HeadObject
\n and ListParts
. All of the data returned with each of those individual calls\n can be returned with a single call to GetObjectAttributes
.
\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - To use\n GetObjectAttributes
, you must have READ access to the object. The permissions that you need to use this operation with depend on whether the\n bucket is versioned. If the bucket is versioned, you need both the\n s3:GetObjectVersion
and s3:GetObjectVersionAttributes
\n permissions for this operation. If the bucket is not versioned, you need the\n s3:GetObject
and s3:GetObjectAttributes
permissions.\n For more information, see Specifying Permissions in\n a Policy in the Amazon S3 User Guide. If the object\n that you request does not exist, the error Amazon S3 returns depends on whether you\n also have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3\n returns an HTTP status code 404 Not Found
(\"no such key\")\n error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns\n an HTTP status code 403 Forbidden
(\"access denied\")\n error.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
Encryption request headers, like x-amz-server-side-encryption
,\n should not be sent for HEAD
requests if your object uses server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side\n encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3\n managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. \n If you include this header in a GET
request for an object that uses these types of keys, \n you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the Amazon S3\n User Guide.
\n\n Directory bucket permissions - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
\n to the versionId
query parameter in the request.
Consider the following when using request headers:
\nIf both of the If-Match
and If-Unmodified-Since
headers\n are present in the request as follows, then Amazon S3 returns the HTTP status code\n 200 OK
and the data requested:
\n If-Match
condition evaluates to true
.
\n If-Unmodified-Since
condition evaluates to\n false
.
For more information about conditional requests, see RFC 7232.
\nIf both of the If-None-Match
and If-Modified-Since
\n headers are present in the request as follows, then Amazon S3 returns the HTTP status code\n 304 Not Modified
:
\n If-None-Match
condition evaluates to false
.
\n If-Modified-Since
condition evaluates to\n true
.
For more information about conditional requests, see RFC 7232.
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following actions are related to GetObjectAttributes
:
\n GetObject\n
\n\n GetObjectAcl\n
\n\n GetObjectLegalHold\n
\n\n GetObjectRetention\n
\n\n GetObjectTagging\n
\n\n HeadObject\n
\n\n ListParts\n
\nSpecifies whether the object retrieved was (true
) or was not\n (false
) a delete marker. If false
, this response header does\n not appear in the response.
This functionality is not supported for directory buckets.
\nThe creation date of the object.
", "smithy.api#httpHeader": "Last-Modified" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID of the object.
\nThis functionality is not supported for directory buckets.
\nAn ETag is an opaque identifier assigned by a web server to a specific version of a\n resource found at a URL.
" } }, "Checksum": { "target": "com.amazonaws.s3#Checksum", "traits": { "smithy.api#documentation": "The checksum or digest of the object.
" } }, "ObjectParts": { "target": "com.amazonaws.s3#GetObjectAttributesParts", "traits": { "smithy.api#documentation": "A collection of parts associated with a multipart upload.
" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { "smithy.api#documentation": "Provides the storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nThe size of the object in bytes.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetObjectAttributesParts": { "type": "structure", "members": { "TotalPartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { "smithy.api#documentation": "The total number of parts.
", "smithy.api#xmlName": "PartsCount" } }, "PartNumberMarker": { "target": "com.amazonaws.s3#PartNumberMarker", "traits": { "smithy.api#documentation": "The marker for the current part.
" } }, "NextPartNumberMarker": { "target": "com.amazonaws.s3#NextPartNumberMarker", "traits": { "smithy.api#documentation": "When a list is truncated, this element specifies the last part in the list, as well as\n the value to use for the PartNumberMarker
request parameter in a subsequent\n request.
The maximum number of parts allowed in the response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { "smithy.api#documentation": "Indicates whether the returned list of parts is truncated. A value of true
\n indicates that the list was truncated. A list can be truncated if the number of parts\n exceeds the limit returned in the MaxParts
element.
A container for elements related to a particular part. A response can contain zero or\n more Parts
elements.
\n General purpose buckets - For GetObjectAttributes
, if a additional checksum (including x-amz-checksum-crc32
, \n x-amz-checksum-crc32c
, x-amz-checksum-sha1
, or \n x-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't return Part
.
\n Directory buckets - For GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returns Part
.
A collection of parts associated with a multipart upload.
" } }, "com.amazonaws.s3#GetObjectAttributesRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket that contains the object.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
The object key.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID used to reference a specific version of the object.
\nS3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
\n to the versionId
query parameter in the request.
Sets the maximum number of parts to return.
", "smithy.api#httpHeader": "x-amz-max-parts" } }, "PartNumberMarker": { "target": "com.amazonaws.s3#PartNumberMarker", "traits": { "smithy.api#documentation": "Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.
", "smithy.api#httpHeader": "x-amz-part-number-marker" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "Specifies the algorithm to use when encrypting the object (for example, AES256).
\nThis functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
This functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the fields at the root level that you want returned in the response. Fields\n that you do not specify are not returned.
", "smithy.api#httpHeader": "x-amz-object-attributes", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#GetObjectLegalHold": { "type": "operation", "input": { "target": "com.amazonaws.s3#GetObjectLegalHoldRequest" }, "output": { "target": "com.amazonaws.s3#GetObjectLegalHoldOutput" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nGets an object's current legal hold status. For more information, see Locking\n Objects.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe following action is related to GetObjectLegalHold
:
\n GetObjectAttributes\n
\nThe current legal hold status for the specified object.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "LegalHold" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetObjectLegalHoldRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object whose legal hold status you want to retrieve.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The key name for the object whose legal hold status you want to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID of the object whose legal hold status you want to retrieve.
", "smithy.api#httpQuery": "versionId" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nGets the Object Lock configuration for a bucket. The rule specified in the Object Lock\n configuration will be applied by default to every new object placed in the specified\n bucket. For more information, see Locking Objects.
\nThe following action is related to GetObjectLockConfiguration
:
\n GetObjectAttributes\n
\nThe specified bucket's Object Lock configuration.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetObjectLockConfigurationRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket whose Object Lock configuration you want to retrieve.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Object data.
", "smithy.api#httpPayload": {} } }, "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { "smithy.api#documentation": "Indicates whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.
\nIf the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true
in the response.
If the specified version in the request is a delete marker, the response returns a 405 Method Not Allowed
error and the Last-Modified: timestamp
response header.
Indicates that a range of bytes was specified in the request.
", "smithy.api#httpHeader": "accept-ranges" } }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { "smithy.api#documentation": "If the object expiration is configured (see \n PutBucketLifecycleConfiguration
\n ), the response includes\n this header. It includes the expiry-date
and rule-id
key-value\n pairs providing object expiration information. The value of the rule-id
is\n URL-encoded.
This functionality is not supported for directory buckets.
\nProvides information about object restoration action and expiration time of the restored\n object copy.
\nThis functionality is not supported for directory buckets. Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nDate and time when the object was last modified.
\n\n General purpose buckets - When you specify a versionId
of the object in your request, if the specified version in the request is a delete marker, the response returns a 405 Method Not Allowed
error and the Last-Modified: timestamp
response header.
Size of the body in bytes.
", "smithy.api#httpHeader": "Content-Length" } }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "An entity tag (ETag) is an opaque identifier assigned by a web server to a specific\n version of a resource found at a URL.
", "smithy.api#httpHeader": "ETag" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { "smithy.api#documentation": "This is set to the number of metadata entries not returned in the headers that are prefixed with x-amz-meta-
. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.
This functionality is not supported for directory buckets.
\nVersion ID of the object.
\nThis functionality is not supported for directory buckets.
\nSpecifies caching behavior along the request/reply chain.
", "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { "target": "com.amazonaws.s3#ContentDisposition", "traits": { "smithy.api#documentation": "Specifies presentational information for the object.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Indicates what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
", "smithy.api#httpHeader": "Content-Encoding" } }, "ContentLanguage": { "target": "com.amazonaws.s3#ContentLanguage", "traits": { "smithy.api#documentation": "The language the content is in.
", "smithy.api#httpHeader": "Content-Language" } }, "ContentRange": { "target": "com.amazonaws.s3#ContentRange", "traits": { "smithy.api#documentation": "The portion of the object returned in the response.
", "smithy.api#httpHeader": "Content-Range" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { "smithy.api#documentation": "A standard MIME type describing the format of the object data.
", "smithy.api#httpHeader": "Content-Type" } }, "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { "smithy.api#documentation": "The date and time at which the object is no longer cacheable.
", "smithy.api#httpHeader": "Expires" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.
\nThis functionality is not supported for directory buckets.
\nThe server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the object uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nProvides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nAmazon S3 can return this if your request involves a bucket that is either a source or\n destination in a replication rule.
\nThis functionality is not supported for directory buckets.
\nThe count of parts this object has. This value is only returned if you specify\n partNumber
in your request and the object was uploaded as a multipart\n upload.
The number of tags, if any, on the object, when you have the relevant permission to read object tags.
\nYou can use GetObjectTagging to retrieve\n the tag set associated with an object.
\nThis functionality is not supported for directory buckets.
\nThe Object Lock mode that's currently in place for this object.
\nThis functionality is not supported for directory buckets.
\nThe date and time when this object's Object Lock will expire.
\nThis functionality is not supported for directory buckets.
\nIndicates whether this object has an active legal hold. This field is only returned if\n you have permission to view an object's legal hold status.
\nThis functionality is not supported for directory buckets.
\nThe bucket name containing the object.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n Object Lambda access points - When you use this action with an Object Lambda access point, you must direct requests to the Object Lambda access point hostname. The Object Lambda access point hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Return the object only if its entity tag (ETag) is the same as the one specified in this header;\n otherwise, return a 412 Precondition Failed
error.
If both of the If-Match
and If-Unmodified-Since
headers are present in the request as follows: If-Match
condition \n evaluates to true
, and; If-Unmodified-Since
condition evaluates to false
; then, S3 returns 200 OK
and the data requested.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Match" } }, "IfModifiedSince": { "target": "com.amazonaws.s3#IfModifiedSince", "traits": { "smithy.api#documentation": "Return the object only if it has been modified since the specified time; otherwise,\n return a 304 Not Modified
error.
If both of the If-None-Match
and If-Modified-Since
headers are present in the request as follows: If-None-Match
\n condition evaluates to false
, and; If-Modified-Since
condition evaluates to true
; then, S3 returns 304 Not Modified
\n status code.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Modified-Since" } }, "IfNoneMatch": { "target": "com.amazonaws.s3#IfNoneMatch", "traits": { "smithy.api#documentation": "Return the object only if its entity tag (ETag) is different from the one specified in this header;\n otherwise, return a 304 Not Modified
error.
If both of the If-None-Match
and If-Modified-Since
\n headers are present in the request as follows: If-None-Match
\n condition evaluates to false
, and; If-Modified-Since
\n condition evaluates to true
; then, S3 returns 304 Not Modified
HTTP status code.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-None-Match" } }, "IfUnmodifiedSince": { "target": "com.amazonaws.s3#IfUnmodifiedSince", "traits": { "smithy.api#documentation": "Return the object only if it has not been modified since the specified time; otherwise,\n return a 412 Precondition Failed
error.
If both of the If-Match
and If-Unmodified-Since
\n headers are present in the request as follows: If-Match
condition\n evaluates to true
, and; If-Unmodified-Since
condition\n evaluates to false
; then, S3 returns 200 OK
and the data requested.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Unmodified-Since" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Key of the object to get.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "Range": { "target": "com.amazonaws.s3#Range", "traits": { "smithy.api#documentation": "Downloads the specified byte range of an object. For more information about the HTTP\n Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
\nAmazon S3 doesn't support retrieving multiple ranges of data per GET
\n request.
Sets the Cache-Control
header of the response.
Sets the Content-Disposition
header of the response.
Sets the Content-Encoding
header of the response.
Sets the Content-Language
header of the response.
Sets the Content-Type
header of the response.
Sets the Expires
header of the response.
Version ID used to reference a specific version of the object.
\nBy default, the GetObject
operation returns the current version of an object. To return a different version, use the versionId
subresource.
If you include a versionId
in your request header, you must have the s3:GetObjectVersion
permission to access a specific version of an object. The s3:GetObject
permission is not required in this scenario.
If you request the current version of an object without a specific versionId
in the request header, only the s3:GetObject
permission is required. The s3:GetObjectVersion
permission is not required in this scenario.
\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
\n to the versionId
query parameter in the request.
For more information about versioning, see PutBucketVersioning.
", "smithy.api#httpQuery": "versionId" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "Specifies the algorithm to use when decrypting the object (for example,\n AES256
).
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key that you originally provided for Amazon S3 to encrypt the data before storing it. This\n value is used to decrypt the object when recovering it and must match the one used when\n storing the data. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nIf you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nPart number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' GET request for the part specified. Useful for downloading\n just a part of an object.
", "smithy.api#httpQuery": "partNumber" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
To retrieve the checksum, this mode must be enabled.
", "smithy.api#httpHeader": "x-amz-checksum-mode" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#GetObjectResponseStatusCode": { "type": "integer" }, "com.amazonaws.s3#GetObjectRetention": { "type": "operation", "input": { "target": "com.amazonaws.s3#GetObjectRetentionRequest" }, "output": { "target": "com.amazonaws.s3#GetObjectRetentionOutput" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nRetrieves an object's retention settings. For more information, see Locking\n Objects.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe following action is related to GetObjectRetention
:
\n GetObjectAttributes\n
\nThe container element for an object's retention settings.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "Retention" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetObjectRetentionRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object whose retention settings you want to retrieve.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The key name for the object whose retention settings you want to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID for the object whose retention settings you want to retrieve.
", "smithy.api#httpQuery": "versionId" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns the tag-set of an object. You send the GET request against the tagging\n subresource associated with the object.
\nTo use this operation, you must have permission to perform the\n s3:GetObjectTagging
action. By default, the GET action returns information\n about current version of an object. For a versioned bucket, you can have multiple versions\n of an object in your bucket. To retrieve tags of any other version, use the versionId query\n parameter. You also need permission for the s3:GetObjectVersionTagging
\n action.
By default, the bucket owner has this permission and can grant this permission to\n others.
\nFor information about the Amazon S3 object tagging feature, see Object Tagging.
\nThe following actions are related to GetObjectTagging
:
\n DeleteObjectTagging\n
\n\n GetObjectAttributes\n
\n\n PutObjectTagging\n
\nThe versionId of the object for which you got the tagging information.
", "smithy.api#httpHeader": "x-amz-version-id" } }, "TagSet": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "Contains the tag set.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "Tagging" } }, "com.amazonaws.s3#GetObjectTaggingRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object for which to get the tagging information.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Object key for which to get the tagging information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The versionId of the object for which to get the tagging information.
", "smithy.api#httpQuery": "versionId" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns torrent files from a bucket. BitTorrent can save you bandwidth when you're\n distributing large files.
\nYou can get torrent only for objects that are less than 5 GB in size, and that are\n not encrypted using server-side encryption with a customer-provided encryption\n key.
\nTo use GET, you must have READ access to the object.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThe following action is related to GetObjectTorrent
:
\n GetObject\n
\nA Bencoded dictionary as defined by the BitTorrent specification
", "smithy.api#httpPayload": {} } }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#GetObjectTorrentRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket containing the object for which to get the torrent files.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key for which to get the information.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nRetrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use\n this operation, you must have the s3:GetBucketPublicAccessBlock
permission.\n For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
settings are different between the bucket and the\n account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\nThe following operations are related to GetPublicAccessBlock
:
\n PutPublicAccessBlock\n
\n\n GetPublicAccessBlock\n
\nThe PublicAccessBlock
configuration currently in effect for this Amazon S3\n bucket.
The name of the Amazon S3 bucket whose PublicAccessBlock
configuration you want\n to retrieve.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Retrieval tier at which the restore will be processed.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Container for S3 Glacier job parameters.
" } }, "com.amazonaws.s3#Grant": { "type": "structure", "members": { "Grantee": { "target": "com.amazonaws.s3#Grantee", "traits": { "smithy.api#documentation": "The person being granted permissions.
", "smithy.api#xmlNamespace": { "uri": "http://www.w3.org/2001/XMLSchema-instance", "prefix": "xsi" } } }, "Permission": { "target": "com.amazonaws.s3#Permission", "traits": { "smithy.api#documentation": "Specifies the permission given to the grantee.
" } } }, "traits": { "smithy.api#documentation": "Container for grant information.
" } }, "com.amazonaws.s3#GrantFullControl": { "type": "string" }, "com.amazonaws.s3#GrantRead": { "type": "string" }, "com.amazonaws.s3#GrantReadACP": { "type": "string" }, "com.amazonaws.s3#GrantWrite": { "type": "string" }, "com.amazonaws.s3#GrantWriteACP": { "type": "string" }, "com.amazonaws.s3#Grantee": { "type": "structure", "members": { "DisplayName": { "target": "com.amazonaws.s3#DisplayName", "traits": { "smithy.api#documentation": "Screen name of the grantee.
" } }, "EmailAddress": { "target": "com.amazonaws.s3#EmailAddress", "traits": { "smithy.api#documentation": "Email address of the grantee.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nThe canonical user ID of the grantee.
" } }, "URI": { "target": "com.amazonaws.s3#URI", "traits": { "smithy.api#documentation": "URI of the grantee group.
" } }, "Type": { "target": "com.amazonaws.s3#Type", "traits": { "smithy.api#documentation": "Type of grantee
", "smithy.api#required": {}, "smithy.api#xmlAttribute": {}, "smithy.api#xmlName": "xsi:type" } } }, "traits": { "smithy.api#documentation": "Container for the person being granted permissions.
" } }, "com.amazonaws.s3#Grants": { "type": "list", "member": { "target": "com.amazonaws.s3#Grant", "traits": { "smithy.api#xmlName": "Grant" } } }, "com.amazonaws.s3#HeadBucket": { "type": "operation", "input": { "target": "com.amazonaws.s3#HeadBucketRequest" }, "output": { "target": "com.amazonaws.s3#HeadBucketOutput" }, "errors": [ { "target": "com.amazonaws.s3#NotFound" } ], "traits": { "smithy.api#documentation": "You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a 200 OK
if the bucket exists and you have permission\n to access it.
If the bucket does not exist or you do not have permission to access it, the\n HEAD
request returns a generic 400 Bad Request
, 403\n Forbidden
or 404 Not Found
code. A message body is not included, so\n you cannot determine the exception beyond these HTTP response codes.
\n Directory buckets - You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
All HeadBucket
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including\n x-amz-copy-source
, must be signed. For more information, see REST Authentication.
\n Directory bucket - You must use IAM credentials to authenticate and authorize your access to the HeadBucket
API operation, instead of using the \n temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
\n\n General purpose bucket permissions - To use this operation, you must have permissions to perform the\n s3:ListBucket
action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Managing\n access permissions to your Amazon S3 resources in the Amazon S3 User Guide.
\n Directory bucket permissions -\n You must have the \n s3express:CreateSession
\n permission in the\n Action
element of a policy. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the bucket.
For more information about example bucket policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The type of location where the bucket is created.
\nThis functionality is only supported by directory buckets.
\nThe name of the location where the bucket will be created.
\nFor directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
\nThe Region that the bucket is located.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the bucket name used in the request is an access point alias.
\nThis functionality is not supported for directory buckets.
\nThe bucket name.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n Object Lambda access points - When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. \nIf the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. \nFor more information about InvalidAccessPointAliasError
, see List of\n Error Codes.
Access points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The HEAD
operation retrieves metadata from an object without returning the\n object itself. This operation is useful if you're interested only in an object's metadata.
A HEAD
request has the same options as a GET
operation on an\n object. The response is identical to the GET
response except that there is no\n response body. Because of this, if the HEAD
request generates an error, it\n returns a generic code, such as 400 Bad Request
, 403 Forbidden
, 404 Not\n Found
, 405 Method Not Allowed
, 412 Precondition Failed
, or 304 Not Modified
. \n It's not possible to retrieve the exact exception of these error codes.
Request headers are limited to 8 KB in size. For more information, see Common\n Request Headers.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - To\n use HEAD
, you must have the s3:GetObject
permission. You need the relevant read object (or version) permission for this operation.\n For more information, see Actions, resources, and condition\n keys for Amazon S3 in the Amazon S3\n User Guide.
If the object you request doesn't exist, the error that\n Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3\n returns an HTTP status code 404 Not Found
error.
If you don’t have the s3:ListBucket
permission, Amazon S3 returns\n an HTTP status code 403 Forbidden
error.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
Encryption request headers, like x-amz-server-side-encryption
,\n should not be sent for HEAD
requests if your object uses server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side\n encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3\n managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. \n If you include this header in a HEAD
request for an object that uses these types of keys, \n you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the Amazon S3\n User Guide.
\n\n Directory bucket permissions - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true
in the response.
If the specified version is a delete marker, the response returns a 405 Method Not Allowed
error and the Last-Modified: timestamp
response header.
\n Directory buckets - Delete marker is not supported by directory buckets.
\n\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
\n to the versionId
query parameter in the request.
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following actions are related to HeadObject
:
\n GetObject\n
\n\n GetObjectAttributes\n
\nSpecifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.
\nThis functionality is not supported for directory buckets.
\nIndicates that a range of bytes was specified.
", "smithy.api#httpHeader": "accept-ranges" } }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { "smithy.api#documentation": "If the object expiration is configured (see \n PutBucketLifecycleConfiguration
\n ), the response includes\n this header. It includes the expiry-date
and rule-id
key-value\n pairs providing object expiration information. The value of the rule-id
is\n URL-encoded.
This functionality is not supported for directory buckets.
\nIf the object is an archived object (an object whose storage class is GLACIER), the\n response includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already restored.
\nIf an archive copy is already restored, the header value indicates when Amazon S3 is\n scheduled to delete the object copy. For example:
\n\n x-amz-restore: ongoing-request=\"false\", expiry-date=\"Fri, 21 Dec 2012 00:00:00\n GMT\"
\n
If the object restoration is in progress, the header returns the value\n ongoing-request=\"true\"
.
For more information about archiving objects, see Transitioning Objects: General Considerations.
\nThis functionality is not supported for directory buckets. Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nThe archive state of the head object.
\nThis functionality is not supported for directory buckets.
\nDate and time when the object was last modified.
", "smithy.api#httpHeader": "Last-Modified" } }, "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { "smithy.api#documentation": "Size of the body in bytes.
", "smithy.api#httpHeader": "Content-Length" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "An entity tag (ETag) is an opaque identifier assigned by a web server to a specific\n version of a resource found at a URL.
", "smithy.api#httpHeader": "ETag" } }, "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { "smithy.api#documentation": "This is set to the number of metadata entries not returned in x-amz-meta
\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.
This functionality is not supported for directory buckets.
\nVersion ID of the object.
\nThis functionality is not supported for directory buckets.
\nSpecifies caching behavior along the request/reply chain.
", "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { "target": "com.amazonaws.s3#ContentDisposition", "traits": { "smithy.api#documentation": "Specifies presentational information for the object.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Indicates what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
", "smithy.api#httpHeader": "Content-Encoding" } }, "ContentLanguage": { "target": "com.amazonaws.s3#ContentLanguage", "traits": { "smithy.api#documentation": "The language the content is in.
", "smithy.api#httpHeader": "Content-Language" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { "smithy.api#documentation": "A standard MIME type describing the format of the object data.
", "smithy.api#httpHeader": "Content-Type" } }, "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { "smithy.api#documentation": "The date and time at which the object is no longer cacheable.
", "smithy.api#httpHeader": "Expires" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.
\nThis functionality is not supported for directory buckets.
\nThe server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the object uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nProvides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nAmazon S3 can return this header if your request involves a bucket that is either a source or\n a destination in a replication rule.
\nIn replication, you have a source bucket on which you configure replication and\n destination bucket or buckets where Amazon S3 stores object replicas. When you request an object\n (GetObject
) or object metadata (HeadObject
) from these\n buckets, Amazon S3 will return the x-amz-replication-status
header in the response\n as follows:
\n If requesting an object from the source bucket,\n Amazon S3 will return the x-amz-replication-status
header if the object in\n your request is eligible for replication.
For example, suppose that in your replication configuration, you specify object\n prefix TaxDocs
requesting Amazon S3 to replicate objects with key prefix\n TaxDocs
. Any objects you upload with this key name prefix, for\n example TaxDocs/document1.pdf
, are eligible for replication. For any\n object request with this key name prefix, Amazon S3 will return the\n x-amz-replication-status
header with value PENDING, COMPLETED or\n FAILED indicating object replication status.
\n If requesting an object from a destination\n bucket, Amazon S3 will return the x-amz-replication-status
header\n with value REPLICA if the object in your request is a replica that Amazon S3 created and\n there is no replica modification replication in progress.
\n When replicating objects to multiple destination\n buckets, the x-amz-replication-status
header acts\n differently. The header of the source object will only return a value of COMPLETED\n when replication is successful to all destinations. The header will remain at value\n PENDING until replication has completed for all destinations. If one or more\n destinations fails replication the header will return FAILED.
For more information, see Replication.
\nThis functionality is not supported for directory buckets.
\nThe count of parts this object has. This value is only returned if you specify\n partNumber
in your request and the object was uploaded as a multipart\n upload.
The Object Lock mode, if any, that's in effect for this object. This header is only\n returned if the requester has the s3:GetObjectRetention
permission. For more\n information about S3 Object Lock, see Object Lock.
This functionality is not supported for directory buckets.
\nThe date and time when the Object Lock retention period expires. This header is only\n returned if the requester has the s3:GetObjectRetention
permission.
This functionality is not supported for directory buckets.
\nSpecifies whether a legal hold is in effect for this object. This header is only\n returned if the requester has the s3:GetObjectLegalHold
permission. This\n header is not returned if the specified version of this object has never had a legal hold\n applied. For more information about S3 Object Lock, see Object Lock.
This functionality is not supported for directory buckets.
\nThe name of the bucket that contains the object.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Return the object only if its entity tag (ETag) is the same as the one specified;\n otherwise, return a 412 (precondition failed) error.
\nIf both of the If-Match
and\n If-Unmodified-Since
headers are present in the request as\n follows:
\n If-Match
condition evaluates to true
, and;
\n If-Unmodified-Since
condition evaluates to\n false
;
Then Amazon S3 returns 200 OK
and the data requested.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Match" } }, "IfModifiedSince": { "target": "com.amazonaws.s3#IfModifiedSince", "traits": { "smithy.api#documentation": "Return the object only if it has been modified since the specified time; otherwise,\n return a 304 (not modified) error.
\nIf both of the If-None-Match
and\n If-Modified-Since
headers are present in the request as\n follows:
\n If-None-Match
condition evaluates to false
,\n and;
\n If-Modified-Since
condition evaluates to\n true
;
Then Amazon S3 returns the 304 Not Modified
response code.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Modified-Since" } }, "IfNoneMatch": { "target": "com.amazonaws.s3#IfNoneMatch", "traits": { "smithy.api#documentation": "Return the object only if its entity tag (ETag) is different from the one specified;\n otherwise, return a 304 (not modified) error.
\nIf both of the If-None-Match
and\n If-Modified-Since
headers are present in the request as\n follows:
\n If-None-Match
condition evaluates to false
,\n and;
\n If-Modified-Since
condition evaluates to\n true
;
Then Amazon S3 returns the 304 Not Modified
response code.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-None-Match" } }, "IfUnmodifiedSince": { "target": "com.amazonaws.s3#IfUnmodifiedSince", "traits": { "smithy.api#documentation": "Return the object only if it has not been modified since the specified time; otherwise,\n return a 412 (precondition failed) error.
\nIf both of the If-Match
and\n If-Unmodified-Since
headers are present in the request as\n follows:
\n If-Match
condition evaluates to true
, and;
\n If-Unmodified-Since
condition evaluates to\n false
;
Then Amazon S3 returns 200 OK
and the data requested.
For more information about conditional requests, see RFC 7232.
", "smithy.api#httpHeader": "If-Unmodified-Since" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "Range": { "target": "com.amazonaws.s3#Range", "traits": { "smithy.api#documentation": "HeadObject returns only the metadata for an object. If the Range is satisfiable, only\n the ContentLength
is affected in the response. If the Range is not\n satisfiable, S3 returns a 416 - Requested Range Not Satisfiable
error.
Sets the Cache-Control
header of the response.
Sets the Content-Disposition
header of the response.
Sets the Content-Encoding
header of the response.
Sets the Content-Language
header of the response.
Sets the Content-Type
header of the response.
Sets the Expires
header of the response.
Version ID used to reference a specific version of the object.
\nFor directory buckets in this API operation, only the null
value of the version ID is supported.
Specifies the algorithm to use when encrypting the object (for example,\n AES256).
\nThis functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
This functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported for directory buckets.
\nPart number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about\n the size of the part and the number of parts in this object.
", "smithy.api#httpQuery": "partNumber" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
To retrieve the checksum, this parameter must be enabled.
\nIn addition, if you enable ChecksumMode
and the object is encrypted with\n Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the\n kms:Decrypt
action for the request to succeed.
A suffix that is appended to a request that is for a directory on the website endpoint.\n (For example, if the suffix is index.html
and you make a request to\n samplebucket/images/
, the data that is returned will be for the object with\n the key name images/index.html
.) The suffix must not be empty and must not\n include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nContainer for the Suffix
element.
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the\n principal is an IAM User, it provides a user ARN value.
\n\n Directory buckets - If the principal is an Amazon Web Services account, it provides the Amazon Web Services account ID. If the\n principal is an IAM User, it provides a user ARN value.
\nName of the Principal.
\nThis functionality is not supported for directory buckets.
\nContainer element that identifies who initiated the multipart upload.
" } }, "com.amazonaws.s3#InputSerialization": { "type": "structure", "members": { "CSV": { "target": "com.amazonaws.s3#CSVInput", "traits": { "smithy.api#documentation": "Describes the serialization of a CSV-encoded object.
" } }, "CompressionType": { "target": "com.amazonaws.s3#CompressionType", "traits": { "smithy.api#documentation": "Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:\n NONE.
" } }, "JSON": { "target": "com.amazonaws.s3#JSONInput", "traits": { "smithy.api#documentation": "Specifies JSON as object's input serialization format.
" } }, "Parquet": { "target": "com.amazonaws.s3#ParquetInput", "traits": { "smithy.api#documentation": "Specifies Parquet as object's input serialization format.
" } } }, "traits": { "smithy.api#documentation": "Describes the serialization format of the object.
" } }, "com.amazonaws.s3#IntelligentTieringAccessTier": { "type": "enum", "members": { "ARCHIVE_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ARCHIVE_ACCESS" } }, "DEEP_ARCHIVE_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEEP_ARCHIVE_ACCESS" } } } }, "com.amazonaws.s3#IntelligentTieringAndOperator": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "An object key name prefix that identifies the subset of objects to which the\n configuration applies.
" } }, "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "All of these tags must exist in the object's tag set in order for the configuration to\n apply.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } } }, "traits": { "smithy.api#documentation": "A container for specifying S3 Intelligent-Tiering filters. The filters determine the\n subset of objects to which the rule applies.
" } }, "com.amazonaws.s3#IntelligentTieringConfiguration": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.s3#IntelligentTieringId", "traits": { "smithy.api#documentation": "The ID used to identify the S3 Intelligent-Tiering configuration.
", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.s3#IntelligentTieringFilter", "traits": { "smithy.api#documentation": "Specifies a bucket filter. The configuration only includes objects that meet the\n filter's criteria.
" } }, "Status": { "target": "com.amazonaws.s3#IntelligentTieringStatus", "traits": { "smithy.api#documentation": "Specifies the status of the configuration.
", "smithy.api#required": {} } }, "Tierings": { "target": "com.amazonaws.s3#TieringList", "traits": { "smithy.api#documentation": "Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tiering" } } }, "traits": { "smithy.api#documentation": "Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
\nFor information about the S3 Intelligent-Tiering storage class, see Storage class\n for automatically optimizing frequently and infrequently accessed\n objects.
" } }, "com.amazonaws.s3#IntelligentTieringConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#IntelligentTieringConfiguration" } }, "com.amazonaws.s3#IntelligentTieringDays": { "type": "integer" }, "com.amazonaws.s3#IntelligentTieringFilter": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "An object key name prefix that identifies the subset of objects to which the rule\n applies.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nA conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.
" } } }, "traits": { "smithy.api#documentation": "The Filter
is used to identify objects that the S3 Intelligent-Tiering\n configuration applies to.
Object is archived and inaccessible until restored.
\nIf the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the \n S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the \n S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a\n copy using RestoreObject. Otherwise, this operation returns an\n InvalidObjectState
error. For information about restoring archived objects,\n see Restoring\n Archived Objects in the Amazon S3 User Guide.
Contains information about where to publish the inventory results.
", "smithy.api#required": {} } }, "IsEnabled": { "target": "com.amazonaws.s3#IsEnabled", "traits": { "smithy.api#documentation": "Specifies whether the inventory is enabled or disabled. If set to True
, an\n inventory list is generated. If set to False
, no inventory list is\n generated.
Specifies an inventory filter. The inventory only includes objects that meet the\n filter's criteria.
" } }, "Id": { "target": "com.amazonaws.s3#InventoryId", "traits": { "smithy.api#documentation": "The ID used to identify the inventory configuration.
", "smithy.api#required": {} } }, "IncludedObjectVersions": { "target": "com.amazonaws.s3#InventoryIncludedObjectVersions", "traits": { "smithy.api#documentation": "Object versions to include in the inventory list. If set to All
, the list\n includes all the object versions, which adds the version-related fields\n VersionId
, IsLatest
, and DeleteMarker
to the\n list. If set to Current
, the list does not contain these version-related\n fields.
Contains the optional fields that are included in the inventory results.
" } }, "Schedule": { "target": "com.amazonaws.s3#InventorySchedule", "traits": { "smithy.api#documentation": "Specifies the schedule for generating inventory results.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the inventory configuration for an Amazon S3 bucket. For more information, see\n GET Bucket inventory in the Amazon S3 API Reference.
" } }, "com.amazonaws.s3#InventoryConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#InventoryConfiguration" } }, "com.amazonaws.s3#InventoryDestination": { "type": "structure", "members": { "S3BucketDestination": { "target": "com.amazonaws.s3#InventoryS3BucketDestination", "traits": { "smithy.api#documentation": "Contains the bucket name, file format, bucket owner (optional), and prefix (optional)\n where inventory results are published.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the inventory configuration for an Amazon S3 bucket.
" } }, "com.amazonaws.s3#InventoryEncryption": { "type": "structure", "members": { "SSES3": { "target": "com.amazonaws.s3#SSES3", "traits": { "smithy.api#documentation": "Specifies the use of SSE-S3 to encrypt delivered inventory reports.
", "smithy.api#xmlName": "SSE-S3" } }, "SSEKMS": { "target": "com.amazonaws.s3#SSEKMS", "traits": { "smithy.api#documentation": "Specifies the use of SSE-KMS to encrypt delivered inventory reports.
", "smithy.api#xmlName": "SSE-KMS" } } }, "traits": { "smithy.api#documentation": "Contains the type of server-side encryption used to encrypt the inventory\n results.
" } }, "com.amazonaws.s3#InventoryFilter": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix that an object must have to be included in the inventory results.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies an inventory filter. The inventory only includes objects that meet the\n filter's criteria.
" } }, "com.amazonaws.s3#InventoryFormat": { "type": "enum", "members": { "CSV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CSV" } }, "ORC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ORC" } }, "Parquet": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Parquet" } } } }, "com.amazonaws.s3#InventoryFrequency": { "type": "enum", "members": { "Daily": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Daily" } }, "Weekly": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Weekly" } } } }, "com.amazonaws.s3#InventoryId": { "type": "string" }, "com.amazonaws.s3#InventoryIncludedObjectVersions": { "type": "enum", "members": { "All": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "All" } }, "Current": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Current" } } } }, "com.amazonaws.s3#InventoryOptionalField": { "type": "enum", "members": { "Size": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Size" } }, "LastModifiedDate": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LastModifiedDate" } }, "StorageClass": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "StorageClass" } }, "ETag": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ETag" } }, "IsMultipartUploaded": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IsMultipartUploaded" } }, "ReplicationStatus": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ReplicationStatus" } }, "EncryptionStatus": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EncryptionStatus" } }, "ObjectLockRetainUntilDate": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectLockRetainUntilDate" } }, "ObjectLockMode": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectLockMode" } }, "ObjectLockLegalHoldStatus": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectLockLegalHoldStatus" } }, "IntelligentTieringAccessTier": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IntelligentTieringAccessTier" } }, "BucketKeyStatus": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BucketKeyStatus" } }, "ChecksumAlgorithm": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ChecksumAlgorithm" } }, "ObjectAccessControlList": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectAccessControlList" } }, "ObjectOwner": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectOwner" } } } }, "com.amazonaws.s3#InventoryOptionalFields": { "type": "list", "member": { "target": "com.amazonaws.s3#InventoryOptionalField", "traits": { "smithy.api#xmlName": "Field" } } }, "com.amazonaws.s3#InventoryS3BucketDestination": { "type": "structure", "members": { "AccountId": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID that owns the destination S3 bucket. If no account ID is provided, the\n owner is not validated before exporting data.
\nAlthough this value is optional, we strongly recommend that you set it to help\n prevent problems if the destination bucket ownership changes.
\nThe Amazon Resource Name (ARN) of the bucket where inventory results will be\n published.
", "smithy.api#required": {} } }, "Format": { "target": "com.amazonaws.s3#InventoryFormat", "traits": { "smithy.api#documentation": "Specifies the output format of the inventory results.
", "smithy.api#required": {} } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix that is prepended to all inventory results.
" } }, "Encryption": { "target": "com.amazonaws.s3#InventoryEncryption", "traits": { "smithy.api#documentation": "Contains the type of server-side encryption used to encrypt the inventory\n results.
" } } }, "traits": { "smithy.api#documentation": "Contains the bucket name, file format, bucket owner (optional), and prefix (optional)\n where inventory results are published.
" } }, "com.amazonaws.s3#InventorySchedule": { "type": "structure", "members": { "Frequency": { "target": "com.amazonaws.s3#InventoryFrequency", "traits": { "smithy.api#documentation": "Specifies how frequently inventory results are produced.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the schedule for generating inventory results.
" } }, "com.amazonaws.s3#IsEnabled": { "type": "boolean" }, "com.amazonaws.s3#IsLatest": { "type": "boolean" }, "com.amazonaws.s3#IsPublic": { "type": "boolean" }, "com.amazonaws.s3#IsRestoreInProgress": { "type": "boolean" }, "com.amazonaws.s3#IsTruncated": { "type": "boolean" }, "com.amazonaws.s3#JSONInput": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.s3#JSONType", "traits": { "smithy.api#documentation": "The type of JSON. Valid values: Document, Lines.
" } } }, "traits": { "smithy.api#documentation": "Specifies JSON as object's input serialization format.
" } }, "com.amazonaws.s3#JSONOutput": { "type": "structure", "members": { "RecordDelimiter": { "target": "com.amazonaws.s3#RecordDelimiter", "traits": { "smithy.api#documentation": "The value used to separate individual records in the output. If no value is specified,\n Amazon S3 uses a newline character ('\\n').
" } } }, "traits": { "smithy.api#documentation": "Specifies JSON as request's output serialization format.
" } }, "com.amazonaws.s3#JSONType": { "type": "enum", "members": { "DOCUMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DOCUMENT" } }, "LINES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LINES" } } } }, "com.amazonaws.s3#KMSContext": { "type": "string" }, "com.amazonaws.s3#KeyCount": { "type": "integer" }, "com.amazonaws.s3#KeyMarker": { "type": "string" }, "com.amazonaws.s3#KeyPrefixEquals": { "type": "string" }, "com.amazonaws.s3#LambdaFunctionArn": { "type": "string" }, "com.amazonaws.s3#LambdaFunctionConfiguration": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.s3#NotificationId" }, "LambdaFunctionArn": { "target": "com.amazonaws.s3#LambdaFunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the\n specified event type occurs.
", "smithy.api#required": {}, "smithy.api#xmlName": "CloudFunction" } }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { "smithy.api#documentation": "The Amazon S3 bucket event for which to invoke the Lambda function. For more information,\n see Supported\n Event Types in the Amazon S3 User Guide.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Event" } }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" } }, "traits": { "smithy.api#documentation": "A container for specifying the configuration for Lambda notifications.
" } }, "com.amazonaws.s3#LambdaFunctionConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#LambdaFunctionConfiguration" } }, "com.amazonaws.s3#LastModified": { "type": "timestamp" }, "com.amazonaws.s3#LifecycleExpiration": { "type": "structure", "members": { "Date": { "target": "com.amazonaws.s3#Date", "traits": { "smithy.api#documentation": "Indicates at what date the object is to be moved or deleted. The date value must conform\n to the ISO 8601 format. The time is always midnight UTC.
" } }, "Days": { "target": "com.amazonaws.s3#Days", "traits": { "smithy.api#documentation": "Indicates the lifetime, in days, of the objects that are subject to the rule. The value\n must be a non-zero positive integer.
" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.s3#ExpiredObjectDeleteMarker", "traits": { "smithy.api#documentation": "Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set\n to true, the delete marker will be expired; if set to false the policy takes no action.\n This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
" } } }, "traits": { "smithy.api#documentation": "Container for the expiration for the lifecycle of the object.
\nFor more information see, Managing your storage\n lifecycle in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#LifecycleRule": { "type": "structure", "members": { "Expiration": { "target": "com.amazonaws.s3#LifecycleExpiration", "traits": { "smithy.api#documentation": "Specifies the expiration for the lifecycle of the object in the form of date, days and,\n whether the object has a delete marker.
" } }, "ID": { "target": "com.amazonaws.s3#ID", "traits": { "smithy.api#documentation": "Unique identifier for the rule. The value cannot be longer than 255 characters.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "Prefix identifying one or more objects to which the rule applies. This is\n no longer used; use Filter
instead.
Replacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nThe Filter
is used to identify objects that a Lifecycle Rule applies to. A\n Filter
must have exactly one of Prefix
, Tag
, or\n And
specified. Filter
is required if the\n LifecycleRule
does not contain a Prefix
element.
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not\n currently being applied.
", "smithy.api#required": {} } }, "Transitions": { "target": "com.amazonaws.s3#TransitionList", "traits": { "smithy.api#documentation": "Specifies when an Amazon S3 object transitions to a specified storage class.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Transition" } }, "NoncurrentVersionTransitions": { "target": "com.amazonaws.s3#NoncurrentVersionTransitionList", "traits": { "smithy.api#documentation": "Specifies the transition rule for the lifecycle rule that describes when noncurrent\n objects transition to a specific storage class. If your bucket is versioning-enabled (or\n versioning is suspended), you can set this action to request that Amazon S3 transition\n noncurrent object versions to a specific storage class at a set period in the object's\n lifetime.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "NoncurrentVersionTransition" } }, "NoncurrentVersionExpiration": { "target": "com.amazonaws.s3#NoncurrentVersionExpiration" }, "AbortIncompleteMultipartUpload": { "target": "com.amazonaws.s3#AbortIncompleteMultipartUpload" } }, "traits": { "smithy.api#documentation": "A lifecycle rule for individual objects in an Amazon S3 bucket.
\nFor more information see, Managing your storage\n lifecycle in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#LifecycleRuleAndOperator": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Prefix identifying one or more objects to which the rule applies.
" } }, "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "All of these tags must exist in the object's tag set in order for the rule to\n apply.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } }, "ObjectSizeGreaterThan": { "target": "com.amazonaws.s3#ObjectSizeGreaterThanBytes", "traits": { "smithy.api#documentation": "Minimum object size to which the rule applies.
" } }, "ObjectSizeLessThan": { "target": "com.amazonaws.s3#ObjectSizeLessThanBytes", "traits": { "smithy.api#documentation": "Maximum object size to which the rule applies.
" } } }, "traits": { "smithy.api#documentation": "This is used in a Lifecycle Rule Filter to apply a logical AND to two or more\n predicates. The Lifecycle Rule will apply to any object matching all of the predicates\n configured inside the And operator.
" } }, "com.amazonaws.s3#LifecycleRuleFilter": { "type": "union", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Prefix identifying one or more objects to which the rule applies.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nThis tag must exist in the object's tag set in order for the rule to apply.
" } }, "ObjectSizeGreaterThan": { "target": "com.amazonaws.s3#ObjectSizeGreaterThanBytes", "traits": { "smithy.api#documentation": "Minimum object size to which the rule applies.
" } }, "ObjectSizeLessThan": { "target": "com.amazonaws.s3#ObjectSizeLessThanBytes", "traits": { "smithy.api#documentation": "Maximum object size to which the rule applies.
" } }, "And": { "target": "com.amazonaws.s3#LifecycleRuleAndOperator" } }, "traits": { "smithy.api#documentation": "The Filter
is used to identify objects that a Lifecycle Rule applies to. A\n Filter
can have exactly one of Prefix
, Tag
, ObjectSizeGreaterThan
, ObjectSizeLessThan
, or\n And
specified. If the Filter
element is left empty, the Lifecycle Rule applies to all objects in the bucket.
This operation is not supported by directory buckets.
\nLists the analytics configurations for the bucket. You can have up to 1,000 analytics\n configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. You should always check the IsTruncated
element in the response. If\n there are no more configurations to list, IsTruncated
is set to false. If\n there are more configurations to list, IsTruncated
is set to true, and there\n will be a value in NextContinuationToken
. You use the\n NextContinuationToken
value to continue the pagination of the list by\n passing the value in continuation-token in the request to GET
the next\n page.
To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n ListBucketAnalyticsConfigurations
:
Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.
" } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The marker that is used as a starting point for this analytics configuration list\n response. This value is present if it was sent in the request.
" } }, "NextContinuationToken": { "target": "com.amazonaws.s3#NextToken", "traits": { "smithy.api#documentation": "\n NextContinuationToken
is sent when isTruncated
is true, which\n indicates that there are more analytics configurations to list. The next request must\n include this NextContinuationToken
. The token is obfuscated and is not a\n usable value.
The list of analytics configurations for a bucket.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AnalyticsConfiguration" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "ListBucketAnalyticsConfigurationResult" } }, "com.amazonaws.s3#ListBucketAnalyticsConfigurationsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket from which analytics configurations are retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The ContinuationToken
that represents a placeholder from where this request\n should begin.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nLists the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to ListBucketIntelligentTieringConfigurations
include:
Indicates whether the returned list of analytics configurations is complete. A value of\n true
indicates that the list is not complete and the\n NextContinuationToken
will be provided for a subsequent request.
The ContinuationToken
that represents a placeholder from where this request\n should begin.
The marker used to continue this inventory configuration listing. Use the\n NextContinuationToken
from this response to continue the listing in a\n subsequent request. The continuation token is an opaque value that Amazon S3 understands.
The list of S3 Intelligent-Tiering configurations for a bucket.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "IntelligentTieringConfiguration" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The ContinuationToken
that represents a placeholder from where this request\n should begin.
This operation is not supported by directory buckets.
\nReturns a list of inventory configurations for the bucket. You can have up to 1,000\n analytics configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. Always check the IsTruncated
element in the response. If there are no\n more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in continuation-token in the\n request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory\n
\nThe following operations are related to\n ListBucketInventoryConfigurations
:
If sent in the request, the marker that is used as a starting point for this inventory\n configuration list response.
" } }, "InventoryConfigurationList": { "target": "com.amazonaws.s3#InventoryConfigurationList", "traits": { "smithy.api#documentation": "The list of inventory configurations for a bucket.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "InventoryConfiguration" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { "smithy.api#documentation": "Tells whether the returned list of inventory configurations is complete. A value of true\n indicates that the list is not complete and the NextContinuationToken is provided for a\n subsequent request.
" } }, "NextContinuationToken": { "target": "com.amazonaws.s3#NextToken", "traits": { "smithy.api#documentation": "The marker used to continue this inventory configuration listing. Use the\n NextContinuationToken
from this response to continue the listing in a\n subsequent request. The continuation token is an opaque value that Amazon S3 understands.
The name of the bucket containing the inventory configurations to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The marker used to continue an inventory configuration listing that has been truncated.\n Use the NextContinuationToken
from a previously truncated list response to\n continue the listing. The continuation token is an opaque value that Amazon S3\n understands.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nLists the metrics configurations for the bucket. The metrics configurations are only for\n the request metrics of the bucket and do not provide information on daily storage metrics.\n You can have up to 1,000 configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. Always check the IsTruncated
element in the response. If there are no\n more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in\n continuation-token
in the request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For more information about metrics configurations and CloudWatch request metrics, see\n Monitoring Metrics with Amazon CloudWatch.
\nThe following operations are related to\n ListBucketMetricsConfigurations
:
Indicates whether the returned list of metrics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.
" } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The marker that is used as a starting point for this metrics configuration list\n response. This value is present if it was sent in the request.
" } }, "NextContinuationToken": { "target": "com.amazonaws.s3#NextToken", "traits": { "smithy.api#documentation": "The marker used to continue a metrics configuration listing that has been truncated. Use\n the NextContinuationToken
from a previously truncated list response to\n continue the listing. The continuation token is an opaque value that Amazon S3\n understands.
The list of metrics configurations for a bucket.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MetricsConfiguration" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "ListMetricsConfigurationsResult" } }, "com.amazonaws.s3#ListBucketMetricsConfigurationsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket containing the metrics configurations to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { "smithy.api#documentation": "The marker that is used to continue a metrics configuration listing that has been\n truncated. Use the NextContinuationToken
from a previously truncated list\n response to continue the listing. The continuation token is an opaque value that Amazon S3\n understands.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns a list of all buckets owned by the authenticated sender of the request. To use\n this operation, you must have the s3:ListAllMyBuckets
permission.
For information about Amazon S3 buckets, see Creating, configuring, and\n working with Amazon S3 buckets.
", "smithy.api#examples": [ { "title": "To list all buckets", "documentation": "The following example returns all the buckets owned by the sender of this request.", "output": { "Owner": { "DisplayName": "own-display-name", "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31" }, "Buckets": [ { "CreationDate": "2012-02-15T21:03:02.000Z", "Name": "examplebucket" }, { "CreationDate": "2011-07-24T19:33:50.000Z", "Name": "examplebucket2" }, { "CreationDate": "2010-12-17T00:56:49.000Z", "Name": "examplebucket3" } ] } } ], "smithy.api#http": { "method": "GET", "uri": "/?x-id=ListBuckets", "code": 200 } } }, "com.amazonaws.s3#ListBucketsOutput": { "type": "structure", "members": { "Buckets": { "target": "com.amazonaws.s3#Buckets", "traits": { "smithy.api#documentation": "The list of buckets owned by the requester.
" } }, "Owner": { "target": "com.amazonaws.s3#Owner", "traits": { "smithy.api#documentation": "The owner of the buckets listed.
" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "ListAllMyBucketsResult" } }, "com.amazonaws.s3#ListDirectoryBuckets": { "type": "operation", "input": { "target": "com.amazonaws.s3#ListDirectoryBucketsRequest" }, "output": { "target": "com.amazonaws.s3#ListDirectoryBucketsOutput" }, "traits": { "smithy.api#documentation": "Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request. For more information about directory buckets, see Directory buckets in the Amazon S3 User Guide.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
You must have the s3express:ListAllMyDirectoryBuckets
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The list of buckets owned by the requester.
" } }, "ContinuationToken": { "target": "com.amazonaws.s3#DirectoryBucketToken", "traits": { "smithy.api#documentation": "If ContinuationToken
was sent with the request, it is included in the\n response. You can use the returned ContinuationToken
for pagination of the list response.
\n ContinuationToken
indicates to Amazon S3 that the list is being continued on\n this bucket with a token. ContinuationToken
is obfuscated and is not a real\n key. You can use this ContinuationToken
for pagination of the list results.
Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.
", "smithy.api#httpQuery": "max-directory-buckets" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#ListMultipartUploads": { "type": "operation", "input": { "target": "com.amazonaws.s3#ListMultipartUploadsRequest" }, "output": { "target": "com.amazonaws.s3#ListMultipartUploadsOutput" }, "traits": { "smithy.api#documentation": "This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a\n multipart upload that has been initiated by the CreateMultipartUpload
request, but\n has not yet been completed or aborted.
\n Directory buckets - \n If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.\n
\nThe ListMultipartUploads
operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart\n uploads is also the default\n value. You can further limit the number of uploads in a response by specifying the\n max-uploads
request parameter. If there are more than 1,000 multipart uploads that \n satisfy your ListMultipartUploads
request, the response returns an IsTruncated
element\n with the value of true
, a NextKeyMarker
element, and a NextUploadIdMarker
element. \n To list the remaining multipart uploads, you need to make subsequent ListMultipartUploads
requests. \n In these requests, include two query parameters: key-marker
and upload-id-marker
. \n Set the value of key-marker
to the NextKeyMarker
value from the previous response. \n Similarly, set the value of upload-id-marker
to the NextUploadIdMarker
value from the previous response.
\n Directory buckets - The upload-id-marker
element and \n the NextUploadIdMarker
element aren't supported by directory buckets. \n To list the additional multipart uploads, you only need to set the value of key-marker
to the NextKeyMarker
value from the previous response.
For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3\n User Guide.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - For information about permissions required to use the multipart upload API, see Multipart Upload\n and Permissions in the Amazon S3\n User Guide.
\n\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose bucket - In the ListMultipartUploads
response, the multipart uploads are sorted based on two criteria:
Key-based sorting - Multipart uploads are initially sorted in ascending order based on their object keys.
\nTime-based sorting - For uploads that share the same object key, \n they are further sorted in ascending order based on the upload initiation time. Among uploads with the same key, the one that was initiated first will appear before the ones that were initiated later.
\n\n Directory bucket - In the ListMultipartUploads
response, the multipart uploads aren't sorted lexicographically based on the object keys. \n \n
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to ListMultipartUploads
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nThe name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
" } }, "KeyMarker": { "target": "com.amazonaws.s3#KeyMarker", "traits": { "smithy.api#documentation": "The key at or after which the listing began.
" } }, "UploadIdMarker": { "target": "com.amazonaws.s3#UploadIdMarker", "traits": { "smithy.api#documentation": "Together with key-marker, specifies the multipart upload after which listing should\n begin. If key-marker is not specified, the upload-id-marker parameter is ignored.\n Otherwise, any multipart uploads for a key equal to the key-marker might be included in the\n list only if they have an upload ID lexicographically greater than the specified\n upload-id-marker
.
This functionality is not supported for directory buckets.
\nWhen a list is truncated, this element specifies the value that should be used for the\n key-marker request parameter in a subsequent request.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "When a prefix is provided in the request, this field contains the specified prefix. The\n result contains only keys starting with the specified prefix.
\n\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
Contains the delimiter you specified in the request. If you don't specify a delimiter in\n your request, this element is absent from the response.
\n\n Directory buckets - For directory buckets, /
is the only supported delimiter.
When a list is truncated, this element specifies the value that should be used for the\n upload-id-marker
request parameter in a subsequent request.
This functionality is not supported for directory buckets.
\nMaximum number of multipart uploads that could have been included in the\n response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { "smithy.api#documentation": "Indicates whether the returned list of multipart uploads is truncated. A value of true\n indicates that the list was truncated. The list can be truncated if the number of multipart\n uploads exceeds the limit allowed or specified by max uploads.
" } }, "Uploads": { "target": "com.amazonaws.s3#MultipartUploadList", "traits": { "smithy.api#documentation": "Container for elements related to a particular multipart upload. A response can contain\n zero or more Upload
elements.
If you specify a delimiter in the request, then the result returns each distinct key\n prefix containing the delimiter in a CommonPrefixes
element. The distinct key\n prefixes are returned in the Prefix
child element.
\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
Encoding type used by Amazon S3 to encode object keys in the response.
\nIf you specify the encoding-type
request parameter, Amazon S3 includes this\n element in the response, and returns encoded key name values in the following response\n elements:
\n Delimiter
, KeyMarker
, Prefix
,\n NextKeyMarker
, Key
.
The name of the bucket to which the multipart upload was initiated.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Character you use to group keys.
\nAll keys that contain the same string between the prefix, if specified, and the first\n occurrence of the delimiter after the prefix are grouped under a single result element,\n CommonPrefixes
. If you don't specify the prefix parameter, then the\n substring starts at the beginning of the key. The keys that are grouped under\n CommonPrefixes
result element are not returned elsewhere in the\n response.
\n Directory buckets - For directory buckets, /
is the only supported delimiter.
Specifies the multipart upload after which listing should begin.
\n\n General purpose buckets - For general purpose buckets, key-marker
\n is an object key. Together with upload-id-marker
, this parameter specifies the multipart\n upload after which listing should begin.
If upload-id-marker
is not specified, only the keys lexicographically\n greater than the specified key-marker
will be included in the list.
If upload-id-marker
is specified, any multipart uploads for a key equal to\n the key-marker
might also be included, provided those multipart uploads have\n upload IDs lexicographically greater than the specified\n upload-id-marker
.
\n Directory buckets - For directory buckets, key-marker
\n is obfuscated and isn't a real object key. \n The upload-id-marker
parameter isn't supported by directory buckets. \n To list the additional multipart uploads, you only need to set the value of key-marker
to the NextKeyMarker
value from the previous response. \n
In the ListMultipartUploads
response, the multipart uploads aren't sorted lexicographically based on the object keys. \n \n
Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response\n body. 1,000 is the maximum number of uploads that can be returned in a response.
", "smithy.api#httpQuery": "max-uploads" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Lists in-progress uploads only for those keys that begin with the specified prefix. You\n can use prefixes to separate a bucket into different grouping of keys. (You can think of\n using prefix
to make groups in the same way that you'd use a folder in a file\n system.)
\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
Together with key-marker, specifies the multipart upload after which listing should\n begin. If key-marker is not specified, the upload-id-marker parameter is ignored.\n Otherwise, any multipart uploads for a key equal to the key-marker might be included in the\n list only if they have an upload ID lexicographically greater than the specified\n upload-id-marker
.
This functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nReturns metadata about all versions of the objects in a bucket. You can also use request\n parameters as selection criteria to return metadata about a subset of all the object\n versions.
\n To use this operation, you must have permission to perform the\n s3:ListBucketVersions
action. Be aware of the name difference.
A 200 OK
response can contain valid or invalid XML. Make sure to design\n your application to parse the contents of the response and handle it\n appropriately.
To use this operation, you must have READ access to the bucket.
\nThe following operations are related to ListObjectVersions
:
\n ListObjectsV2\n
\n\n GetObject\n
\n\n PutObject\n
\n\n DeleteObject\n
\nA flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria. If your results were truncated, you can make a follow-up paginated request by\n using the NextKeyMarker
and NextVersionIdMarker
response\n parameters as a starting place in another request to return the rest of the results.
Marks the last key returned in a truncated response.
" } }, "VersionIdMarker": { "target": "com.amazonaws.s3#VersionIdMarker", "traits": { "smithy.api#documentation": "Marks the last version of the key returned in a truncated response.
" } }, "NextKeyMarker": { "target": "com.amazonaws.s3#NextKeyMarker", "traits": { "smithy.api#documentation": "When the number of responses exceeds the value of MaxKeys
,\n NextKeyMarker
specifies the first key not returned that satisfies the\n search criteria. Use this value for the key-marker request parameter in a subsequent\n request.
When the number of responses exceeds the value of MaxKeys
,\n NextVersionIdMarker
specifies the first object version not returned that\n satisfies the search criteria. Use this value for the version-id-marker
\n request parameter in a subsequent request.
Container for version information.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Version" } }, "DeleteMarkers": { "target": "com.amazonaws.s3#DeleteMarkers", "traits": { "smithy.api#documentation": "Container for an object that is a delete marker.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "DeleteMarker" } }, "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Selects objects that start with the value supplied by this parameter.
" } }, "Delimiter": { "target": "com.amazonaws.s3#Delimiter", "traits": { "smithy.api#documentation": "The delimiter grouping the included keys. A delimiter is a character that you specify to\n group keys. All keys that contain the same string between the prefix and the first\n occurrence of the delimiter are grouped under a single result element in\n CommonPrefixes
. These groups are counted as one result against the\n max-keys
limitation. These keys are not returned elsewhere in the\n response.
Specifies the maximum number of objects to return.
" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { "smithy.api#documentation": "All of the keys rolled up into a common prefix count as a single return when calculating\n the number of returns.
", "smithy.api#xmlFlattened": {} } }, "EncodingType": { "target": "com.amazonaws.s3#EncodingType", "traits": { "smithy.api#documentation": "Encoding type used by Amazon S3 to encode object key names in the XML response.
\nIf you specify the encoding-type
request parameter, Amazon S3 includes this\n element in the response, and returns encoded key name values in the following response\n elements:
\n KeyMarker, NextKeyMarker, Prefix, Key
, and Delimiter
.
The bucket name that contains the objects.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Delimiter": { "target": "com.amazonaws.s3#Delimiter", "traits": { "smithy.api#documentation": "A delimiter is a character that you specify to group keys. All keys that contain the\n same string between the prefix
and the first occurrence of the delimiter are\n grouped under a single result element in CommonPrefixes
. These groups are\n counted as one result against the max-keys
limitation. These keys are not\n returned elsewhere in the response.
Specifies the key to start with when listing objects in a bucket.
", "smithy.api#httpQuery": "key-marker" } }, "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default, the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain more.\n If additional keys satisfy the search criteria, but were not returned because\n max-keys
was exceeded, the response contains\n
. To return the additional keys,\n see key-marker
and version-id-marker
.
Use this parameter to select only those keys that begin with the specified prefix. You\n can use prefixes to separate a bucket into different groupings of keys. (You can think of\n using prefix
to make groups in the same way that you'd use a folder in a file\n system.) You can use prefix
with delimiter
to roll up numerous\n objects into a single result under CommonPrefixes
.
Specifies the object version you want to start listing from.
", "smithy.api#httpQuery": "version-id-marker" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the optional fields that you want returned in the response. Fields that you do\n not specify are not returned.
", "smithy.api#httpHeader": "x-amz-optional-object-attributes" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#ListObjects": { "type": "operation", "input": { "target": "com.amazonaws.s3#ListObjectsRequest" }, "output": { "target": "com.amazonaws.s3#ListObjectsOutput" }, "errors": [ { "target": "com.amazonaws.s3#NoSuchBucket" } ], "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nReturns some or all (up to 1,000) of the objects in a bucket. You can use the request\n parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK\n response can contain valid or invalid XML. Be sure to design your application to parse the\n contents of the response and handle it appropriately.
\nThis action has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility,\n Amazon S3 continues to support ListObjects
.
The following operations are related to ListObjects
:
\n ListObjectsV2\n
\n\n GetObject\n
\n\n PutObject\n
\n\n CreateBucket\n
\n\n ListBuckets\n
\nA flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria.
" } }, "Marker": { "target": "com.amazonaws.s3#Marker", "traits": { "smithy.api#documentation": "Indicates where in the bucket listing begins. Marker is included in the response if it\n was sent with the request.
" } }, "NextMarker": { "target": "com.amazonaws.s3#NextMarker", "traits": { "smithy.api#documentation": "When the response is truncated (the IsTruncated
element value in the\n response is true
), you can use the key name in this field as the\n marker
parameter in the subsequent request to get the next set of objects.\n Amazon S3 lists objects in alphabetical order.
This element is returned only if you have the delimiter
request\n parameter specified. If the response does not include the NextMarker
\n element and it is truncated, you can use the value of the last Key
element\n in the response as the marker
parameter in the subsequent request to get\n the next set of object keys.
Metadata about each object returned.
", "smithy.api#xmlFlattened": {} } }, "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Keys that begin with the indicated prefix.
" } }, "Delimiter": { "target": "com.amazonaws.s3#Delimiter", "traits": { "smithy.api#documentation": "Causes keys that contain the same string between the prefix and the first occurrence of\n the delimiter to be rolled up into a single result element in the\n CommonPrefixes
collection. These rolled-up keys are not returned elsewhere\n in the response. Each rolled-up result counts as only one return against the\n MaxKeys
value.
The maximum number of keys returned in the response body.
" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { "smithy.api#documentation": "All of the keys (up to 1,000) rolled up in a common prefix count as a single return when\n calculating the number of returns.
\nA response can contain CommonPrefixes
only if you specify a\n delimiter.
\n CommonPrefixes
contains all (if there are any) keys between\n Prefix
and the next occurrence of the string specified by the\n delimiter.
\n CommonPrefixes
lists keys that act like subdirectories in the directory\n specified by Prefix
.
For example, if the prefix is notes/
and the delimiter is a slash\n (/
), as in notes/summer/july
, the common prefix is\n notes/summer/
. All of the keys that roll up into a common prefix count as a\n single return when calculating the number of returns.
Encoding type used by Amazon S3 to encode object keys in the response. If using\n url
, non-ASCII characters used in an object's key name will be URL encoded.\n For example, the object test_file(3).png
will appear as\n test_file%283%29.png
.
The name of the bucket containing the objects.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
A delimiter is a character that you use to group keys.
", "smithy.api#httpQuery": "delimiter" } }, "EncodingType": { "target": "com.amazonaws.s3#EncodingType", "traits": { "smithy.api#httpQuery": "encoding-type" } }, "Marker": { "target": "com.amazonaws.s3#Marker", "traits": { "smithy.api#documentation": "Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this\n specified key. Marker can be any key in the bucket.
", "smithy.api#httpQuery": "marker" } }, "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default, the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain more.\n
", "smithy.api#httpQuery": "max-keys" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Limits the response to keys that begin with the specified prefix.
", "smithy.api#httpQuery": "prefix", "smithy.rules#contextParam": { "name": "Prefix" } } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#documentation": "Confirms that the requester knows that she or he will be charged for the list objects\n request. Bucket owners need not specify this parameter in their requests.
", "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the optional fields that you want returned in the response. Fields that you do\n not specify are not returned.
", "smithy.api#httpHeader": "x-amz-optional-object-attributes" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#ListObjectsV2": { "type": "operation", "input": { "target": "com.amazonaws.s3#ListObjectsV2Request" }, "output": { "target": "com.amazonaws.s3#ListObjectsV2Output" }, "errors": [ { "target": "com.amazonaws.s3#NoSuchBucket" } ], "traits": { "smithy.api#documentation": "Returns some or all (up to 1,000) of the objects in a bucket with each request. You can\n use the request parameters as selection criteria to return a subset of the objects in a\n bucket. A 200 OK
response can contain valid or invalid XML. Make sure to\n design your application to parse the contents of the response and handle it appropriately.\n \n For more information about listing objects, see Listing object keys\n programmatically in the Amazon S3 User Guide. To get a list of your buckets, see ListBuckets.
\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - To use this operation, you must have READ access to the bucket. You must have permission to perform\n the s3:ListBucket
action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose bucket - For general purpose buckets, ListObjectsV2
returns objects in lexicographical order based on their key names.
\n Directory bucket - For directory buckets, ListObjectsV2
does not return objects in lexicographical order.
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
This section describes the latest revision of this action. We recommend that you use\n this revised API operation for application development. For backward compatibility, Amazon S3\n continues to support the prior version of this API operation, ListObjects.
\nThe following operations are related to ListObjectsV2
:
\n GetObject\n
\n\n PutObject\n
\n\n CreateBucket\n
\nSet to false
if all of the results were returned. Set to true
\n if more keys are available to return. If the number of results exceeds that specified by\n MaxKeys
, all of the results might not be returned.
Metadata about each object returned.
", "smithy.api#xmlFlattened": {} } }, "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Keys that begin with the indicated prefix.
\n\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
Causes keys that contain the same string between the prefix
and the first\n occurrence of the delimiter to be rolled up into a single result element in the\n CommonPrefixes
collection. These rolled-up keys are not returned elsewhere\n in the response. Each rolled-up result counts as only one return against the\n MaxKeys
value.
\n Directory buckets - For directory buckets, /
is the only supported delimiter.
Sets the maximum number of keys returned in the response. By default, the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain\n more.
" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { "smithy.api#documentation": "All of the keys (up to 1,000) that share the same prefix are grouped together. When counting the total numbers of returns by this API operation, \n this group of keys is considered as one item.
\nA response can contain CommonPrefixes
only if you specify a\n delimiter.
\n CommonPrefixes
contains all (if there are any) keys between\n Prefix
and the next occurrence of the string specified by a\n delimiter.
\n CommonPrefixes
lists keys that act like subdirectories in the directory\n specified by Prefix
.
For example, if the prefix is notes/
and the delimiter is a slash\n (/
) as in notes/summer/july
, the common prefix is\n notes/summer/
. All of the keys that roll up into a common prefix count as a\n single return when calculating the number of returns.
\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
\n Directory buckets - When you query ListObjectsV2
with a delimiter during in-progress multipart uploads, the \n CommonPrefixes
response parameter contains the prefixes that are associated with the in-progress multipart uploads. \n For more information about multipart uploads, see Multipart Upload Overview in the Amazon S3 User Guide.
Encoding type used by Amazon S3 to encode object key names in the XML response.
\nIf you specify the encoding-type
request parameter, Amazon S3 includes this\n element in the response, and returns encoded key name values in the following response\n elements:
\n Delimiter, Prefix, Key,
and StartAfter
.
\n KeyCount
is the number of keys returned with this request.\n KeyCount
will always be less than or equal to the MaxKeys
\n field. For example, if you ask for 50 keys, your result will include 50 keys or\n fewer.
If ContinuationToken
was sent with the request, it is included in the\n response. You can use the returned ContinuationToken
for pagination of the list response. You can use this ContinuationToken
for pagination of the list results.
\n NextContinuationToken
is sent when isTruncated
is true, which\n means there are more keys in the bucket that can be listed. The next list requests to Amazon S3\n can be continued with this NextContinuationToken
.\n NextContinuationToken
is obfuscated and is not a real key
If StartAfter was sent with the request, it is included in the response.
\nThis functionality is not supported for directory buckets.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
A delimiter is a character that you use to group keys.
\n\n Directory buckets - For directory buckets, /
is the only supported delimiter.
\n Directory buckets - When you query ListObjectsV2
with a delimiter during in-progress multipart uploads, the \n CommonPrefixes
response parameter contains the prefixes that are associated with the in-progress multipart uploads. \n For more information about multipart uploads, see Multipart Upload Overview in the Amazon S3 User Guide.
Encoding type used by Amazon S3 to encode object keys in the response. If using\n url
, non-ASCII characters used in an object's key name will be URL encoded.\n For example, the object test_file(3).png
will appear as\n test_file%283%29.png
.
Sets the maximum number of keys returned in the response. By default, the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain\n more.
", "smithy.api#httpQuery": "max-keys" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "Limits the response to keys that begin with the specified prefix.
\n\n Directory buckets - For directory buckets, only prefixes that end in a delimiter (/
) are supported.
\n ContinuationToken
indicates to Amazon S3 that the list is being continued on\n this bucket with a token. ContinuationToken
is obfuscated and is not a real\n key. You can use this ContinuationToken
for pagination of the list results.
The owner field is not present in ListObjectsV2
by default. If you want to\n return the owner field with each key in the result, then set the FetchOwner
\n field to true
.
\n Directory buckets - For directory buckets, the bucket owner is returned as the object owner for all objects.
\nStartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this\n specified key. StartAfter can be any key in the bucket.
\nThis functionality is not supported for directory buckets.
\nConfirms that the requester knows that she or he will be charged for the list objects\n request in V2 style. Bucket owners need not specify this parameter in their\n requests.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies the optional fields that you want returned in the response. Fields that you do\n not specify are not returned.
\nThis functionality is not supported for directory buckets.
\nLists the parts that have been uploaded for a specific multipart upload.
\nTo use this operation, you must provide the upload ID
in the request. You obtain this uploadID by sending the initiate multipart upload\n request through CreateMultipartUpload.
The ListParts
request returns a maximum of 1,000 uploaded parts. The limit of 1,000 parts is also the default value. You can restrict the number of parts in a response by specifying the\n max-parts
request parameter. If your multipart upload consists of more than\n 1,000 parts, the response returns an IsTruncated
field with the value of true
,\n and a NextPartNumberMarker
element. To list remaining uploaded parts, in subsequent ListParts
\n requests, include the part-number-marker
query string parameter and set its value to\n the NextPartNumberMarker
field value from the previous response.
For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3\n User Guide.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - For information about permissions required to use the multipart upload API, see Multipart Upload\n and Permissions in the Amazon S3\n User Guide.
\nIf the upload was created using server-side encryption with Key Management Service (KMS) keys\n (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), you must have permission\n to the kms:Decrypt
action for the ListParts
request to succeed.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to ListParts
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n GetObjectAttributes\n
\n\n ListMultipartUploads\n
\nIf the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, then the response includes this header indicating when the initiated multipart\n upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle\n Configuration.
\nThe response will also include the x-amz-abort-rule-id
header that will\n provide the ID of the lifecycle configuration rule that defines this action.
This functionality is not supported for directory buckets.
\nThis header is returned along with the x-amz-abort-date
header. It\n identifies applicable lifecycle configuration rule that defines the action to abort\n incomplete multipart uploads.
This functionality is not supported for directory buckets.
\nThe name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Object key for which the multipart upload was initiated.
" } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID identifying the multipart upload whose parts are being listed.
" } }, "PartNumberMarker": { "target": "com.amazonaws.s3#PartNumberMarker", "traits": { "smithy.api#documentation": "Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.
" } }, "NextPartNumberMarker": { "target": "com.amazonaws.s3#NextPartNumberMarker", "traits": { "smithy.api#documentation": "When a list is truncated, this element specifies the last part in the list, as well as\n the value to use for the part-number-marker
request parameter in a subsequent\n request.
Maximum number of parts that were allowed in the response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { "smithy.api#documentation": "Indicates whether the returned list of parts is truncated. A true value indicates that\n the list was truncated. A list can be truncated if the number of parts exceeds the limit\n returned in the MaxParts element.
" } }, "Parts": { "target": "com.amazonaws.s3#Parts", "traits": { "smithy.api#documentation": "Container for elements related to a particular part. A response can contain zero or\n more Part
elements.
Container element that identifies who initiated the multipart upload. If the initiator\n is an Amazon Web Services account, this element provides the same information as the Owner
\n element. If the initiator is an IAM User, this element provides the user ARN and display\n name.
Container element that identifies the object owner, after the object is created. If\n multipart upload is initiated by an IAM user, this element provides the parent account ID\n and display name.
\n\n Directory buckets - The bucket owner is returned as the object owner for all the parts.
\nThe class of storage used to store the uploaded\n object.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nThe algorithm that was used to create a checksum of the object.
" } } }, "traits": { "smithy.api#output": {}, "smithy.api#xmlName": "ListPartsResult" } }, "com.amazonaws.s3#ListPartsRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket to which the parts are being uploaded.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Object key for which the multipart upload was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { "smithy.api#documentation": "Sets the maximum number of parts to return.
", "smithy.api#httpQuery": "max-parts" } }, "PartNumberMarker": { "target": "com.amazonaws.s3#PartNumberMarker", "traits": { "smithy.api#documentation": "Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.
", "smithy.api#httpQuery": "part-number-marker" } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID identifying the multipart upload whose parts are being listed.
", "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created \n using a checksum algorithm. For more information,\n see Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. \n For more information, see\n Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum \n algorithm. For more information,\n see Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe type of location where the bucket will be created.
" } }, "Name": { "target": "com.amazonaws.s3#LocationNameAsString", "traits": { "smithy.api#documentation": "The name of the location where the bucket will be created.
\nFor directory buckets, the name of the location is the AZ ID of the Availability Zone where the bucket will be created. An example AZ ID value is usw2-az1
.
Specifies the location where the bucket will be created.
\nFor directory buckets, the location type is Availability Zone. For more information about directory buckets, see \n Directory buckets in the Amazon S3 User Guide.
\nThis functionality is only supported by directory buckets.
\nSpecifies the bucket where you want Amazon S3 to store server access logs. You can have your\n logs delivered to any bucket that you own, including the same bucket that is being logged.\n You can also configure multiple buckets to deliver their logs to the same target bucket. In\n this case, you should choose a different TargetPrefix
for each source bucket\n so that the delivered log files can be distinguished by key.
Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object Ownership don't support\n target grants. For more information, see Permissions for server access log delivery in the\n Amazon S3 User Guide.
" } }, "TargetPrefix": { "target": "com.amazonaws.s3#TargetPrefix", "traits": { "smithy.api#documentation": "A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a\n single bucket, you can use a prefix to distinguish which log files came from which\n bucket.
", "smithy.api#required": {} } }, "TargetObjectKeyFormat": { "target": "com.amazonaws.s3#TargetObjectKeyFormat", "traits": { "smithy.api#documentation": "Amazon S3 key format for log objects.
" } } }, "traits": { "smithy.api#documentation": "Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys\n for a bucket. For more information, see PUT Bucket logging in the\n Amazon S3 API Reference.
" } }, "com.amazonaws.s3#MFA": { "type": "string" }, "com.amazonaws.s3#MFADelete": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#MFADeleteStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#Marker": { "type": "string" }, "com.amazonaws.s3#MaxAgeSeconds": { "type": "integer" }, "com.amazonaws.s3#MaxDirectoryBuckets": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, "max": 1000 } } }, "com.amazonaws.s3#MaxKeys": { "type": "integer" }, "com.amazonaws.s3#MaxParts": { "type": "integer" }, "com.amazonaws.s3#MaxUploads": { "type": "integer" }, "com.amazonaws.s3#Message": { "type": "string" }, "com.amazonaws.s3#Metadata": { "type": "map", "key": { "target": "com.amazonaws.s3#MetadataKey" }, "value": { "target": "com.amazonaws.s3#MetadataValue" } }, "com.amazonaws.s3#MetadataDirective": { "type": "enum", "members": { "COPY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COPY" } }, "REPLACE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REPLACE" } } } }, "com.amazonaws.s3#MetadataEntry": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.s3#MetadataKey", "traits": { "smithy.api#documentation": "Name of the object.
" } }, "Value": { "target": "com.amazonaws.s3#MetadataValue", "traits": { "smithy.api#documentation": "Value of the object.
" } } }, "traits": { "smithy.api#documentation": "A metadata key-value pair to store with an object.
" } }, "com.amazonaws.s3#MetadataKey": { "type": "string" }, "com.amazonaws.s3#MetadataValue": { "type": "string" }, "com.amazonaws.s3#Metrics": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#MetricsStatus", "traits": { "smithy.api#documentation": "Specifies whether the replication metrics are enabled.
", "smithy.api#required": {} } }, "EventThreshold": { "target": "com.amazonaws.s3#ReplicationTimeValue", "traits": { "smithy.api#documentation": " A container specifying the time threshold for emitting the\n s3:Replication:OperationMissedThreshold
event.
A container specifying replication metrics-related settings enabling replication\n metrics and events.
" } }, "com.amazonaws.s3#MetricsAndOperator": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix used when evaluating an AND predicate.
" } }, "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "The list of tags used when evaluating an AND predicate.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } }, "AccessPointArn": { "target": "com.amazonaws.s3#AccessPointArn", "traits": { "smithy.api#documentation": "The access point ARN used when evaluating an AND
predicate.
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.
" } }, "com.amazonaws.s3#MetricsConfiguration": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.s3#MetricsId", "traits": { "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.s3#MetricsFilter", "traits": { "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration will only include\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an\n access point ARN, or a conjunction (MetricsAndOperator).
" } } }, "traits": { "smithy.api#documentation": "Specifies a metrics configuration for the CloudWatch request metrics (specified by the\n metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics\n configuration, note that this is a full replacement of the existing metrics configuration.\n If you don't include the elements you want to keep, they are erased. For more information,\n see PutBucketMetricsConfiguration.
" } }, "com.amazonaws.s3#MetricsConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#MetricsConfiguration" } }, "com.amazonaws.s3#MetricsFilter": { "type": "union", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "The prefix used when evaluating a metrics filter.
" } }, "Tag": { "target": "com.amazonaws.s3#Tag", "traits": { "smithy.api#documentation": "The tag used when evaluating a metrics filter.
" } }, "AccessPointArn": { "target": "com.amazonaws.s3#AccessPointArn", "traits": { "smithy.api#documentation": "The access point ARN used when evaluating a metrics filter.
" } }, "And": { "target": "com.amazonaws.s3#MetricsAndOperator", "traits": { "smithy.api#documentation": "A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.
" } } }, "traits": { "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration only includes\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an\n access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
" } }, "com.amazonaws.s3#MetricsId": { "type": "string" }, "com.amazonaws.s3#MetricsStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#Minutes": { "type": "integer" }, "com.amazonaws.s3#MissingMeta": { "type": "integer" }, "com.amazonaws.s3#MultipartUpload": { "type": "structure", "members": { "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID that identifies the multipart upload.
" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Key of the object for which the multipart upload was initiated.
" } }, "Initiated": { "target": "com.amazonaws.s3#Initiated", "traits": { "smithy.api#documentation": "Date and time at which the multipart upload was initiated.
" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { "smithy.api#documentation": "The class of storage used to store the object.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nSpecifies the owner of the object that is part of the multipart upload.
\n\n Directory buckets - The bucket owner is returned as the object owner for all the objects.
\nIdentifies who initiated the multipart upload.
" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "The algorithm that was used to create a checksum of the object.
" } } }, "traits": { "smithy.api#documentation": "Container for the MultipartUpload
for the Amazon S3 object.
The specified bucket does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.s3#NoSuchKey": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "The specified key does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.s3#NoSuchUpload": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "The specified multipart upload does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.s3#NoncurrentVersionExpiration": { "type": "structure", "members": { "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. The value must be a non-zero positive integer. For information about the\n noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the\n Amazon S3 User Guide.
" } }, "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. You can specify up to 100\n noncurrent versions to retain. Amazon S3 will permanently delete any additional noncurrent\n versions beyond the specified number to retain. For more information about noncurrent\n versions, see Lifecycle configuration\n elements in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently\n deletes the noncurrent object versions. You set this lifecycle configuration action on a\n bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent\n object versions at a specific period in the object's lifetime.
" } }, "com.amazonaws.s3#NoncurrentVersionTransition": { "type": "structure", "members": { "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates How Long an Object Has Been Noncurrent in the\n Amazon S3 User Guide.
" } }, "StorageClass": { "target": "com.amazonaws.s3#TransitionStorageClass", "traits": { "smithy.api#documentation": "The class of storage used to store the object.
" } }, "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before\n transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will\n transition any additional noncurrent versions beyond the specified number to retain. For\n more information about noncurrent versions, see Lifecycle configuration\n elements in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Container for the transition rule that describes when noncurrent objects transition to\n the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,\n GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage\n class. If your bucket is versioning-enabled (or versioning is suspended), you can set this\n action to request that Amazon S3 transition noncurrent object versions to the\n STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,\n GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage\n class at a specific period in the object's lifetime.
The specified content does not exist.
", "smithy.api#error": "client" } }, "com.amazonaws.s3#NotificationConfiguration": { "type": "structure", "members": { "TopicConfigurations": { "target": "com.amazonaws.s3#TopicConfigurationList", "traits": { "smithy.api#documentation": "The topic to which notifications are sent and the events for which notifications are\n generated.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "TopicConfiguration" } }, "QueueConfigurations": { "target": "com.amazonaws.s3#QueueConfigurationList", "traits": { "smithy.api#documentation": "The Amazon Simple Queue Service queues to publish messages to and the events for which\n to publish messages.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "QueueConfiguration" } }, "LambdaFunctionConfigurations": { "target": "com.amazonaws.s3#LambdaFunctionConfigurationList", "traits": { "smithy.api#documentation": "Describes the Lambda functions to invoke and the events for which to invoke\n them.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CloudFunctionConfiguration" } }, "EventBridgeConfiguration": { "target": "com.amazonaws.s3#EventBridgeConfiguration", "traits": { "smithy.api#documentation": "Enables delivery of events to Amazon EventBridge.
" } } }, "traits": { "smithy.api#documentation": "A container for specifying the notification configuration of the bucket. If this element\n is empty, notifications are turned off for the bucket.
" } }, "com.amazonaws.s3#NotificationConfigurationFilter": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.s3#S3KeyFilter", "traits": { "smithy.api#xmlName": "S3Key" } } }, "traits": { "smithy.api#documentation": "Specifies object key name filtering rules. For information about key name filtering, see\n Configuring event\n notifications using object key name filtering in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#NotificationId": { "type": "string", "traits": { "smithy.api#documentation": "An optional unique identifier for configurations in a notification configuration. If you\n don't provide one, Amazon S3 will assign an ID.
" } }, "com.amazonaws.s3#Object": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The name that you assign to an object. You use the object key to retrieve the\n object.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Creation date of the object.
" } }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "The entity tag is a hash of the object. The ETag reflects changes only to the contents\n of an object, not its metadata. The ETag may or may not be an MD5 digest of the object\n data. Whether or not it is depends on how the object was created and how it is encrypted as\n described below:
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that\n are an MD5 digest of their object data.
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are\n not an MD5 digest of their object data.
\nIf an object is created by either the Multipart Upload or Part Copy operation, the\n ETag is not an MD5 digest, regardless of the method of encryption. If an object is\n larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a\n Multipart Upload, and therefore the ETag will not be an MD5 digest.
\n\n Directory buckets - MD5 is not supported by directory buckets.
\nThe algorithm that was used to create a checksum of the object.
", "smithy.api#xmlFlattened": {} } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { "smithy.api#documentation": "Size in bytes of the object
" } }, "StorageClass": { "target": "com.amazonaws.s3#ObjectStorageClass", "traits": { "smithy.api#documentation": "The class of storage used to store the object.
\n\n Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nThe owner of the object
\n\n Directory buckets - The bucket owner is returned as the object owner.
\nSpecifies the restoration status of an object. Objects in certain storage classes must\n be restored before they can be retrieved. For more information about these storage classes\n and how to work with archived objects, see Working with archived\n objects in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets. Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nAn object consists of data and its descriptive metadata.
" } }, "com.amazonaws.s3#ObjectAlreadyInActiveTierError": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "This action is not allowed against this storage tier.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.s3#ObjectAttributes": { "type": "enum", "members": { "ETAG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ETag" } }, "CHECKSUM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Checksum" } }, "OBJECT_PARTS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectParts" } }, "STORAGE_CLASS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "StorageClass" } }, "OBJECT_SIZE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectSize" } } } }, "com.amazonaws.s3#ObjectAttributesList": { "type": "list", "member": { "target": "com.amazonaws.s3#ObjectAttributes" } }, "com.amazonaws.s3#ObjectCannedACL": { "type": "enum", "members": { "private": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "private" } }, "public_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "public-read" } }, "public_read_write": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "public-read-write" } }, "authenticated_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "authenticated-read" } }, "aws_exec_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "aws-exec-read" } }, "bucket_owner_read": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "bucket-owner-read" } }, "bucket_owner_full_control": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "bucket-owner-full-control" } } } }, "com.amazonaws.s3#ObjectIdentifier": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Key name of the object.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nVersion ID for the specific version of the object to delete.
\nThis functionality is not supported for directory buckets.
\nObject Identifier is unique value to identify objects.
" } }, "com.amazonaws.s3#ObjectIdentifierList": { "type": "list", "member": { "target": "com.amazonaws.s3#ObjectIdentifier" } }, "com.amazonaws.s3#ObjectKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.s3#ObjectList": { "type": "list", "member": { "target": "com.amazonaws.s3#Object" } }, "com.amazonaws.s3#ObjectLockConfiguration": { "type": "structure", "members": { "ObjectLockEnabled": { "target": "com.amazonaws.s3#ObjectLockEnabled", "traits": { "smithy.api#documentation": "Indicates whether this bucket has an Object Lock configuration enabled. Enable\n ObjectLockEnabled
when you apply ObjectLockConfiguration
to a\n bucket.
Specifies the Object Lock rule for the specified object. Enable the this rule when you\n apply ObjectLockConfiguration
to a bucket. Bucket settings require both a mode\n and a period. The period can be either Days
or Years
but you must\n select one. You cannot specify Days
and Years
at the same\n time.
The container element for Object Lock configuration parameters.
" } }, "com.amazonaws.s3#ObjectLockEnabled": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } } } }, "com.amazonaws.s3#ObjectLockEnabledForBucket": { "type": "boolean" }, "com.amazonaws.s3#ObjectLockLegalHold": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { "smithy.api#documentation": "Indicates whether the specified object has a legal hold in place.
" } } }, "traits": { "smithy.api#documentation": "A legal hold configuration for an object.
" } }, "com.amazonaws.s3#ObjectLockLegalHoldStatus": { "type": "enum", "members": { "ON": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ON" } }, "OFF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OFF" } } } }, "com.amazonaws.s3#ObjectLockMode": { "type": "enum", "members": { "GOVERNANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GOVERNANCE" } }, "COMPLIANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPLIANCE" } } } }, "com.amazonaws.s3#ObjectLockRetainUntilDate": { "type": "timestamp", "traits": { "smithy.api#timestampFormat": "date-time" } }, "com.amazonaws.s3#ObjectLockRetention": { "type": "structure", "members": { "Mode": { "target": "com.amazonaws.s3#ObjectLockRetentionMode", "traits": { "smithy.api#documentation": "Indicates the Retention mode for the specified object.
" } }, "RetainUntilDate": { "target": "com.amazonaws.s3#Date", "traits": { "smithy.api#documentation": "The date on which this Object Lock Retention will expire.
" } } }, "traits": { "smithy.api#documentation": "A Retention configuration for an object.
" } }, "com.amazonaws.s3#ObjectLockRetentionMode": { "type": "enum", "members": { "GOVERNANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GOVERNANCE" } }, "COMPLIANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPLIANCE" } } } }, "com.amazonaws.s3#ObjectLockRule": { "type": "structure", "members": { "DefaultRetention": { "target": "com.amazonaws.s3#DefaultRetention", "traits": { "smithy.api#documentation": "The default Object Lock retention mode and period that you want to apply to new objects\n placed in the specified bucket. Bucket settings require both a mode and a period. The\n period can be either Days
or Years
but you must select one. You\n cannot specify Days
and Years
at the same time.
The container element for an Object Lock rule.
" } }, "com.amazonaws.s3#ObjectLockToken": { "type": "string" }, "com.amazonaws.s3#ObjectNotInActiveTierError": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "The source object of the COPY action is not in the active tier and is only stored in\n Amazon S3 Glacier.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.s3#ObjectOwnership": { "type": "enum", "members": { "BucketOwnerPreferred": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BucketOwnerPreferred" } }, "ObjectWriter": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ObjectWriter" } }, "BucketOwnerEnforced": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BucketOwnerEnforced" } } }, "traits": { "smithy.api#documentation": "The container element for object ownership for a bucket's ownership controls.
\n\n BucketOwnerPreferred
- Objects uploaded to the bucket change ownership to the bucket\n owner if the objects are uploaded with the bucket-owner-full-control
canned\n ACL.
\n ObjectWriter
- The uploading account will own the object if the object is uploaded with\n the bucket-owner-full-control
canned ACL.
\n BucketOwnerEnforced
- Access control lists (ACLs) are disabled and no longer affect\n permissions. The bucket owner automatically owns and has full control over every object in\n the bucket. The bucket only accepts PUT requests that don't specify an ACL or specify bucket owner\n full control ACLs (such as the predefined bucket-owner-full-control
canned ACL or a custom ACL \n in XML format that grants the same permissions).
By default, ObjectOwnership
is set to BucketOwnerEnforced
and ACLs are disabled. We recommend\n keeping ACLs disabled, except in uncommon use cases where you must control access for each object individually. For more information about S3 Object Ownership, see\n Controlling ownership of objects and disabling ACLs for your bucket in the Amazon S3 User Guide.\n
This functionality is not supported for directory buckets. Directory buckets use the bucket owner enforced setting for S3 Object Ownership.
\nThe part number identifying the part. This value is a positive integer between 1 and\n 10,000.
" } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { "smithy.api#documentation": "The size of the uploaded part in bytes.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "A container for elements related to an individual part.
" } }, "com.amazonaws.s3#ObjectSize": { "type": "long" }, "com.amazonaws.s3#ObjectSizeGreaterThanBytes": { "type": "long" }, "com.amazonaws.s3#ObjectSizeLessThanBytes": { "type": "long" }, "com.amazonaws.s3#ObjectStorageClass": { "type": "enum", "members": { "STANDARD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD" } }, "REDUCED_REDUNDANCY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REDUCED_REDUNDANCY" } }, "GLACIER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER" } }, "STANDARD_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD_IA" } }, "ONEZONE_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ONEZONE_IA" } }, "INTELLIGENT_TIERING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INTELLIGENT_TIERING" } }, "DEEP_ARCHIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEEP_ARCHIVE" } }, "OUTPOSTS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OUTPOSTS" } }, "GLACIER_IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER_IR" } }, "SNOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SNOW" } }, "EXPRESS_ONEZONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPRESS_ONEZONE" } } } }, "com.amazonaws.s3#ObjectVersion": { "type": "structure", "members": { "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "The entity tag is an MD5 hash of that version of the object.
" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithmList", "traits": { "smithy.api#documentation": "The algorithm that was used to create a checksum of the object.
", "smithy.api#xmlFlattened": {} } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { "smithy.api#documentation": "Size in bytes of the object.
" } }, "StorageClass": { "target": "com.amazonaws.s3#ObjectVersionStorageClass", "traits": { "smithy.api#documentation": "The class of storage used to store the object.
" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key.
" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "Version ID of an object.
" } }, "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { "smithy.api#documentation": "Specifies whether the object is (true) or is not (false) the latest version of an\n object.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Date and time when the object was last modified.
" } }, "Owner": { "target": "com.amazonaws.s3#Owner", "traits": { "smithy.api#documentation": "Specifies the owner of the object.
" } }, "RestoreStatus": { "target": "com.amazonaws.s3#RestoreStatus", "traits": { "smithy.api#documentation": "Specifies the restoration status of an object. Objects in certain storage classes must\n be restored before they can be retrieved. For more information about these storage classes\n and how to work with archived objects, see Working with archived\n objects in the Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "The version of an object.
" } }, "com.amazonaws.s3#ObjectVersionId": { "type": "string" }, "com.amazonaws.s3#ObjectVersionList": { "type": "list", "member": { "target": "com.amazonaws.s3#ObjectVersion" } }, "com.amazonaws.s3#ObjectVersionStorageClass": { "type": "enum", "members": { "STANDARD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD" } } } }, "com.amazonaws.s3#OptionalObjectAttributes": { "type": "enum", "members": { "RESTORE_STATUS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RestoreStatus" } } } }, "com.amazonaws.s3#OptionalObjectAttributesList": { "type": "list", "member": { "target": "com.amazonaws.s3#OptionalObjectAttributes" } }, "com.amazonaws.s3#OutputLocation": { "type": "structure", "members": { "S3": { "target": "com.amazonaws.s3#S3Location", "traits": { "smithy.api#documentation": "Describes an S3 location that will receive the results of the restore request.
" } } }, "traits": { "smithy.api#documentation": "Describes the location where the restore job's output is stored.
" } }, "com.amazonaws.s3#OutputSerialization": { "type": "structure", "members": { "CSV": { "target": "com.amazonaws.s3#CSVOutput", "traits": { "smithy.api#documentation": "Describes the serialization of CSV-encoded Select results.
" } }, "JSON": { "target": "com.amazonaws.s3#JSONOutput", "traits": { "smithy.api#documentation": "Specifies JSON as request's output serialization format.
" } } }, "traits": { "smithy.api#documentation": "Describes how results of the Select job are serialized.
" } }, "com.amazonaws.s3#Owner": { "type": "structure", "members": { "DisplayName": { "target": "com.amazonaws.s3#DisplayName", "traits": { "smithy.api#documentation": "Container for the display name of the owner. This value is only supported in the\n following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nThis functionality is not supported for directory buckets.
\nContainer for the ID of the owner.
" } } }, "traits": { "smithy.api#documentation": "Container for the owner's display name and ID.
" } }, "com.amazonaws.s3#OwnerOverride": { "type": "enum", "members": { "Destination": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Destination" } } } }, "com.amazonaws.s3#OwnershipControls": { "type": "structure", "members": { "Rules": { "target": "com.amazonaws.s3#OwnershipControlsRules", "traits": { "smithy.api#documentation": "The container element for an ownership control rule.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" } } }, "traits": { "smithy.api#documentation": "The container element for a bucket's ownership controls.
" } }, "com.amazonaws.s3#OwnershipControlsRule": { "type": "structure", "members": { "ObjectOwnership": { "target": "com.amazonaws.s3#ObjectOwnership", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The container element for an ownership control rule.
" } }, "com.amazonaws.s3#OwnershipControlsRules": { "type": "list", "member": { "target": "com.amazonaws.s3#OwnershipControlsRule" } }, "com.amazonaws.s3#ParquetInput": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Container for Parquet.
" } }, "com.amazonaws.s3#Part": { "type": "structure", "members": { "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { "smithy.api#documentation": "Part number identifying the part. This is a positive integer between 1 and\n 10,000.
" } }, "LastModified": { "target": "com.amazonaws.s3#LastModified", "traits": { "smithy.api#documentation": "Date and time at which the part was uploaded.
" } }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "Entity tag returned when the part was uploaded.
" } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { "smithy.api#documentation": "Size in bytes of the uploaded part data.
" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Container for elements related to a part.
" } }, "com.amazonaws.s3#PartNumber": { "type": "integer" }, "com.amazonaws.s3#PartNumberMarker": { "type": "string" }, "com.amazonaws.s3#PartitionDateSource": { "type": "enum", "members": { "EventTime": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EventTime" } }, "DeliveryTime": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DeliveryTime" } } } }, "com.amazonaws.s3#PartitionedPrefix": { "type": "structure", "members": { "PartitionDateSource": { "target": "com.amazonaws.s3#PartitionDateSource", "traits": { "smithy.api#documentation": "Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.
" } } }, "traits": { "smithy.api#documentation": "Amazon S3 keys for log objects are partitioned in the following format:
\n\n [DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]
\n
PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.
", "smithy.api#xmlName": "PartitionedPrefix" } }, "com.amazonaws.s3#Parts": { "type": "list", "member": { "target": "com.amazonaws.s3#Part" } }, "com.amazonaws.s3#PartsCount": { "type": "integer" }, "com.amazonaws.s3#PartsList": { "type": "list", "member": { "target": "com.amazonaws.s3#ObjectPart" } }, "com.amazonaws.s3#Payer": { "type": "enum", "members": { "Requester": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Requester" } }, "BucketOwner": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BucketOwner" } } } }, "com.amazonaws.s3#Permission": { "type": "enum", "members": { "FULL_CONTROL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FULL_CONTROL" } }, "WRITE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WRITE" } }, "WRITE_ACP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WRITE_ACP" } }, "READ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "READ" } }, "READ_ACP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "READ_ACP" } } } }, "com.amazonaws.s3#Policy": { "type": "string" }, "com.amazonaws.s3#PolicyStatus": { "type": "structure", "members": { "IsPublic": { "target": "com.amazonaws.s3#IsPublic", "traits": { "smithy.api#documentation": "The policy status for this bucket. TRUE
indicates that this bucket is\n public. FALSE
indicates that the bucket is not public.
The container element for a bucket's policy status.
" } }, "com.amazonaws.s3#Prefix": { "type": "string" }, "com.amazonaws.s3#Priority": { "type": "integer" }, "com.amazonaws.s3#Progress": { "type": "structure", "members": { "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { "smithy.api#documentation": "The current number of object bytes scanned.
" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { "smithy.api#documentation": "The current number of uncompressed object bytes processed.
" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { "smithy.api#documentation": "The current number of bytes of records payload data returned.
" } } }, "traits": { "smithy.api#documentation": "This data type contains information about progress of an operation.
" } }, "com.amazonaws.s3#ProgressEvent": { "type": "structure", "members": { "Details": { "target": "com.amazonaws.s3#Progress", "traits": { "smithy.api#documentation": "The Progress event details.
", "smithy.api#eventPayload": {} } } }, "traits": { "smithy.api#documentation": "This data type contains information about the progress event of an operation.
" } }, "com.amazonaws.s3#Protocol": { "type": "enum", "members": { "http": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "http" } }, "https": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "https" } } } }, "com.amazonaws.s3#PublicAccessBlockConfiguration": { "type": "structure", "members": { "BlockPublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket\n and objects in this bucket. Setting this element to TRUE
causes the following\n behavior:
PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is\n public.
\nPUT Object calls fail if the request includes a public ACL.
\nPUT Bucket calls fail if the request includes a public ACL.
\nEnabling this setting doesn't affect existing policies or ACLs.
", "smithy.api#xmlName": "BlockPublicAcls" } }, "IgnorePublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this\n bucket. Setting this element to TRUE
causes Amazon S3 to ignore all public ACLs on\n this bucket and objects in this bucket.
Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't\n prevent new public ACLs from being set.
", "smithy.api#xmlName": "IgnorePublicAcls" } }, "BlockPublicPolicy": { "target": "com.amazonaws.s3#Setting", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this\n element to TRUE
causes Amazon S3 to reject calls to PUT Bucket policy if the\n specified bucket policy allows public access.
Enabling this setting doesn't affect existing bucket policies.
", "smithy.api#xmlName": "BlockPublicPolicy" } }, "RestrictPublicBuckets": { "target": "com.amazonaws.s3#Setting", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE
restricts access to this bucket to only Amazon Web Service principals and authorized users within this account if the bucket has\n a public policy.
Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.
", "smithy.api#xmlName": "RestrictPublicBuckets" } } }, "traits": { "smithy.api#documentation": "The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can\n enable the configuration options in any combination. For more information about when Amazon S3\n considers a bucket or object public, see The Meaning of \"Public\" in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#PutBucketAccelerateConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, "smithy.api#documentation": "This operation is not supported by directory buckets.
\nSets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a\n bucket-level feature that enables you to perform faster data transfers to Amazon S3.
\n To use this operation, you must have permission to perform the\n s3:PutAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The Transfer Acceleration state of a bucket can be set to one of the following two\n values:
\nEnabled – Enables accelerated data transfers to the bucket.
\nSuspended – Disables accelerated data transfers to the bucket.
\nThe GetBucketAccelerateConfiguration action returns the transfer acceleration state\n of a bucket.
\nAfter setting the Transfer Acceleration state of a bucket to Enabled, it might take up\n to thirty minutes before the data transfer rates to the bucket increase.
\nThe name of the bucket used for Transfer Acceleration must be DNS-compliant and must\n not contain periods (\".\").
\nFor more information about transfer acceleration, see Transfer\n Acceleration.
\nThe following operations are related to\n PutBucketAccelerateConfiguration
:
\n CreateBucket\n
\nThe name of the bucket for which the accelerate configuration is set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "AccelerateConfiguration": { "target": "com.amazonaws.s3#AccelerateConfiguration", "traits": { "smithy.api#documentation": "Container for setting the transfer acceleration state.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "AccelerateConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This operation is not supported by directory buckets.
\nSets the permissions on an existing bucket using access control lists (ACL). For more\n information, see Using ACLs. To set the ACL of a\n bucket, you must have the WRITE_ACP
permission.
You can use one of the following two ways to set a bucket's permissions:
\nSpecify the ACL in the request body
\nSpecify permissions using request headers
\nYou cannot specify access permission using both the body and the request\n headers.
\nDepending on your application needs, you may choose to set the ACL on a bucket using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, then you can continue to use that\n approach.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs\n are disabled and no longer affect permissions. You must use policies to grant access to\n your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return\n the AccessControlListNotSupported
error code. Requests to read ACLs are\n still supported. For more information, see Controlling object\n ownership in the Amazon S3 User Guide.
You can set access permissions by using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3\n supports a set of predefined ACLs, known as canned\n ACLs. Each canned ACL has a predefined set of grantees and\n permissions. Specify the canned ACL name as the value of\n x-amz-acl
. If you use this header, you cannot use other\n access control-specific headers in your request. For more information, see\n Canned\n ACL.
Specify access permissions explicitly with the\n x-amz-grant-read
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers,\n you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3\n groups) who will receive the permission. If you use these ACL-specific\n headers, you cannot use the x-amz-acl
header to set a canned\n ACL. These parameters map to the set of permissions that Amazon S3 supports in an\n ACL. For more information, see Access Control List (ACL)\n Overview.
You specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-write
header grants\n create, overwrite, and delete objects permission to LogDelivery group\n predefined by Amazon S3 and two Amazon Web Services accounts identified by their email\n addresses.
\n x-amz-grant-write:\n uri=\"http://acs.amazonaws.com/groups/s3/LogDelivery\", id=\"111122223333\",\n id=\"555566667777\"
\n
You can use either a canned ACL or specify access permissions explicitly. You\n cannot do both.
\nYou can specify the person (grantee) to whom you're assigning access rights\n (using request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET\n Object acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nThe following operations are related to PutBucketAcl
:
\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetObjectAcl\n
\nThe canned ACL to apply to the bucket.
", "smithy.api#httpHeader": "x-amz-acl" } }, "AccessControlPolicy": { "target": "com.amazonaws.s3#AccessControlPolicy", "traits": { "smithy.api#documentation": "Contains the elements that set the ACL permissions for an object per grantee.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "AccessControlPolicy" } }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket to which to apply the ACL.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.
", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { "smithy.api#documentation": "Allows grantee to list the objects in the bucket.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, "GrantReadACP": { "target": "com.amazonaws.s3#GrantReadACP", "traits": { "smithy.api#documentation": "Allows grantee to read the bucket ACL.
", "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, "GrantWrite": { "target": "com.amazonaws.s3#GrantWrite", "traits": { "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
", "smithy.api#httpHeader": "x-amz-grant-write" } }, "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { "smithy.api#documentation": "Allows grantee to write the ACL for the applicable bucket.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.
\nYou can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport
request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3\n Analytics – Storage Class Analysis.
You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n PutBucketAnalyticsConfiguration
has the following special errors:
\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: InvalidArgument\n
\n\n Cause: Invalid argument.\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: TooManyConfigurations\n
\n\n Cause: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.\n
\n\n HTTP Error: HTTP 403 Forbidden\n
\n\n Code: AccessDenied\n
\n\n Cause: You are not the owner of the specified bucket, or you do\n not have the s3:PutAnalyticsConfiguration bucket permission to set the\n configuration on the bucket.\n
\nThe following operations are related to\n PutBucketAnalyticsConfiguration
:
The name of the bucket to which an analytics configuration is stored.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#AnalyticsId", "traits": { "smithy.api#documentation": "The ID that identifies the analytics configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "AnalyticsConfiguration": { "target": "com.amazonaws.s3#AnalyticsConfiguration", "traits": { "smithy.api#documentation": "The configuration and any analyses for the analytics filter.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "AnalyticsConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the cors
configuration for your bucket. If the configuration exists,\n Amazon S3 replaces it.
To use this operation, you must be allowed to perform the s3:PutBucketCORS
\n action. By default, the bucket owner has this permission and can grant it to others.
You set this configuration on a bucket so that the bucket can service cross-origin\n requests. For example, you might want to enable a request whose origin is\n http://www.example.com
to access your Amazon S3 bucket at\n my.example.bucket.com
by using the browser's XMLHttpRequest
\n capability.
To enable cross-origin resource sharing (CORS) on a bucket, you add the\n cors
subresource to the bucket. The cors
subresource is an XML\n document in which you configure rules that identify origins and the HTTP methods that can\n be executed on your bucket. The document is limited to 64 KB in size.
When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a\n bucket, it evaluates the cors
configuration on the bucket and uses the first\n CORSRule
rule that matches the incoming browser request to enable a\n cross-origin request. For a rule to match, the following conditions must be met:
The request's Origin
header must match AllowedOrigin
\n elements.
The request method (for example, GET, PUT, HEAD, and so on) or the\n Access-Control-Request-Method
header in case of a pre-flight\n OPTIONS
request must be one of the AllowedMethod
\n elements.
Every header specified in the Access-Control-Request-Headers
request\n header of a pre-flight request must match an AllowedHeader
element.\n
For more information about CORS, go to Enabling Cross-Origin Resource Sharing in\n the Amazon S3 User Guide.
\nThe following operations are related to PutBucketCors
:
\n GetBucketCors\n
\n\n DeleteBucketCors\n
\n\n RESTOPTIONSobject\n
\nSpecifies the bucket impacted by the cors
configuration.
Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the\n Amazon S3 User Guide.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "CORSConfiguration" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nThis action uses the encryption
subresource to configure default encryption\n and Amazon S3 Bucket Keys for an existing bucket.
By default, all buckets have a default encryption configuration that uses server-side\n encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption\n for a bucket by using server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or\n dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify default encryption by using\n SSE-KMS, you can also configure Amazon S3 Bucket\n Keys. If you use PutBucketEncryption to set your default bucket encryption to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 does not validate the KMS key ID provided in PutBucketEncryption requests.
\nThis action requires Amazon Web Services Signature Version 4. For more information, see \n Authenticating Requests (Amazon Web Services Signature Version 4).
\nTo use this operation, you must have permission to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
The following operations are related to PutBucketEncryption
:
\n GetBucketEncryption\n
\nSpecifies default encryption for a bucket using server-side encryption with different\n key options. By default, all buckets have a default encryption configuration that uses\n server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure\n default encryption for a bucket by using server-side encryption with an Amazon Web Services KMS key\n (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default\n encryption feature, see Amazon S3 Bucket Default Encryption\n in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the server-side encryption\n configuration.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nPuts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to\n 1,000 S3 Intelligent-Tiering configurations per bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically\n move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access\n or Deep Archive Access tier.
\n\n PutBucketIntelligentTieringConfiguration
has the following special\n errors:
\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n Cause: You are not the owner of the specified bucket, or\n you do not have the s3:PutIntelligentTieringConfiguration
bucket\n permission to set the configuration on the bucket.
The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#IntelligentTieringId", "traits": { "smithy.api#documentation": "The ID used to identify the S3 Intelligent-Tiering configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "IntelligentTieringConfiguration": { "target": "com.amazonaws.s3#IntelligentTieringConfiguration", "traits": { "smithy.api#documentation": "Container for S3 Intelligent-Tiering configuration.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "IntelligentTieringConfiguration" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#PutBucketInventoryConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#PutBucketInventoryConfigurationRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nThis implementation of the PUT
action adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.
Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same Amazon Web Services Region as the\n source bucket.
\nWhen you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3 Inventory in the\n Amazon S3 User Guide.
\nYou must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permission to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this\n permission by default and can grant this permission to others.
The s3:PutInventoryConfiguration
permission allows a user to\n create an S3 Inventory\n report that includes all object metadata fields available and to specify the\n destination bucket to store the inventory. A user with read access to objects in\n the destination bucket can also access all object metadata fields that are\n available in the inventory report.
To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the\n Amazon S3 User Guide. For more information about the metadata\n fields available in S3 Inventory, see Amazon S3 Inventory lists in the Amazon S3 User Guide. For\n more information about permissions, see Permissions related to bucket subresource operations and Identity and access management in Amazon S3 in the\n Amazon S3 User Guide.
\n\n PutBucketInventoryConfiguration
has the following special errors:
\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n Cause: You are not the owner of the specified bucket, or\n you do not have the s3:PutInventoryConfiguration
bucket permission to\n set the configuration on the bucket.
The following operations are related to\n PutBucketInventoryConfiguration
:
The name of the bucket where the inventory configuration will be stored.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#InventoryId", "traits": { "smithy.api#documentation": "The ID used to identify the inventory configuration.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "InventoryConfiguration": { "target": "com.amazonaws.s3#InventoryConfiguration", "traits": { "smithy.api#documentation": "Specifies the inventory configuration.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "InventoryConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nCreates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. Keep in mind that this will overwrite an existing lifecycle configuration,\n so if you want to retain any configuration details, they must be included in the new\n lifecycle configuration. For information about lifecycle configuration, see Managing\n your storage lifecycle.
\nBucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.\n For the related API description, see PutBucketLifecycle.
\nYou specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. An Amazon S3\n Lifecycle configuration can have up to 1,000 rules. This limit is not adjustable.\n Each rule consists of the following:
\nA filter identifying a subset of objects to which the rule applies. The filter can be based on a key name prefix, object tags, object size, or any combination of these.
\nA status indicating whether the rule is in effect.
\nOne or more lifecycle transition and expiration actions that you want\n Amazon S3 to perform on the objects identified by the filter. If the state of\n your bucket is versioning-enabled or versioning-suspended, you can have many\n versions of the same object (one current version and zero or more noncurrent\n versions). Amazon S3 provides predefined actions that you can specify for current\n and noncurrent object versions.
\nFor more information, see Object Lifecycle\n Management and Lifecycle Configuration\n Elements.
\nBy default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that created\n it) can access the resource. The resource owner can optionally grant access\n permissions to others by writing an access policy. For this operation, a user must\n get the s3:PutLifecycleConfiguration
permission.
You can also explicitly deny permissions. An explicit deny also supersedes any\n other permissions. If you want to block users or accounts from removing or\n deleting objects from your bucket, you must deny them permissions for the\n following actions:
\n\n s3:DeleteObject
\n
\n s3:DeleteObjectVersion
\n
\n s3:PutLifecycleConfiguration
\n
For more information about permissions, see Managing Access\n Permissions to Your Amazon S3 Resources.
\nThe following operations are related to\n PutBucketLifecycleConfiguration
:
The name of the bucket for which to set the configuration.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Container for lifecycle rules. You can add as many as 1,000 rules.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "LifecycleConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSet the logging parameters for a bucket and to specify permissions for who can view and\n modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as\n the source bucket. To set the logging status of a bucket, you must be the bucket\n owner.
\nThe bucket owner is automatically granted FULL_CONTROL to all logs. You use the\n Grantee
request element to grant access to other people. The\n Permissions
request element specifies the kind of access the grantee has to\n the logs.
If the target bucket for log delivery uses the bucket owner enforced setting for S3\n Object Ownership, you can't use the Grantee
request element to grant access\n to others. Permissions can only be granted using policies. For more information, see\n Permissions for server access log delivery in the\n Amazon S3 User Guide.
You can specify the person (grantee) to whom you're assigning access rights (by\n using request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
\n DisplayName
is optional and ignored in the request.
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser
and, in a\n response to a GETObjectAcl
request, appears as the\n CanonicalUser.
By URI:
\n\n
\n
To enable logging, you use LoggingEnabled
and its children request\n elements. To disable logging, you use an empty BucketLoggingStatus
request\n element:
\n
\n
For more information about server access logging, see Server Access Logging in the\n Amazon S3 User Guide.
\nFor more information about creating a bucket, see CreateBucket. For more\n information about returning the logging status of a bucket, see GetBucketLogging.
\nThe following operations are related to PutBucketLogging
:
\n PutObject\n
\n\n DeleteBucket\n
\n\n CreateBucket\n
\n\n GetBucketLogging\n
\nThe name of the bucket for which to set the logging parameters.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "BucketLoggingStatus": { "target": "com.amazonaws.s3#BucketLoggingStatus", "traits": { "smithy.api#documentation": "Container for logging status information.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "BucketLoggingStatus" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The MD5 hash of the PutBucketLogging
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.
\nTo use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring\n Metrics with Amazon CloudWatch.
\nThe following operations are related to\n PutBucketMetricsConfiguration
:
\n PutBucketMetricsConfiguration
has the following special error:
Error code: TooManyConfigurations
\n
Description: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.
\nHTTP Status Code: HTTP 400 Bad Request
\nThe name of the bucket for which the metrics configuration is set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Id": { "target": "com.amazonaws.s3#MetricsId", "traits": { "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } }, "MetricsConfiguration": { "target": "com.amazonaws.s3#MetricsConfiguration", "traits": { "smithy.api#documentation": "Specifies the metrics configuration.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "MetricsConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nEnables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.
\nUsing this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.
\nBy default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration
.
\n
\n
\n \n
This action replaces the existing notification configuration with the configuration you\n include in the request body.
\nAfter Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3 Events.
\nYou can disable notifications by adding the empty NotificationConfiguration\n element.
\nFor more information about the number of event notification configurations that you can\n create per bucket, see Amazon S3 service quotas in Amazon Web Services\n General Reference.
\nBy default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with the required s3:PutBucketNotification
permission.
The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add the\n configuration to your bucket.
\nIf the configuration in the request body includes only one\n TopicConfiguration
specifying only the\n s3:ReducedRedundancyLostObject
event type, the response will also include\n the x-amz-sns-test-message-id
header containing the message ID of the test\n notification sent to the topic.
The following action is related to\n PutBucketNotificationConfiguration
:
The name of the bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "NotificationConfiguration": { "target": "com.amazonaws.s3#NotificationConfiguration", "traits": { "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "NotificationConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Skips validation of Amazon SQS, Amazon SNS, and Lambda\n destinations. True or false value.
", "smithy.api#httpHeader": "x-amz-skip-destination-validation" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#PutBucketOwnershipControls": { "type": "operation", "input": { "target": "com.amazonaws.s3#PutBucketOwnershipControlsRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "aws.protocols#httpChecksum": { "requestChecksumRequired": true }, "smithy.api#documentation": "This operation is not supported by directory buckets.
\nCreates or modifies OwnershipControls
for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketOwnershipControls
permission. For\n more information about Amazon S3 permissions, see Specifying permissions in a\n policy.
For information about Amazon S3 Object Ownership, see Using object\n ownership.
\nThe following operations are related to PutBucketOwnershipControls
:
The name of the Amazon S3 bucket whose OwnershipControls
you want to set.
The MD5 hash of the OwnershipControls
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or\n ObjectWriter) that you want to apply to this Amazon S3 bucket.
Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. \nFor more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
If you are using an identity other than the\n root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the\n PutBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have PutBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
To ensure that bucket owners don't inadvertently lock themselves out of their own\n buckets, the root principal in a bucket owner's Amazon Web Services account can perform the\n GetBucketPolicy
, PutBucketPolicy
, and\n DeleteBucketPolicy
API actions, even if their bucket policy explicitly\n denies the root principal's access. Bucket owner root principals can only be blocked\n from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations\n policies.
\n General purpose bucket permissions - The s3:PutBucketPolicy
permission is required in a policy. \n For more information about general purpose buckets bucket policies, see Using Bucket Policies and User\n Policies in the Amazon S3 User Guide.
\n Directory bucket permissions - To grant access to this API operation, you must have the s3express:PutBucketPolicy
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
\n General purpose buckets example bucket policies - See Bucket policy examples in the Amazon S3 User Guide.
\n\n Directory bucket example bucket policies - See Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide.
\n\n Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to PutBucketPolicy
:
\n CreateBucket\n
\n\n DeleteBucket\n
\nThe name of the bucket.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name\n
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format \n bucket_base_name--az_id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide\n
The MD5 hash of the request body.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
\nThis functionality is not supported for directory buckets.
\nIndicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
.
For the x-amz-checksum-algorithm\n
header, replace \n algorithm\n
with the supported algorithm from the following list:
CRC32
\nCRC32C
\nSHA1
\nSHA256
\nFor more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
\nIf the individual checksum value you provide through x-amz-checksum-algorithm\n
doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm
, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n
.
For directory buckets, when you use Amazon Web Services SDKs, CRC32
is the default checksum algorithm that's used for performance.
Set this parameter to true to confirm that you want to remove your permissions to change\n this bucket policy in the future.
\nThis functionality is not supported for directory buckets.
\nThe bucket policy as a JSON document.
\nFor directory buckets, the only IAM action supported in the bucket policy is s3express:CreateSession
.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code \n501 Not Implemented
.
This operation is not supported by directory buckets.
\nCreates a replication configuration or replaces an existing one. For more information,\n see Replication in the Amazon S3 User Guide.
\nSpecify the replication configuration in the request body. In the replication\n configuration, you provide the name of the destination bucket or buckets where you want\n Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your\n behalf, and other relevant information. You can invoke this request for a specific\n Amazon Web Services Region by using the \n \n aws:RequestedRegion
\n condition key.
A replication configuration must include at least one rule, and can contain a maximum of\n 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in\n the source bucket. To choose additional subsets of objects to replicate, add a rule for\n each subset.
\nTo specify a subset of the objects in the source bucket to apply a replication rule to,\n add the Filter element as a child of the Rule element. You can filter objects based on an\n object key prefix, one or more object tags, or both. When you add the Filter element in the\n configuration, you must also add the following elements:\n DeleteMarkerReplication
, Status
, and\n Priority
.
If you are using an earlier version of the replication configuration, Amazon S3 handles\n replication of delete markers differently. For more information, see Backward Compatibility.
\nFor information about enabling versioning on a bucket, see Using Versioning.
\nBy default, Amazon S3 doesn't replicate objects that are stored at rest using\n server-side encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects,\n add the following: SourceSelectionCriteria
,\n SseKmsEncryptedObjects
, Status
,\n EncryptionConfiguration
, and ReplicaKmsKeyID
. For\n information about replication configuration, see Replicating\n Objects Created with SSE Using KMS keys.
For information on PutBucketReplication
errors, see List of\n replication-related error codes\n
To create a PutBucketReplication
request, you must have\n s3:PutReplicationConfiguration
permissions for the bucket.\n \n
By default, a resource owner, in this case the Amazon Web Services account that created the\n bucket, can perform this operation. The resource owner can also grant others\n permissions to perform the operation. For more information about permissions, see\n Specifying Permissions in\n a Policy and Managing Access\n Permissions to Your Amazon S3 Resources.
\nTo perform this operation, the user or role performing the action must have\n the iam:PassRole\n permission.
\nThe following operations are related to PutBucketReplication
:
\n GetBucketReplication\n
\nThe name of the bucket
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
A token to allow Object Lock to be enabled for an existing bucket.
", "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the request payment configuration for a bucket. By default, the bucket owner pays\n for downloads from the bucket. This configuration parameter enables the bucket owner (only)\n to specify that the person requesting the download will be charged for the download. For\n more information, see Requester Pays\n Buckets.
\nThe following operations are related to PutBucketRequestPayment
:
\n CreateBucket\n
\nThe bucket name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Container for Payer.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "RequestPaymentConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the tags for a bucket.
\nUse tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this,\n sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost\n of combined resources, organize your billing information according to resources with the\n same tag key values. For example, you can tag several resources with a specific application\n name, and then organize your billing information to see the total cost of that application\n across several services. For more information, see Cost Allocation and\n Tagging and Using Cost Allocation in Amazon S3\n Bucket Tags.
\nWhen this operation sets the tags for a bucket, it will overwrite any current tags\n the bucket already has. You cannot use this operation to add tags to an existing list of\n tags.
\nTo use this operation, you must have permissions to perform the\n s3:PutBucketTagging
action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n PutBucketTagging
has the following special errors. For more Amazon S3 errors\n see, Error\n Responses.
\n InvalidTag
- The tag provided was not a valid tag. This error\n can occur if the tag did not pass input validation. For more information, see Using\n Cost Allocation in Amazon S3 Bucket Tags.
\n MalformedXML
- The XML provided does not match the\n schema.
\n OperationAborted
- A conflicting conditional action is\n currently in progress against this resource. Please try again.
\n InternalError
- The service was unable to apply the provided\n tag to the bucket.
The following operations are related to PutBucketTagging
:
\n GetBucketTagging\n
\n\n DeleteBucketTagging\n
\nThe bucket name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Container for the TagSet
and Tag
elements.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the versioning state of an existing bucket.
\nYou can set the versioning state with one of the following values:
\n\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.
\n\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.
\nIf the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.
\nIn order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request
header and the Status
and the\n MfaDelete
request elements in a request to set the versioning state of the\n bucket.
If you have an object expiration lifecycle configuration in your non-versioned bucket\n and you want to maintain the same permanent delete behavior when you enable versioning,\n you must add a noncurrent expiration policy. The noncurrent expiration lifecycle\n configuration will manage the deletes of the noncurrent object versions in the\n version-enabled bucket. (A version-enabled bucket maintains one current and zero or more\n noncurrent object versions.) For more information, see Lifecycle and Versioning.
\nThe following operations are related to PutBucketVersioning
:
\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetBucketVersioning\n
\nThe bucket name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": ">The base64-encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device.
", "smithy.api#httpHeader": "x-amz-mfa" } }, "VersioningConfiguration": { "target": "com.amazonaws.s3#VersioningConfiguration", "traits": { "smithy.api#documentation": "Container for setting the versioning state.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "VersioningConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the configuration of the website that is specified in the website
\n subresource. To configure a bucket as a website, you can add this subresource on the bucket\n with website configuration information such as the file name of the index document and any\n redirect rules. For more information, see Hosting Websites on Amazon S3.
This PUT action requires the S3:PutBucketWebsite
permission. By default,\n only the bucket owner can configure the website attached to a bucket; however, bucket\n owners can allow other users to set the website configuration by writing a bucket policy\n that grants them the S3:PutBucketWebsite
permission.
To redirect all website requests sent to the bucket's website endpoint, you add a\n website configuration with the following elements. Because all requests are sent to another\n website, you don't need to provide index document name for the bucket.
\n\n WebsiteConfiguration
\n
\n RedirectAllRequestsTo
\n
\n HostName
\n
\n Protocol
\n
If you want granular control over redirects, you can use the following elements to add\n routing rules that describe conditions for redirecting requests and information about the\n redirect destination. In this case, the website configuration must provide an index\n document for the bucket, because some requests might not be redirected.
\n\n WebsiteConfiguration
\n
\n IndexDocument
\n
\n Suffix
\n
\n ErrorDocument
\n
\n Key
\n
\n RoutingRules
\n
\n RoutingRule
\n
\n Condition
\n
\n HttpErrorCodeReturnedEquals
\n
\n KeyPrefixEquals
\n
\n Redirect
\n
\n Protocol
\n
\n HostName
\n
\n ReplaceKeyPrefixWith
\n
\n ReplaceKeyWith
\n
\n HttpRedirectCode
\n
Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more\n than 50 routing rules, you can use object redirect. For more information, see Configuring an\n Object Redirect in the Amazon S3 User Guide.
\nThe maximum request length is limited to 128 KB.
", "smithy.api#examples": [ { "title": "Set website configuration on a bucket", "documentation": "The following example adds website configuration to a bucket.", "input": { "Bucket": "examplebucket", "ContentMD5": "", "WebsiteConfiguration": { "IndexDocument": { "Suffix": "index.html" }, "ErrorDocument": { "Key": "error.html" } } } } ], "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?website", "code": 200 }, "smithy.rules#staticContextParams": { "UseS3ExpressControlEndpoint": { "value": true } } } }, "com.amazonaws.s3#PutBucketWebsiteRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Container for the request.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "WebsiteConfiguration" } }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Adds an object to a bucket.
\nAmazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the\n entire object to the bucket. You cannot use PutObject
to only update a\n single piece of metadata for an existing object. You must put the entire object with\n updated metadata if you want to update some values.
If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All\n objects written to the bucket by any account will be owned by the bucket owner.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior:
\n\n S3 Object Lock - To prevent objects from\n being deleted or overwritten, you can use Amazon S3 Object\n Lock in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\n\n S3 Versioning - When you enable\n versioning for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all versions of the objects. For each write request that is made to the same object, Amazon S3 automatically generates a unique version ID\n of that object being stored in Amazon S3. \n You can retrieve, replace, or delete any version of the object. For more information about versioning, see\n Adding Objects to\n Versioning-Enabled Buckets in the Amazon S3\n User Guide. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.
\nThis functionality is not supported for directory buckets.
\n\n General purpose bucket permissions - The following permissions are required in your policies when your \n PutObject
request includes specific headers.
\n \n s3:PutObject
\n - To successfully complete the PutObject
request, you must always have the s3:PutObject
permission on a bucket to add an object\n to it.
\n \n s3:PutObjectAcl
\n - To successfully change the objects ACL of your PutObject
request, you must have the s3:PutObjectAcl
.
\n \n s3:PutObjectTagging
\n - To successfully set the tag-set with your PutObject
request, you\n must have the s3:PutObjectTagging
.
\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose bucket - To ensure that data is not corrupted traversing the network, use the\n Content-MD5
header. When you use this header, Amazon S3 checks the object\n against the provided MD5 value and, if they do not match, Amazon S3 returns an error. Alternatively, when the object's ETag is its MD5 digest, \n you can calculate the MD5 while putting the object to Amazon S3 and compare the returned ETag to\n the calculated MD5 value.
\n Directory bucket - This functionality is not supported for directory buckets.
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
For more information about related Amazon S3 APIs, see the following:
\n\n CopyObject\n
\n\n DeleteObject\n
\nThis operation is not supported by directory buckets.
\nUses the acl
subresource to set the access control list (ACL) permissions\n for a new or existing object in an S3 bucket. You must have the WRITE_ACP
\n permission to set the ACL of an object. For more information, see What\n permissions can I grant? in the Amazon S3 User Guide.
This functionality is not supported for Amazon S3 on Outposts.
\nDepending on your application needs, you can choose to set the ACL on an object using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, you can continue to use that approach.\n For more information, see Access Control List (ACL) Overview\n in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs\n are disabled and no longer affect permissions. You must use policies to grant access to\n your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return\n the AccessControlListNotSupported
error code. Requests to read ACLs are\n still supported. For more information, see Controlling object\n ownership in the Amazon S3 User Guide.
You can set access permissions using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3\n supports a set of predefined ACLs, known as canned ACLs. Each canned ACL has\n a predefined set of grantees and permissions. Specify the canned ACL name as\n the value of x-amz-ac
l. If you use this header, you cannot use\n other access control-specific headers in your request. For more information,\n see Canned\n ACL.
Specify access permissions explicitly with the\n x-amz-grant-read
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers,\n you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3\n groups) who will receive the permission. If you use these ACL-specific\n headers, you cannot use x-amz-acl
header to set a canned ACL.\n These parameters map to the set of permissions that Amazon S3 supports in an ACL.\n For more information, see Access Control List (ACL)\n Overview.
You specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants\n list objects permission to the two Amazon Web Services accounts identified by their email\n addresses.
\n x-amz-grant-read: emailAddress=\"xyz@amazon.com\",\n emailAddress=\"abc@amazon.com\"
\n
You can use either a canned ACL or specify access permissions explicitly. You\n cannot do both.
\nYou can specify the person (grantee) to whom you're assigning access rights\n (using request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request.
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET\n Object acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nThe ACL of an object is set at the object version level. By default, PUT sets\n the ACL of the current version of an object. To set the ACL of a different\n version, use the versionId
subresource.
The following operations are related to PutObjectAcl
:
\n CopyObject\n
\n\n GetObject\n
\nThe canned ACL to apply to the object. For more information, see Canned\n ACL.
", "smithy.api#httpHeader": "x-amz-acl" } }, "AccessControlPolicy": { "target": "com.amazonaws.s3#AccessControlPolicy", "traits": { "smithy.api#documentation": "Contains the elements that set the ACL permissions for an object per grantee.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "AccessControlPolicy" } }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name that contains the object to which you want to attach the ACL.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.>\n
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.
\nThis functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { "smithy.api#documentation": "Allows grantee to list the objects in the bucket.
\nThis functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, "GrantReadACP": { "target": "com.amazonaws.s3#GrantReadACP", "traits": { "smithy.api#documentation": "Allows grantee to read the bucket ACL.
\nThis functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, "GrantWrite": { "target": "com.amazonaws.s3#GrantWrite", "traits": { "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
", "smithy.api#httpHeader": "x-amz-grant-write" } }, "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { "smithy.api#documentation": "Allows grantee to write the ACL for the applicable bucket.
\nThis functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Key for which the PUT action was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "Version ID used to reference a specific version of the object.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nApplies a legal hold configuration to the specified object. For more information, see\n Locking\n Objects.
\nThis functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?legal-hold", "code": 200 } } }, "com.amazonaws.s3#PutObjectLegalHoldOutput": { "type": "structure", "members": { "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#PutObjectLegalHoldRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object that you want to place a legal hold on.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The key name for the object that you want to place a legal hold on.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "LegalHold": { "target": "com.amazonaws.s3#ObjectLockLegalHold", "traits": { "smithy.api#documentation": "Container element for the legal hold configuration you want to apply to the specified\n object.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "LegalHold" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID of the object that you want to place a legal hold on.
", "smithy.api#httpQuery": "versionId" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The MD5 hash for the request body.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nPlaces an Object Lock configuration on the specified bucket. The rule specified in the\n Object Lock configuration will be applied by default to every new object placed in the\n specified bucket. For more information, see Locking Objects.
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
or\n Years
but you must select one. You cannot specify\n Days
and Years
at the same time.
You can enable Object Lock for new or existing buckets. For more\n information, see Configuring Object\n Lock.
\nThe bucket whose Object Lock configuration you want to create or replace.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "ObjectLockConfiguration": { "target": "com.amazonaws.s3#ObjectLockConfiguration", "traits": { "smithy.api#documentation": "The Object Lock configuration that you want to apply to the specified bucket.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "ObjectLockConfiguration" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "Token": { "target": "com.amazonaws.s3#ObjectLockToken", "traits": { "smithy.api#documentation": "A token to allow Object Lock to be enabled for an existing bucket.
", "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The MD5 hash for the request body.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
If the expiration is configured for the object (see PutBucketLifecycleConfiguration) in the Amazon S3 User Guide, the response includes this header. It\n includes the expiry-date
and rule-id
key-value pairs that provide\n information about object expiration. The value of the rule-id
is\n URL-encoded.
This functionality is not supported for directory buckets.
\nEntity tag for the uploaded object.
\n\n General purpose buckets - To ensure that data is not corrupted traversing the network, \n for objects where the \n ETag is the MD5 digest of the object, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to\n the calculated MD5 value.
\n\n Directory buckets - The ETag for the object in a directory bucket isn't the MD5 digest of the object.
", "smithy.api#httpHeader": "ETag" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
Version ID of the object.
\nIf you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID\n for the object being stored. Amazon S3 returns this ID in the response. When you enable\n versioning for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all of the objects. For more information about versioning, see\n Adding Objects to\n Versioning-Enabled Buckets in the Amazon S3\n User Guide. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf x-amz-server-side-encryption
has a valid value of aws:kms
\n or aws:kms:dsse
, this header indicates the ID of the Key Management Service (KMS)\n symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
\nIf present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs. This value is stored as object metadata and automatically gets\n passed on to Amazon Web Services KMS for future GetObject
or CopyObject
\n operations on this object.
This functionality is not supported for directory buckets.
\nIndicates whether the uploaded object uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nThe canned ACL to apply to the object. For more information, see Canned\n ACL in the Amazon S3 User Guide.
\nWhen adding a new object, you can use headers to grant ACL-based permissions to\n individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are\n then added to the ACL on the object. By default, all objects are private. Only the owner\n has full access control. For more information, see Access Control List (ACL) Overview\n and Managing\n ACLs Using the REST API in the Amazon S3 User Guide.
\nIf the bucket that you're uploading objects to uses the bucket owner enforced setting\n for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that\n use this setting only accept PUT requests that don't specify an ACL or PUT requests that\n specify bucket owner full control ACLs, such as the bucket-owner-full-control
\n canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that\n contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a\n 400
error with the error code AccessControlListNotSupported
.\n For more information, see Controlling ownership of\n objects and disabling ACLs in the Amazon S3 User Guide.
This functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nObject data.
", "smithy.api#httpPayload": {} } }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name to which the PUT action was initiated.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Can be used to specify caching behavior along the request/reply chain. For more\n information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.
", "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { "target": "com.amazonaws.s3#ContentDisposition", "traits": { "smithy.api#documentation": "Specifies presentational information for the object. For more information, see https://www.rfc-editor.org/rfc/rfc6266#section-4.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding.
", "smithy.api#httpHeader": "Content-Encoding" } }, "ContentLanguage": { "target": "com.amazonaws.s3#ContentLanguage", "traits": { "smithy.api#documentation": "The language the content is in.
", "smithy.api#httpHeader": "Content-Language" } }, "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { "smithy.api#documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length.
", "smithy.api#httpHeader": "Content-Length" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST Authentication.
\nThe Content-MD5
header is required for any request to upload an\n object with a retention period configured using Amazon S3 Object Lock. For more\n information about Amazon S3 Object Lock, see Amazon S3 Object Lock\n Overview in the Amazon S3 User Guide.
This functionality is not supported for directory buckets.
\nA standard MIME type describing the format of the contents. For more information, see\n https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type.
", "smithy.api#httpHeader": "Content-Type" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
.
For the x-amz-checksum-algorithm\n
header, replace \n algorithm\n
with the supported algorithm from the following list:
CRC32
\nCRC32C
\nSHA1
\nSHA256
\nFor more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
\nIf the individual checksum value you provide through x-amz-checksum-algorithm\n
doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm
, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n
.
For directory buckets, when you use Amazon Web Services SDKs, CRC32
is the default checksum algorithm that's used for performance.
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { "smithy.api#documentation": "The date and time at which the object is no longer cacheable. For more information, see\n https://www.rfc-editor.org/rfc/rfc7234#section-5.3.
", "smithy.api#httpHeader": "Expires" } }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to read the object data and its metadata.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to read the object ACL.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nAllows grantee to write the ACL for the applicable object.
\nThis functionality is not supported for directory buckets.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nObject key for which the PUT action was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "Metadata": { "target": "com.amazonaws.s3#Metadata", "traits": { "smithy.api#documentation": "A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm that was used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
, aws:kms:dsse
).
\n General purpose buckets - You have four mutually exclusive options to protect data using server-side encryption in\n Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the\n encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or\n DSSE-KMS), and customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side\n encryption by using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to\n encrypt data at rest by using server-side encryption with other key options. For more\n information, see Using Server-Side\n Encryption in the Amazon S3 User Guide.
\n\n Directory buckets - For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) value is supported.
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
\nFor directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects.
\nAmazon S3 on Outposts only uses\n the OUTPOSTS Storage Class.
\nIf the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. For information about object metadata, see Object Key and Metadata in the Amazon S3\n User Guide.
\nIn the following example, the request header sets the redirect to an object\n (anotherPage.html) in the same bucket:
\n\n x-amz-website-redirect-location: /anotherPage.html
\n
In the following example, the request header sets the object redirect to another\n website:
\n\n x-amz-website-redirect-location: http://www.example.com/
\n
For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and\n How to\n Configure Website Page Redirects in the Amazon S3\n User Guide.
\nThis functionality is not supported for directory buckets.
\nSpecifies the algorithm to use when encrypting the object (for example,\n AES256
).
This functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
This functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported for directory buckets.
\nIf x-amz-server-side-encryption
has a valid value of aws:kms
\n or aws:kms:dsse
, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the Key Management Service (KMS)\n symmetric encryption customer managed key that was used for the object. If you specify\n x-amz-server-side-encryption:aws:kms
or\n x-amz-server-side-encryption:aws:kms:dsse
, but do not provide\n x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key\n (aws/s3
) to protect the data. If the KMS key does not exist in the same\n account that's issuing the command, you must use the full ARN and not just the ID.
This functionality is not supported for directory buckets.
\nSpecifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs. This value is stored as object metadata and automatically gets passed on\n to Amazon Web Services KMS for future GetObject
or CopyObject
operations on\n this object. This value must be explicitly added during CopyObject
operations.
This functionality is not supported for directory buckets.
\nSpecifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using Key Management Service (KMS) keys (SSE-KMS). Setting this header to\n true
causes Amazon S3 to use an S3 Bucket Key for object encryption with\n SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3\n Bucket Key.
\nThis functionality is not supported for directory buckets.
\nThe tag-set for the object. The tag-set must be encoded as URL Query parameters. (For\n example, \"Key1=Value1\")
\nThis functionality is not supported for directory buckets.
\nThe Object Lock mode that you want to apply to this object.
\nThis functionality is not supported for directory buckets.
\nThe date and time when you want this object's Object Lock to expire. Must be formatted\n as a timestamp parameter.
\nThis functionality is not supported for directory buckets.
\nSpecifies whether a legal hold will be applied to this object. For more information\n about S3 Object Lock, see Object Lock in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nPlaces an Object Retention configuration on an object. For more information, see Locking Objects.\n Users or accounts require the s3:PutObjectRetention
permission in order to\n place an Object Retention configuration on objects. Bypassing a Governance Retention\n configuration requires the s3:BypassGovernanceRetention
permission.
This functionality is not supported for Amazon S3 on Outposts.
", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?retention", "code": 200 } } }, "com.amazonaws.s3#PutObjectRetentionOutput": { "type": "structure", "members": { "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#PutObjectRetentionRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name that contains the object you want to apply this Object Retention\n configuration to.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The key name for the object that you want to apply this Object Retention configuration\n to.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Retention": { "target": "com.amazonaws.s3#ObjectLockRetention", "traits": { "smithy.api#documentation": "The container element for the Object Retention configuration.
", "smithy.api#httpPayload": {}, "smithy.api#xmlName": "Retention" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The version ID for the object that you want to apply this Object Retention configuration\n to.
", "smithy.api#httpQuery": "versionId" } }, "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { "smithy.api#documentation": "Indicates whether this action should bypass Governance-mode restrictions.
", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The MD5 hash for the request body.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nSets the supplied tag-set to an object that already exists in a bucket. A tag is a\n key-value pair. For more information, see Object Tagging.
\nYou can associate tags with an object by sending a PUT request against the tagging\n subresource that is associated with the object. You can retrieve tags by sending a GET\n request. For more information, see GetObjectTagging.
\nFor tagging-related restrictions related to characters and encodings, see Tag\n Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per\n object.
\nTo use this operation, you must have permission to perform the\n s3:PutObjectTagging
action. By default, the bucket owner has this\n permission and can grant this permission to others.
To put tags of any other version, use the versionId
query parameter. You\n also need permission for the s3:PutObjectVersionTagging
action.
\n PutObjectTagging
has the following special errors. For more Amazon S3 errors\n see, Error\n Responses.
\n InvalidTag
- The tag provided was not a valid tag. This error\n can occur if the tag did not pass input validation. For more information, see Object\n Tagging.
\n MalformedXML
- The XML provided does not match the\n schema.
\n OperationAborted
- A conflicting conditional action is\n currently in progress against this resource. Please try again.
\n InternalError
- The service was unable to apply the provided\n tag to the object.
The following operations are related to PutObjectTagging
:
\n GetObjectTagging\n
\n\n DeleteObjectTagging\n
\nThe versionId of the object the tag-set was added to.
", "smithy.api#httpHeader": "x-amz-version-id" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#PutObjectTaggingRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Name of the object key.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "The versionId of the object that the tag-set will be added to.
", "smithy.api#httpQuery": "versionId" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The MD5 hash for the request body.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
Container for the TagSet
and Tag
elements
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
This operation is not supported by directory buckets.
\nCreates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket.\n To use this operation, you must have the s3:PutBucketPublicAccessBlock
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
configurations are different between the bucket and\n the account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\nThe following operations are related to PutPublicAccessBlock
:
\n GetPublicAccessBlock\n
\nThe name of the Amazon S3 bucket whose PublicAccessBlock
configuration you want\n to set.
The MD5 hash of the PutPublicAccessBlock
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The PublicAccessBlock
configuration that you want to apply to this Amazon S3\n bucket. You can enable the configuration options in any combination. For more information\n about when Amazon S3 considers a bucket or object public, see The Meaning of \"Public\" in the Amazon S3 User Guide.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message\n when it detects events of the specified type.
", "smithy.api#required": {}, "smithy.api#xmlName": "Queue" } }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { "smithy.api#documentation": "A collection of bucket events for which to send notifications
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Event" } }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" } }, "traits": { "smithy.api#documentation": "Specifies the configuration for publishing messages to an Amazon Simple Queue Service\n (Amazon SQS) queue when Amazon S3 detects specified events.
" } }, "com.amazonaws.s3#QueueConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#QueueConfiguration" } }, "com.amazonaws.s3#Quiet": { "type": "boolean" }, "com.amazonaws.s3#QuoteCharacter": { "type": "string" }, "com.amazonaws.s3#QuoteEscapeCharacter": { "type": "string" }, "com.amazonaws.s3#QuoteFields": { "type": "enum", "members": { "ALWAYS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALWAYS" } }, "ASNEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ASNEEDED" } } } }, "com.amazonaws.s3#Range": { "type": "string" }, "com.amazonaws.s3#RecordDelimiter": { "type": "string" }, "com.amazonaws.s3#RecordsEvent": { "type": "structure", "members": { "Payload": { "target": "com.amazonaws.s3#Body", "traits": { "smithy.api#documentation": "The byte array of partial, one or more result records.
", "smithy.api#eventPayload": {} } } }, "traits": { "smithy.api#documentation": "The container for the records event.
" } }, "com.amazonaws.s3#Redirect": { "type": "structure", "members": { "HostName": { "target": "com.amazonaws.s3#HostName", "traits": { "smithy.api#documentation": "The host name to use in the redirect request.
" } }, "HttpRedirectCode": { "target": "com.amazonaws.s3#HttpRedirectCode", "traits": { "smithy.api#documentation": "The HTTP redirect code to use on the response. Not required if one of the siblings is\n present.
" } }, "Protocol": { "target": "com.amazonaws.s3#Protocol", "traits": { "smithy.api#documentation": "Protocol to use when redirecting requests. The default is the protocol that is used in\n the original request.
" } }, "ReplaceKeyPrefixWith": { "target": "com.amazonaws.s3#ReplaceKeyPrefixWith", "traits": { "smithy.api#documentation": "The object key prefix to use in the redirect request. For example, to redirect requests\n for all pages with prefix docs/
(objects in the docs/
folder) to\n documents/
, you can set a condition block with KeyPrefixEquals
\n set to docs/
and in the Redirect set ReplaceKeyPrefixWith
to\n /documents
. Not required if one of the siblings is present. Can be present\n only if ReplaceKeyWith
is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nThe specific object key to use in the redirect request. For example, redirect request to\n error.html
. Not required if one of the siblings is present. Can be present\n only if ReplaceKeyPrefixWith
is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nSpecifies how requests are redirected. In the event of an error, you can specify a\n different error code to return.
" } }, "com.amazonaws.s3#RedirectAllRequestsTo": { "type": "structure", "members": { "HostName": { "target": "com.amazonaws.s3#HostName", "traits": { "smithy.api#documentation": "Name of the host where requests are redirected.
", "smithy.api#required": {} } }, "Protocol": { "target": "com.amazonaws.s3#Protocol", "traits": { "smithy.api#documentation": "Protocol to use when redirecting requests. The default is the protocol that is used in\n the original request.
" } } }, "traits": { "smithy.api#documentation": "Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3\n bucket.
" } }, "com.amazonaws.s3#Region": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 20 } } }, "com.amazonaws.s3#ReplaceKeyPrefixWith": { "type": "string" }, "com.amazonaws.s3#ReplaceKeyWith": { "type": "string" }, "com.amazonaws.s3#ReplicaKmsKeyID": { "type": "string" }, "com.amazonaws.s3#ReplicaModifications": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#ReplicaModificationsStatus", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 replicates modifications on replicas.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A filter that you can specify for selection for modifications on replicas. Amazon S3 doesn't\n replicate replica modifications by default. In the latest version of replication\n configuration (when Filter
is specified), you can specify this element and set\n the status to Enabled
to replicate modifications on replicas.
If you don't specify the Filter
element, Amazon S3 assumes that the\n replication configuration is the earlier version, V1. In the earlier version, this\n element is not allowed.
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when\n replicating objects. For more information, see How to Set Up Replication\n in the Amazon S3 User Guide.
", "smithy.api#required": {} } }, "Rules": { "target": "com.amazonaws.s3#ReplicationRules", "traits": { "smithy.api#documentation": "A container for one or more replication rules. A replication configuration must have at\n least one rule and can contain a maximum of 1,000 rules.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" } } }, "traits": { "smithy.api#documentation": "A container for replication rules. You can add up to 1,000 rules. The maximum size of a\n replication configuration is 2 MB.
" } }, "com.amazonaws.s3#ReplicationRule": { "type": "structure", "members": { "ID": { "target": "com.amazonaws.s3#ID", "traits": { "smithy.api#documentation": "A unique identifier for the rule. The maximum value is 255 characters.
" } }, "Priority": { "target": "com.amazonaws.s3#Priority", "traits": { "smithy.api#documentation": "The priority indicates which rule has precedence whenever two or more replication rules\n conflict. Amazon S3 will attempt to replicate objects according to all replication rules.\n However, if there are two or more rules with the same destination bucket, then objects will\n be replicated according to the rule with the highest priority. The higher the number, the\n higher the priority.
\nFor more information, see Replication in the\n Amazon S3 User Guide.
" } }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "An object key name prefix that identifies the object or objects to which the rule\n applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket,\n specify an empty string.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nSpecifies whether the rule is enabled.
", "smithy.api#required": {} } }, "SourceSelectionCriteria": { "target": "com.amazonaws.s3#SourceSelectionCriteria", "traits": { "smithy.api#documentation": "A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service\n (SSE-KMS).
" } }, "ExistingObjectReplication": { "target": "com.amazonaws.s3#ExistingObjectReplication", "traits": { "smithy.api#documentation": "Optional configuration to replicate existing source bucket objects. For more\n information, see Replicating Existing Objects in the Amazon S3 User Guide.\n
" } }, "Destination": { "target": "com.amazonaws.s3#Destination", "traits": { "smithy.api#documentation": "A container for information about the replication destination and its configurations\n including enabling the S3 Replication Time Control (S3 RTC).
", "smithy.api#required": {} } }, "DeleteMarkerReplication": { "target": "com.amazonaws.s3#DeleteMarkerReplication" } }, "traits": { "smithy.api#documentation": "Specifies which Amazon S3 objects to replicate and where to store the replicas.
" } }, "com.amazonaws.s3#ReplicationRuleAndOperator": { "type": "structure", "members": { "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "An object key name prefix that identifies the subset of objects to which the rule\n applies.
" } }, "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "An array of tags containing key and value pairs.
", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } } }, "traits": { "smithy.api#documentation": "A container for specifying rule filters. The filters determine the subset of objects to\n which the rule applies. This element is required only if you specify more than one filter.
\nFor example:
\nIf you specify both a Prefix
and a Tag
filter, wrap\n these filters in an And
tag.
If you specify a filter based on multiple tags, wrap the Tag
elements\n in an And
tag.
An object key name prefix that identifies the subset of objects to which the rule\n applies.
\nReplacement must be made for object keys containing special characters (such as carriage returns) when using \n XML requests. For more information, see \n XML related object key constraints.
\nA container for specifying a tag key and value.
\nThe rule applies only to objects that have the tag in their tag set.
" } }, "And": { "target": "com.amazonaws.s3#ReplicationRuleAndOperator", "traits": { "smithy.api#documentation": "A container for specifying rule filters. The filters determine the subset of objects to\n which the rule applies. This element is required only if you specify more than one filter.\n For example:
\nIf you specify both a Prefix
and a Tag
filter, wrap\n these filters in an And
tag.
If you specify a filter based on multiple tags, wrap the Tag
elements\n in an And
tag.
A filter that identifies the subset of objects to which the replication rule applies. A\n Filter
must specify exactly one Prefix
, Tag
, or\n an And
child element.
Specifies whether the replication time is enabled.
", "smithy.api#required": {} } }, "Time": { "target": "com.amazonaws.s3#ReplicationTimeValue", "traits": { "smithy.api#documentation": "A container specifying the time by which replication should be complete for all objects\n and operations on objects.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": " A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is\n enabled and the time when all objects and operations on objects must be replicated. Must be\n specified together with a Metrics
block.
Contains an integer specifying time in minutes.
\nValid value: 15
" } } }, "traits": { "smithy.api#documentation": " A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics\n EventThreshold
.
If present, indicates that the requester was successfully charged for the\n request.
\nThis functionality is not supported for directory buckets.
\nConfirms that the requester knows that they will be charged for the request. Bucket\n owners need not specify this parameter in their requests. If either the source or\n destination S3 bucket has Requester Pays enabled, the requester will pay for\n corresponding charges to copy the object. For information about downloading objects from\n Requester Pays buckets, see Downloading Objects in\n Requester Pays Buckets in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets.
\nSpecifies who pays for the download and request fees.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Container for Payer.
" } }, "com.amazonaws.s3#RequestProgress": { "type": "structure", "members": { "Enabled": { "target": "com.amazonaws.s3#EnableRequestProgress", "traits": { "smithy.api#documentation": "Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,\n FALSE. Default value: FALSE.
" } } }, "traits": { "smithy.api#documentation": "Container for specifying if periodic QueryProgress
messages should be\n sent.
This operation is not supported by directory buckets.
\nRestores an archived copy of an object back into Amazon S3
\nThis functionality is not supported for Amazon S3 on Outposts.
\nThis action performs the following types of requests:
\n\n restore an archive
- Restore an archived object
For more information about the S3
structure in the request body, see the\n following:
\n PutObject\n
\n\n Managing Access with ACLs in the\n Amazon S3 User Guide\n
\n\n Protecting Data Using Server-Side Encryption in the\n Amazon S3 User Guide\n
\nTo use this operation, you must have permissions to perform the\n s3:RestoreObject
action. The bucket owner has this permission by\n default and can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
Objects that you archive to the S3 Glacier Flexible Retrieval Flexible Retrieval\n or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the\n S3 Glacier Flexible Retrieval Flexible Retrieval or S3 Glacier Deep Archive\n storage classes, you must first initiate a restore request, and then wait until a\n temporary copy of the object is available. If you want a permanent copy of the\n object, create a copy of it in the Amazon S3 Standard storage class in your S3 bucket.\n To access an archived object, you must restore the object for the duration (number\n of days) that you specify. For objects in the Archive Access or Deep Archive\n Access tiers of S3 Intelligent-Tiering, you must first initiate a restore request,\n and then wait until the object is moved into the Frequent Access tier.
\nTo restore a specific object version, you can provide a version ID. If you\n don't provide a version ID, Amazon S3 restores the current version.
\nWhen restoring an archived object, you can specify one of the following data\n access tier options in the Tier
element of the request body:
\n Expedited
- Expedited retrievals allow you to quickly access\n your data stored in the S3 Glacier Flexible Retrieval Flexible Retrieval\n storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests\n for restoring archives are required. For all but the largest archived\n objects (250 MB+), data accessed using Expedited retrievals is typically\n made available within 1–5 minutes. Provisioned capacity ensures that\n retrieval capacity for Expedited retrievals is available when you need it.\n Expedited retrievals and provisioned capacity are not available for objects\n stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier.
\n Standard
- Standard retrievals allow you to access any of\n your archived objects within several hours. This is the default option for\n retrieval requests that do not specify the retrieval option. Standard\n retrievals typically finish within 3–5 hours for objects stored in the\n S3 Glacier Flexible Retrieval Flexible Retrieval storage class or\n S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for\n objects stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored\n in S3 Intelligent-Tiering.
\n Bulk
- Bulk retrievals free for objects stored in the\n S3 Glacier Flexible Retrieval and S3 Intelligent-Tiering storage classes,\n enabling you to retrieve large amounts, even petabytes, of data at no cost.\n Bulk retrievals typically finish within 5–12 hours for objects stored in the\n S3 Glacier Flexible Retrieval Flexible Retrieval storage class or\n S3 Intelligent-Tiering Archive tier. Bulk retrievals are also the lowest-cost\n retrieval option when restoring objects from\n S3 Glacier Deep Archive. They typically finish within 48 hours for\n objects stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier.
For more information about archive retrieval options and provisioned capacity\n for Expedited
data access, see Restoring Archived\n Objects in the Amazon S3 User Guide.
You can use Amazon S3 restore speed upgrade to change the restore speed to a faster\n speed while it is in progress. For more information, see Upgrading the speed of an in-progress restore in the\n Amazon S3 User Guide.
\nTo get the status of object restoration, you can send a HEAD
\n request. Operations return the x-amz-restore
header, which provides\n information about the restoration status, in the response. You can use Amazon S3 event\n notifications to notify you when a restore is initiated or completed. For more\n information, see Configuring Amazon S3 Event\n Notifications in the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by\n reissuing the request with a new period. Amazon S3 updates the restoration period\n relative to the current time and charges only for the request-there are no\n data transfer charges. You cannot update the restoration period when Amazon S3 is\n actively processing your current restore request for the object.
\nIf your bucket has a lifecycle configuration with a rule that includes an\n expiration action, the object expiration overrides the life span that you specify\n in a restore request. For example, if you restore an object copy for 10 days, but\n the object is scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days.\n For more information about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle\n Management in Amazon S3 User Guide.
\nA successful action returns either the 200 OK
or 202\n Accepted
status code.
If the object is not previously restored, then Amazon S3 returns 202\n Accepted
in the response.
If the object is previously restored, Amazon S3 returns 200 OK
in\n the response.
Special errors:
\n\n Code: RestoreAlreadyInProgress\n
\n\n Cause: Object restore is already in progress.\n
\n\n HTTP Status Code: 409 Conflict\n
\n\n SOAP Fault Code Prefix: Client\n
\n\n Code: GlacierExpeditedRetrievalNotAvailable\n
\n\n Cause: expedited retrievals are currently not available.\n Try again later. (Returned if there is insufficient capacity to\n process the Expedited request. This error applies only to Expedited\n retrievals and not to S3 Standard or Bulk retrievals.)\n
\n\n HTTP Status Code: 503\n
\n\n SOAP Fault Code Prefix: N/A\n
\nThe following operations are related to RestoreObject
:
Indicates the path in the provided S3 output location where Select results will be\n restored to.
", "smithy.api#httpHeader": "x-amz-restore-output-path" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#RestoreObjectRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The bucket name containing the object to restore.
\n\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Object key for which the action was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "VersionId used to reference a specific version of the object.
", "smithy.api#httpQuery": "versionId" } }, "RestoreRequest": { "target": "com.amazonaws.s3#RestoreRequest", "traits": { "smithy.api#httpPayload": {}, "smithy.api#xmlName": "RestoreRequest" } }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { "smithy.api#documentation": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Lifetime of the active copy in days. Do not use with restores that specify\n OutputLocation
.
The Days element is required for regular restores, and must not be provided for select\n requests.
" } }, "GlacierJobParameters": { "target": "com.amazonaws.s3#GlacierJobParameters", "traits": { "smithy.api#documentation": "S3 Glacier related parameters pertaining to this job. Do not use with restores that\n specify OutputLocation
.
Type of restore request.
" } }, "Tier": { "target": "com.amazonaws.s3#Tier", "traits": { "smithy.api#documentation": "Retrieval tier at which the restore will be processed.
" } }, "Description": { "target": "com.amazonaws.s3#Description", "traits": { "smithy.api#documentation": "The optional description for the job.
" } }, "SelectParameters": { "target": "com.amazonaws.s3#SelectParameters", "traits": { "smithy.api#documentation": "Describes the parameters for Select job types.
" } }, "OutputLocation": { "target": "com.amazonaws.s3#OutputLocation", "traits": { "smithy.api#documentation": "Describes the location where the restore job's output is stored.
" } } }, "traits": { "smithy.api#documentation": "Container for restore job parameters.
" } }, "com.amazonaws.s3#RestoreRequestType": { "type": "enum", "members": { "SELECT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SELECT" } } } }, "com.amazonaws.s3#RestoreStatus": { "type": "structure", "members": { "IsRestoreInProgress": { "target": "com.amazonaws.s3#IsRestoreInProgress", "traits": { "smithy.api#documentation": "Specifies whether the object is currently being restored. If the object restoration is\n in progress, the header returns the value TRUE
. For example:
\n x-amz-optional-object-attributes: IsRestoreInProgress=\"true\"
\n
If the object restoration has completed, the header returns the value\n FALSE
. For example:
\n x-amz-optional-object-attributes: IsRestoreInProgress=\"false\",\n RestoreExpiryDate=\"2012-12-21T00:00:00.000Z\"
\n
If the object hasn't been restored, there is no header response.
" } }, "RestoreExpiryDate": { "target": "com.amazonaws.s3#RestoreExpiryDate", "traits": { "smithy.api#documentation": "Indicates when the restored copy will expire. This value is populated only if the object\n has already been restored. For example:
\n\n x-amz-optional-object-attributes: IsRestoreInProgress=\"false\",\n RestoreExpiryDate=\"2012-12-21T00:00:00.000Z\"
\n
Specifies the restoration status of an object. Objects in certain storage classes must\n be restored before they can be retrieved. For more information about these storage classes\n and how to work with archived objects, see Working with archived\n objects in the Amazon S3 User Guide.
\nThis functionality is not supported for directory buckets. Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
\nA container for describing a condition that must be met for the specified redirect to\n apply. For example, 1. If request is for pages in the /docs
folder, redirect\n to the /documents
folder. 2. If request results in HTTP error 4xx, redirect\n request to another host where you might process the error.
Container for redirect information. You can redirect requests to another host, to\n another page, or with another protocol. In the event of an error, you can specify a\n different error code to return.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the redirect behavior and when a redirect is applied. For more information\n about routing rules, see Configuring advanced conditional redirects in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#RoutingRules": { "type": "list", "member": { "target": "com.amazonaws.s3#RoutingRule", "traits": { "smithy.api#xmlName": "RoutingRule" } } }, "com.amazonaws.s3#S3KeyFilter": { "type": "structure", "members": { "FilterRules": { "target": "com.amazonaws.s3#FilterRuleList", "traits": { "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "FilterRule" } } }, "traits": { "smithy.api#documentation": "A container for object key name prefix and suffix filtering rules.
" } }, "com.amazonaws.s3#S3Location": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket where the restore results will be placed.
", "smithy.api#required": {} } }, "Prefix": { "target": "com.amazonaws.s3#LocationPrefix", "traits": { "smithy.api#documentation": "The prefix that is prepended to the restore results for this request.
", "smithy.api#required": {} } }, "Encryption": { "target": "com.amazonaws.s3#Encryption" }, "CannedACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { "smithy.api#documentation": "The canned ACL to apply to the restore results.
" } }, "AccessControlList": { "target": "com.amazonaws.s3#Grants", "traits": { "smithy.api#documentation": "A list of grants that control access to the staged results.
" } }, "Tagging": { "target": "com.amazonaws.s3#Tagging", "traits": { "smithy.api#documentation": "The tag-set that is applied to the restore results.
" } }, "UserMetadata": { "target": "com.amazonaws.s3#UserMetadata", "traits": { "smithy.api#documentation": "A list of metadata to store with the restore results in S3.
" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { "smithy.api#documentation": "The class of storage used to store the restore results.
" } } }, "traits": { "smithy.api#documentation": "Describes an Amazon S3 location that will receive the results of the restore request.
" } }, "com.amazonaws.s3#SSECustomerAlgorithm": { "type": "string" }, "com.amazonaws.s3#SSECustomerKey": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.s3#SSECustomerKeyMD5": { "type": "string" }, "com.amazonaws.s3#SSEKMS": { "type": "structure", "members": { "KeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { "smithy.api#documentation": "Specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key to use for\n encrypting inventory reports.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies the use of SSE-KMS to encrypt delivered inventory reports.
", "smithy.api#xmlName": "SSE-KMS" } }, "com.amazonaws.s3#SSEKMSEncryptionContext": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.s3#SSEKMSKeyId": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.s3#SSES3": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Specifies the use of SSE-S3 to encrypt delivered inventory reports.
", "smithy.api#xmlName": "SSE-S3" } }, "com.amazonaws.s3#ScanRange": { "type": "structure", "members": { "Start": { "target": "com.amazonaws.s3#Start", "traits": { "smithy.api#documentation": "Specifies the start of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is 0. If only start
is supplied, it\n means scan from that point to the end of the file. For example,\n
means scan\n from byte 50 until the end of the file.
Specifies the end of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is one less than the size of the object being\n queried. If only the End parameter is supplied, it is interpreted to mean scan the last N\n bytes of the file. For example,\n
means scan the\n last 50 bytes.
Specifies the byte range of the object to get the records from. A record is processed\n when its first byte is contained by the range. This parameter is optional, but when\n specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the\n start and end of the range.
" } }, "com.amazonaws.s3#SelectObjectContent": { "type": "operation", "input": { "target": "com.amazonaws.s3#SelectObjectContentRequest" }, "output": { "target": "com.amazonaws.s3#SelectObjectContentOutput" }, "traits": { "smithy.api#documentation": "This operation is not supported by directory buckets.
\nThis action filters the contents of an Amazon S3 object based on a simple structured query\n language (SQL) statement. In the request, along with the SQL expression, you must also\n specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses\n this format to parse object data into records, and returns only records that match the\n specified SQL expression. You must also specify the data serialization format for the\n response.
\nThis functionality is not supported for Amazon S3 on Outposts.
\nFor more information about Amazon S3 Select, see Selecting Content from\n Objects and SELECT\n Command in the Amazon S3 User Guide.
\n \nYou must have the s3:GetObject
permission for this operation. Amazon S3\n Select does not support anonymous access. For more information about permissions,\n see Specifying Permissions in\n a Policy in the Amazon S3 User Guide.
You can use Amazon S3 Select to query objects that have the following format\n properties:
\n\n CSV, JSON, and Parquet - Objects must be in CSV,\n JSON, or Parquet format.
\n\n UTF-8 - UTF-8 is the only encoding type Amazon S3 Select\n supports.
\n\n GZIP or BZIP2 - CSV and JSON files can be compressed\n using GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that\n Amazon S3 Select supports for CSV and JSON files. Amazon S3 Select supports columnar\n compression for Parquet using GZIP or Snappy. Amazon S3 Select does not support\n whole-object compression for Parquet objects.
\n\n Server-side encryption - Amazon S3 Select supports\n querying objects that are protected with server-side encryption.
\nFor objects that are encrypted with customer-provided encryption keys\n (SSE-C), you must use HTTPS, and you must use the headers that are\n documented in the GetObject. For more\n information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys)\n in the Amazon S3 User Guide.
\nFor objects that are encrypted with Amazon S3 managed keys (SSE-S3) and\n Amazon Web Services KMS keys (SSE-KMS), server-side encryption is handled transparently,\n so you don't need to specify anything. For more information about\n server-side encryption, including SSE-S3 and SSE-KMS, see Protecting Data Using Server-Side Encryption in the\n Amazon S3 User Guide.
\nGiven the response size is unknown, Amazon S3 Select streams the response as a\n series of messages and includes a Transfer-Encoding
header with\n chunked
as its value in the response. For more information, see\n Appendix:\n SelectObjectContent\n Response.
The SelectObjectContent
action does not support the following\n GetObject
functionality. For more information, see GetObject.
\n Range
: Although you can specify a scan range for an Amazon S3 Select\n request (see SelectObjectContentRequest - ScanRange in the request\n parameters), you cannot specify the range of bytes of an object to return.\n
The GLACIER
, DEEP_ARCHIVE
, and\n REDUCED_REDUNDANCY
storage classes, or the\n ARCHIVE_ACCESS
and DEEP_ARCHIVE_ACCESS
access\n tiers of the INTELLIGENT_TIERING
storage class: You cannot\n query objects in the GLACIER
, DEEP_ARCHIVE
, or\n REDUCED_REDUNDANCY
storage classes, nor objects in the\n ARCHIVE_ACCESS
or DEEP_ARCHIVE_ACCESS
access\n tiers of the INTELLIGENT_TIERING
storage class. For more\n information about storage classes, see Using Amazon S3\n storage classes in the\n Amazon S3 User Guide.
For a list of special errors for this operation, see List of SELECT Object Content Error Codes\n
\nThe following operations are related to SelectObjectContent
:
\n GetObject\n
\nThe Records Event.
" } }, "Stats": { "target": "com.amazonaws.s3#StatsEvent", "traits": { "smithy.api#documentation": "The Stats Event.
" } }, "Progress": { "target": "com.amazonaws.s3#ProgressEvent", "traits": { "smithy.api#documentation": "The Progress Event.
" } }, "Cont": { "target": "com.amazonaws.s3#ContinuationEvent", "traits": { "smithy.api#documentation": "The Continuation Event.
" } }, "End": { "target": "com.amazonaws.s3#EndEvent", "traits": { "smithy.api#documentation": "The End Event.
" } } }, "traits": { "smithy.api#documentation": "The container for selecting objects from a content event stream.
", "smithy.api#streaming": {} } }, "com.amazonaws.s3#SelectObjectContentOutput": { "type": "structure", "members": { "Payload": { "target": "com.amazonaws.s3#SelectObjectContentEventStream", "traits": { "smithy.api#documentation": "The array of results.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.s3#SelectObjectContentRequest": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The S3 bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Bucket" } } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "The object key.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created \n using a checksum algorithm. For more information,\n see Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, "SSECustomerKey": { "target": "com.amazonaws.s3#SSECustomerKey", "traits": { "smithy.api#documentation": "The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. \n For more information, see\n Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, "SSECustomerKeyMD5": { "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { "smithy.api#documentation": "The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum \n algorithm. For more information,\n see Protecting data using SSE-C keys in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, "Expression": { "target": "com.amazonaws.s3#Expression", "traits": { "smithy.api#documentation": "The expression that is used to query the object.
", "smithy.api#required": {} } }, "ExpressionType": { "target": "com.amazonaws.s3#ExpressionType", "traits": { "smithy.api#documentation": "The type of the provided expression (for example, SQL).
", "smithy.api#required": {} } }, "RequestProgress": { "target": "com.amazonaws.s3#RequestProgress", "traits": { "smithy.api#documentation": "Specifies if periodic request progress information should be enabled.
" } }, "InputSerialization": { "target": "com.amazonaws.s3#InputSerialization", "traits": { "smithy.api#documentation": "Describes the format of the data in the object that is being queried.
", "smithy.api#required": {} } }, "OutputSerialization": { "target": "com.amazonaws.s3#OutputSerialization", "traits": { "smithy.api#documentation": "Describes the format of the data that you want Amazon S3 to return in response.
", "smithy.api#required": {} } }, "ScanRange": { "target": "com.amazonaws.s3#ScanRange", "traits": { "smithy.api#documentation": "Specifies the byte range of the object to get the records from. A record is processed\n when its first byte is contained by the range. This parameter is optional, but when\n specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the\n start and end of the range.
\n\n ScanRange
may be used in the following ways:
\n
\n - process only the records starting between the bytes 50 and 100 (inclusive, counting\n from zero)
\n
-\n process only the records starting after the byte 50
\n
-\n process only the records within the last 50 bytes of the file.
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Request to filter the contents of an Amazon S3 object based on a simple Structured Query\n Language (SQL) statement. In the request, along with the SQL expression, you must specify a\n data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data\n into records. It returns only records that match the specified SQL expression. You must\n also specify the data serialization format for the response. For more information, see\n S3Select API Documentation.
", "smithy.api#input": {} } }, "com.amazonaws.s3#SelectParameters": { "type": "structure", "members": { "InputSerialization": { "target": "com.amazonaws.s3#InputSerialization", "traits": { "smithy.api#documentation": "Describes the serialization format of the object.
", "smithy.api#required": {} } }, "ExpressionType": { "target": "com.amazonaws.s3#ExpressionType", "traits": { "smithy.api#documentation": "The type of the provided expression (for example, SQL).
", "smithy.api#required": {} } }, "Expression": { "target": "com.amazonaws.s3#Expression", "traits": { "smithy.api#documentation": "The expression that is used to query the object.
", "smithy.api#required": {} } }, "OutputSerialization": { "target": "com.amazonaws.s3#OutputSerialization", "traits": { "smithy.api#documentation": "Describes how the results of the Select job are serialized.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Describes the parameters for Select job types.
" } }, "com.amazonaws.s3#ServerSideEncryption": { "type": "enum", "members": { "AES256": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AES256" } }, "aws_kms": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "aws:kms" } }, "aws_kms_dsse": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "aws:kms:dsse" } } } }, "com.amazonaws.s3#ServerSideEncryptionByDefault": { "type": "structure", "members": { "SSEAlgorithm": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "Server-side encryption algorithm to use for the default encryption.
", "smithy.api#required": {} } }, "KMSMasterKeyID": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { "smithy.api#documentation": "Amazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default\n encryption. This parameter is allowed if and only if SSEAlgorithm
is set to\n aws:kms
or aws:kms:dsse
.
You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS\n key.
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key Alias: alias/alias-name
\n
If you use a key ID, you can run into a LogDestination undeliverable error when creating\n a VPC flow log.
\nIf you are using encryption with cross-account or Amazon Web Services service operations you must use\n a fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
\nAmazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service\n Developer Guide.
\nDescribes the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates\n an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted\n with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more\n information, see PUT Bucket encryption in\n the Amazon S3 API Reference.
" } }, "com.amazonaws.s3#ServerSideEncryptionConfiguration": { "type": "structure", "members": { "Rules": { "target": "com.amazonaws.s3#ServerSideEncryptionRules", "traits": { "smithy.api#documentation": "Container for information about a particular server-side encryption configuration\n rule.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" } } }, "traits": { "smithy.api#documentation": "Specifies the default server-side-encryption configuration.
" } }, "com.amazonaws.s3#ServerSideEncryptionRule": { "type": "structure", "members": { "ApplyServerSideEncryptionByDefault": { "target": "com.amazonaws.s3#ServerSideEncryptionByDefault", "traits": { "smithy.api#documentation": "Specifies the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied.
" } }, "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS\n (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the\n BucketKeyEnabled
element to true
causes Amazon S3 to use an S3\n Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the\n Amazon S3 User Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies the default server-side encryption configuration.
" } }, "com.amazonaws.s3#ServerSideEncryptionRules": { "type": "list", "member": { "target": "com.amazonaws.s3#ServerSideEncryptionRule" } }, "com.amazonaws.s3#SessionCredentialValue": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.s3#SessionCredentials": { "type": "structure", "members": { "AccessKeyId": { "target": "com.amazonaws.s3#AccessKeyIdValue", "traits": { "smithy.api#documentation": "A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.
", "smithy.api#required": {}, "smithy.api#xmlName": "AccessKeyId" } }, "SecretAccessKey": { "target": "com.amazonaws.s3#SessionCredentialValue", "traits": { "smithy.api#documentation": "A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered.
", "smithy.api#required": {}, "smithy.api#xmlName": "SecretAccessKey" } }, "SessionToken": { "target": "com.amazonaws.s3#SessionCredentialValue", "traits": { "smithy.api#documentation": "A part of the temporary security credentials. The session token is used to validate the temporary security credentials. \n \n
", "smithy.api#required": {}, "smithy.api#xmlName": "SessionToken" } }, "Expiration": { "target": "com.amazonaws.s3#SessionExpiration", "traits": { "smithy.api#documentation": "Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. \n Temporary credentials cannot be extended or refreshed beyond the original specified interval.
", "smithy.api#required": {}, "smithy.api#xmlName": "Expiration" } } }, "traits": { "smithy.api#documentation": "The established temporary security credentials of the session.
\n\n Directory buckets - These session credentials are only supported for the authentication and authorization of Zonal endpoint APIs on directory buckets.
\nTo use simple format for S3 keys for log objects, set SimplePrefix to an empty object.
\n\n [DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]
\n
A container for filter information for the selection of Amazon S3 objects encrypted with\n Amazon Web Services KMS. If you include SourceSelectionCriteria
in the replication\n configuration, this element is required.
A filter that you can specify for selections for modifications on replicas. Amazon S3 doesn't\n replicate replica modifications by default. In the latest version of replication\n configuration (when Filter
is specified), you can specify this element and set\n the status to Enabled
to replicate modifications on replicas.
If you don't specify the Filter
element, Amazon S3 assumes that the\n replication configuration is the earlier version, V1. In the earlier version, this\n element is not allowed
A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service\n (SSE-KMS).
" } }, "com.amazonaws.s3#SseKmsEncryptedObjects": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.s3#SseKmsEncryptedObjectsStatus", "traits": { "smithy.api#documentation": "Specifies whether Amazon S3 replicates objects created with server-side encryption using an\n Amazon Web Services KMS key stored in Amazon Web Services Key Management Service.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A container for filter information for the selection of S3 objects encrypted with Amazon Web Services\n KMS.
" } }, "com.amazonaws.s3#SseKmsEncryptedObjectsStatus": { "type": "enum", "members": { "Enabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Enabled" } }, "Disabled": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Disabled" } } } }, "com.amazonaws.s3#Start": { "type": "long" }, "com.amazonaws.s3#StartAfter": { "type": "string" }, "com.amazonaws.s3#Stats": { "type": "structure", "members": { "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { "smithy.api#documentation": "The total number of object bytes scanned.
" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { "smithy.api#documentation": "The total number of uncompressed object bytes processed.
" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { "smithy.api#documentation": "The total number of bytes of records payload data returned.
" } } }, "traits": { "smithy.api#documentation": "Container for the stats details.
" } }, "com.amazonaws.s3#StatsEvent": { "type": "structure", "members": { "Details": { "target": "com.amazonaws.s3#Stats", "traits": { "smithy.api#documentation": "The Stats event details.
", "smithy.api#eventPayload": {} } } }, "traits": { "smithy.api#documentation": "Container for the Stats Event.
" } }, "com.amazonaws.s3#StorageClass": { "type": "enum", "members": { "STANDARD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD" } }, "REDUCED_REDUNDANCY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REDUCED_REDUNDANCY" } }, "STANDARD_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD_IA" } }, "ONEZONE_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ONEZONE_IA" } }, "INTELLIGENT_TIERING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INTELLIGENT_TIERING" } }, "GLACIER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER" } }, "DEEP_ARCHIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEEP_ARCHIVE" } }, "OUTPOSTS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OUTPOSTS" } }, "GLACIER_IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER_IR" } }, "SNOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SNOW" } }, "EXPRESS_ONEZONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXPRESS_ONEZONE" } } } }, "com.amazonaws.s3#StorageClassAnalysis": { "type": "structure", "members": { "DataExport": { "target": "com.amazonaws.s3#StorageClassAnalysisDataExport", "traits": { "smithy.api#documentation": "Specifies how data related to the storage class analysis for an Amazon S3 bucket should be\n exported.
" } } }, "traits": { "smithy.api#documentation": "Specifies data related to access patterns to be collected and made available to analyze\n the tradeoffs between different storage classes for an Amazon S3 bucket.
" } }, "com.amazonaws.s3#StorageClassAnalysisDataExport": { "type": "structure", "members": { "OutputSchemaVersion": { "target": "com.amazonaws.s3#StorageClassAnalysisSchemaVersion", "traits": { "smithy.api#documentation": "The version of the output schema to use when exporting data. Must be\n V_1
.
The place to store the data for an analysis.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Container for data related to the storage class analysis for an Amazon S3 bucket for\n export.
" } }, "com.amazonaws.s3#StorageClassAnalysisSchemaVersion": { "type": "enum", "members": { "V_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "V_1" } } } }, "com.amazonaws.s3#StreamingBlob": { "type": "blob", "traits": { "smithy.api#streaming": {} } }, "com.amazonaws.s3#Suffix": { "type": "string" }, "com.amazonaws.s3#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Name of the object key.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.s3#Value", "traits": { "smithy.api#documentation": "Value of the tag.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A container of a key value name pair.
" } }, "com.amazonaws.s3#TagCount": { "type": "integer" }, "com.amazonaws.s3#TagSet": { "type": "list", "member": { "target": "com.amazonaws.s3#Tag", "traits": { "smithy.api#xmlName": "Tag" } } }, "com.amazonaws.s3#Tagging": { "type": "structure", "members": { "TagSet": { "target": "com.amazonaws.s3#TagSet", "traits": { "smithy.api#documentation": "A collection for a set of tags
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Container for TagSet
elements.
Container for the person being granted permissions.
", "smithy.api#xmlNamespace": { "uri": "http://www.w3.org/2001/XMLSchema-instance", "prefix": "xsi" } } }, "Permission": { "target": "com.amazonaws.s3#BucketLogsPermission", "traits": { "smithy.api#documentation": "Logging permissions assigned to the grantee for the bucket.
" } } }, "traits": { "smithy.api#documentation": "Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object Ownership don't support\n target grants. For more information, see Permissions server access log delivery in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#TargetGrants": { "type": "list", "member": { "target": "com.amazonaws.s3#TargetGrant", "traits": { "smithy.api#xmlName": "Grant" } } }, "com.amazonaws.s3#TargetObjectKeyFormat": { "type": "structure", "members": { "SimplePrefix": { "target": "com.amazonaws.s3#SimplePrefix", "traits": { "smithy.api#documentation": "To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
", "smithy.api#xmlName": "SimplePrefix" } }, "PartitionedPrefix": { "target": "com.amazonaws.s3#PartitionedPrefix", "traits": { "smithy.api#documentation": "Partitioned S3 key for log objects.
", "smithy.api#xmlName": "PartitionedPrefix" } } }, "traits": { "smithy.api#documentation": "Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.
" } }, "com.amazonaws.s3#TargetPrefix": { "type": "string" }, "com.amazonaws.s3#Tier": { "type": "enum", "members": { "Standard": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Standard" } }, "Bulk": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Bulk" } }, "Expedited": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Expedited" } } } }, "com.amazonaws.s3#Tiering": { "type": "structure", "members": { "Days": { "target": "com.amazonaws.s3#IntelligentTieringDays", "traits": { "smithy.api#documentation": "The number of consecutive days of no access after which an object will be eligible to be\n transitioned to the corresponding tier. The minimum number of days specified for\n Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least\n 180 days. The maximum can be up to 2 years (730 days).
", "smithy.api#required": {} } }, "AccessTier": { "target": "com.amazonaws.s3#IntelligentTieringAccessTier", "traits": { "smithy.api#documentation": "S3 Intelligent-Tiering access tier. See Storage class\n for automatically optimizing frequently and infrequently accessed objects for a\n list of access tiers in the S3 Intelligent-Tiering storage class.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The S3 Intelligent-Tiering storage class is designed to optimize storage costs by\n automatically moving data to the most cost-effective storage access tier, without\n additional operational overhead.
" } }, "com.amazonaws.s3#TieringList": { "type": "list", "member": { "target": "com.amazonaws.s3#Tiering" } }, "com.amazonaws.s3#Token": { "type": "string" }, "com.amazonaws.s3#TopicArn": { "type": "string" }, "com.amazonaws.s3#TopicConfiguration": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.s3#NotificationId" }, "TopicArn": { "target": "com.amazonaws.s3#TopicArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message\n when it detects events of the specified type.
", "smithy.api#required": {}, "smithy.api#xmlName": "Topic" } }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { "smithy.api#documentation": "The Amazon S3 bucket event about which to send notifications. For more information, see\n Supported\n Event Types in the Amazon S3 User Guide.
", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Event" } }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" } }, "traits": { "smithy.api#documentation": "A container for specifying the configuration for publication of messages to an Amazon\n Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.
" } }, "com.amazonaws.s3#TopicConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.s3#TopicConfiguration" } }, "com.amazonaws.s3#Transition": { "type": "structure", "members": { "Date": { "target": "com.amazonaws.s3#Date", "traits": { "smithy.api#documentation": "Indicates when objects are transitioned to the specified storage class. The date value\n must be in ISO 8601 format. The time is always midnight UTC.
" } }, "Days": { "target": "com.amazonaws.s3#Days", "traits": { "smithy.api#documentation": "Indicates the number of days after creation when objects are transitioned to the\n specified storage class. The value must be a positive integer.
" } }, "StorageClass": { "target": "com.amazonaws.s3#TransitionStorageClass", "traits": { "smithy.api#documentation": "The storage class to which you want the object to transition.
" } } }, "traits": { "smithy.api#documentation": "Specifies when an object transitions to a specified storage class. For more information\n about Amazon S3 lifecycle configuration rules, see Transitioning\n Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#TransitionList": { "type": "list", "member": { "target": "com.amazonaws.s3#Transition" } }, "com.amazonaws.s3#TransitionStorageClass": { "type": "enum", "members": { "GLACIER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER" } }, "STANDARD_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STANDARD_IA" } }, "ONEZONE_IA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ONEZONE_IA" } }, "INTELLIGENT_TIERING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INTELLIGENT_TIERING" } }, "DEEP_ARCHIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEEP_ARCHIVE" } }, "GLACIER_IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GLACIER_IR" } } } }, "com.amazonaws.s3#Type": { "type": "enum", "members": { "CanonicalUser": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CanonicalUser" } }, "AmazonCustomerByEmail": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonCustomerByEmail" } }, "Group": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Group" } } } }, "com.amazonaws.s3#URI": { "type": "string" }, "com.amazonaws.s3#UploadIdMarker": { "type": "string" }, "com.amazonaws.s3#UploadPart": { "type": "operation", "input": { "target": "com.amazonaws.s3#UploadPartRequest" }, "output": { "target": "com.amazonaws.s3#UploadPartOutput" }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, "smithy.api#documentation": "Uploads a part in a multipart upload.
\nIn this operation, you provide new data as a part of an object in your request. However, you have an option\n to specify your existing Amazon S3 object as a data source for the part you are uploading. To\n upload a part from an existing object, you use the UploadPartCopy operation.\n
\nYou must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier that you must include in your upload part request.
\nPart numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten.
\nFor information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nAfter you initiate multipart upload and upload\n one or more parts, you must either complete or abort multipart upload in order to stop\n getting charged for storage of the uploaded parts. Only after you either complete or abort\n multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts\n storage.
\nFor more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon S3 User Guide .
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
\n General purpose bucket permissions - For information on the permissions required to use the multipart upload API, see \n Multipart\n Upload and Permissions in the Amazon S3 User Guide.
\n\n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession
\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession
\n .
\n General purpose bucket - To ensure that data is not corrupted traversing the network, specify the\n Content-MD5
header in the upload part request. Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the\n x-amz-content-sha256
header as a checksum instead of\n Content-MD5
. For more information see Authenticating\n Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
\n Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.
\n\n General purpose bucket - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it. You have \n mutually exclusive options to protect data using server-side encryption in Amazon S3, depending\n on how you choose to manage the encryption keys. Specifically, the encryption key options\n are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys\n (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by\n default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption\n with other key options. The option you use depends on whether you want to use KMS keys\n (SSE-KMS) or provide your own encryption key (SSE-C).
\nServer-side encryption is supported by the S3 Multipart Upload operations. Unless you are\n using a customer-provided encryption key (SSE-C), you don't need to specify the encryption\n parameters in each UploadPart request. Instead, you only need to specify the server-side\n encryption parameters in the initial Initiate Multipart request. For more information, see\n CreateMultipartUpload.
\nIf you request server-side encryption using a customer-provided encryption key (SSE-C)\n in your initiate multipart upload request, you must provide identical encryption\n information in each part upload using the following request headers.
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\n\n Directory bucket - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
\n For more information, see Using Server-Side\n Encryption in the Amazon S3 User Guide.
\nError Code: NoSuchUpload
\n
Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
\nHTTP Status Code: 404 Not Found
\nSOAP Fault Code Prefix: Client
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPart
:
\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nUploads a part by copying data from an existing object as data source. To specify the\n data source, you add the request header x-amz-copy-source
in your request. To specify \n a byte range, you add the request header x-amz-copy-source-range
in your\n request.
For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nInstead of copying data from an existing object as part data, you might use the UploadPart\n action to upload new data as a part of an object in your request.
\nYou must initiate a multipart upload before you can upload any part. In response to your\n initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in\n your upload part request.
\nFor conceptual information about multipart uploads, see Uploading\n Objects Using Multipart Upload in the\n Amazon S3 User Guide. For information about copying objects using a single atomic action vs. a multipart\n upload, see Operations on Objects in\n the Amazon S3 User Guide.
\n\n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name\n
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the\n Amazon S3 User Guide.
All UploadPartCopy
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including\n x-amz-copy-source
, must be signed. For more information, see REST Authentication.
\n Directory buckets - You must use IAM credentials to authenticate and authorize your access to the UploadPartCopy
API operation, instead of using the \n temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
\nYou must have READ
access to the source object and WRITE
\n access to the destination bucket.
\n General purpose bucket permissions - You must have the permissions in a policy based on the bucket types of your source bucket and destination bucket in an UploadPartCopy
operation.
If the source object is in a general purpose bucket, you must have the \n s3:GetObject
\n permission to read the source object that is being copied.
If the destination bucket is a general purpose bucket, you must have the \n s3:PutObject
\n permission to write the object copy to the destination bucket.\n
For information about permissions required to use the multipart upload API, see\n Multipart upload API and permissions in the\n Amazon S3 User Guide.
\n\n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination\n bucket types in an UploadPartCopy
operation.
If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession
\n permission in\n the Action
element of a policy to read the object. By\n default, the session is in the ReadWrite
mode. If you\n want to restrict the access, you can explicitly set the\n s3express:SessionMode
condition key to\n ReadOnly
on the copy source bucket.
If the copy destination is a directory bucket, you must have the \n \n s3express:CreateSession
\n permission in the\n Action
element of a policy to write the object\n to the destination. The s3express:SessionMode
condition\n key cannot be set to ReadOnly
on the copy destination.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the\n Amazon S3 User Guide.
\n\n General purpose buckets - \n \n For information about using server-side encryption with customer-provided\n encryption keys with the UploadPartCopy
operation, see CopyObject and UploadPart.\n
\n Directory buckets - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
Error Code: NoSuchUpload
\n
Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.
\nHTTP Status Code: 404 Not Found
\nError Code: InvalidRequest
\n
Description: The specified copy source is not supported as a\n byte-range copy source.
\nHTTP Status Code: 400 Bad Request
\n\n Directory buckets - The HTTP Host header syntax is \n Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPartCopy
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe version of the source object that was copied, if you have enabled versioning on the\n source bucket.
\nThis functionality is not supported when the source object is in a directory bucket.
\nContainer for all response elements.
", "smithy.api#httpPayload": {} } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nThe bucket name.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Specifies the source object for the copy operation. You specify the value in one of two\n formats, depending on whether you want to access the source object through an access point:
\nFor objects not accessed through an access point, specify the name of the source bucket\n and key of the source object, separated by a slash (/). For example, to copy the\n object reports/january.pdf
from the bucket\n awsexamplebucket
, use awsexamplebucket/reports/january.pdf
.\n The value must be URL-encoded.
For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:
. For example, to copy the object reports/january.pdf
through access point my-access-point
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf
. The value must be URL encoded.
Amazon S3 supports copy operations using Access points only when the source and destination buckets are in the same Amazon Web Services Region.
\nAccess points are not supported by directory buckets.
\nAlternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:
. For example, to copy the object reports/january.pdf
through outpost my-outpost
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf
. The value must be URL-encoded.
If your bucket has versioning enabled, you could have multiple versions of the\n same object. By default, x-amz-copy-source
identifies the current\n version of the source object to copy. \n To copy a specific version of the source object to copy, append ?versionId=
\n to the x-amz-copy-source
request header (for example, \n x-amz-copy-source: /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893
).\n
If the current version is a delete marker and you\n don't specify a versionId in the x-amz-copy-source
request header, Amazon S3 returns a\n 404 Not Found
error, because the object does not exist. If you specify versionId in the\n x-amz-copy-source
and the versionId is a delete marker, Amazon S3\n returns an HTTP 400 Bad Request
error, because you are not allowed to specify a delete marker\n as a version for the x-amz-copy-source
.
\n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets.
\nCopies the object if its entity tag (ETag) matches the specified tag.
\nIf both of the\n x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-match
condition evaluates to true
,\n and;
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
;
Amazon S3 returns 200 OK
and copies the data.\n
Copies the object if it has been modified since the specified time.
\nIf both of the\n x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
, and;
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
;
Amazon S3 returns 412 Precondition Failed
response code.\n
Copies the object if its entity tag (ETag) is different than the specified ETag.
\nIf both of the\n x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
, and;
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
;
Amazon S3 returns 412 Precondition Failed
response code.\n
Copies the object if it hasn't been modified since the specified time.
\nIf both of the\n x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-match
condition evaluates to true
,\n and;
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
;
Amazon S3 returns 200 OK
and copies the data.\n
The range of bytes to copy from the source object. The range value must use the form\n bytes=first-last, where the first and last are the zero-based byte offsets to copy. For\n example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You\n can copy a range only if the source object is greater than 5 MB.
", "smithy.api#httpHeader": "x-amz-copy-source-range" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Object key for which the multipart upload was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { "smithy.api#documentation": "Part number of part being copied. This is a positive integer between 1 and\n 10,000.
", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID identifying the multipart upload whose part is being copied.
", "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "Specifies the algorithm to use when encrypting the object (for example,\n AES256).
\nThis functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header. This must be the\n same encryption key specified in the initiate multipart upload request.
This functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported when the destination bucket is a directory bucket.
\nSpecifies the algorithm to use when decrypting the source object (for example,\n AES256
).
This functionality is not supported when the source object is in a directory bucket.
\nSpecifies the customer-provided encryption key for Amazon S3 to use to decrypt the source\n object. The encryption key provided in this header must be one that was used when the\n source object was created.
\nThis functionality is not supported when the source object is in a directory bucket.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported when the source object is in a directory bucket.
\nThe account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The server-side encryption algorithm used when you store this object in Amazon S3 (for example,\n AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
Entity tag for the uploaded object.
", "smithy.api#httpHeader": "ETag" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to confirm the encryption algorithm that's used.
\nThis functionality is not supported for directory buckets.
\nIf server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide the round-trip message integrity verification of\n the customer-provided encryption key.
\nThis functionality is not supported for directory buckets.
\nIf present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key\n that was used for the object.
\nThis functionality is not supported for directory buckets.
\nIndicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Key Management Service (KMS) keys (SSE-KMS).
\nThis functionality is not supported for directory buckets.
\nObject data.
", "smithy.api#httpPayload": {} } }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "The name of the bucket to which the multipart upload was initiated.
\n\n Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format \n Bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format \n bucket_base_name--az-id--x-s3
(for example, \n DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming\n restrictions, see Directory bucket naming\n rules in the Amazon S3 User Guide.
\n Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nAccess points and Object Lambda access points are not supported by directory buckets.
\n\n S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically.
", "smithy.api#httpHeader": "Content-Length" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated\n when using the command from the CLI. This parameter is required if object lock parameters\n are specified.
\nThis functionality is not supported for directory buckets.
\nIndicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum value\n supplied in the CreateMultipartUpload
request.
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { "smithy.api#documentation": "Object key for which the multipart upload was initiated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { "name": "Key" } } }, "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { "smithy.api#documentation": "Part number of part being uploaded. This is a positive integer between 1 and\n 10,000.
", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} } }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { "smithy.api#documentation": "Upload ID identifying the multipart upload whose part is being uploaded.
", "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { "smithy.api#documentation": "Specifies the algorithm to use when encrypting the object (for example,\n AES256).
\nThis functionality is not supported for directory buckets.
\nSpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header
. This must be the\n same encryption key specified in the initiate multipart upload request.
This functionality is not supported for directory buckets.
\nSpecifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
\nThis functionality is not supported for directory buckets.
\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Specifies whether MFA delete is enabled in the bucket versioning configuration. This\n element is only returned if the bucket has been configured with MFA delete. If the bucket\n has never been so configured, this element is not returned.
", "smithy.api#xmlName": "MfaDelete" } }, "Status": { "target": "com.amazonaws.s3#BucketVersioningStatus", "traits": { "smithy.api#documentation": "The versioning state of the bucket.
" } } }, "traits": { "smithy.api#documentation": "Describes the versioning state of an Amazon S3 bucket. For more information, see PUT\n Bucket versioning in the Amazon S3 API Reference.
" } }, "com.amazonaws.s3#WebsiteConfiguration": { "type": "structure", "members": { "ErrorDocument": { "target": "com.amazonaws.s3#ErrorDocument", "traits": { "smithy.api#documentation": "The name of the error document for the website.
" } }, "IndexDocument": { "target": "com.amazonaws.s3#IndexDocument", "traits": { "smithy.api#documentation": "The name of the index document for the website.
" } }, "RedirectAllRequestsTo": { "target": "com.amazonaws.s3#RedirectAllRequestsTo", "traits": { "smithy.api#documentation": "The redirect behavior for every request to this bucket's website endpoint.
\nIf you specify this property, you can't specify any other property.
\nRules that define when a redirect is applied and the redirect behavior.
" } } }, "traits": { "smithy.api#documentation": "Specifies website configuration parameters for an Amazon S3 bucket.
" } }, "com.amazonaws.s3#WebsiteRedirectLocation": { "type": "string" }, "com.amazonaws.s3#WriteGetObjectResponse": { "type": "operation", "input": { "target": "com.amazonaws.s3#WriteGetObjectResponseRequest" }, "output": { "target": "smithy.api#Unit" }, "traits": { "aws.auth#unsignedPayload": {}, "smithy.api#auth": [ "aws.auth#sigv4" ], "smithy.api#documentation": "This operation is not supported by directory buckets.
\nPasses transformed objects to a GetObject
operation when using Object Lambda access points. For\n information about Object Lambda access points, see Transforming objects with\n Object Lambda access points in the Amazon S3 User Guide.
This operation supports metadata that can be returned by GetObject, in addition to\n RequestRoute
, RequestToken
, StatusCode
,\n ErrorCode
, and ErrorMessage
. The GetObject
\n response metadata is supported so that the WriteGetObjectResponse
caller,\n typically an Lambda function, can provide the same metadata when it internally invokes\n GetObject
. When WriteGetObjectResponse
is called by a\n customer-owned Lambda function, the metadata returned to the end user\n GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it\n should be prefaced with x-amz-meta
. For example,\n x-amz-meta-my-custom-header: MyCustomValue
. The primary use case for this\n is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to\n detect and redact personally identifiable information (PII) and decompress S3 objects.\n These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and\n can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.
\nExample 1: PII Access Control - This Lambda function uses Amazon Comprehend, a\n natural language processing (NLP) service using machine learning to find insights and\n relationships in text. It automatically detects personally identifiable information (PII)\n such as names, addresses, dates, credit card numbers, and social security numbers from\n documents in your Amazon S3 bucket.
\nExample 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural\n language processing (NLP) service using machine learning to find insights and relationships\n in text. It automatically redacts personally identifiable information (PII) such as names,\n addresses, dates, credit card numbers, and social security numbers from documents in your\n Amazon S3 bucket.
\nExample 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is\n equipped to decompress objects stored in S3 in one of six compressed file formats including\n bzip2, gzip, snappy, zlib, zstandard and ZIP.
\nFor information on how to view and use these functions, see Using Amazon Web Services built Lambda\n functions in the Amazon S3 User Guide.
", "smithy.api#endpoint": { "hostPrefix": "{RequestRoute}." }, "smithy.api#http": { "method": "POST", "uri": "/WriteGetObjectResponse", "code": 200 }, "smithy.rules#staticContextParams": { "UseObjectLambdaEndpoint": { "value": true } } } }, "com.amazonaws.s3#WriteGetObjectResponseRequest": { "type": "structure", "members": { "RequestRoute": { "target": "com.amazonaws.s3#RequestRoute", "traits": { "smithy.api#documentation": "Route prefix to the HTTP URL generated.
", "smithy.api#hostLabel": {}, "smithy.api#httpHeader": "x-amz-request-route", "smithy.api#required": {} } }, "RequestToken": { "target": "com.amazonaws.s3#RequestToken", "traits": { "smithy.api#documentation": "A single use encrypted token that maps WriteGetObjectResponse
to the end\n user GetObject
request.
The object data.
", "smithy.api#httpPayload": {} } }, "StatusCode": { "target": "com.amazonaws.s3#GetObjectResponseStatusCode", "traits": { "smithy.api#documentation": "The integer status code for an HTTP response of a corresponding GetObject
\n request. The following is a list of status codes.
\n 200 - OK
\n
\n 206 - Partial Content
\n
\n 304 - Not Modified
\n
\n 400 - Bad Request
\n
\n 401 - Unauthorized
\n
\n 403 - Forbidden
\n
\n 404 - Not Found
\n
\n 405 - Method Not Allowed
\n
\n 409 - Conflict
\n
\n 411 - Length Required
\n
\n 412 - Precondition Failed
\n
\n 416 - Range Not Satisfiable
\n
\n 500 - Internal Server Error
\n
\n 503 - Service Unavailable
\n
A string that uniquely identifies an error condition. Returned in the tag\n of the error XML response for a corresponding
GetObject
call. Cannot be used\n with a successful StatusCode
header or when the transformed object is provided\n in the body. All error codes from S3 are sentence-cased. The regular expression (regex)\n value is \"^[A-Z][a-zA-Z]+$\"
.
Contains a generic description of the error condition. Returned in the GetObject
call. Cannot be\n used with a successful StatusCode
header or when the transformed object is\n provided in body.
Indicates that a range of bytes was specified.
", "smithy.api#httpHeader": "x-amz-fwd-header-accept-ranges" } }, "CacheControl": { "target": "com.amazonaws.s3#CacheControl", "traits": { "smithy.api#documentation": "Specifies caching behavior along the request/reply chain.
", "smithy.api#httpHeader": "x-amz-fwd-header-Cache-Control" } }, "ContentDisposition": { "target": "com.amazonaws.s3#ContentDisposition", "traits": { "smithy.api#documentation": "Specifies presentational information for the object.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Encoding" } }, "ContentLanguage": { "target": "com.amazonaws.s3#ContentLanguage", "traits": { "smithy.api#documentation": "The language the content is in.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Language" } }, "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { "smithy.api#documentation": "The size of the content body in bytes.
", "smithy.api#httpHeader": "Content-Length" } }, "ContentRange": { "target": "com.amazonaws.s3#ContentRange", "traits": { "smithy.api#documentation": "The portion of the object returned in the response.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Range" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { "smithy.api#documentation": "A standard MIME type describing the format of the object data.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Type" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
\n ", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha256" } }, "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { "smithy.api#documentation": "Specifies whether an object stored in Amazon S3 is (true
) or is not\n (false
) a delete marker.
An opaque identifier assigned by a web server to a specific version of a resource found\n at a URL.
", "smithy.api#httpHeader": "x-amz-fwd-header-ETag" } }, "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { "smithy.api#documentation": "The date and time at which the object is no longer cacheable.
", "smithy.api#httpHeader": "x-amz-fwd-header-Expires" } }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { "smithy.api#documentation": "If the object expiration is configured (see PUT Bucket lifecycle), the response includes\n this header. It includes the expiry-date
and rule-id
key-value\n pairs that provide the object expiration information. The value of the rule-id
\n is URL-encoded.
The date and time that the object was last modified.
", "smithy.api#httpHeader": "x-amz-fwd-header-Last-Modified" } }, "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { "smithy.api#documentation": "Set to the number of metadata entries not returned in x-amz-meta
headers.\n This can happen if you create metadata using an API like SOAP that supports more flexible\n metadata than the REST API. For example, using SOAP, you can create metadata whose values\n are not legal HTTP headers.
A map of metadata to store with the object in S3.
", "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "ObjectLockMode": { "target": "com.amazonaws.s3#ObjectLockMode", "traits": { "smithy.api#documentation": "Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information\n about S3 Object Lock, see Object Lock.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-object-lock-mode" } }, "ObjectLockLegalHoldStatus": { "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { "smithy.api#documentation": "Indicates whether an object stored in Amazon S3 has an active legal hold.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-object-lock-legal-hold" } }, "ObjectLockRetainUntilDate": { "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", "traits": { "smithy.api#documentation": "The date and time when Object Lock is configured to expire.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-object-lock-retain-until-date" } }, "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { "smithy.api#documentation": "The count of parts this object has.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-mp-parts-count" } }, "ReplicationStatus": { "target": "com.amazonaws.s3#ReplicationStatus", "traits": { "smithy.api#documentation": "Indicates if request involves bucket that is either a source or destination in a\n Replication rule. For more information about S3 Replication, see Replication.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-replication-status" } }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-request-charged" } }, "Restore": { "target": "com.amazonaws.s3#Restore", "traits": { "smithy.api#documentation": "Provides information about object restoration operation and expiration time of the\n restored object copy.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-restore" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": " The server-side encryption algorithm used when storing requested object in Amazon S3 (for\n example, AES256, aws:kms
).
Encryption algorithm used if server-side encryption with a customer-provided encryption\n key was specified for object stored in Amazon S3.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm" } }, "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { "smithy.api#documentation": "If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for stored in Amazon S3 object.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id" } }, "SSECustomerKeyMD5": { "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { "smithy.api#documentation": "128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data\n stored in S3. For more information, see Protecting data\n using server-side encryption with customer-provided encryption keys\n (SSE-C).
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { "smithy.api#documentation": "Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-storage-class" } }, "TagCount": { "target": "com.amazonaws.s3#TagCount", "traits": { "smithy.api#documentation": "The number of tags, if any, on the object.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-tagging-count" } }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "An ID used to reference a specific version of the object.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-version-id" } }, "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#documentation": "Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side\n encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.s3#Years": { "type": "integer" } } }