@aws-sdk/client-emr-containers 3.261.0 → 3.262.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.
@@ -512,7 +512,7 @@ const deserializeAws_restJson1CreateJobTemplateCommand = async (output, context)
512
512
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
513
513
  }
514
514
  if (data.createdAt != null) {
515
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
515
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
516
516
  }
517
517
  if (data.id != null) {
518
518
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1540,7 +1540,7 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1540
1540
  configurationOverrides: output.configurationOverrides != null
1541
1541
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1542
1542
  : undefined,
1543
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1543
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1544
1544
  executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1545
1545
  failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1546
1546
  id: (0, smithy_client_1.expectString)(output.id),
@@ -1595,11 +1595,11 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1595
1595
  configurationOverrides: output.configurationOverrides != null
1596
1596
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1597
1597
  : undefined,
1598
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1598
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1599
1599
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1600
1600
  executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1601
1601
  failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1602
- finishedAt: output.finishedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.finishedAt)) : undefined,
1602
+ finishedAt: output.finishedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.finishedAt)) : undefined,
1603
1603
  id: (0, smithy_client_1.expectString)(output.id),
1604
1604
  jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1605
1605
  name: (0, smithy_client_1.expectString)(output.name),
@@ -1624,7 +1624,7 @@ const deserializeAws_restJson1JobRuns = (output, context) => {
1624
1624
  const deserializeAws_restJson1JobTemplate = (output, context) => {
1625
1625
  return {
1626
1626
  arn: (0, smithy_client_1.expectString)(output.arn),
1627
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1627
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1628
1628
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1629
1629
  decryptionError: (0, smithy_client_1.expectString)(output.decryptionError),
1630
1630
  id: (0, smithy_client_1.expectString)(output.id),
@@ -1774,7 +1774,7 @@ const deserializeAws_restJson1VirtualCluster = (output, context) => {
1774
1774
  containerProvider: output.containerProvider != null
1775
1775
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1776
1776
  : undefined,
1777
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1777
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1778
1778
  id: (0, smithy_client_1.expectString)(output.id),
1779
1779
  name: (0, smithy_client_1.expectString)(output.name),
1780
1780
  state: (0, smithy_client_1.expectString)(output.state),
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
5
5
  import { ContainerInfo, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
@@ -489,7 +489,7 @@ export const deserializeAws_restJson1CreateJobTemplateCommand = async (output, c
489
489
  contents.arn = __expectString(data.arn);
490
490
  }
491
491
  if (data.createdAt != null) {
492
- contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
492
+ contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
493
493
  }
494
494
  if (data.id != null) {
495
495
  contents.id = __expectString(data.id);
@@ -1499,7 +1499,7 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1499
1499
  configurationOverrides: output.configurationOverrides != null
1500
1500
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1501
1501
  : undefined,
1502
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1502
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1503
1503
  executionRoleArn: __expectString(output.executionRoleArn),
1504
1504
  failureReason: __expectString(output.failureReason),
1505
1505
  id: __expectString(output.id),
@@ -1554,11 +1554,11 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1554
1554
  configurationOverrides: output.configurationOverrides != null
1555
1555
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1556
1556
  : undefined,
1557
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1557
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1558
1558
  createdBy: __expectString(output.createdBy),
1559
1559
  executionRoleArn: __expectString(output.executionRoleArn),
1560
1560
  failureReason: __expectString(output.failureReason),
1561
- finishedAt: output.finishedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.finishedAt)) : undefined,
1561
+ finishedAt: output.finishedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.finishedAt)) : undefined,
1562
1562
  id: __expectString(output.id),
1563
1563
  jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1564
1564
  name: __expectString(output.name),
@@ -1583,7 +1583,7 @@ const deserializeAws_restJson1JobRuns = (output, context) => {
1583
1583
  const deserializeAws_restJson1JobTemplate = (output, context) => {
1584
1584
  return {
1585
1585
  arn: __expectString(output.arn),
1586
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1586
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1587
1587
  createdBy: __expectString(output.createdBy),
1588
1588
  decryptionError: __expectString(output.decryptionError),
1589
1589
  id: __expectString(output.id),
@@ -1733,7 +1733,7 @@ const deserializeAws_restJson1VirtualCluster = (output, context) => {
1733
1733
  containerProvider: output.containerProvider != null
1734
1734
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1735
1735
  : undefined,
1736
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1736
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1737
1737
  id: __expectString(output.id),
1738
1738
  name: __expectString(output.name),
1739
1739
  state: __expectString(output.state),
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.261.0",
4
+ "version": "3.262.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,7 +20,7 @@
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-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.262.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
25
  "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",