@aws-sdk/middleware-sdk-s3 3.36.0 → 3.40.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 +32 -0
- package/dist-cjs/index.js +3 -3
- package/dist-es/index.js +3 -3
- package/dist-types/index.d.ts +3 -3
- package/dist-types/ts3.4/S3SignatureV4.d.ts +1 -8
- package/dist-types/ts3.4/index.d.ts +3 -3
- package/dist-types/ts3.4/throw-200-exceptions.d.ts +3 -12
- package/dist-types/ts3.4/use-regional-endpoint.d.ts +3 -9
- package/dist-types/ts3.4/validate-bucket-name.d.ts +3 -9
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/middleware-sdk-s3
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/middleware-sdk-s3
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/middleware-sdk-s3
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/middleware-sdk-s3
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
39
|
|
|
8
40
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./validate-bucket-name"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./use-regional-endpoint"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./throw-200-exceptions"), exports);
|
|
7
4
|
tslib_1.__exportStar(require("./S3SignatureV4"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./throw-200-exceptions"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./use-regional-endpoint"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./validate-bucket-name"), exports);
|
package/dist-es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./validate-bucket-name";
|
|
2
|
-
export * from "./use-regional-endpoint";
|
|
3
|
-
export * from "./throw-200-exceptions";
|
|
4
1
|
export * from "./S3SignatureV4";
|
|
2
|
+
export * from "./throw-200-exceptions";
|
|
3
|
+
export * from "./use-regional-endpoint";
|
|
4
|
+
export * from "./validate-bucket-name";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./validate-bucket-name";
|
|
2
|
-
export * from "./use-regional-endpoint";
|
|
3
|
-
export * from "./throw-200-exceptions";
|
|
4
1
|
export * from "./S3SignatureV4";
|
|
2
|
+
export * from "./throw-200-exceptions";
|
|
3
|
+
export * from "./use-regional-endpoint";
|
|
4
|
+
export * from "./validate-bucket-name";
|
|
@@ -3,14 +3,7 @@ import { HttpRequest, RequestPresigner, RequestPresigningArguments, RequestSigne
|
|
|
3
3
|
export declare type S3SignerV4Init = SignatureV4Init & SignatureV4CryptoInit & {
|
|
4
4
|
runtime?: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
* A SigV4-compatible signer for S3 service. In order to support SigV4a algorithm according to the operation input
|
|
8
|
-
* dynamically, the signer wraps native module SigV4a signer and JS SigV4 signer. It signs the request with SigV4a
|
|
9
|
-
* algorithm if the request needs to be signed with `*` region. Otherwise, it signs the request with normal SigV4
|
|
10
|
-
* signer.
|
|
11
|
-
* Note that SigV4a signer is only supported in Node.js now because it depends on a native dependency.
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare class S3SignatureV4 implements RequestPresigner, RequestSigner {
|
|
15
8
|
private readonly sigv4Signer;
|
|
16
9
|
private sigv4aSigner?;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./validate-bucket-name";
|
|
2
|
-
export * from "./use-regional-endpoint";
|
|
3
|
-
export * from "./throw-200-exceptions";
|
|
4
1
|
export * from "./S3SignatureV4";
|
|
2
|
+
export * from "./throw-200-exceptions";
|
|
3
|
+
export * from "./use-regional-endpoint";
|
|
4
|
+
export * from "./validate-bucket-name";
|
|
@@ -3,19 +3,10 @@ declare type PreviouslyResolved = {
|
|
|
3
3
|
streamCollector: StreamCollector;
|
|
4
4
|
utf8Encoder: Encoder;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
* In case of an internal error/terminated connection, S3 operations may return 200 errors. CopyObject, UploadPartCopy,
|
|
8
|
-
* CompleteMultipartUpload may return empty payload or payload with only xml Preamble.
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
6
|
+
|
|
11
7
|
export declare const throw200ExceptionsMiddleware: (config: PreviouslyResolved) => DeserializeMiddleware<any, any>;
|
|
12
|
-
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
8
|
+
|
|
15
9
|
export declare const throw200ExceptionsMiddlewareOptions: RelativeMiddlewareOptions;
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
10
|
+
|
|
20
11
|
export declare const getThrow200ExceptionsPlugin: (config: PreviouslyResolved) => Pluggable<any, any>;
|
|
21
12
|
export {};
|
|
@@ -3,16 +3,10 @@ declare type PreviouslyResolved = {
|
|
|
3
3
|
region: Provider<string>;
|
|
4
4
|
isCustomEndpoint: boolean;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
6
|
+
|
|
9
7
|
export declare const useRegionalEndpointMiddleware: (config: PreviouslyResolved) => BuildMiddleware<any, any>;
|
|
10
|
-
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
8
|
+
|
|
13
9
|
export declare const useRegionalEndpointMiddlewareOptions: BuildHandlerOptions;
|
|
14
|
-
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
10
|
+
|
|
17
11
|
export declare const getUseRegionalEndpointPlugin: (config: PreviouslyResolved) => Pluggable<any, any>;
|
|
18
12
|
export {};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export declare function validateBucketNameMiddleware(): InitializeMiddleware<any, any>;
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
4
|
+
|
|
9
5
|
export declare const validateBucketNameMiddlewareOptions: InitializeHandlerOptions;
|
|
10
|
-
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
6
|
+
|
|
13
7
|
export declare const getValidateBucketNamePlugin: (unused: any) => Pluggable<any, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.40.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/protocol-http": "3.
|
|
28
|
-
"@aws-sdk/signature-v4": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-arn-parser": "3.
|
|
27
|
+
"@aws-sdk/protocol-http": "3.40.0",
|
|
28
|
+
"@aws-sdk/signature-v4": "3.40.0",
|
|
29
|
+
"@aws-sdk/types": "3.40.0",
|
|
30
|
+
"@aws-sdk/util-arn-parser": "3.37.0",
|
|
31
31
|
"tslib": "^2.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
34
|
+
"@aws-sdk/signature-v4-crt": "3.40.0",
|
|
35
35
|
"@types/jest": "^26.0.4",
|
|
36
36
|
"jest": "^26.1.0",
|
|
37
37
|
"typescript": "~4.3.5"
|