@aws-sdk/client-s3 3.325.0 → 3.327.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +41 -14
- package/dist-types/commands/CopyObjectCommand.d.ts +194 -144
- package/dist-types/commands/CreateBucketCommand.d.ts +134 -118
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +91 -48
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +5 -3
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +7 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -8
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +5 -2
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +5 -2
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -5
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +10 -3
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +8 -3
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -0
- package/dist-types/commands/DeleteObjectCommand.d.ts +19 -11
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +8 -4
- package/dist-types/commands/DeleteObjectsCommand.d.ts +57 -36
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -2
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -7
- package/dist-types/commands/GetBucketAclCommand.d.ts +35 -10
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +43 -7
- package/dist-types/commands/GetBucketCorsCommand.d.ts +28 -0
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +23 -7
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +32 -2
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +35 -2
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +62 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +16 -2
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +31 -6
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +70 -2
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +16 -3
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +17 -3
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +9 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +69 -0
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +8 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +7 -0
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +32 -3
- package/dist-types/commands/GetObjectAclCommand.d.ts +27 -7
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +77 -45
- package/dist-types/commands/GetObjectCommand.d.ts +159 -112
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +8 -0
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +11 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +17 -5
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +8 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +12 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +23 -9
- package/dist-types/commands/HeadObjectCommand.d.ts +77 -33
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +46 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +37 -2
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +43 -5
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +37 -7
- package/dist-types/commands/ListBucketsCommand.d.ts +18 -32
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +39 -2
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +53 -6
- package/dist-types/commands/ListObjectsCommand.d.ts +34 -0
- package/dist-types/commands/ListObjectsV2Command.d.ts +47 -12
- package/dist-types/commands/ListPartsCommand.d.ts +40 -4
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +8 -3
- package/dist-types/commands/PutBucketAclCommand.d.ts +118 -111
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +11 -10
- package/dist-types/commands/PutBucketCorsCommand.d.ts +7 -5
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +21 -17
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +35 -59
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +54 -65
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +68 -62
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +49 -39
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +8 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +13 -12
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +8 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +12 -4
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +35 -28
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +16 -12
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -9
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +4 -0
- package/dist-types/commands/PutObjectAclCommand.d.ts +129 -119
- package/dist-types/commands/PutObjectCommand.d.ts +94 -84
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -0
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -8
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +13 -9
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/commands/RestoreObjectCommand.d.ts +182 -199
- package/dist-types/commands/SelectObjectContentCommand.d.ts +109 -90
- package/dist-types/commands/UploadPartCommand.d.ts +42 -22
- package/dist-types/commands/UploadPartCopyCommand.d.ts +85 -63
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +36 -21
- package/dist-types/models/models_0.d.ts +468 -382
- package/dist-types/models/models_1.d.ts +82 -80
- package/package.json +9 -9
|
@@ -29,29 +29,40 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* @public
|
|
32
|
-
* <p>Passes transformed
|
|
33
|
-
*
|
|
34
|
-
* Object Lambda access points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">Transforming objects with
|
|
32
|
+
* <p>Passes transformed objects to a <code>GetObject</code> operation when using Object Lambda access points. For
|
|
33
|
+
* information about Object Lambda access points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">Transforming objects with
|
|
35
34
|
* Object Lambda access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
36
35
|
* <p>This operation supports metadata that can be returned by <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>, in addition to
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* <p>You can include any number of metadata headers. When including a metadata header, it
|
|
45
|
-
* prefaced with <code>x-amz-meta</code>. For example,
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* <p>Example
|
|
53
|
-
*
|
|
54
|
-
*
|
|
36
|
+
* <code>RequestRoute</code>, <code>RequestToken</code>, <code>StatusCode</code>,
|
|
37
|
+
* <code>ErrorCode</code>, and <code>ErrorMessage</code>. The <code>GetObject</code>
|
|
38
|
+
* response metadata is supported so that the <code>WriteGetObjectResponse</code> caller,
|
|
39
|
+
* typically an Lambda function, can provide the same metadata when it internally invokes
|
|
40
|
+
* <code>GetObject</code>. When <code>WriteGetObjectResponse</code> is called by a
|
|
41
|
+
* customer-owned Lambda function, the metadata returned to the end user
|
|
42
|
+
* <code>GetObject</code> call might differ from what Amazon S3 would normally return.</p>
|
|
43
|
+
* <p>You can include any number of metadata headers. When including a metadata header, it
|
|
44
|
+
* should be prefaced with <code>x-amz-meta</code>. For example,
|
|
45
|
+
* <code>x-amz-meta-my-custom-header: MyCustomValue</code>. The primary use case for this
|
|
46
|
+
* is to forward <code>GetObject</code> metadata.</p>
|
|
47
|
+
* <p>Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to
|
|
48
|
+
* detect and redact personally identifiable information (PII) and decompress S3 objects.
|
|
49
|
+
* These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and
|
|
50
|
+
* can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.</p>
|
|
51
|
+
* <p>Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a
|
|
52
|
+
* natural language processing (NLP) service using machine learning to find insights and
|
|
53
|
+
* relationships in text. It automatically detects personally identifiable information (PII)
|
|
54
|
+
* such as names, addresses, dates, credit card numbers, and social security numbers from
|
|
55
|
+
* documents in your Amazon S3 bucket. </p>
|
|
56
|
+
* <p>Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural
|
|
57
|
+
* language processing (NLP) service using machine learning to find insights and relationships
|
|
58
|
+
* in text. It automatically redacts personally identifiable information (PII) such as names,
|
|
59
|
+
* addresses, dates, credit card numbers, and social security numbers from documents in your
|
|
60
|
+
* Amazon S3 bucket. </p>
|
|
61
|
+
* <p>Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is
|
|
62
|
+
* equipped to decompress objects stored in S3 in one of six compressed file formats including
|
|
63
|
+
* bzip2, gzip, snappy, zlib, zstandard and ZIP. </p>
|
|
64
|
+
* <p>For information on how to view and use these functions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-examples.html">Using Amazon Web Services built Lambda
|
|
65
|
+
* functions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
55
66
|
* @example
|
|
56
67
|
* Use a bare-bones client and the command you need to make an API call.
|
|
57
68
|
* ```javascript
|
|
@@ -104,6 +115,8 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
|
|
|
104
115
|
* };
|
|
105
116
|
* const command = new WriteGetObjectResponseCommand(input);
|
|
106
117
|
* const response = await client.send(command);
|
|
118
|
+
* // {};
|
|
119
|
+
*
|
|
107
120
|
* ```
|
|
108
121
|
*
|
|
109
122
|
* @param WriteGetObjectResponseCommandInput - {@link WriteGetObjectResponseCommandInput}
|
|
@@ -112,6 +125,8 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
|
|
|
112
125
|
* @see {@link WriteGetObjectResponseCommandOutput} for command's `response` shape.
|
|
113
126
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
114
127
|
*
|
|
128
|
+
* @throws {@link S3ServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
115
130
|
*
|
|
116
131
|
*/
|
|
117
132
|
export declare class WriteGetObjectResponseCommand extends $Command<WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput, S3ClientResolvedConfig> {
|