@aws-sdk/client-emr-containers 3.582.0 → 3.587.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 CHANGED
@@ -713,8 +713,8 @@ var se_ListJobRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
713
713
  b.bp("/virtualclusters/{virtualClusterId}/jobruns");
714
714
  b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
715
715
  const query = (0, import_smithy_client.map)({
716
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
717
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
716
+ [_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
717
+ [_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
718
718
  [_n]: [, input[_n]],
719
719
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
720
720
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
@@ -729,8 +729,8 @@ var se_ListJobTemplatesCommand = /* @__PURE__ */ __name(async (input, context) =
729
729
  const headers = {};
730
730
  b.bp("/jobtemplates");
731
731
  const query = (0, import_smithy_client.map)({
732
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
733
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
732
+ [_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
733
+ [_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
734
734
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
735
735
  [_nT]: [, input[_nT]]
736
736
  });
@@ -744,8 +744,8 @@ var se_ListManagedEndpointsCommand = /* @__PURE__ */ __name(async (input, contex
744
744
  b.bp("/virtualclusters/{virtualClusterId}/endpoints");
745
745
  b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
746
746
  const query = (0, import_smithy_client.map)({
747
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
748
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
747
+ [_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
748
+ [_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
749
749
  [_t]: [() => input.types !== void 0, () => (input[_t] || []).map((_entry) => _entry)],
750
750
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
751
751
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
@@ -760,8 +760,8 @@ var se_ListSecurityConfigurationsCommand = /* @__PURE__ */ __name(async (input,
760
760
  const headers = {};
761
761
  b.bp("/securityconfigurations");
762
762
  const query = (0, import_smithy_client.map)({
763
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
764
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
763
+ [_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
764
+ [_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
765
765
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
766
766
  [_nT]: [, input[_nT]]
767
767
  });
@@ -785,8 +785,8 @@ var se_ListVirtualClustersCommand = /* @__PURE__ */ __name(async (input, context
785
785
  const query = (0, import_smithy_client.map)({
786
786
  [_cPI]: [, input[_cPI]],
787
787
  [_cPT]: [, input[_cPT]],
788
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
789
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
788
+ [_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
789
+ [_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
790
790
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
791
791
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
792
792
  [_nT]: [, input[_nT]],
@@ -1,6 +1,6 @@
1
1
  import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
6
6
  import { EKSRequestThrottledException, InternalServerException, RequestThrottledException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
@@ -185,8 +185,8 @@ export const se_ListJobRunsCommand = async (input, context) => {
185
185
  b.bp("/virtualclusters/{virtualClusterId}/jobruns");
186
186
  b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
187
187
  const query = map({
188
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
189
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
188
+ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
189
+ [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
190
190
  [_n]: [, input[_n]],
191
191
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
192
192
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
@@ -201,8 +201,8 @@ export const se_ListJobTemplatesCommand = async (input, context) => {
201
201
  const headers = {};
202
202
  b.bp("/jobtemplates");
203
203
  const query = map({
204
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
205
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
204
+ [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
205
+ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
206
206
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
207
207
  [_nT]: [, input[_nT]],
208
208
  });
@@ -216,8 +216,8 @@ export const se_ListManagedEndpointsCommand = async (input, context) => {
216
216
  b.bp("/virtualclusters/{virtualClusterId}/endpoints");
217
217
  b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
218
218
  const query = map({
219
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
220
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
219
+ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
220
+ [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
221
221
  [_t]: [() => input.types !== void 0, () => (input[_t] || []).map((_entry) => _entry)],
222
222
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
223
223
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
@@ -232,8 +232,8 @@ export const se_ListSecurityConfigurationsCommand = async (input, context) => {
232
232
  const headers = {};
233
233
  b.bp("/securityconfigurations");
234
234
  const query = map({
235
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
236
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
235
+ [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
236
+ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
237
237
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
238
238
  [_nT]: [, input[_nT]],
239
239
  });
@@ -257,8 +257,8 @@ export const se_ListVirtualClustersCommand = async (input, context) => {
257
257
  const query = map({
258
258
  [_cPI]: [, input[_cPI]],
259
259
  [_cPT]: [, input[_cPT]],
260
- [_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
261
- [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
260
+ [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
261
+ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
262
262
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
263
263
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
264
264
  [_nT]: [, input[_nT]],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
4
- "version": "3.582.0",
4
+ "version": "3.587.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-emr-containers",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.577.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
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.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",