@cdklabs/cdk-ecs-codedeploy 0.0.424 → 0.0.426
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 +3 -3
- package/.jsii.tabl.json +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/client-codedeploy/dist-cjs/index.js +64 -53
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeploy.js +19 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +50 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeploy.d.ts +58 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
- package/node_modules/@aws-sdk/client-sso/package.json +19 -19
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +4 -44
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -44
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
- package/node_modules/@aws-sdk/nested-clients/package.json +19 -19
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +5 -5
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -6
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
- package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +23 -7
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +23 -7
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { deref } from "../deref";
|
|
2
2
|
import { translateTraits } from "./translateTraits";
|
|
3
|
+
const anno = {
|
|
4
|
+
it: Symbol.for("@smithy/nor-struct-it"),
|
|
5
|
+
};
|
|
3
6
|
export class NormalizedSchema {
|
|
4
7
|
ref;
|
|
5
8
|
memberName;
|
|
@@ -80,7 +83,7 @@ export class NormalizedSchema {
|
|
|
80
83
|
}
|
|
81
84
|
getSchema() {
|
|
82
85
|
const sc = this.schema;
|
|
83
|
-
if (sc[0] === 0) {
|
|
86
|
+
if (Array.isArray(sc) && sc[0] === 0) {
|
|
84
87
|
return sc[4];
|
|
85
88
|
}
|
|
86
89
|
return sc;
|
|
@@ -110,6 +113,9 @@ export class NormalizedSchema {
|
|
|
110
113
|
}
|
|
111
114
|
isStructSchema() {
|
|
112
115
|
const sc = this.getSchema();
|
|
116
|
+
if (typeof sc !== "object") {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
113
119
|
const id = sc[0];
|
|
114
120
|
return (id === 3 ||
|
|
115
121
|
id === -3 ||
|
|
@@ -117,6 +123,9 @@ export class NormalizedSchema {
|
|
|
117
123
|
}
|
|
118
124
|
isUnionSchema() {
|
|
119
125
|
const sc = this.getSchema();
|
|
126
|
+
if (typeof sc !== "object") {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
120
129
|
return sc[0] === 4;
|
|
121
130
|
}
|
|
122
131
|
isBlobSchema() {
|
|
@@ -155,10 +164,7 @@ export class NormalizedSchema {
|
|
|
155
164
|
return !!streaming || this.getSchema() === 42;
|
|
156
165
|
}
|
|
157
166
|
isIdempotencyToken() {
|
|
158
|
-
|
|
159
|
-
!!traits?.idempotencyToken;
|
|
160
|
-
const { normalizedTraits, traits, memberTraits } = this;
|
|
161
|
-
return match(normalizedTraits) || match(traits) || match(memberTraits);
|
|
167
|
+
return !!this.getMergedTraits().idempotencyToken;
|
|
162
168
|
}
|
|
163
169
|
getMergedTraits() {
|
|
164
170
|
return (this.normalizedTraits ??
|
|
@@ -239,9 +245,19 @@ export class NormalizedSchema {
|
|
|
239
245
|
throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");
|
|
240
246
|
}
|
|
241
247
|
const struct = this.getSchema();
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
const z = struct[4].length;
|
|
249
|
+
let it = struct[anno.it];
|
|
250
|
+
if (it && z === it.length) {
|
|
251
|
+
yield* it;
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
it = Array(z);
|
|
255
|
+
for (let i = 0; i < z; ++i) {
|
|
256
|
+
const k = struct[4][i];
|
|
257
|
+
const v = member([struct[5][i], 0], k);
|
|
258
|
+
yield (it[i] = [k, v]);
|
|
244
259
|
}
|
|
260
|
+
struct[anno.it] = it;
|
|
245
261
|
}
|
|
246
262
|
}
|
|
247
263
|
function member(memberSchema, memberName) {
|
package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts
CHANGED
|
@@ -63,7 +63,6 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
63
63
|
isBigDecimalSchema(): boolean;
|
|
64
64
|
isStreaming(): boolean;
|
|
65
65
|
/**
|
|
66
|
-
* This is a shortcut to avoid calling `getMergedTraits().idempotencyToken` on every string.
|
|
67
66
|
* @returns whether the schema has the idempotencyToken trait.
|
|
68
67
|
*/
|
|
69
68
|
isIdempotencyToken(): boolean;
|
package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts
CHANGED
|
@@ -63,7 +63,6 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
63
63
|
isBigDecimalSchema(): boolean;
|
|
64
64
|
isStreaming(): boolean;
|
|
65
65
|
/**
|
|
66
|
-
* This is a shortcut to avoid calling `getMergedTraits().idempotencyToken` on every string.
|
|
67
66
|
* @returns whether the schema has the idempotencyToken trait.
|
|
68
67
|
*/
|
|
69
68
|
isIdempotencyToken(): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@smithy/util-base64": "^4.3.0",
|
|
86
86
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
87
87
|
"@smithy/util-middleware": "^4.2.8",
|
|
88
|
-
"@smithy/util-stream": "^4.5.
|
|
88
|
+
"@smithy/util-stream": "^4.5.11",
|
|
89
89
|
"@smithy/util-utf8": "^4.2.0",
|
|
90
90
|
"@smithy/uuid": "^1.1.0",
|
|
91
91
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
28
|
+
"@smithy/core": "^3.22.1",
|
|
29
29
|
"@smithy/middleware-serde": "^4.2.9",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.8",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.30",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.8",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.8",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.8",
|
|
40
|
-
"@smithy/smithy-client": "^4.
|
|
40
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
41
41
|
"@smithy/types": "^4.12.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.8",
|
|
43
43
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -231,7 +231,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
resolveDefaultConfig(options) {
|
|
234
|
-
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, } = options || {};
|
|
234
|
+
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
235
235
|
const keepAlive = true;
|
|
236
236
|
const maxSockets = 50;
|
|
237
237
|
return {
|
|
@@ -254,7 +254,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
254
254
|
}
|
|
255
255
|
return new https.Agent({ keepAlive, maxSockets, ...httpsAgent });
|
|
256
256
|
})(),
|
|
257
|
-
logger
|
|
257
|
+
logger,
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
destroy() {
|
|
@@ -61,7 +61,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
resolveDefaultConfig(options) {
|
|
64
|
-
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, } = options || {};
|
|
64
|
+
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
65
65
|
const keepAlive = true;
|
|
66
66
|
const maxSockets = 50;
|
|
67
67
|
return {
|
|
@@ -84,7 +84,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
84
84
|
}
|
|
85
85
|
return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
|
|
86
86
|
})(),
|
|
87
|
-
logger
|
|
87
|
+
logger,
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
destroy() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.9",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline node-http-handler",
|
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
|
-
"build:types:downlevel": "
|
|
11
|
-
"stage-release": "
|
|
12
|
-
"clean": "
|
|
10
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@types/node": "^18.11.9",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
40
|
-
"
|
|
40
|
+
"premove": "4.0.0",
|
|
41
41
|
"typedoc": "0.23.23"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
@@ -215,9 +215,8 @@ class ClassBuilder {
|
|
|
215
215
|
|
|
216
216
|
const SENSITIVE_STRING = "***SensitiveInformation***";
|
|
217
217
|
|
|
218
|
-
const createAggregatedClient = (commands, Client) => {
|
|
219
|
-
for (const command of Object.
|
|
220
|
-
const CommandCtor = commands[command];
|
|
218
|
+
const createAggregatedClient = (commands, Client, options) => {
|
|
219
|
+
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
221
220
|
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
222
221
|
const command = new CommandCtor(args);
|
|
223
222
|
if (typeof optionsOrCb === "function") {
|
|
@@ -235,6 +234,33 @@ const createAggregatedClient = (commands, Client) => {
|
|
|
235
234
|
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
236
235
|
Client.prototype[methodName] = methodImpl;
|
|
237
236
|
}
|
|
237
|
+
const { paginators = {}, waiters = {} } = options ?? {};
|
|
238
|
+
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
239
|
+
if (Client.prototype[paginatorName] === void 0) {
|
|
240
|
+
Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) {
|
|
241
|
+
return paginatorFn({
|
|
242
|
+
...paginationConfiguration,
|
|
243
|
+
client: this,
|
|
244
|
+
}, commandInput, ...rest);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
249
|
+
if (Client.prototype[waiterName] === void 0) {
|
|
250
|
+
Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) {
|
|
251
|
+
let config = waiterConfiguration;
|
|
252
|
+
if (typeof waiterConfiguration === "number") {
|
|
253
|
+
config = {
|
|
254
|
+
maxWaitTime: waiterConfiguration,
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
return waiterFn({
|
|
258
|
+
...config,
|
|
259
|
+
client: this,
|
|
260
|
+
}, commandInput, ...rest);
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
}
|
|
238
264
|
};
|
|
239
265
|
|
|
240
266
|
class ServiceException extends Error {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export const createAggregatedClient = (commands, Client) => {
|
|
2
|
-
for (const command of Object.
|
|
3
|
-
const CommandCtor = commands[command];
|
|
1
|
+
export const createAggregatedClient = (commands, Client, options) => {
|
|
2
|
+
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
4
3
|
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
5
4
|
const command = new CommandCtor(args);
|
|
6
5
|
if (typeof optionsOrCb === "function") {
|
|
@@ -18,4 +17,31 @@ export const createAggregatedClient = (commands, Client) => {
|
|
|
18
17
|
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
19
18
|
Client.prototype[methodName] = methodImpl;
|
|
20
19
|
}
|
|
20
|
+
const { paginators = {}, waiters = {} } = options ?? {};
|
|
21
|
+
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
22
|
+
if (Client.prototype[paginatorName] === void 0) {
|
|
23
|
+
Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) {
|
|
24
|
+
return paginatorFn({
|
|
25
|
+
...paginationConfiguration,
|
|
26
|
+
client: this,
|
|
27
|
+
}, commandInput, ...rest);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
32
|
+
if (Client.prototype[waiterName] === void 0) {
|
|
33
|
+
Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) {
|
|
34
|
+
let config = waiterConfiguration;
|
|
35
|
+
if (typeof waiterConfiguration === "number") {
|
|
36
|
+
config = {
|
|
37
|
+
maxWaitTime: waiterConfiguration,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return waiterFn({
|
|
41
|
+
...config,
|
|
42
|
+
client: this,
|
|
43
|
+
}, commandInput, ...rest);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
21
47
|
};
|
|
@@ -3,9 +3,16 @@ import type { Client } from "./client";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*
|
|
5
5
|
* @param commands - command lookup container.
|
|
6
|
-
* @param
|
|
6
|
+
* @param Client - client instance on which to add aggregated methods.
|
|
7
|
+
* @param options
|
|
8
|
+
* @param options.paginators - paginator functions.
|
|
9
|
+
* @param options.waiters - waiter functions.
|
|
10
|
+
*
|
|
7
11
|
* @returns an aggregated client with dynamically created methods.
|
|
8
12
|
*/
|
|
9
13
|
export declare const createAggregatedClient: (commands: Record<string, any>, Client: {
|
|
10
14
|
new (...args: any): Client<any, any, any, any>;
|
|
15
|
+
}, options?: {
|
|
16
|
+
paginators?: Record<string, any>;
|
|
17
|
+
waiters?: Record<string, any>;
|
|
11
18
|
}) => void;
|
|
@@ -3,9 +3,16 @@ import { Client } from "./client";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*
|
|
5
5
|
* @param commands - command lookup container.
|
|
6
|
-
* @param
|
|
6
|
+
* @param Client - client instance on which to add aggregated methods.
|
|
7
|
+
* @param options
|
|
8
|
+
* @param options.paginators - paginator functions.
|
|
9
|
+
* @param options.waiters - waiter functions.
|
|
10
|
+
*
|
|
7
11
|
* @returns an aggregated client with dynamically created methods.
|
|
8
12
|
*/
|
|
9
13
|
export declare const createAggregatedClient: (commands: Record<string, any>, Client: {
|
|
10
14
|
new (...args: any): Client<any, any, any, any>;
|
|
15
|
+
}, options?: {
|
|
16
|
+
paginators?: Record<string, any>;
|
|
17
|
+
waiters?: Record<string, any>;
|
|
11
18
|
}) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
28
|
+
"@smithy/core": "^3.22.1",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.4.13",
|
|
30
30
|
"@smithy/middleware-stack": "^4.2.8",
|
|
31
31
|
"@smithy/protocol-http": "^5.3.8",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
33
|
-
"@smithy/util-stream": "^4.5.
|
|
33
|
+
"@smithy/util-stream": "^4.5.11",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.29",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.8",
|
|
28
|
-
"@smithy/smithy-client": "^4.
|
|
28
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
29
29
|
"@smithy/types": "^4.12.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.32",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.8",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.8",
|
|
30
30
|
"@smithy/property-provider": "^4.2.8",
|
|
31
|
-
"@smithy/smithy-client": "^4.
|
|
31
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
|
-
"build:types:downlevel": "
|
|
10
|
-
"stage-release": "
|
|
11
|
-
"clean": "
|
|
9
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
33
|
-
"@smithy/node-http-handler": "^4.4.
|
|
33
|
+
"@smithy/node-http-handler": "^4.4.9",
|
|
34
34
|
"@smithy/types": "^4.12.0",
|
|
35
35
|
"@smithy/util-base64": "^4.3.0",
|
|
36
36
|
"@smithy/util-buffer-from": "^4.2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/node": "^18.11.9",
|
|
44
44
|
"concurrently": "7.0.0",
|
|
45
45
|
"downlevel-dts": "0.10.1",
|
|
46
|
-
"
|
|
46
|
+
"premove": "4.0.0",
|
|
47
47
|
"typedoc": "0.23.23"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@aws-cdk/integ-runner": "latest",
|
|
75
75
|
"@aws-cdk/integ-tests-alpha": "latest",
|
|
76
76
|
"@stylistic/eslint-plugin": "^2",
|
|
77
|
-
"@types/aws-lambda": "^8.10.
|
|
77
|
+
"@types/aws-lambda": "^8.10.160",
|
|
78
78
|
"@types/jest": "^27",
|
|
79
79
|
"@types/lambda-tester": "^3.6.2",
|
|
80
80
|
"@types/node": "^18",
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
"jest": "^27",
|
|
96
96
|
"jest-junit": "^16",
|
|
97
97
|
"jsii": "~5.7",
|
|
98
|
-
"jsii-diff": "^1.
|
|
98
|
+
"jsii-diff": "^1.126.0",
|
|
99
99
|
"jsii-docgen": "^10.5.0",
|
|
100
|
-
"jsii-pacmak": "^1.
|
|
101
|
-
"jsii-rosetta": "^5.9.
|
|
100
|
+
"jsii-pacmak": "^1.126.0",
|
|
101
|
+
"jsii-rosetta": "^5.9.27",
|
|
102
102
|
"lambda-tester": "^4.0.1",
|
|
103
103
|
"projen": "0.98.34",
|
|
104
104
|
"ts-jest": "^27",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"constructs": "^10.0.5"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
113
|
+
"@aws-sdk/client-codedeploy": "^3.980.0",
|
|
114
114
|
"jmespath": "^0.16.0"
|
|
115
115
|
},
|
|
116
116
|
"bundledDependencies": [
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"publishConfig": {
|
|
129
129
|
"access": "public"
|
|
130
130
|
},
|
|
131
|
-
"version": "0.0.
|
|
131
|
+
"version": "0.0.426",
|
|
132
132
|
"jest": {
|
|
133
133
|
"coverageProvider": "v8",
|
|
134
134
|
"testMatch": [
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
export function* serializingStructIterator(ns, sourceObject) {
|
|
3
|
-
if (ns.isUnitSchema()) {
|
|
4
|
-
return;
|
|
5
|
-
}
|
|
6
|
-
const struct = ns.getSchema();
|
|
7
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
8
|
-
const key = struct[4][i];
|
|
9
|
-
const memberSchema = struct[5][i];
|
|
10
|
-
const memberNs = new NormalizedSchema([memberSchema, 0], key);
|
|
11
|
-
if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
|
|
12
|
-
continue;
|
|
13
|
-
}
|
|
14
|
-
yield [key, memberNs];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export function* deserializingStructIterator(ns, sourceObject, nameTrait) {
|
|
18
|
-
if (ns.isUnitSchema()) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
const struct = ns.getSchema();
|
|
22
|
-
let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
|
|
23
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
24
|
-
if (keysRemaining === 0) {
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
const key = struct[4][i];
|
|
28
|
-
const memberSchema = struct[5][i];
|
|
29
|
-
const memberNs = new NormalizedSchema([memberSchema, 0], key);
|
|
30
|
-
let serializationKey = key;
|
|
31
|
-
if (nameTrait) {
|
|
32
|
-
serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
|
|
33
|
-
}
|
|
34
|
-
if (!(serializationKey in sourceObject)) {
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
yield [key, memberNs];
|
|
38
|
-
keysRemaining -= 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
type SourceObject = Record<string, any>;
|
|
6
|
-
/**
|
|
7
|
-
* For serialization use only.
|
|
8
|
-
* @internal
|
|
9
|
-
*
|
|
10
|
-
* @param ns - normalized schema object.
|
|
11
|
-
* @param sourceObject - source object from serialization.
|
|
12
|
-
*/
|
|
13
|
-
export declare function serializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject): Generator<any[], void, unknown>;
|
|
14
|
-
/**
|
|
15
|
-
* For deserialization use only.
|
|
16
|
-
* Yields a subset of NormalizedSchema::structIterator matched to the source object keys.
|
|
17
|
-
* This is a performance optimization to avoid creation of NormalizedSchema member
|
|
18
|
-
* objects for members that are undefined in the source data object but may be numerous
|
|
19
|
-
* in the schema/model.
|
|
20
|
-
* @internal
|
|
21
|
-
*
|
|
22
|
-
* @param ns - normalized schema object.
|
|
23
|
-
* @param sourceObject - source object from deserialization.
|
|
24
|
-
* @param nameTrait - xmlName or jsonName trait to look for.
|
|
25
|
-
*/
|
|
26
|
-
export declare function deserializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject, nameTrait?: "xmlName" | "jsonName" | false): Generator<any[], void, unknown>;
|
|
27
|
-
export {};
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
type SourceObject = Record<string, any>;
|
|
3
|
-
export declare function serializingStructIterator(
|
|
4
|
-
ns: NormalizedSchema,
|
|
5
|
-
sourceObject: SourceObject
|
|
6
|
-
): Generator<any[], void, unknown>;
|
|
7
|
-
export declare function deserializingStructIterator(
|
|
8
|
-
ns: NormalizedSchema,
|
|
9
|
-
sourceObject: SourceObject,
|
|
10
|
-
nameTrait?: "xmlName" | "jsonName" | false
|
|
11
|
-
): Generator<any[], void, unknown>;
|
|
12
|
-
export {};
|