@cdklabs/cdk-ecs-codedeploy 0.0.95 → 0.0.97

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.
Files changed (124) hide show
  1. package/.jsii +6 -6
  2. package/.projenrc.ts +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/abort-controller/package.json +6 -3
  8. package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -41
  9. package/node_modules/@aws-sdk/client-sso/package.json +32 -37
  10. package/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
  11. package/node_modules/@aws-sdk/client-sts/package.json +35 -40
  12. package/node_modules/@aws-sdk/config-resolver/package.json +10 -7
  13. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -4
  14. package/node_modules/@aws-sdk/credential-provider-imds/package.json +9 -6
  15. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -10
  16. package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -11
  17. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -5
  18. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -7
  19. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -4
  20. package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -7
  21. package/node_modules/@aws-sdk/hash-node/package.json +8 -5
  22. package/node_modules/@aws-sdk/invalid-dependency/package.json +6 -3
  23. package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -2
  24. package/node_modules/@aws-sdk/middleware-content-length/package.json +7 -4
  25. package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
  26. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -4
  27. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -3
  28. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
  29. package/node_modules/@aws-sdk/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +1 -1
  30. package/node_modules/@aws-sdk/middleware-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  31. package/node_modules/@aws-sdk/middleware-retry/package.json +11 -8
  32. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +10 -7
  33. package/node_modules/@aws-sdk/middleware-serde/package.json +6 -3
  34. package/node_modules/@aws-sdk/middleware-signing/package.json +10 -7
  35. package/node_modules/@aws-sdk/middleware-stack/package.json +6 -3
  36. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +5 -1
  37. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +5 -1
  38. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -5
  39. package/node_modules/@aws-sdk/node-config-provider/package.json +8 -5
  40. package/node_modules/@aws-sdk/node-http-handler/package.json +9 -6
  41. package/node_modules/@aws-sdk/property-provider/package.json +6 -3
  42. package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -1
  43. package/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +0 -10
  44. package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpRequest.js +24 -99
  45. package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -1
  46. package/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +0 -10
  47. package/node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js +24 -99
  48. package/node_modules/@aws-sdk/protocol-http/dist-types/Field.d.ts +1 -1
  49. package/node_modules/@aws-sdk/protocol-http/dist-types/Fields.d.ts +1 -18
  50. package/node_modules/@aws-sdk/protocol-http/dist-types/httpRequest.d.ts +7 -50
  51. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/Fields.d.ts +1 -3
  52. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpRequest.d.ts +15 -30
  53. package/node_modules/@aws-sdk/protocol-http/package.json +7 -4
  54. package/node_modules/@aws-sdk/querystring-builder/package.json +7 -4
  55. package/node_modules/@aws-sdk/querystring-parser/package.json +6 -3
  56. package/node_modules/@aws-sdk/service-error-classification/package.json +6 -3
  57. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +6 -3
  58. package/node_modules/@aws-sdk/signature-v4/dist-cjs/prepareRequest.js +1 -18
  59. package/node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js +1 -18
  60. package/node_modules/@aws-sdk/signature-v4/package.json +13 -10
  61. package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +16 -16
  62. package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +1 -1
  63. package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +1 -1
  64. package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +1 -1
  65. package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +23 -23
  66. package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +1 -1
  67. package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +3 -3
  68. package/node_modules/@aws-sdk/smithy-client/package.json +7 -4
  69. package/node_modules/@aws-sdk/token-providers/package.json +9 -6
  70. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
  71. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -1
  72. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +2 -2
  73. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -2
  74. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +3 -3
  75. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -10
  76. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
  77. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +1 -1
  78. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +15 -15
  79. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
  80. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +2 -2
  81. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +7 -7
  82. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -2
  83. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +4 -4
  84. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  85. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +4 -4
  86. package/node_modules/@aws-sdk/types/package.json +5 -2
  87. package/node_modules/@aws-sdk/url-parser/package.json +7 -4
  88. package/node_modules/@aws-sdk/util-base64/package.json +6 -3
  89. package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -2
  90. package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -2
  91. package/node_modules/@aws-sdk/util-buffer-from/package.json +6 -3
  92. package/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
  93. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
  94. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
  95. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +16 -3
  96. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +12 -2
  97. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +30 -0
  98. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +26 -0
  99. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
  100. package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -2
  101. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -2
  102. package/node_modules/@aws-sdk/util-middleware/package.json +6 -3
  103. package/node_modules/@aws-sdk/util-retry/package.json +7 -4
  104. package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -2
  105. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +7 -4
  106. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -5
  107. package/node_modules/@aws-sdk/util-utf8/package.json +6 -3
  108. package/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
  109. package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +1 -1
  110. package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +1 -1
  111. package/node_modules/@aws-sdk/util-waiter/package.json +7 -4
  112. package/package.json +14 -14
  113. package/node_modules/@aws-sdk/is-array-buffer/CHANGELOG.md +0 -663
  114. package/node_modules/@aws-sdk/protocol-http/dist-cjs/headersProxy.js +0 -52
  115. package/node_modules/@aws-sdk/protocol-http/dist-cjs/queryProxy.js +0 -71
  116. package/node_modules/@aws-sdk/protocol-http/dist-es/headersProxy.js +0 -45
  117. package/node_modules/@aws-sdk/protocol-http/dist-es/queryProxy.js +0 -65
  118. package/node_modules/@aws-sdk/protocol-http/dist-types/headersProxy.d.ts +0 -39
  119. package/node_modules/@aws-sdk/protocol-http/dist-types/queryProxy.d.ts +0 -29
  120. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/headersProxy.d.ts +0 -8
  121. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/queryProxy.d.ts +0 -10
  122. package/node_modules/@aws-sdk/util-body-length-browser/CHANGELOG.md +0 -681
  123. package/node_modules/@aws-sdk/util-hex-encoding/CHANGELOG.md +0 -676
  124. 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
