@cdklabs/cdk-ecs-codedeploy 0.0.91 → 0.0.93

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 (94) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/package.json +30 -30
  8. package/node_modules/@aws-sdk/client-sso/package.json +26 -26
  9. package/node_modules/@aws-sdk/client-sso-oidc/package.json +26 -26
  10. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +47 -0
  11. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +34 -0
  12. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +34 -0
  13. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +16 -0
  14. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +48 -0
  15. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +38 -0
  16. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +23 -0
  17. package/node_modules/@aws-sdk/client-sts/package.json +29 -29
  18. package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
  19. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  20. package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
  21. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  26. package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
  27. package/node_modules/@aws-sdk/hash-node/package.json +2 -2
  28. package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
  29. package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
  30. package/node_modules/@aws-sdk/middleware-endpoint/package.json +7 -7
  31. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  32. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  33. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  34. package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
  35. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
  36. package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
  37. package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
  38. package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
  39. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  40. package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
  41. package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
  42. package/node_modules/@aws-sdk/property-provider/package.json +2 -2
  43. package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
  44. package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
  45. package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
  46. package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
  47. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
  48. package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
  49. package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
  50. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  51. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  52. package/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
  53. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +7 -0
  54. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +8 -0
  55. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +4 -0
  56. package/node_modules/@aws-sdk/types/dist-types/client.d.ts +2 -0
  57. package/node_modules/@aws-sdk/types/dist-types/command.d.ts +3 -0
  58. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +4 -0
  59. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +11 -0
  60. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +10 -0
  61. package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +21 -0
  62. package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +61 -0
  63. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +18 -0
  64. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +3 -0
  65. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +6 -0
  66. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +6 -0
  67. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +6 -0
  68. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +6 -0
  69. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +6 -0
  70. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +108 -0
  71. package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +4 -0
  72. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +11 -0
  73. package/node_modules/@aws-sdk/types/dist-types/request.d.ts +3 -0
  74. package/node_modules/@aws-sdk/types/dist-types/response.d.ts +9 -0
  75. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +30 -0
  76. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +25 -0
  77. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +8 -0
  78. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +28 -0
  79. package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +5 -0
  80. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +4 -0
  81. package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +9 -0
  82. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +24 -0
  83. package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +3 -0
  84. package/node_modules/@aws-sdk/types/package.json +1 -1
  85. package/node_modules/@aws-sdk/url-parser/package.json +3 -3
  86. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
  87. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
  88. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  89. package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
  90. package/node_modules/@aws-sdk/util-retry/package.json +3 -3
  91. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  92. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  93. package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
  94. package/package.json +7 -7
@@ -1,5 +1,7 @@
1
1
  import { AbortSignal } from "./abort";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * A collection of key/value pairs with case-insensitive keys.
4
6
  */
