@aws-sdk/client-rolesanywhere 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.
@@ -1629,21 +1629,21 @@ const deserializeAws_restJson1CredentialSummary = (output, context) => {
1629
1629
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1630
1630
  failed: (0, smithy_client_1.expectBoolean)(output.failed),
1631
1631
  issuer: (0, smithy_client_1.expectString)(output.issuer),
1632
- seenAt: output.seenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.seenAt)) : undefined,
1632
+ seenAt: output.seenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.seenAt)) : undefined,
1633
1633
  serialNumber: (0, smithy_client_1.expectString)(output.serialNumber),
1634
1634
  x509CertificateData: (0, smithy_client_1.expectString)(output.x509CertificateData),
1635
1635
  };
1636
1636
  };
1637
1637
  const deserializeAws_restJson1CrlDetail = (output, context) => {
1638
1638
  return {
1639
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1639
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1640
1640
  crlArn: (0, smithy_client_1.expectString)(output.crlArn),
1641
1641
  crlData: output.crlData != null ? context.base64Decoder(output.crlData) : undefined,
1642
1642
  crlId: (0, smithy_client_1.expectString)(output.crlId),
1643
1643
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1644
1644
  name: (0, smithy_client_1.expectString)(output.name),
1645
1645
  trustAnchorArn: (0, smithy_client_1.expectString)(output.trustAnchorArn),
1646
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
1646
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
1647
1647
  };
1648
1648
  };
1649
1649
  const deserializeAws_restJson1CrlDetails = (output, context) => {
@@ -1672,7 +1672,7 @@ const deserializeAws_restJson1InstanceProperty = (output, context) => {
1672
1672
  return {
1673
1673
  failed: (0, smithy_client_1.expectBoolean)(output.failed),
1674
1674
  properties: output.properties != null ? deserializeAws_restJson1InstancePropertyMap(output.properties, context) : undefined,
1675
- seenAt: output.seenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.seenAt)) : undefined,
1675
+ seenAt: output.seenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.seenAt)) : undefined,
1676
1676
  };
1677
1677
  };
1678
1678
  const deserializeAws_restJson1InstancePropertyMap = (output, context) => {
@@ -1697,7 +1697,7 @@ const deserializeAws_restJson1ManagedPolicyList = (output, context) => {
1697
1697
  };
1698
1698
  const deserializeAws_restJson1ProfileDetail = (output, context) => {
1699
1699
  return {
1700
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1700
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1701
1701
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1702
1702
  durationSeconds: (0, smithy_client_1.expectInt32)(output.durationSeconds),
1703
1703
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
@@ -1710,7 +1710,7 @@ const deserializeAws_restJson1ProfileDetail = (output, context) => {
1710
1710
  requireInstanceProperties: (0, smithy_client_1.expectBoolean)(output.requireInstanceProperties),
1711
1711
  roleArns: output.roleArns != null ? deserializeAws_restJson1RoleArnList(output.roleArns, context) : undefined,
1712
1712
  sessionPolicy: (0, smithy_client_1.expectString)(output.sessionPolicy),
1713
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
1713
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
1714
1714
  };
1715
1715
  };
1716
1716
  const deserializeAws_restJson1ProfileDetails = (output, context) => {
@@ -1754,16 +1754,16 @@ const deserializeAws_restJson1SourceData = (output, context) => {
1754
1754
  };
1755
1755
  const deserializeAws_restJson1SubjectDetail = (output, context) => {
1756
1756
  return {
1757
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1757
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1758
1758
  credentials: output.credentials != null ? deserializeAws_restJson1CredentialSummaries(output.credentials, context) : undefined,
1759
1759
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1760
1760
  instanceProperties: output.instanceProperties != null
1761
1761
  ? deserializeAws_restJson1InstanceProperties(output.instanceProperties, context)
1762
1762
  : undefined,
1763
- lastSeenAt: output.lastSeenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastSeenAt)) : undefined,
1763
+ lastSeenAt: output.lastSeenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastSeenAt)) : undefined,
1764
1764
  subjectArn: (0, smithy_client_1.expectString)(output.subjectArn),
1765
1765
  subjectId: (0, smithy_client_1.expectString)(output.subjectId),
1766
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
1766
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
1767
1767
  x509Subject: (0, smithy_client_1.expectString)(output.x509Subject),
1768
1768
  };
