@cdklabs/cdk-ecs-codedeploy 0.0.95 → 0.0.96
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/.jsii +6 -6
- package/.projenrc.ts +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/abort-controller/package.json +6 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -41
- package/node_modules/@aws-sdk/client-sso/package.json +32 -37
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
- package/node_modules/@aws-sdk/client-sts/package.json +35 -40
- package/node_modules/@aws-sdk/config-resolver/package.json +10 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -4
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +9 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -4
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -7
- package/node_modules/@aws-sdk/hash-node/package.json +8 -5
- package/node_modules/@aws-sdk/invalid-dependency/package.json +6 -3
- package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
- package/node_modules/@aws-sdk/middleware-retry/package.json +11 -8
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +10 -7
- package/node_modules/@aws-sdk/middleware-serde/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-signing/package.json +10 -7
- package/node_modules/@aws-sdk/middleware-stack/package.json +6 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -5
- package/node_modules/@aws-sdk/node-config-provider/package.json +8 -5
- package/node_modules/@aws-sdk/node-http-handler/package.json +9 -6
- package/node_modules/@aws-sdk/property-provider/package.json +6 -3
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -1
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +0 -10
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpRequest.js +24 -99
- package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -1
- package/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +0 -10
- package/node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js +24 -99
- package/node_modules/@aws-sdk/protocol-http/dist-types/Field.d.ts +1 -1
- package/node_modules/@aws-sdk/protocol-http/dist-types/Fields.d.ts +1 -18
- package/node_modules/@aws-sdk/protocol-http/dist-types/httpRequest.d.ts +7 -50
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/Fields.d.ts +1 -3
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpRequest.d.ts +15 -30
- package/node_modules/@aws-sdk/protocol-http/package.json +7 -4
- package/node_modules/@aws-sdk/querystring-builder/package.json +7 -4
- package/node_modules/@aws-sdk/querystring-parser/package.json +6 -3
- package/node_modules/@aws-sdk/service-error-classification/package.json +6 -3
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +6 -3
- package/node_modules/@aws-sdk/signature-v4/dist-cjs/prepareRequest.js +1 -18
- package/node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js +1 -18
- package/node_modules/@aws-sdk/signature-v4/package.json +13 -10
- package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +16 -16
- package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +23 -23
- package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +3 -3
- package/node_modules/@aws-sdk/smithy-client/package.json +7 -4
- package/node_modules/@aws-sdk/token-providers/package.json +9 -6
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -10
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +15 -15
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -2
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +4 -4
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +4 -4
- package/node_modules/@aws-sdk/types/package.json +5 -2
- package/node_modules/@aws-sdk/url-parser/package.json +7 -4
- package/node_modules/@aws-sdk/util-base64/package.json +6 -3
- package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -2
- package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -2
- package/node_modules/@aws-sdk/util-buffer-from/package.json +6 -3
- package/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
- package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +5 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +6 -3
- package/node_modules/@aws-sdk/util-retry/package.json +7 -4
- package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +7 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -5
- package/node_modules/@aws-sdk/util-utf8/package.json +6 -3
- package/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
- package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +1 -1
- package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +1 -1
- package/node_modules/@aws-sdk/util-waiter/package.json +7 -4
- package/package.json +14 -14
- package/node_modules/@aws-sdk/is-array-buffer/CHANGELOG.md +0 -663
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/headersProxy.js +0 -52
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/queryProxy.js +0 -71
- package/node_modules/@aws-sdk/protocol-http/dist-es/headersProxy.js +0 -45
- package/node_modules/@aws-sdk/protocol-http/dist-es/queryProxy.js +0 -65
- package/node_modules/@aws-sdk/protocol-http/dist-types/headersProxy.d.ts +0 -39
- package/node_modules/@aws-sdk/protocol-http/dist-types/queryProxy.d.ts +0 -29
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/headersProxy.d.ts +0 -8
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/queryProxy.d.ts +0 -10
- package/node_modules/@aws-sdk/util-body-length-browser/CHANGELOG.md +0 -681
- package/node_modules/@aws-sdk/util-hex-encoding/CHANGELOG.md +0 -676
- package/node_modules/@aws-sdk/util-uri-escape/CHANGELOG.md +0 -768
|
@@ -128,7 +128,7 @@ export declare function map(instructions: Record<string, ObjectMappingInstructio
|
|
|
128
128
|
*/
|
|
129
129
|
export declare function map(target: any, instructions: Record<string, ObjectMappingInstruction>): typeof target;
|
|
130
130
|
/**
|
|
131
|
-
* Convert a regular object { k: v } to { k: [, v] } mapping instruction set with default
|
|
131
|
+
* Convert a regular object `{ k: v }` to `{ k: [, v] }` mapping instruction set with default
|
|
132
132
|
* filter.
|
|
133
133
|
*
|
|
134
134
|
* @internal
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Give an input string, strictly parses a boolean value.
|
|
5
5
|
*
|
|
6
|
-
* @param value The boolean string to parse.
|
|
6
|
+
* @param value - The boolean string to parse.
|
|
7
7
|
* @returns true for "true", false for "false", otherwise an error is thrown.
|
|
8
8
|
*/
|
|
9
9
|
export declare const parseBoolean: (value: string) => boolean;
|
|
@@ -14,7 +14,7 @@ export declare const parseBoolean: (value: string) => boolean;
|
|
|
14
14
|
* Casts strings and numbers with a warning if there is evidence that they were
|
|
15
15
|
* intended to be booleans.
|
|
16
16
|
*
|
|
17
|
-
* @param value A value that is expected to be a boolean.
|
|
17
|
+
* @param value - A value that is expected to be a boolean.
|
|
18
18
|
* @returns The value if it's a boolean, undefined if it's null/undefined,
|
|
19
19
|
* otherwise an error is thrown.
|
|
20
20
|
*/
|
|
@@ -26,7 +26,7 @@ export declare const expectBoolean: (value: any) => boolean | undefined;
|
|
|
26
26
|
* Casts strings with a warning if the string is a parseable number.
|
|
27
27
|
* This is to unblock slight API definition/implementation inconsistencies.
|
|
28
28
|
*
|
|
29
|
-
* @param value A value that is expected to be a number.
|
|
29
|
+
* @param value - A value that is expected to be a number.
|
|
30
30
|
* @returns The value if it's a number, undefined if it's null/undefined,
|
|
31
31
|
* otherwise an error is thrown.
|
|
32
32
|
*/
|
|
@@ -36,7 +36,7 @@ export declare const expectNumber: (value: any) => number | undefined;
|
|
|
36
36
|
*
|
|
37
37
|
* Asserts a value is a 32-bit float and returns it.
|
|
38
38
|
*
|
|
39
|
-
* @param value A value that is expected to be a 32-bit float.
|
|
39
|
+
* @param value - A value that is expected to be a 32-bit float.
|
|
40
40
|
* @returns The value if it's a float, undefined if it's null/undefined,
|
|
41
41
|
* otherwise an error is thrown.
|
|
42
42
|
*/
|
|
@@ -46,7 +46,7 @@ export declare const expectFloat32: (value: any) => number | undefined;
|
|
|
46
46
|
*
|
|
47
47
|
* Asserts a value is an integer and returns it.
|
|
48
48
|
*
|
|
49
|
-
* @param value A value that is expected to be an integer.
|
|
49
|
+
* @param value - A value that is expected to be an integer.
|
|
50
50
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
51
51
|
* otherwise an error is thrown.
|
|
52
52
|
*/
|
|
@@ -62,7 +62,7 @@ export declare const expectInt: (value: any) => number | undefined;
|
|
|
62
62
|
*
|
|
63
63
|
* Asserts a value is a 32-bit integer and returns it.
|
|
64
64
|
*
|
|
65
|
-
* @param value A value that is expected to be an integer.
|
|
65
|
+
* @param value - A value that is expected to be an integer.
|
|
66
66
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
67
67
|
* otherwise an error is thrown.
|
|
68
68
|
*/
|
|
@@ -72,7 +72,7 @@ export declare const expectInt32: (value: any) => number | undefined;
|
|
|
72
72
|
*
|
|
73
73
|
* Asserts a value is a 16-bit integer and returns it.
|
|
74
74
|
*
|
|
75
|
-
* @param value A value that is expected to be an integer.
|
|
75
|
+
* @param value - A value that is expected to be an integer.
|
|
76
76
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
77
77
|
* otherwise an error is thrown.
|
|
78
78
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const expectShort: (value: any) => number | undefined;
|
|
|
82
82
|
*
|
|
83
83
|
* Asserts a value is an 8-bit integer and returns it.
|
|
84
84
|
*
|
|
85
|
-
* @param value A value that is expected to be an integer.
|
|
85
|
+
* @param value - A value that is expected to be an integer.
|
|
86
86
|
* @returns The value if it's an integer, undefined if it's null/undefined,
|
|
87
87
|
* otherwise an error is thrown.
|
|
88
88
|
*/
|
|
@@ -92,8 +92,8 @@ export declare const expectByte: (value: any) => number | undefined;
|
|
|
92
92
|
*
|
|
93
93
|
* Asserts a value is not null or undefined and returns it, or throws an error.
|
|
94
94
|
*
|
|
95
|
-
* @param value A value that is expected to be defined
|
|
96
|
-
* @param location The location where we're expecting to find a defined object (optional)
|
|
95
|
+
* @param value - A value that is expected to be defined
|
|
96
|
+
* @param location - The location where we're expecting to find a defined object (optional)
|
|
97
97
|
* @returns The value if it's not undefined, otherwise throws an error
|
|
98
98
|
*/
|
|
99
99
|
export declare const expectNonNull: <T>(value: T | null | undefined, location?: string | undefined) => T;
|
|
@@ -103,7 +103,7 @@ export declare const expectNonNull: <T>(value: T | null | undefined, location?:
|
|
|
103
103
|
* Asserts a value is an JSON-like object and returns it. This is expected to be used
|
|
104
104
|
* with values parsed from JSON (arrays, objects, numbers, strings, booleans).
|
|
105
105
|
*
|
|
106
|
-
* @param value A value that is expected to be an object
|
|
106
|
+
* @param value - A value that is expected to be an object
|
|
107
107
|
* @returns The value if it's an object, undefined if it's null/undefined,
|
|
108
108
|
* otherwise an error is thrown.
|
|
109
109
|
*/
|
|
@@ -114,7 +114,7 @@ export declare const expectObject: (value: any) => Record<string, any> | undefin
|
|
|
114
114
|
* Asserts a value is a string and returns it.
|
|
115
115
|
* Numbers and boolean will be cast to strings with a warning.
|
|
116
116
|
*
|
|
117
|
-
* @param value A value that is expected to be a string.
|
|
117
|
+
* @param value - A value that is expected to be a string.
|
|
118
118
|
* @returns The value if it's a string, undefined if it's null/undefined,
|
|
119
119
|
* otherwise an error is thrown.
|
|
120
120
|
*/
|
|
@@ -125,9 +125,9 @@ export declare const expectString: (value: any) => string | undefined;
|
|
|
125
125
|
* Asserts a value is a JSON-like object with only one non-null/non-undefined key and
|
|
126
126
|
* returns it.
|
|
127
127
|
*
|
|
128
|
-
* @param value A value that is expected to be an object with exactly one non-null,
|
|
128
|
+
* @param value - A value that is expected to be an object with exactly one non-null,
|
|
129
129
|
* non-undefined key.
|
|
130
|
-
* @
|
|
130
|
+
* @returns the value if it's a union, undefined if it's null/undefined, otherwise
|
|
131
131
|
* an error is thrown.
|
|
132
132
|
*/
|
|
133
133
|
export declare const expectUnion: (value: unknown) => Record<string, any> | undefined;
|
|
@@ -140,7 +140,7 @@ export declare const expectUnion: (value: unknown) => Record<string, any> | unde
|
|
|
140
140
|
* "NaN", any implicit Nan values will result in an error being thrown. If any
|
|
141
141
|
* other type is provided, an exception will be thrown.
|
|
142
142
|
*
|
|
143
|
-
* @param value A number or string representation of a double.
|
|
143
|
+
* @param value - A number or string representation of a double.
|
|
144
144
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
145
145
|
*/
|
|
146
146
|
export declare const strictParseDouble: (value: string | number) => number | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const strictParseFloat: (value: string | number) => number | unde
|
|
|
159
159
|
* "NaN", any implicit Nan values will result in an error being thrown. If any
|
|
160
160
|
* other type is provided, an exception will be thrown.
|
|
161
161
|
*
|
|
162
|
-
* @param value A number or string representation of a float.
|
|
162
|
+
* @param value - A number or string representation of a float.
|
|
163
163
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
164
164
|
*/
|
|
165
165
|
export declare const strictParseFloat32: (value: string | number) => number | undefined;
|
|
@@ -172,7 +172,7 @@ export declare const strictParseFloat32: (value: string | number) => number | un
|
|
|
172
172
|
* being thrown. Null or undefined will be returned as undefined. Any other
|
|
173
173
|
* type will result in an exception being thrown.
|
|
174
174
|
*
|
|
175
|
-
* @param value A number or string representation of a non-numeric float.
|
|
175
|
+
* @param value - A number or string representation of a non-numeric float.
|
|
176
176
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
177
177
|
*/
|
|
178
178
|
export declare const limitedParseDouble: (value: string | number) => number | undefined;
|
|
@@ -197,7 +197,7 @@ export declare const limitedParseFloat: (value: string | number) => number | und
|
|
|
197
197
|
* being thrown. Null or undefined will be returned as undefined. Any other
|
|
198
198
|
* type will result in an exception being thrown.
|
|
199
199
|
*
|
|
200
|
-
* @param value A number or string representation of a non-numeric float.
|
|
200
|
+
* @param value - A number or string representation of a non-numeric float.
|
|
201
201
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
202
202
|
*/
|
|
203
203
|
export declare const limitedParseFloat32: (value: string | number) => number | undefined;
|
|
@@ -210,7 +210,7 @@ export declare const limitedParseFloat32: (value: string | number) => number | u
|
|
|
210
210
|
* an integer, or the raw value is any type other than a string or number, an
|
|
211
211
|
* exception will be thrown.
|
|
212
212
|
*
|
|
213
|
-
* @param value A number or string representation of an integer.
|
|
213
|
+
* @param value - A number or string representation of an integer.
|
|
214
214
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
215
215
|
*/
|
|
216
216
|
export declare const strictParseLong: (value: string | number) => number | undefined;
|
|
@@ -229,7 +229,7 @@ export declare const strictParseInt: (value: string | number) => number | undefi
|
|
|
229
229
|
* an integer, or the raw value is any type other than a string or number, an
|
|
230
230
|
* exception will be thrown.
|
|
231
231
|
*
|
|
232
|
-
* @param value A number or string representation of a 32-bit integer.
|
|
232
|
+
* @param value - A number or string representation of a 32-bit integer.
|
|
233
233
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
234
234
|
*/
|
|
235
235
|
export declare const strictParseInt32: (value: string | number) => number | undefined;
|
|
@@ -242,7 +242,7 @@ export declare const strictParseInt32: (value: string | number) => number | unde
|
|
|
242
242
|
* an integer, or the raw value is any type other than a string or number, an
|
|
243
243
|
* exception will be thrown.
|
|
244
244
|
*
|
|
245
|
-
* @param value A number or string representation of a 16-bit integer.
|
|
245
|
+
* @param value - A number or string representation of a 16-bit integer.
|
|
246
246
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
247
247
|
*/
|
|
248
248
|
export declare const strictParseShort: (value: string | number) => number | undefined;
|
|
@@ -255,12 +255,12 @@ export declare const strictParseShort: (value: string | number) => number | unde
|
|
|
255
255
|
* an integer, or the raw value is any type other than a string or number, an
|
|
256
256
|
* exception will be thrown.
|
|
257
257
|
*
|
|
258
|
-
* @param value A number or string representation of an 8-bit integer.
|
|
258
|
+
* @param value - A number or string representation of an 8-bit integer.
|
|
259
259
|
* @returns The value as a number, or undefined if it's null/undefined.
|
|
260
260
|
*/
|
|
261
261
|
export declare const strictParseByte: (value: string | number) => number | undefined;
|
|
262
262
|
/**
|
|
263
|
-
* @
|
|
263
|
+
* @internal
|
|
264
264
|
*/
|
|
265
265
|
export declare const logger: {
|
|
266
266
|
warn: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Serializes a number, turning non-numeric values into strings.
|
|
5
5
|
*
|
|
6
|
-
* @param value The number to serialize.
|
|
6
|
+
* @param value - The number to serialize.
|
|
7
7
|
* @returns A number, or a string if the given number was non-numeric.
|
|
8
8
|
*/
|
|
9
9
|
export declare const serializeFloat: (value: number) => string | number;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Given an input string, splits based on the delimiter after a given
|
|
5
5
|
* number of delimiters has been encountered.
|
|
6
6
|
*
|
|
7
|
-
* @param value The input string to split.
|
|
8
|
-
* @param delimiter The delimiter to split on.
|
|
9
|
-
* @param numDelimiters The number of delimiters to have encountered to split.
|
|
7
|
+
* @param value - The input string to split.
|
|
8
|
+
* @param delimiter - The delimiter to split on.
|
|
9
|
+
* @param numDelimiters - The number of delimiters to have encountered to split.
|
|
10
10
|
*/
|
|
11
11
|
export declare function splitEvery(value: string, delimiter: string, numDelimiters: number): Array<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/smithy-client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.292.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/middleware-stack": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
24
|
+
"@aws-sdk/types": "3.292.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
"concurrently": "7.0.0",
|
|
50
50
|
"downlevel-dts": "0.10.1",
|
|
51
51
|
"rimraf": "3.0.2",
|
|
52
|
-
"typedoc": "0.
|
|
52
|
+
"typedoc": "0.23.23",
|
|
53
53
|
"typescript": "~4.6.2"
|
|
54
|
+
},
|
|
55
|
+
"typedoc": {
|
|
56
|
+
"entryPoint": "src/index.ts"
|
|
54
57
|
}
|
|
55
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.292.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
29
|
-
"@aws-sdk/property-provider": "3.
|
|
30
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/client-sso-oidc": "3.292.0",
|
|
29
|
+
"@aws-sdk/property-provider": "3.292.0",
|
|
30
|
+
"@aws-sdk/shared-ini-file-loader": "3.292.0",
|
|
31
|
+
"@aws-sdk/types": "3.292.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"concurrently": "7.0.0",
|
|
38
38
|
"downlevel-dts": "0.10.1",
|
|
39
39
|
"rimraf": "3.0.2",
|
|
40
|
-
"typedoc": "0.
|
|
40
|
+
"typedoc": "0.23.23",
|
|
41
41
|
"typescript": "~4.6.2"
|
|
42
42
|
},
|
|
43
43
|
"types": "./dist-types/index.d.ts",
|
|
@@ -59,5 +59,8 @@
|
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
61
61
|
"directory": "packages/token-providers"
|
|
62
|
+
},
|
|
63
|
+
"typedoc": {
|
|
64
|
+
"entryPoint": "src/index.ts"
|
|
62
65
|
}
|
|
63
66
|
}
|
|
@@ -38,7 +38,7 @@ export interface AbortSignal {
|
|
|
38
38
|
export interface AbortController {
|
|
39
39
|
/**
|
|
40
40
|
* An object that reports whether the action associated with this
|
|
41
|
-
*
|
|
41
|
+
* `AbortController` has been cancelled.
|
|
42
42
|
*/
|
|
43
43
|
readonly signal: AbortSignal;
|
|
44
44
|
/**
|
|
@@ -32,7 +32,7 @@ export interface Checksum {
|
|
|
32
32
|
* Allows marking a checksum for checksums that support the ability
|
|
33
33
|
* to mark and reset.
|
|
34
34
|
*
|
|
35
|
-
* @param
|
|
35
|
+
* @param readLimit - The maximum limit of bytes that can be read
|
|
36
36
|
* before the mark position becomes invalid.
|
|
37
37
|
*/
|
|
38
38
|
mark?(readLimit: number): void;
|
|
@@ -47,7 +47,7 @@ export interface Checksum {
|
|
|
47
47
|
* Implementations may override this method which passes second param
|
|
48
48
|
* which makes Checksum object stateless.
|
|
49
49
|
*
|
|
50
|
-
* @param
|
|
50
|
+
* @param chunk - The buffer to update checksum with.
|
|
51
51
|
*/
|
|
52
52
|
update(chunk: Uint8Array): void;
|
|
53
53
|
}
|
|
@@ -5,13 +5,13 @@ import { Provider } from "./util";
|
|
|
5
5
|
*
|
|
6
6
|
* An object representing temporary or permanent AWS credentials.
|
|
7
7
|
*
|
|
8
|
-
* @deprecated Use {@AwsCredentialIdentity}
|
|
8
|
+
* @deprecated Use {@link AwsCredentialIdentity}
|
|
9
9
|
*/
|
|
10
10
|
export interface Credentials extends AwsCredentialIdentity {
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* @public
|
|
14
14
|
*
|
|
15
|
-
* @deprecated Use {@AwsCredentialIdentityProvider}
|
|
15
|
+
* @deprecated Use {@link AwsCredentialIdentityProvider}
|
|
16
16
|
*/
|
|
17
17
|
export declare type CredentialProvider = Provider<Credentials>;
|
|
@@ -65,21 +65,21 @@ export interface HostResolver {
|
|
|
65
65
|
* of the multiple addresses that get returned.
|
|
66
66
|
* Implementations don't have to explictly call getaddrinfo(), they can use
|
|
67
67
|
* high level abstractions provided in their language runtimes/libraries.
|
|
68
|
-
* @param args arguments with host name query addresses for
|
|
68
|
+
* @param args - arguments with host name query addresses for
|
|
69
69
|
* @returns promise with a list of {@link HostAddress}
|
|
70
70
|
*/
|
|
71
71
|
resolveAddress(args: HostResolverArguments): Promise<HostAddress[]>;
|
|
72
72
|
/**
|
|
73
73
|
* Reports a failure on a {@link HostAddress} so that the cache (if implemented)
|
|
74
74
|
* can accomodate the failure and likely not return the address until it recovers.
|
|
75
|
-
* @param addr host address to report a failure on
|
|
75
|
+
* @param addr - host address to report a failure on
|
|
76
76
|
*/
|
|
77
77
|
reportFailureOnAddress(addr: HostAddress): void;
|
|
78
78
|
/**
|
|
79
79
|
* Empties the cache (if implemented) for a {@link HostResolverArguments.hostName}.
|
|
80
80
|
* If {@link HostResolverArguments.hostName} is not provided, the cache (if
|
|
81
81
|
* implemented) is emptied for all host names.
|
|
82
|
-
* @param args optional arguments to empty the cache for
|
|
82
|
+
* @param args - optional arguments to empty the cache for
|
|
83
83
|
*/
|
|
84
84
|
purgeCache(args?: HostResolverArguments): void;
|
|
85
85
|
}
|
|
@@ -9,15 +9,15 @@ export interface Headers extends Map<string, string> {
|
|
|
9
9
|
* Returns a new instance of Headers with the specified header set to the
|
|
10
10
|
* provided value. Does not modify the original Headers instance.
|
|
11
11
|
*
|
|
12
|
-
* @param headerName
|
|
13
|
-
* @param headerValue
|
|
12
|
+
* @param headerName - The name of the header to add or overwrite
|
|
13
|
+
* @param headerValue - The value to which the header should be set
|
|
14
14
|
*/
|
|
15
15
|
withHeader(headerName: string, headerValue: string): Headers;
|
|
16
16
|
/**
|
|
17
17
|
* Returns a new instance of Headers without the specified header. Does not
|
|
18
18
|
* modify the original Headers instance.
|
|
19
19
|
*
|
|
20
|
-
* @param headerName
|
|
20
|
+
* @param headerName - The name of the header to remove
|
|
21
21
|
*/
|
|
22
22
|
withoutHeader(headerName: string): Headers;
|
|
23
23
|
}
|
|
@@ -32,16 +32,16 @@ export interface Headers extends Map<string, string> {
|
|
|
32
32
|
* particular implementation. For example, given the following HeaderBag, where
|
|
33
33
|
* keys differ only in case:
|
|
34
34
|
*
|
|
35
|
+
* ```json
|
|
35
36
|
* {
|
|
36
37
|
* 'x-amz-date': '2000-01-01T00:00:00Z',
|
|
37
38
|
* 'X-Amz-Date': '2001-01-01T00:00:00Z'
|
|
38
39
|
* }
|
|
40
|
+
* ```
|
|
39
41
|
*
|
|
40
42
|
* The SDK may at any point during processing remove one of the object
|
|
41
43
|
* properties in favor of the other. The headers may or may not be combined, and
|
|
42
44
|
* the SDK will not deterministically select which header candidate to use.
|
|
43
|
-
*
|
|
44
|
-
* @deprecated Replaced by implementation Fields in @aws-sdk/protocol-http.
|
|
45
45
|
*/
|
|
46
46
|
export declare type HeaderBag = Record<string, string>;
|
|
47
47
|
/**
|
|
@@ -49,8 +49,6 @@ export declare type HeaderBag = Record<string, string>;
|
|
|
49
49
|
*
|
|
50
50
|
* Represents an HTTP message with headers and an optional static or streaming
|
|
51
51
|
* body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
|
|
52
|
-
*
|
|
53
|
-
* @deprecated Replaced by implementation HttpRequest/HttpResponse in @aws-sdk/protocol-http.
|
|
54
52
|
*/
|
|
55
53
|
export interface HttpMessage {
|
|
56
54
|
headers: HeaderBag;
|
|
@@ -67,7 +65,7 @@ export declare type QueryParameterBag = Record<string, string | Array<string> |
|
|
|
67
65
|
/**
|
|
68
66
|
* @public
|
|
69
67
|
*
|
|
70
|
-
* @deprecated use EndpointV2 from
|
|
68
|
+
* @deprecated use {@link EndpointV2} from `@aws-sdk/types`.
|
|
71
69
|
*/
|
|
72
70
|
export interface Endpoint {
|
|
73
71
|
protocol: string;
|
|
@@ -81,8 +79,6 @@ export interface Endpoint {
|
|
|
81
79
|
*
|
|
82
80
|
* Interface an HTTP request class. Contains
|
|
83
81
|
* addressing information in addition to standard message properties.
|
|
84
|
-
*
|
|
85
|
-
* @deprecated Replaced by implementation HttpRequest in @aws-sdk/protocol-http.
|
|
86
82
|
*/
|
|
87
83
|
export interface HttpRequest extends HttpMessage, Endpoint {
|
|
88
84
|
method: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* order of increasing severity. Each log level includes itself and all
|
|
6
6
|
* the levels behind itself.
|
|
7
7
|
*
|
|
8
|
-
* @example new Logger({logLevel: 'warn'}) will print all the warn and error
|
|
8
|
+
* @example `new Logger({logLevel: 'warn'})` will print all the warn and error
|
|
9
9
|
* message.
|
|
10
10
|
*/
|
|
11
11
|
export declare type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";
|
|
@@ -88,7 +88,7 @@ export interface InitializeHandler<Input extends object, Output extends object>
|
|
|
88
88
|
/**
|
|
89
89
|
* Asynchronously converts an input object into an output object.
|
|
90
90
|
*
|
|
91
|
-
* @param args
|
|
91
|
+
* @param args - An object containing a input to the command as well as any
|
|
92
92
|
* associated or previously generated execution artifacts.
|
|
93
93
|
*/
|
|
94
94
|
(args: InitializeHandlerArguments<Input>): Promise<InitializeHandlerOutput<Output>>;
|
|
@@ -104,7 +104,7 @@ export interface SerializeHandler<Input extends object, Output extends object> {
|
|
|
104
104
|
/**
|
|
105
105
|
* Asynchronously converts an input object into an output object.
|
|
106
106
|
*
|
|
107
|
-
* @param args
|
|
107
|
+
* @param args - An object containing a input to the command as well as any
|
|
108
108
|
* associated or previously generated execution artifacts.
|
|
109
109
|
*/
|
|
110
110
|
(args: SerializeHandlerArguments<Input>): Promise<SerializeHandlerOutput<Output>>;
|
|
@@ -116,7 +116,7 @@ export interface FinalizeHandler<Input extends object, Output extends object> {
|
|
|
116
116
|
/**
|
|
117
117
|
* Asynchronously converts an input object into an output object.
|
|
118
118
|
*
|
|
119
|
-
* @param args
|
|
119
|
+
* @param args - An object containing a input to the command as well as any
|
|
120
120
|
* associated or previously generated execution artifacts.
|
|
121
121
|
*/
|
|
122
122
|
(args: FinalizeHandlerArguments<Input>): Promise<FinalizeHandlerOutput<Output>>;
|
|
@@ -136,45 +136,45 @@ export interface DeserializeHandler<Input extends object, Output extends object>
|
|
|
136
136
|
/**
|
|
137
137
|
* @public
|
|
138
138
|
*
|
|
139
|
-
* A factory function that creates functions implementing the
|
|
139
|
+
* A factory function that creates functions implementing the `Handler`
|
|
140
140
|
* interface.
|
|
141
141
|
*/
|
|
142
142
|
export interface InitializeMiddleware<Input extends object, Output extends object> {
|
|
143
143
|
/**
|
|
144
|
-
* @param next The handler to invoke after this middleware has operated on
|
|
144
|
+
* @param next - The handler to invoke after this middleware has operated on
|
|
145
145
|
* the user input and before this middleware operates on the output.
|
|
146
146
|
*
|
|
147
|
-
* @param context Invariant data and functions for use by the handler.
|
|
147
|
+
* @param context - Invariant data and functions for use by the handler.
|
|
148
148
|
*/
|
|
149
149
|
(next: InitializeHandler<Input, Output>, context: HandlerExecutionContext): InitializeHandler<Input, Output>;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* @public
|
|
153
153
|
*
|
|
154
|
-
* A factory function that creates functions implementing the
|
|
154
|
+
* A factory function that creates functions implementing the `BuildHandler`
|
|
155
155
|
* interface.
|
|
156
156
|
*/
|
|
157
157
|
export interface SerializeMiddleware<Input extends object, Output extends object> {
|
|
158
158
|
/**
|
|
159
|
-
* @param next The handler to invoke after this middleware has operated on
|
|
159
|
+
* @param next - The handler to invoke after this middleware has operated on
|
|
160
160
|
* the user input and before this middleware operates on the output.
|
|
161
161
|
*
|
|
162
|
-
* @param context Invariant data and functions for use by the handler.
|
|
162
|
+
* @param context - Invariant data and functions for use by the handler.
|
|
163
163
|
*/
|
|
164
164
|
(next: SerializeHandler<Input, Output>, context: HandlerExecutionContext): SerializeHandler<Input, Output>;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* @public
|
|
168
168
|
*
|
|
169
|
-
* A factory function that creates functions implementing the
|
|
169
|
+
* A factory function that creates functions implementing the `FinalizeHandler`
|
|
170
170
|
* interface.
|
|
171
171
|
*/
|
|
172
172
|
export interface FinalizeRequestMiddleware<Input extends object, Output extends object> {
|
|
173
173
|
/**
|
|
174
|
-
* @param next The handler to invoke after this middleware has operated on
|
|
174
|
+
* @param next - The handler to invoke after this middleware has operated on
|
|
175
175
|
* the user input and before this middleware operates on the output.
|
|
176
176
|
*
|
|
177
|
-
* @param context Invariant data and functions for use by the handler.
|
|
177
|
+
* @param context - Invariant data and functions for use by the handler.
|
|
178
178
|
*/
|
|
179
179
|
(next: FinalizeHandler<Input, Output>, context: HandlerExecutionContext): FinalizeHandler<Input, Output>;
|
|
180
180
|
}
|
|
@@ -242,7 +242,7 @@ export interface HandlerOptions {
|
|
|
242
242
|
* per operation execution, finalization and deserialize handlers will be
|
|
243
243
|
* executed foreach HTTP request sent.
|
|
244
244
|
*
|
|
245
|
-
* @
|
|
245
|
+
* @defaultValue 'initialize'
|
|
246
246
|
*/
|
|
247
247
|
step?: Step;
|
|
248
248
|
/**
|
|
@@ -269,7 +269,7 @@ export interface AbsoluteLocation {
|
|
|
269
269
|
* By default middleware will be added to individual step in un-guaranteed order.
|
|
270
270
|
* In the case that
|
|
271
271
|
*
|
|
272
|
-
* @
|
|
272
|
+
* @defaultValue 'normal'
|
|
273
273
|
*/
|
|
274
274
|
priority?: Priority;
|
|
275
275
|
}
|
|
@@ -440,7 +440,7 @@ export interface HandlerExecutionContext {
|
|
|
440
440
|
*/
|
|
441
441
|
userAgent?: UserAgent;
|
|
442
442
|
/**
|
|
443
|
-
* Resolved by the endpointMiddleware function of
|
|
443
|
+
* Resolved by the endpointMiddleware function of `@aws-sdk/middleware-endpoint`
|
|
444
444
|
* in the serialization stage.
|
|
445
445
|
*/
|
|
446
446
|
endpointV2?: EndpointV2;
|
|
@@ -54,7 +54,7 @@ export interface RetryBackoffStrategy {
|
|
|
54
54
|
export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy {
|
|
55
55
|
/**
|
|
56
56
|
* Sets the delayBase used to compute backoff delays.
|
|
57
|
-
* @param delayBase
|
|
57
|
+
* @param delayBase -
|
|
58
58
|
*/
|
|
59
59
|
setDelayBase(delayBase: number): void;
|
|
60
60
|
}
|
|
@@ -97,7 +97,7 @@ export interface StandardRetryToken extends RetryToken {
|
|
|
97
97
|
/**
|
|
98
98
|
* Releases a number of tokens.
|
|
99
99
|
*
|
|
100
|
-
* @param amount of tokens to release.
|
|
100
|
+
* @param amount - of tokens to release.
|
|
101
101
|
*/
|
|
102
102
|
releaseRetryTokens(amount?: number): void;
|
|
103
103
|
}
|
|
@@ -16,7 +16,7 @@ export interface StreamCollector {
|
|
|
16
16
|
/**
|
|
17
17
|
* A function that converts a stream into an array of bytes.
|
|
18
18
|
*
|
|
19
|
-
* @param stream
|
|
19
|
+
* @param stream - The low-level native stream from browser or Nodejs runtime
|
|
20
20
|
*/
|
|
21
21
|
(stream: any): Promise<Uint8Array>;
|
|
22
22
|
}
|
|
@@ -41,9 +41,9 @@ export interface RequestSerializer<Request, Context extends EndpointBearer = any
|
|
|
41
41
|
/**
|
|
42
42
|
* Converts the provided `input` into a request object
|
|
43
43
|
*
|
|
44
|
-
* @param input
|
|
44
|
+
* @param input - The user input to serialize.
|
|
45
45
|
*
|
|
46
|
-
* @param context
|
|
46
|
+
* @param context - Context containing runtime-specific util functions.
|
|
47
47
|
*/
|
|
48
48
|
(input: any, context: Context): Promise<Request>;
|
|
49
49
|
}
|
|
@@ -54,9 +54,9 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
|
|
|
54
54
|
/**
|
|
55
55
|
* Converts the output of an operation into JavaScript types.
|
|
56
56
|
*
|
|
57
|
-
* @param output
|
|
57
|
+
* @param output - The HTTP response received from the service
|
|
58
58
|
*
|
|
59
|
-
* @param context
|
|
59
|
+
* @param context - context containing runtime-specific util functions.
|
|
60
60
|
*/
|
|
61
61
|
(output: ResponseType, context: Context): Promise<OutputType>;
|
|
62
62
|
}
|
|
@@ -68,8 +68,8 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
|
|
|
68
68
|
* be merged correctly.
|
|
69
69
|
*
|
|
70
70
|
* This is also required for any clients with streaming interfaces where the corresponding
|
|
71
|
-
* types are also referred. The type is only declared here once since this
|
|
72
|
-
* is depended by all
|
|
71
|
+
* types are also referred. The type is only declared here once since this `@aws-sdk/types`
|
|
72
|
+
* is depended by all `@aws-sdk` packages.
|
|
73
73
|
*/
|
|
74
74
|
declare global {
|
|
75
75
|
/**
|
|
@@ -57,8 +57,7 @@ export interface SmithyException {
|
|
|
57
57
|
/**
|
|
58
58
|
* @public
|
|
59
59
|
*
|
|
60
|
-
* @deprecated
|
|
61
|
-
* @see https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/
|
|
60
|
+
* @deprecated See {@link https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/}
|
|
62
61
|
*
|
|
63
62
|
* This type should not be used in your application.
|
|
64
63
|
* Users of the AWS SDK for JavaScript v3 service clients should prefer to
|