5
7
  export interface Headers extends Map<string, string> {
@@ -20,6 +22,8 @@ export interface Headers extends Map<string, string> {
20
22
  withoutHeader(headerName: string): Headers;
21
23
  }
22
24
  /**
25
+ * @public
26
+ *
23
27
  * A mapping of header names to string values. Multiple values for the same
24
28
  * header should be represented as a single string with values separated by
25
29
  * `, `.
@@ -39,6 +43,8 @@ export interface Headers extends Map<string, string> {
39
43
  */
40
44
  export declare type HeaderBag = Record<string, string>;
41
45
  /**
46
+ * @public
47
+ *
42
48
  * Represents an HTTP message with headers and an optional static or streaming
43
49
  * body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
44
50
  */
@@ -47,12 +53,16 @@ export interface HttpMessage {
47
53
  body?: any;
48
54
  }
49
55
  /**
56
+ * @public
57
+ *
50
58
  * A mapping of query parameter names to strings or arrays of strings, with the
51
59
  * second being used when a parameter contains a list of values. Value can be set
52
60
  * to null when query is not in key-value pairs shape
53
61
  */
54
62
  export declare type QueryParameterBag = Record<string, string | Array<string> | null>;
55
63
  /**
64
+ * @public
65
+ *
56
66
  * @deprecated use EndpointV2 from @aws-sdk/types.
57
67
  */
58
68
  export interface Endpoint {
@@ -63,6 +73,8 @@ export interface Endpoint {
63
73
  query?: QueryParameterBag;
64
74
  }
65
75
  /**
76
+ * @public
77
+ *
66
78
  * Interface an HTTP request class. Contains
67
79
  * addressing information in addition to standard message properties.
68
80
  */
@@ -70,6 +82,8 @@ export interface HttpRequest extends HttpMessage, Endpoint {
70
82
  method: string;
71
83
  }
72
84
  /**
85
+ * @public
86
+ *
73
87
  * Represents an HTTP message as received in reply to a request. Contains a
74
88
  * numeric status code in addition to standard message properties.
75
89
  */
@@ -77,6 +91,8 @@ export interface HttpResponse extends HttpMessage {
77
91
  statusCode: number;
78
92
  }
79
93
  /**
94
+ * @public
95
+ *
80
96
  * Represents HTTP message whose body has been resolved to a string. This is
81
97
  * used in parsing http message.
82
98
  */
@@ -84,6 +100,8 @@ export interface ResolvedHttpResponse extends HttpResponse {
84
100
  body: string;
85
101
  }
86
102
  /**
103
+ * @public
104
+ *
87
105
  * Represents the options that may be passed to an Http Handler.
88
106
  */
89
107
  export interface HttpHandlerOptions {
@@ -1,3 +1,6 @@
1
1
  import { Identity } from "./Identity";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface AnonymousIdentity extends Identity {
3
6
  }
@@ -1,4 +1,7 @@
1
1
  import { Identity, IdentityProvider } from "./Identity";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface AwsCredentialIdentity extends Identity {
3
6
  /**
4
7
  * AWS access key ID
@@ -14,4 +17,7 @@ export interface AwsCredentialIdentity extends Identity {
14
17
  */
15
18
  readonly sessionToken?: string;
16
19
  }
20
+ /**
21
+ * @public
22
+ */
17
23
  export declare type AwsCredentialIdentityProvider = IdentityProvider<AwsCredentialIdentity>;
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @public
3
+ */
1
4
  export interface Identity {
2
5
  /**
3
6
  * A {Date} when the identity or credential will no longer be accepted.
4
7
  */
5
8
  readonly expiration?: Date;
6
9
  }
10
+ /**
11
+ * @public
12
+ */
7
13
  export interface IdentityProvider<IdentityT extends Identity> {
8
14
  (identityProperties?: Record<string, any>): Promise<IdentityT>;
9
15
  }
@@ -1,4 +1,7 @@
1
1
  import { Identity, IdentityProvider } from "./Identity";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface LoginIdentity extends Identity {
3
6
  /**
4
7
  * Identity username
@@ -9,4 +12,7 @@ export interface LoginIdentity extends Identity {
9
12
  */
10
13
  readonly password: string;
11
14
  }
15
+ /**
16
+ * @public
17
+ */
12
18
  export declare type LoginIdentityProvider = IdentityProvider<LoginIdentity>;
@@ -1,8 +1,14 @@
1
1
  import { Identity, IdentityProvider } from "./Identity";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface TokenIdentity extends Identity {
3
6
  /**
4
7
  * The literal token string
5
8
  */
6
9
  readonly token: string;
7
10
  }
11
+ /**
12
+ * @public
13
+ */
8
14
  export declare type TokenIdentityProvider = IdentityProvider<TokenIdentity>;
@@ -1,4 +1,6 @@
1
1
  /**
2
+ * @public
3
+ *
2
4
  * A list of logger's log level. These levels are sorted in
3
5
  * order of increasing severity. Each log level includes itself and all
4
6
  * the levels behind itself.
@@ -8,6 +10,8 @@
8
10
  */
9
11
  export declare type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";
10
12
  /**
13
+ * @public
14
+ *
11
15
  * An object consumed by Logger constructor to initiate a logger object.
12
16
  */
13
17
  export interface LoggerOptions {
@@ -15,6 +19,8 @@ export interface LoggerOptions {
15
19
  logLevel?: LogLevel;
16
20
  }
17
21
  /**
22
+ * @public
23
+ *
18
24
  * Represents a logger object that is available in HandlerExecutionContext
19
25
  * throughout the middleware stack.
20
26
  */
@@ -2,6 +2,9 @@ import { AuthScheme, HttpAuthDefinition } from "./auth";
2
2
  import { EndpointV2 } from "./endpoint";
3
3
  import { Logger } from "./logger";
4
4
  import { UserAgent } from "./util";
5
+ /**
6
+ * @public
7
+ */
5
8
  export interface InitializeHandlerArguments<Input extends object> {
6
9
  /**
7
10
  * User input to a command. Reflects the userland representation of the
@@ -9,9 +12,15 @@ export interface InitializeHandlerArguments<Input extends object> {
9
12
  */
10
13
  input: Input;
11
14
  }
15
+ /**
16
+ * @public
17
+ */
12
18
  export interface InitializeHandlerOutput<Output extends object> extends DeserializeHandlerOutput<Output> {
13
19
  output: Output;
14
20
  }
21
+ /**
22
+ * @public
23
+ */
15
24
  export interface SerializeHandlerArguments<Input extends object> extends InitializeHandlerArguments<Input> {
16
25
  /**
17
26
  * The user input serialized as a request object. The request object is unknown,
@@ -23,22 +32,43 @@ export interface SerializeHandlerArguments<Input extends object> extends Initial
23
32
  */
24
33
  request?: unknown;
25
34
  }
35
+ /**
36
+ * @public
37
+ */
26
38
  export interface SerializeHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
27
39
  }
40
+ /**
41
+ * @public
42
+ */
28
43
  export interface BuildHandlerArguments<Input extends object> extends FinalizeHandlerArguments<Input> {
29
44
  }
45
+ /**
46
+ * @public
47
+ */
30
48
  export interface BuildHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
31
49
  }
50
+ /**
51
+ * @public
52
+ */
32
53
  export interface FinalizeHandlerArguments<Input extends object> extends SerializeHandlerArguments<Input> {
33
54
  /**
34
55
  * The user input serialized as a request.
35
56
  */
36
57
  request: unknown;
37
58
  }
59
+ /**
60
+ * @public
61
+ */
38
62
  export interface FinalizeHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
39
63
  }
64
+ /**
65
+ * @public
66
+ */
40
67
  export interface DeserializeHandlerArguments<Input extends object> extends FinalizeHandlerArguments<Input> {
41
68
  }
69
+ /**
70
+ * @public
71
+ */
42
72
  export interface DeserializeHandlerOutput<Output extends object> {
43
73
  /**
44
74
  * The raw response object from runtime is deserialized to structured output object.
@@ -51,6 +81,9 @@ export interface DeserializeHandlerOutput<Output extends object> {
51
81
  response: unknown;
52
82
  output?: Output;
53
83
  }
84
+ /**
85
+ * @public
86
+ */
54
87
  export interface InitializeHandler<Input extends object, Output extends object> {
55
88
  /**
56
89
  * Asynchronously converts an input object into an output object.
@@ -60,7 +93,13 @@ export interface InitializeHandler<Input extends object, Output extends object>
60
93
  */
61
94
  (args: InitializeHandlerArguments<Input>): Promise<InitializeHandlerOutput<Output>>;
62
95
  }
96
+ /**
97
+ * @public
98
+ */
63
99
  export declare type Handler<Input extends object, Output extends object> = InitializeHandler<Input, Output>;
100
+ /**
101
+ * @public
102
+ */
64
103
  export interface SerializeHandler<Input extends object, Output extends object> {
65
104
  /**
66
105
  * Asynchronously converts an input object into an output object.
@@ -70,6 +109,9 @@ export interface SerializeHandler<Input extends object, Output extends object> {
70
109
  */
71
110
  (args: SerializeHandlerArguments<Input>): Promise<SerializeHandlerOutput<Output>>;
72
111
  }
112
+ /**
113
+ * @public
114
+ */
73
115
  export interface FinalizeHandler<Input extends object, Output extends object> {
74
116
  /**
75
117
  * Asynchronously converts an input object into an output object.
@@ -79,13 +121,21 @@ export interface FinalizeHandler<Input extends object, Output extends object> {
79
121
  */
80
122
  (args: FinalizeHandlerArguments<Input>): Promise<FinalizeHandlerOutput<Output>>;
81
123
  }
124
+ /**
125
+ * @public
126
+ */
82
127
  export interface BuildHandler<Input extends object, Output extends object> {
83
128
  (args: BuildHandlerArguments<Input>): Promise<BuildHandlerOutput<Output>>;
84
129
  }
130
+ /**
131
+ * @public
132
+ */
85
133
  export interface DeserializeHandler<Input extends object, Output extends object> {
86
134
  (args: DeserializeHandlerArguments<Input>): Promise<DeserializeHandlerOutput<Output>>;
87
135
  }
88
136
  /**
137
+ * @public
138
+ *
89
139
  * A factory function that creates functions implementing the {Handler}
90
140
  * interface.
91
141
  */
@@ -99,6 +149,8 @@ export interface InitializeMiddleware<Input extends object, Output extends objec
99
149
  (next: InitializeHandler<Input, Output>, context: HandlerExecutionContext): InitializeHandler<Input, Output>;
100
150
  }
101
151
  /**
152
+ * @public
153
+ *
102
154
  * A factory function that creates functions implementing the {BuildHandler}
103
155
  * interface.
104
156
  */
@@ -112,6 +164,8 @@ export interface SerializeMiddleware<Input extends object, Output extends object
112
164
  (next: SerializeHandler<Input, Output>, context: HandlerExecutionContext): SerializeHandler<Input, Output>;
113
165
  }
