@aws-sdk/client-s3 3.700.0 → 3.703.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-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +26 -2
- package/dist-es/commands/DeleteObjectsCommand.js +1 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -0
- package/dist-es/commands/PutBucketAclCommand.js +1 -0
- package/dist-es/commands/PutBucketCorsCommand.js +1 -0
- package/dist-es/commands/PutBucketEncryptionCommand.js +1 -0
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -0
- package/dist-es/commands/PutBucketLoggingCommand.js +1 -0
- package/dist-es/commands/PutBucketPolicyCommand.js +1 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +1 -0
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -0
- package/dist-es/commands/PutBucketTaggingCommand.js +1 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +1 -0
- package/dist-es/commands/PutBucketWebsiteCommand.js +1 -0
- package/dist-es/commands/PutObjectAclCommand.js +1 -0
- package/dist-es/commands/PutObjectCommand.js +1 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
- package/dist-es/commands/PutObjectRetentionCommand.js +1 -0
- package/dist-es/commands/PutObjectTaggingCommand.js +1 -0
- package/dist-es/commands/PutPublicAccessBlockCommand.js +1 -0
- package/dist-es/commands/RestoreObjectCommand.js +1 -0
- package/dist-es/commands/UploadPartCommand.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
- package/dist-types/commands/CreateBucketCommand.d.ts +6 -5
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +63 -53
- package/dist-types/commands/DeleteObjectsCommand.d.ts +4 -3
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
- package/dist-types/commands/GetObjectCommand.d.ts +23 -22
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
- package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
- package/dist-types/commands/ListPartsCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/PutObjectCommand.d.ts +36 -35
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +4 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +69 -62
- package/dist-types/models/models_1.d.ts +42 -17
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +2 -2
|
@@ -67,9 +67,9 @@ export interface PutBucketPolicyRequest {
|
|
|
67
67
|
/**
|
|
68
68
|
* <p>The name of the bucket.</p>
|
|
69
69
|
* <p>
|
|
70
|
-
* <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>
|
|
71
|
-
* </code>. 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 <code>
|
|
72
|
-
* <i>
|
|
70
|
+
* <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
71
|
+
* </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
|
|
72
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
73
73
|
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
|
|
74
74
|
* </p>
|
|
75
75
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
@@ -519,7 +519,7 @@ export interface PutObjectOutput {
|
|
|
519
519
|
* <code>rule-id</code> key-value pairs that provide information about object expiration.
|
|
520
520
|
* The value of the <code>rule-id</code> is URL-encoded.</p>
|
|
521
521
|
* <note>
|
|
522
|
-
* <p>
|
|
522
|
+
* <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
|
|
523
523
|
* </note>
|
|
524
524
|
* @public
|
|
525
525
|
*/
|
|
@@ -693,8 +693,8 @@ export interface PutObjectRequest {
|
|
|
693
693
|
* <p>
|
|
694
694
|
* <b>Directory buckets</b> -
|
|
695
695
|
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
696
|
-
* <i>
|
|
697
|
-
* <i>
|
|
696
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
697
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
698
698
|
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
699
699
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
700
700
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2081,7 +2081,13 @@ export interface OutputSerialization {
|
|
|
2081
2081
|
JSON?: JSONOutput | undefined;
|
|
2082
2082
|
}
|
|
2083
2083
|
/**
|
|
2084
|
-
* <
|
|
2084
|
+
* <important>
|
|
2085
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2086
|
+
* </p>
|
|
2087
|
+
* </important>
|
|
2088
|
+
* <p>Describes the parameters for Select job types.</p>
|
|
2089
|
+
* <p>Learn <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">How to optimize querying your data in Amazon S3</a> using
|
|
2090
|
+
* <a href="https://docs.aws.amazon.com/athena/latest/ug/what-is.html">Amazon Athena</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">S3 Object Lambda</a>, or client-side filtering.</p>
|
|
2085
2091
|
* @public
|
|
2086
2092
|
*/
|
|
2087
2093
|
export interface SelectParameters {
|
|
@@ -2096,7 +2102,11 @@ export interface SelectParameters {
|
|
|
2096
2102
|
*/
|
|
2097
2103
|
ExpressionType: ExpressionType | undefined;
|
|
2098
2104
|
/**
|
|
2099
|
-
* <
|
|
2105
|
+
* <important>
|
|
2106
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2107
|
+
* </p>
|
|
2108
|
+
* </important>
|
|
2109
|
+
* <p>The expression that is used to query the object.</p>
|
|
2100
2110
|
* @public
|
|
2101
2111
|
*/
|
|
2102
2112
|
Expression: string | undefined;
|
|
@@ -2137,7 +2147,11 @@ export interface RestoreRequest {
|
|
|
2137
2147
|
*/
|
|
2138
2148
|
GlacierJobParameters?: GlacierJobParameters | undefined;
|
|
2139
2149
|
/**
|
|
2140
|
-
* <
|
|
2150
|
+
* <important>
|
|
2151
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2152
|
+
* </p>
|
|
2153
|
+
* </important>
|
|
2154
|
+
* <p>Type of restore request.</p>
|
|
2141
2155
|
* @public
|
|
2142
2156
|
*/
|
|
2143
2157
|
Type?: RestoreRequestType | undefined;
|
|
@@ -2152,7 +2166,11 @@ export interface RestoreRequest {
|
|
|
2152
2166
|
*/
|
|
2153
2167
|
Description?: string | undefined;
|
|
2154
2168
|
/**
|
|
2155
|
-
* <
|
|
2169
|
+
* <important>
|
|
2170
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2171
|
+
* </p>
|
|
2172
|
+
* </important>
|
|
2173
|
+
* <p>Describes the parameters for Select job types.</p>
|
|
2156
2174
|
* @public
|
|
2157
2175
|
*/
|
|
2158
2176
|
SelectParameters?: SelectParameters | undefined;
|
|
@@ -2459,7 +2477,11 @@ export interface ScanRange {
|
|
|
2459
2477
|
End?: number | undefined;
|
|
2460
2478
|
}
|
|
2461
2479
|
/**
|
|
2462
|
-
* <
|
|
2480
|
+
* <note>
|
|
2481
|
+
* <p>Learn Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2482
|
+
* </p>
|
|
2483
|
+
* </note>
|
|
2484
|
+
* <p>Request to filter the contents of an Amazon S3 object based on a simple Structured Query
|
|
2463
2485
|
* Language (SQL) statement. In the request, along with the SQL expression, you must specify a
|
|
2464
2486
|
* data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data
|
|
2465
2487
|
* into records. It returns only records that match the specified SQL expression. You must
|
|
@@ -2664,8 +2686,8 @@ export interface UploadPartRequest {
|
|
|
2664
2686
|
* <p>
|
|
2665
2687
|
* <b>Directory buckets</b> -
|
|
2666
2688
|
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
2667
|
-
* <i>
|
|
2668
|
-
* <i>
|
|
2689
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
2690
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
2669
2691
|
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
2670
2692
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
2671
2693
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2927,13 +2949,16 @@ export interface UploadPartCopyRequest {
|
|
|
2927
2949
|
/**
|
|
2928
2950
|
* <p>The bucket name.</p>
|
|
2929
2951
|
* <p>
|
|
2930
|
-
* <b>Directory buckets</b> -
|
|
2931
|
-
*
|
|
2932
|
-
* <i>
|
|
2933
|
-
* <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
|
|
2952
|
+
* <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
2953
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
2954
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
2934
2955
|
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
2935
2956
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
2936
2957
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2958
|
+
* <note>
|
|
2959
|
+
* <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise,
|
|
2960
|
+
* you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>
|
|
2961
|
+
* </note>
|
|
2937
2962
|
* <p>
|
|
2938
2963
|
* <b>Access points</b> - 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.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 <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2939
2964
|
* <note>
|
|
@@ -284,6 +284,7 @@ export type BucketCannedACL =
|
|
|
284
284
|
(typeof BucketCannedACL)[keyof typeof BucketCannedACL];
|
|
285
285
|
export declare const DataRedundancy: {
|
|
286
286
|
readonly SingleAvailabilityZone: "SingleAvailabilityZone";
|
|
287
|
+
readonly SingleLocalZone: "SingleLocalZone";
|
|
287
288
|
};
|
|
288
289
|
export type DataRedundancy =
|
|
289
290
|
(typeof DataRedundancy)[keyof typeof DataRedundancy];
|
|
@@ -297,6 +298,7 @@ export interface BucketInfo {
|
|
|
297
298
|
}
|
|
298
299
|
export declare const LocationType: {
|
|
299
300
|
readonly AvailabilityZone: "AvailabilityZone";
|
|
301
|
+
readonly LocalZone: "LocalZone";
|
|
300
302
|
};
|
|
301
303
|
export type LocationType = (typeof LocationType)[keyof typeof LocationType];
|
|
302
304
|
export interface LocationInfo {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.703.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
34
34
|
"@aws-sdk/middleware-bucket-endpoint": "3.696.0",
|
|
35
35
|
"@aws-sdk/middleware-expect-continue": "3.696.0",
|
|
36
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
36
|
+
"@aws-sdk/middleware-flexible-checksums": "3.701.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
38
38
|
"@aws-sdk/middleware-location-constraint": "3.696.0",
|
|
39
39
|
"@aws-sdk/middleware-logger": "3.696.0",
|