@aws-sdk/client-emr-serverless 3.657.0 → 3.658.1

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 CHANGED
@@ -531,7 +531,7 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
531
531
  const query = (0, import_smithy_client.map)({
532
532
  [_nT]: [, input[_nT]],
533
533
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
534
- [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)]
534
+ [_s]: [() => input.states !== void 0, () => input[_s] || []]
535
535
  });
536
536
  let body;
537
537
  b.m("GET").h(headers).q(query).b(body);
@@ -561,7 +561,7 @@ var se_ListJobRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
561
561
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
562
562
  [_cAA]: [() => input.createdAtAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cAA]).toString()],
563
563
  [_cAB]: [() => input.createdAtBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cAB]).toString()],
564
- [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
564
+ [_s]: [() => input.states !== void 0, () => input[_s] || []],
565
565
  [_m]: [, input[_m]]
566
566
  });
567
567
  let body;
@@ -641,10 +641,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
641
641
  b.bp("/tags/{resourceArn}");
642
642
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
643
643
  const query = (0, import_smithy_client.map)({
644
- [_tK]: [
645
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
646
- () => (input[_tK] || []).map((_entry) => _entry)
647
- ]
644
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
648
645
  });
649
646
  let body;
650
647
  b.m("DELETE").h(headers).q(query).b(body);
@@ -94,7 +94,7 @@ export const se_ListApplicationsCommand = async (input, context) => {
94
94
  const query = map({
95
95
  [_nT]: [, input[_nT]],
96
96
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
97
- [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
97
+ [_s]: [() => input.states !== void 0, () => input[_s] || []],
98
98
  });
99
99
  let body;
100
100
  b.m("GET").h(headers).q(query).b(body);
@@ -124,7 +124,7 @@ export const se_ListJobRunsCommand = async (input, context) => {
124
124
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
125
125
  [_cAA]: [() => input.createdAtAfter !== void 0, () => __serializeDateTime(input[_cAA]).toString()],
126
126
  [_cAB]: [() => input.createdAtBefore !== void 0, () => __serializeDateTime(input[_cAB]).toString()],
127
- [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
127
+ [_s]: [() => input.states !== void 0, () => input[_s] || []],
128
128
  [_m]: [, input[_m]],
129
129
  });
130
130
  let body;
@@ -200,10 +200,7 @@ export const se_UntagResourceCommand = async (input, context) => {
200
200
  b.bp("/tags/{resourceArn}");
201
201
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
202
202
  const query = map({
203
- [_tK]: [
204
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
205
- () => (input[_tK] || []).map((_entry) => _entry),
206
- ],
203
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
207
204
  });
208
205
  let body;
209
206
  b.m("DELETE").h(headers).q(query).b(body);
@@ -741,11 +738,6 @@ const deserializeMetadata = (output) => ({
741
738
  cfId: output.headers["x-amz-cf-id"],
742
739
  });
743
740
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
744
- const isSerializableHeaderValue = (value) => value !== undefined &&
745
- value !== null &&
746
- value !== "" &&
747
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
748
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
749
741
  const _a = "attempt";
750
742
  const _cAA = "createdAtAfter";
751
743
  const _cAB = "createdAtBefore";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
3
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.657.0",
4
+ "version": "3.658.1",
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-emr-serverless",
@@ -20,10 +20,10 @@
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.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
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.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",