114
166
  /**
167
+ * @public
168
+ *
115
169
  * A factory function that creates functions implementing the {FinalizeHandler}
116
170
  * interface.
117
171
  */
@@ -124,22 +178,42 @@ export interface FinalizeRequestMiddleware<Input extends object, Output extends
124
178
  */
125
179
  (next: FinalizeHandler<Input, Output>, context: HandlerExecutionContext): FinalizeHandler<Input, Output>;
126
180
  }
181
+ /**
182
+ * @public
183
+ */
127
184
  export interface BuildMiddleware<Input extends object, Output extends object> {
128
185
  (next: BuildHandler<Input, Output>, context: HandlerExecutionContext): BuildHandler<Input, Output>;
129
186
  }
187
+ /**
188
+ * @public
189
+ */
130
190
  export interface DeserializeMiddleware<Input extends object, Output extends object> {
131
191
  (next: DeserializeHandler<Input, Output>, context: HandlerExecutionContext): DeserializeHandler<Input, Output>;
132
192
  }
193
+ /**
194
+ * @public
195
+ */
133
196
  export declare type MiddlewareType<Input extends object, Output extends object> = InitializeMiddleware<Input, Output> | SerializeMiddleware<Input, Output> | BuildMiddleware<Input, Output> | FinalizeRequestMiddleware<Input, Output> | DeserializeMiddleware<Input, Output>;