1769
1769
  };
@@ -1780,12 +1780,12 @@ const deserializeAws_restJson1SubjectSummaries = (output, context) => {
1780
1780
  };
1781
1781
  const deserializeAws_restJson1SubjectSummary = (output, context) => {
1782
1782
  return {
1783
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1783
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1784
1784
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1785
- lastSeenAt: output.lastSeenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastSeenAt)) : undefined,
1785
+ lastSeenAt: output.lastSeenAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastSeenAt)) : undefined,
1786
1786
  subjectArn: (0, smithy_client_1.expectString)(output.subjectArn),
1787
1787
  subjectId: (0, smithy_client_1.expectString)(output.subjectId),
1788
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
1788
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
1789
1789
  x509Subject: (0, smithy_client_1.expectString)(output.x509Subject),
1790
1790
  };
1791
1791
  };
@@ -1808,13 +1808,13 @@ const deserializeAws_restJson1TagList = (output, context) => {
1808
1808
  };
1809
1809
  const deserializeAws_restJson1TrustAnchorDetail = (output, context) => {
1810
1810
  return {
1811
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1811
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
1812
1812
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1813
1813
  name: (0, smithy_client_1.expectString)(output.name),
1814
1814
  source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
1815
1815
  trustAnchorArn: (0, smithy_client_1.expectString)(output.trustAnchorArn),
1816
1816
  trustAnchorId: (0, smithy_client_1.expectString)(output.trustAnchorId),
1817
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
1817
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
1818
1818
  };
1819
1819
  };
1820
1820
  const deserializeAws_restJson1TrustAnchorDetails = (output, context) => {
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, 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, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, 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 { AccessDeniedException, ResourceNotFoundException, SourceData, TooManyTagsException, ValidationException, } from "../models/models_0";
4
4
  import { RolesAnywhereServiceException as __BaseException } from "../models/RolesAnywhereServiceException";
5
5
  export const serializeAws_restJson1CreateProfileCommand = async (input, context) => {
@@ -1573,21 +1573,21 @@ const deserializeAws_restJson1CredentialSummary = (output, context) => {
1573
1573
  enabled: __expectBoolean(output.enabled),
1574
1574
  failed: __expectBoolean(output.failed),
1575
1575
  issuer: __expectString(output.issuer),
1576
- seenAt: output.seenAt != null ? __expectNonNull(__parseRfc3339DateTime(output.seenAt)) : undefined,
1576
+ seenAt: output.seenAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.seenAt)) : undefined,
1577
1577
  serialNumber: __expectString(output.serialNumber),
1578
1578
  x509CertificateData: __expectString(output.x509CertificateData),
1579
1579
  };
1580
1580
  };
1581
1581
  const deserializeAws_restJson1CrlDetail = (output, context) => {
1582
1582
  return {
1583
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1583
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1584
1584
  crlArn: __expectString(output.crlArn),
1585
1585
  crlData: output.crlData != null ? context.base64Decoder(output.crlData) : undefined,
1586
1586
  crlId: __expectString(output.crlId),
1587
1587
  enabled: __expectBoolean(output.enabled),
1588
1588
  name: __expectString(output.name),
1589
1589
  trustAnchorArn: __expectString(output.trustAnchorArn),
1590
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
1590
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
1591
1591
  };
1592
1592
  };
1593
1593
  const deserializeAws_restJson1CrlDetails = (output, context) => {
@@ -1616,7 +1616,7 @@ const deserializeAws_restJson1InstanceProperty = (output, context) => {
1616
1616
  return {
1617
1617
  failed: __expectBoolean(output.failed),
1618
1618
  properties: output.properties != null ? deserializeAws_restJson1InstancePropertyMap(output.properties, context) : undefined,
1619
- seenAt: output.seenAt != null ? __expectNonNull(__parseRfc3339DateTime(output.seenAt)) : undefined,
1619
+ seenAt: output.seenAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.seenAt)) : undefined,
1620
1620
  };
