@aws-sdk/client-m2 3.658.0 → 3.662.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4 -7
- package/dist-es/protocols/Aws_restJson1.js +4 -12
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -816,7 +816,7 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
816
816
|
const query = (0, import_smithy_client.map)({
|
|
817
817
|
[_nT]: [, input[_nT]],
|
|
818
818
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
819
|
-
[_n]: [() => input.names !== void 0, () =>
|
|
819
|
+
[_n]: [() => input.names !== void 0, () => input[_n] || []],
|
|
820
820
|
[_eI]: [, input[_eI]]
|
|
821
821
|
});
|
|
822
822
|
let body;
|
|
@@ -858,7 +858,7 @@ var se_ListBatchJobExecutionsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
858
858
|
const query = (0, import_smithy_client.map)({
|
|
859
859
|
[_nT]: [, input[_nT]],
|
|
860
860
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
861
|
-
[_eIx]: [() => input.executionIds !== void 0, () =>
|
|
861
|
+
[_eIx]: [() => input.executionIds !== void 0, () => input[_eIx] || []],
|
|
862
862
|
[_jN]: [, input[_jN]],
|
|
863
863
|
[_s]: [, input[_s]],
|
|
864
864
|
[_sA]: [() => input.startedAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sA]).toString()],
|
|
@@ -939,7 +939,7 @@ var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
939
939
|
const query = (0, import_smithy_client.map)({
|
|
940
940
|
[_nT]: [, input[_nT]],
|
|
941
941
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
942
|
-
[_n]: [() => input.names !== void 0, () =>
|
|
942
|
+
[_n]: [() => input.names !== void 0, () => input[_n] || []],
|
|
943
943
|
[_eT]: [, input[_eT]]
|
|
944
944
|
});
|
|
945
945
|
let body;
|
|
@@ -1019,10 +1019,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1019
1019
|
b.bp("/tags/{resourceArn}");
|
|
1020
1020
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1021
1021
|
const query = (0, import_smithy_client.map)({
|
|
1022
|
-
[_tK]: [
|
|
1023
|
-
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1024
|
-
() => (input[_tK] || []).map((_entry) => _entry)
|
|
1025
|
-
]
|
|
1022
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
1026
1023
|
});
|
|
1027
1024
|
let body;
|
|
1028
1025
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -202,7 +202,7 @@ export const se_ListApplicationsCommand = async (input, context) => {
|
|
|
202
202
|
const query = map({
|
|
203
203
|
[_nT]: [, input[_nT]],
|
|
204
204
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
205
|
-
[_n]: [() => input.names !== void 0, () =>
|
|
205
|
+
[_n]: [() => input.names !== void 0, () => input[_n] || []],
|
|
206
206
|
[_eI]: [, input[_eI]],
|
|
207
207
|
});
|
|
208
208
|
let body;
|
|
@@ -244,7 +244,7 @@ export const se_ListBatchJobExecutionsCommand = async (input, context) => {
|
|
|
244
244
|
const query = map({
|
|
245
245
|
[_nT]: [, input[_nT]],
|
|
246
246
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
247
|
-
[_eIx]: [() => input.executionIds !== void 0, () =>
|
|
247
|
+
[_eIx]: [() => input.executionIds !== void 0, () => input[_eIx] || []],
|
|
248
248
|
[_jN]: [, input[_jN]],
|
|
249
249
|
[_s]: [, input[_s]],
|
|
250
250
|
[_sA]: [() => input.startedAfter !== void 0, () => __serializeDateTime(input[_sA]).toString()],
|
|
@@ -325,7 +325,7 @@ export const se_ListEnvironmentsCommand = async (input, context) => {
|
|
|
325
325
|
const query = map({
|
|
326
326
|
[_nT]: [, input[_nT]],
|
|
327
327
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
328
|
-
[_n]: [() => input.names !== void 0, () =>
|
|
328
|
+
[_n]: [() => input.names !== void 0, () => input[_n] || []],
|
|
329
329
|
[_eT]: [, input[_eT]],
|
|
330
330
|
});
|
|
331
331
|
let body;
|
|
@@ -399,10 +399,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
399
399
|
b.bp("/tags/{resourceArn}");
|
|
400
400
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
401
401
|
const query = map({
|
|
402
|
-
[_tK]: [
|
|
403
|
-
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
404
|
-
() => (input[_tK] || []).map((_entry) => _entry),
|
|
405
|
-
],
|
|
402
|
+
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
406
403
|
});
|
|
407
404
|
let body;
|
|
408
405
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -1347,11 +1344,6 @@ const deserializeMetadata = (output) => ({
|
|
|
1347
1344
|
cfId: output.headers["x-amz-cf-id"],
|
|
1348
1345
|
});
|
|
1349
1346
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1350
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1351
|
-
value !== null &&
|
|
1352
|
-
value !== "" &&
|
|
1353
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1354
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1355
1347
|
const _eI = "environmentId";
|
|
1356
1348
|
const _eIx = "executionIds";
|
|
1357
1349
|
const _eT = "engineType";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-m2",
|
|
3
3
|
"description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.662.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-m2",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.662.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.662.0",
|
|
25
|
+
"@aws-sdk/core": "3.662.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.662.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.662.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.662.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.662.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.662.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.662.0",
|
|
32
|
+
"@aws-sdk/types": "3.662.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.662.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.662.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.662.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.9",
|
|
37
|
+
"@smithy/core": "^2.4.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.9",
|
|
39
|
+
"@smithy/hash-node": "^3.0.7",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.7",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.9",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.4",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.22",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.7",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.8",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.4",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.6",
|
|
50
|
+
"@smithy/types": "^3.5.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.7",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.22",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.22",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.3",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.7",
|
|
59
|
+
"@smithy/util-retry": "^3.0.7",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|