134
197
  /**
198
+ * @public
199
+ *
135
200
  * A factory function that creates the terminal handler atop which a middleware
136
201
  * stack sits.
137
202
  */
138
203
  export interface Terminalware {
139
204
  <Input extends object, Output extends object>(context: HandlerExecutionContext): DeserializeHandler<Input, Output>;
140
205
  }
206
+ /**
207
+ * @public
208
+ */
141
209
  export declare type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize";
210
+ /**
211
+ * @public
212
+ */
142
213
  export declare type Priority = "high" | "normal" | "low";
214
+ /**
215
+ * @public
216
+ */
143
217
  export interface HandlerOptions {
144
218
  /**
145
219
  * Handlers are ordered using a "step" that describes the stage of command
@@ -187,6 +261,9 @@ export interface HandlerOptions {
187
261
  */
188
262
  override?: boolean;
189
263
  }
264
+ /**
265
+ * @public
266
+ */
190
267
  export interface AbsoluteLocation {
191
268
  /**
192
269
  * By default middleware will be added to individual step in un-guaranteed order.
@@ -196,7 +273,13 @@ export interface AbsoluteLocation {
196
273
  */
197
274
  priority?: Priority;
198
275
  }
276
+ /**
277
+ * @public
278
+ */
199
279
  export declare type Relation = "before" | "after";
280
+ /**
281
+ * @public
282
+ */
200
283
  export interface RelativeLocation {
201
284
  /**
202
285
  * Specify the relation to be before or after a know middleware.
@@ -207,23 +290,43 @@ export interface RelativeLocation {
207
290
  */
208
291
  toMiddleware: string;
209
292
  }
293
+ /**
294
+ * @public
295
+ */
210
296
  export declare type RelativeMiddlewareOptions = RelativeLocation & Omit<HandlerOptions, "step">;
297
+ /**
298
+ * @public
299
+ */
211
300
  export interface InitializeHandlerOptions extends HandlerOptions {
212
301
  step?: "initialize";
213
302
  }
303
+ /**
304
+ * @public
305
+ */
214
306
  export interface SerializeHandlerOptions extends HandlerOptions {
215
307
  step: "serialize";
216
308
  }
309
+ /**
310
+ * @public
311
+ */
217
312
  export interface BuildHandlerOptions extends HandlerOptions {
218
313
  step: "build";
219
314
  }
315
+ /**
316
+ * @public
317
+ */
220
318
  export interface FinalizeRequestHandlerOptions extends HandlerOptions {
221
319
  step: "finalizeRequest";
222
320
  }
321
+ /**
322
+ * @public
323
+ */
223
324
  export interface DeserializeHandlerOptions extends HandlerOptions {
224
325
  step: "deserialize";
225
326
  }