- * @return the value if it's a union, undefined if it's null/undefined, otherwise
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
- * @private
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.290.0",
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.290.0",
24
- "@aws-sdk/types": "3.290.0",
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.19.2",
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.290.0",
3
+ "version": "3.293.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.290.0",
29
- "@aws-sdk/property-provider": "3.290.0",
30
- "@aws-sdk/shared-ini-file-loader": "3.290.0",
31
- "@aws-sdk/types": "3.290.0",
28
+ "@aws-sdk/client-sso-oidc": "3.293.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.19.2",
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
- * {AbortController} has been cancelled.
41
+ * `AbortController` has been cancelled.
42
42
  */
43
43
  readonly signal: AbortSignal;
44
44
  /**
@@ -18,7 +18,7 @@ export interface AuthScheme {
18
18
  signingRegion: string;
19
19
  /**
20
20
  * @example ["*"]
21
- * @exammple ["us-west-2", "us-east-1"]
21
+ * @example ["us-west-2", "us-east-1"]
22
22
  */
23
23
  signingRegionSet?: string[];
24
24
  /**
@@ -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 {number} readLimit - The maximum limit of bytes that can be read
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 {Uint8Array} chunk - The buffer to update checksum with.
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 The name of the header to add or overwrite
13
- * @param headerValue The value to which the header should be set
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 The name of the header to remove
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 @aws-sdk/types.
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;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface Identity {
5
5
  /**
6
- * A {Date} when the identity or credential will no longer be accepted.
6
+ * A `Date` when the identity or credential will no longer be accepted.
7
7
  */
8
8
  readonly expiration?: Date;
9
9
  }
@@ -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 An object containing a input to the command as well as any
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 An object containing a input to the command as well as any
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 An object containing a input to the command as well as any
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 {Handler}
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 {BuildHandler}
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 {FinalizeHandler}
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
- * @default 'initialize'
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
- * @default 'normal'
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 @aws-sdk/middleware-endpoint
443
+ * Resolved by the endpointMiddleware function of `@aws-sdk/middleware-endpoint`
444
444
  * in the serialization stage.
445
445
  */
446
446
  endpointV2?: EndpointV2;
@@ -5,7 +5,7 @@ export declare type IniSection = Record<string, string | undefined>;
5
5
  /**
6
6
  * @public
7
7
  *
8
- * @deprecated: Please use IniSection
8
+ * @deprecated Please use {@link IniSection}
9
9
  */
10
10
  export interface Profile extends IniSection {
11
11
  }
@@ -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 The low-level native stream from browser or Nodejs runtime
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 The user input to serialize.
44
+ * @param input - The user input to serialize.
45
45
  *
46
- * @param context Context containing runtime-specific util functions.
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 The HTTP response received from the service
57
+ * @param output - The HTTP response received from the service
58
58
  *
59
- * @param context context containing runtime-specific util functions.
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 @aws-sdk/types
72
- * is depended by all @aws-sdk packages.
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