@aws-sdk/client-s3 3.100.0 → 3.105.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/CHANGELOG.md +11 -0
- package/dist-cjs/S3Client.js +2 -1
- package/dist-es/S3Client.js +3 -2
- package/dist-types/models/models_0.d.ts +5 -15
- package/dist-types/models/models_1.d.ts +1 -3
- package/dist-types/ts3.4/models/models_0.d.ts +5 -15
- package/dist-types/ts3.4/models/models_1.d.ts +1 -3
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-s3
|
package/dist-cjs/S3Client.js
CHANGED
|
@@ -8,6 +8,7 @@ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length"
|
|
|
8
8
|
const middleware_expect_continue_1 = require("@aws-sdk/middleware-expect-continue");
|
|
9
9
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
10
10
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
11
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
11
12
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
12
13
|
const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
|
|
13
14
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
@@ -31,9 +32,9 @@ class S3Client extends smithy_client_1.Client {
|
|
|
31
32
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
32
33
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
33
34
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
34
36
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
35
37
|
this.middlewareStack.use((0, middleware_sdk_s3_1.getValidateBucketNamePlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_sdk_s3_1.getUseRegionalEndpointPlugin)(this.config));
|
|
37
38
|
this.middlewareStack.use((0, middleware_expect_continue_1.getAddExpectContinuePlugin)(this.config));
|
|
38
39
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
39
40
|
}
|
package/dist-es/S3Client.js
CHANGED
|
@@ -6,8 +6,9 @@ import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
|
6
6
|
import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-expect-continue";
|
|
7
7
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
8
8
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
9
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
10
|
-
import {
|
|
11
|
+
import { getValidateBucketNamePlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
11
12
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
12
13
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
13
14
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
@@ -31,9 +32,9 @@ var S3Client = (function (_super) {
|
|
|
31
32
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
32
33
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
33
34
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
35
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
34
36
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
35
37
|
_this.middlewareStack.use(getValidateBucketNamePlugin(_this.config));
|
|
36
|
-
_this.middlewareStack.use(getUseRegionalEndpointPlugin(_this.config));
|
|
37
38
|
_this.middlewareStack.use(getAddExpectContinuePlugin(_this.config));
|
|
38
39
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
39
40
|
return _this;
|
|
@@ -725,9 +725,7 @@ export interface CopyObjectRequest {
|
|
|
725
725
|
/**
|
|
726
726
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
727
727
|
*/
|
|
728
|
-
Metadata?:
|
|
729
|
-
[key: string]: string;
|
|
730
|
-
};
|
|
728
|
+
Metadata?: Record<string, string>;
|
|
731
729
|
/**
|
|
732
730
|
* <p>Specifies whether the metadata is copied from the source object or replaced with
|
|
733
731
|
* metadata provided in the request.</p>
|
|
@@ -1131,9 +1129,7 @@ export interface CreateMultipartUploadRequest {
|
|
|
1131
1129
|
/**
|
|
1132
1130
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
1133
1131
|
*/
|
|
1134
|
-
Metadata?:
|
|
1135
|
-
[key: string]: string;
|
|
1136
|
-
};
|
|
1132
|
+
Metadata?: Record<string, string>;
|
|
1137
1133
|
/**
|
|
1138
1134
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
1139
1135
|
* AES256, aws:kms).</p>
|
|
@@ -6433,9 +6429,7 @@ export interface GetObjectOutput {
|
|
|
6433
6429
|
/**
|
|
6434
6430
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
6435
6431
|
*/
|
|
6436
|
-
Metadata?:
|
|
6437
|
-
[key: string]: string;
|
|
6438
|
-
};
|
|
6432
|
+
Metadata?: Record<string, string>;
|
|
6439
6433
|
/**
|
|
6440
6434
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
6441
6435
|
* response will include this header confirming the encryption algorithm used.</p>
|
|
@@ -7548,9 +7542,7 @@ export interface HeadObjectOutput {
|
|
|
7548
7542
|
/**
|
|
7549
7543
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
7550
7544
|
*/
|
|
7551
|
-
Metadata?:
|
|
7552
|
-
[key: string]: string;
|
|
7553
|
-
};
|
|
7545
|
+
Metadata?: Record<string, string>;
|
|
7554
7546
|
/**
|
|
7555
7547
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
7556
7548
|
* response will include this header confirming the encryption algorithm used.</p>
|
|
@@ -10015,9 +10007,7 @@ export interface PutObjectRequest {
|
|
|
10015
10007
|
/**
|
|
10016
10008
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
10017
10009
|
*/
|
|
10018
|
-
Metadata?:
|
|
10019
|
-
[key: string]: string;
|
|
10020
|
-
};
|
|
10010
|
+
Metadata?: Record<string, string>;
|
|
10021
10011
|
/**
|
|
10022
10012
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
10023
10013
|
* AES256, aws:kms).</p>
|
|
@@ -1671,9 +1671,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1671
1671
|
/**
|
|
1672
1672
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
1673
1673
|
*/
|
|
1674
|
-
Metadata?:
|
|
1675
|
-
[key: string]: string;
|
|
1676
|
-
};
|
|
1674
|
+
Metadata?: Record<string, string>;
|
|
1677
1675
|
/**
|
|
1678
1676
|
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more
|
|
1679
1677
|
* information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
|
|
@@ -310,9 +310,7 @@ export interface CopyObjectRequest {
|
|
|
310
310
|
|
|
311
311
|
Key: string | undefined;
|
|
312
312
|
|
|
313
|
-
Metadata?:
|
|
314
|
-
[key: string]: string;
|
|
315
|
-
};
|
|
313
|
+
Metadata?: Record<string, string>;
|
|
316
314
|
|
|
317
315
|
MetadataDirective?: MetadataDirective | string;
|
|
318
316
|
|
|
@@ -487,9 +485,7 @@ export interface CreateMultipartUploadRequest {
|
|
|
487
485
|
|
|
488
486
|
Key: string | undefined;
|
|
489
487
|
|
|
490
|
-
Metadata?:
|
|
491
|
-
[key: string]: string;
|
|
492
|
-
};
|
|
488
|
+
Metadata?: Record<string, string>;
|
|
493
489
|
|
|
494
490
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
495
491
|
|
|
@@ -2220,9 +2216,7 @@ export interface GetObjectOutput {
|
|
|
2220
2216
|
|
|
2221
2217
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
2222
2218
|
|
|
2223
|
-
Metadata?:
|
|
2224
|
-
[key: string]: string;
|
|
2225
|
-
};
|
|
2219
|
+
Metadata?: Record<string, string>;
|
|
2226
2220
|
|
|
2227
2221
|
SSECustomerAlgorithm?: string;
|
|
2228
2222
|
|
|
@@ -2727,9 +2721,7 @@ export interface HeadObjectOutput {
|
|
|
2727
2721
|
|
|
2728
2722
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
2729
2723
|
|
|
2730
|
-
Metadata?:
|
|
2731
|
-
[key: string]: string;
|
|
2732
|
-
};
|
|
2724
|
+
Metadata?: Record<string, string>;
|
|
2733
2725
|
|
|
2734
2726
|
SSECustomerAlgorithm?: string;
|
|
2735
2727
|
|
|
@@ -3763,9 +3755,7 @@ export interface PutObjectRequest {
|
|
|
3763
3755
|
|
|
3764
3756
|
Key: string | undefined;
|
|
3765
3757
|
|
|
3766
|
-
Metadata?:
|
|
3767
|
-
[key: string]: string;
|
|
3768
|
-
};
|
|
3758
|
+
Metadata?: Record<string, string>;
|
|
3769
3759
|
|
|
3770
3760
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
3771
3761
|
|
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.105.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@aws-crypto/sha1-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-browser": "3.78.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-config-resolver": "3.78.0",
|
|
30
30
|
"@aws-sdk/eventstream-serde-node": "3.78.0",
|
|
@@ -41,8 +41,9 @@
|
|
|
41
41
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
42
42
|
"@aws-sdk/middleware-location-constraint": "3.78.0",
|
|
43
43
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
44
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
44
45
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
45
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
46
|
+
"@aws-sdk/middleware-sdk-s3": "3.105.0",
|
|
46
47
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
47
48
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
48
49
|
"@aws-sdk/middleware-ssec": "3.78.0",
|