226
327
  /**
328
+ * @public
329
+ *
227
330
  * A stack storing middleware. It can be resolved into a handler. It supports 2
228
331
  * approaches for adding middleware:
229
332
  * 1. Adding middleware to specific step with `add()`. The order of middleware
@@ -319,6 +422,8 @@ export interface MiddlewareStack<Input extends object, Output extends object> ex
319
422
  resolve<InputType extends Input, OutputType extends Output>(handler: DeserializeHandler<InputType, OutputType>, context: HandlerExecutionContext): InitializeHandler<InputType, OutputType>;
320
423
  }
321
424
  /**
425
+ * @public
426
+ *
322
427
  * Data and helper objects that are not expected to change from one execution of
323
428
  * a composed handler to another.
324
429
  */
@@ -357,6 +462,9 @@ export interface HandlerExecutionContext {
357
462
  }>;
358
463
  [key: string]: any;
359
464
  }
465
+ /**
466
+ * @public
467
+ */
360
468
  export interface Pluggable<Input extends object, Output extends object> {
361
469
  /**
362
470
  * A function that mutate the passed in middleware stack. Functions implementing
@@ -1,9 +1,13 @@
1
1
  import { Client } from "./client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Expected type definition of a paginator.
4
6
  */
5
7
  export declare type Paginator<T> = AsyncGenerator<T, T, unknown>;
6
8
  /**
9
+ * @public
10
+ *
7
11
  * Expected paginator configuration passed to an operation. Services will extend
8
12
  * this interface definition and may type client further.
9
13
  */
@@ -1,10 +1,21 @@
1
+ /**
2
+ * @public
3
+ */
1
4
  export declare type IniSection = Record<string, string | undefined>;
2
5
  /**
6
+ * @public
7
+ *
3
8
  * @deprecated: Please use IniSection
4
9
  */
5
10
  export interface Profile extends IniSection {
6
11
  }
12
+ /**
13
+ * @public
14
+ */
7
15
  export declare type ParsedIniData = Record<string, IniSection>;
16
+ /**
17
+ * @public
18
+ */
8
19
  export interface SharedConfigFiles {
9
20
  credentialsFile: ParsedIniData;
10
21
  configFile: ParsedIniData;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export interface Request {
2
5
  destination: URL;
3
6
  body?: any;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export interface ResponseMetadata {
2
5
  /**
3
6
  * The status code of the last HTTP response received for this operation.
@@ -26,12 +29,18 @@ export interface ResponseMetadata {
26
29
  */
27
30
  totalRetryDelay?: number;
28
31
  }
32
+ /**
33
+ * @internal
34
+ */
29
35
  export interface MetadataBearer {
30
36
  /**
31
37
  * Metadata pertaining to this request.
32
38
  */
33
39
  $metadata: ResponseMetadata;
34
40
  }
41
+ /**
42
+ * @internal
43
+ */
35
44
  export interface Response {
36
45
  body: any;
37
46
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @public
3
+ */
1
4
  export declare type RetryErrorType =
2
5
  /**
3
6
  * This is a connection level error such as a socket timeout, socket connect
@@ -22,6 +25,9 @@ export declare type RetryErrorType =
22
25
  * challenge in Http.
23
26
  */
24
27
  | "CLIENT_ERROR";
28
+ /**
29
+ * @public
30
+ */
25
31
  export interface RetryErrorInfo {
26
32
  errorType: RetryErrorType;
27
33
  /**
@@ -33,12 +39,18 @@ export interface RetryErrorInfo {
33
39
  */
34
40
  retryAfterHint?: Date;
35
41
  }
42
+ /**
43
+ * @public
44
+ */
36
45
  export interface RetryBackoffStrategy {
37
46
  /**
38
47
  * @returns the number of milliseconds to wait before retrying an action.
39
48
  */
40
49
  computeNextBackoffDelay(retryAttempt: number): number;
41
50
  }
51
+ /**
52
+ * @public
53
+ */
42
54
  export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy {
43
55
  /**
44
56
  * Sets the delayBase used to compute backoff delays.
@@ -46,10 +58,16 @@ export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy {
46
58
  */
47
59
  setDelayBase(delayBase: number): void;
48
60
  }
61
+ /**
62
+ * @public
63
+ */
49
64
  export interface RetryStrategyOptions {
50
65
  backoffStrategy: RetryBackoffStrategy;
51
66
  maxRetriesBase: number;
52
67
  }
68
+ /**
69
+ * @public
70
+ */
53
71
  export interface RetryToken {
54
72
  /**
55
73
  * @returns the current count of retry.
@@ -60,6 +78,9 @@ export interface RetryToken {
60
78
  */
61
79
  getRetryDelay(): number;
62
80
  }
81
+ /**
82
+ * @public
83
+ */
63
84
  export interface StandardRetryToken extends RetryToken {
64
85
  /**
65
86
  * @returns wheather token has remaining tokens.
@@ -80,6 +101,9 @@ export interface StandardRetryToken extends RetryToken {
80
101
  */
81
102
  releaseRetryTokens(amount?: number): void;
82
103
  }
104
+ /**
105
+ * @public
106
+ */
83
107
  export interface RetryStrategyV2 {
84
108
  /**
85
109
  * Called before any retries (for the first call to the operation). It either
@@ -105,7 +129,13 @@ export interface RetryStrategyV2 {
105
129
  */
106
130
  recordSuccess(token: RetryToken): void;
107
131
  }
132
+ /**
133
+ * @public
134
+ */
108
135
  export declare type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED";
136
+ /**
137
+ * @public
138
+ */
109
139
  export interface ExponentialBackoffStrategyOptions {
110
140
  jitterType: ExponentialBackoffJitterType;
111
141
  backoffScaleValue?: number;
@@ -2,11 +2,16 @@ import { Endpoint } from "./http";
2
2
  import { RequestHandler } from "./transfer";
3
3
  import { Decoder, Encoder, Provider } from "./util";
4
4
  /**
5
+ * @public
6
+ *
5
7
  * Interface for object requires an Endpoint set.
6
8
  */
7
9
  export interface EndpointBearer {
8
10
  endpoint: Provider<Endpoint>;
9
11
  }
12
+ /**
13
+ * @public
14
+ */
10
15
  export interface StreamCollector {
11
16
  /**
12
17
  * A function that converts a stream into an array of bytes.
@@ -16,6 +21,8 @@ export interface StreamCollector {
16
21
  (stream: any): Promise<Uint8Array>;
17
22
  }
18
23
  /**
24
+ * @public
25
+ *
19
26
  * Request and Response serde util functions and settings for AWS services
20
27
  */
21
28
  export interface SerdeContext extends EndpointBearer {
@@ -27,6 +34,9 @@ export interface SerdeContext extends EndpointBearer {
27
34
  requestHandler: RequestHandler<any, any>;
28
35
  disableHostPrefix: boolean;
29
36
  }
37
+ /**
38
+ * @public
39
+ */
30
40
  export interface RequestSerializer<Request, Context extends EndpointBearer = any> {
31
41
  /**
32
42
  * Converts the provided `input` into a request object
@@ -37,6 +47,9 @@ export interface RequestSerializer<Request, Context extends EndpointBearer = any
37
47
  */
38
48
  (input: any, context: Context): Promise<Request>;
39
49
  }
50
+ /**
51
+ * @public
52
+ */
40
53
  export interface ResponseDeserializer<OutputType, ResponseType = any, Context = any> {
41
54
  /**
42
55
  * Converts the output of an operation into JavaScript types.
@@ -48,6 +61,8 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
48
61
  (output: ResponseType, context: Context): Promise<OutputType>;
49
62
  }
50
63
  /**
64
+ * @public
65
+ *
51
66
  * Declare DOM interfaces in case dom.d.ts is not added to the tsconfig lib, causing
52
67
  * interfaces to not be defined. For developers with dom.d.ts added, the interfaces will
53
68
  * be merged correctly.
@@ -57,8 +72,14 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
57
72
  * is depended by all @aws-sdk packages.
58
73
  */
59
74
  declare global {
75
+ /**
76
+ * @public
77
+ */
60
78
  export interface ReadableStream {
61
79
  }
80
+ /**
81
+ * @public
82
+ */
62
83
  export interface Blob {
63
84
  }
64
85
  }
@@ -73,11 +94,15 @@ export interface SdkStreamMixin {
73
94
  transformToWebStream: () => ReadableStream;
74
95
  }
75
96
  /**
97
+ * @public
98
+ *
76
99
  * The type describing a runtime-specific stream implementation with mix-in
77
100
  * utility functions.
78
101
  */
79
102
  export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
80
103
  /**
104
+ * @public
105
+ *
81
106
  * Indicates that the member of type T with
82
107
  * key StreamKey have been extended
83
108
  * with the SdkStreamMixin helper methods.