1621
1621
  };
1622
1622
  const deserializeAws_restJson1InstancePropertyMap = (output, context) => {
@@ -1641,7 +1641,7 @@ const deserializeAws_restJson1ManagedPolicyList = (output, context) => {
1641
1641
  };
1642
1642
  const deserializeAws_restJson1ProfileDetail = (output, context) => {
1643
1643
  return {
1644
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1644
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1645
1645
  createdBy: __expectString(output.createdBy),
1646
1646
  durationSeconds: __expectInt32(output.durationSeconds),
1647
1647
  enabled: __expectBoolean(output.enabled),
@@ -1654,7 +1654,7 @@ const deserializeAws_restJson1ProfileDetail = (output, context) => {
1654
1654
  requireInstanceProperties: __expectBoolean(output.requireInstanceProperties),
1655
1655
  roleArns: output.roleArns != null ? deserializeAws_restJson1RoleArnList(output.roleArns, context) : undefined,
1656
1656
  sessionPolicy: __expectString(output.sessionPolicy),
1657
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
1657
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
1658
1658
  };
1659
1659
  };
1660
1660
  const deserializeAws_restJson1ProfileDetails = (output, context) => {
@@ -1698,16 +1698,16 @@ const deserializeAws_restJson1SourceData = (output, context) => {
1698
1698
  };
1699
1699
  const deserializeAws_restJson1SubjectDetail = (output, context) => {
1700
1700
  return {
1701
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1701
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1702
1702
  credentials: output.credentials != null ? deserializeAws_restJson1CredentialSummaries(output.credentials, context) : undefined,
1703
1703
  enabled: __expectBoolean(output.enabled),
1704
1704
  instanceProperties: output.instanceProperties != null
1705
1705
  ? deserializeAws_restJson1InstanceProperties(output.instanceProperties, context)
1706
1706
  : undefined,
1707
- lastSeenAt: output.lastSeenAt != null ? __expectNonNull(__parseRfc3339DateTime(output.lastSeenAt)) : undefined,
1707
+ lastSeenAt: output.lastSeenAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastSeenAt)) : undefined,
1708
1708
  subjectArn: __expectString(output.subjectArn),
1709
1709
  subjectId: __expectString(output.subjectId),
1710
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
1710
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
1711
1711
  x509Subject: __expectString(output.x509Subject),
1712
1712
  };
1713
1713
  };
@@ -1724,12 +1724,12 @@ const deserializeAws_restJson1SubjectSummaries = (output, context) => {
1724
1724
  };
1725
1725
  const deserializeAws_restJson1SubjectSummary = (output, context) => {
1726
1726
  return {
1727
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1727
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1728
1728
  enabled: __expectBoolean(output.enabled),
1729
- lastSeenAt: output.lastSeenAt != null ? __expectNonNull(__parseRfc3339DateTime(output.lastSeenAt)) : undefined,
1729
+ lastSeenAt: output.lastSeenAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastSeenAt)) : undefined,
1730
1730
  subjectArn: __expectString(output.subjectArn),
1731
1731
  subjectId: __expectString(output.subjectId),
1732
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
1732
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
1733
1733
  x509Subject: __expectString(output.x509Subject),
1734
1734
  };
1735
1735
  };
@@ -1752,13 +1752,13 @@ const deserializeAws_restJson1TagList = (output, context) => {
1752
1752
  };
1753
1753
  const deserializeAws_restJson1TrustAnchorDetail = (output, context) => {
1754
1754
  return {
1755
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1755
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1756
1756
  enabled: __expectBoolean(output.enabled),
1757
1757
  name: __expectString(output.name),
1758
1758
  source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
1759
1759
  trustAnchorArn: __expectString(output.trustAnchorArn),
1760
1760
  trustAnchorId: __expectString(output.trustAnchorId),
1761
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
1761
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
1762
1762
  };
1763
1763
  };
1764
1764
  const deserializeAws_restJson1TrustAnchorDetails = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rolesanywhere",
3
3
  "description": "AWS SDK for JavaScript Rolesanywhere 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",