@aws-sdk/client-resource-explorer-2 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.
|
@@ -526,7 +526,7 @@ const deserializeAws_restJson1CreateIndexCommand = async (output, context) => {
|
|
|
526
526
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
527
527
|
}
|
|
528
528
|
if (data.CreatedAt != null) {
|
|
529
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
529
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
530
530
|
}
|
|
531
531
|
if (data.State != null) {
|
|
532
532
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -630,7 +630,7 @@ const deserializeAws_restJson1DeleteIndexCommand = async (output, context) => {
|
|
|
630
630
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
631
631
|
}
|
|
632
632
|
if (data.LastUpdatedAt != null) {
|
|
633
|
-
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
633
|
+
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.LastUpdatedAt));
|
|
634
634
|
}
|
|
635
635
|
if (data.State != null) {
|
|
636
636
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -817,10 +817,10 @@ const deserializeAws_restJson1GetIndexCommand = async (output, context) => {
|
|
|
817
817
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
818
818
|
}
|
|
819
819
|
if (data.CreatedAt != null) {
|
|
820
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
820
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
821
821
|
}
|
|
822
822
|
if (data.LastUpdatedAt != null) {
|
|
823
|
-
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
823
|
+
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.LastUpdatedAt));
|
|
824
824
|
}
|
|
825
825
|
if (data.ReplicatingFrom != null) {
|
|
826
826
|
contents.ReplicatingFrom = deserializeAws_restJson1RegionList(data.ReplicatingFrom, context);
|
|
@@ -1273,7 +1273,7 @@ const deserializeAws_restJson1UpdateIndexTypeCommand = async (output, context) =
|
|
|
1273
1273
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1274
1274
|
}
|
|
1275
1275
|
if (data.LastUpdatedAt != null) {
|
|
1276
|
-
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1276
|
+
contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.LastUpdatedAt));
|
|
1277
1277
|
}
|
|
1278
1278
|
if (data.State != null) {
|
|
1279
1279
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -1582,7 +1582,9 @@ const deserializeAws_restJson1RegionList = (output, context) => {
|
|
|
1582
1582
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1583
1583
|
return {
|
|
1584
1584
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1585
|
-
LastReportedAt: output.LastReportedAt != null
|
|
1585
|
+
LastReportedAt: output.LastReportedAt != null
|
|
1586
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastReportedAt))
|
|
1587
|
+
: undefined,
|
|
1586
1588
|
OwningAccountId: (0, smithy_client_1.expectString)(output.OwningAccountId),
|
|
1587
1589
|
Properties: output.Properties != null ? deserializeAws_restJson1ResourcePropertyList(output.Properties, context) : undefined,
|
|
1588
1590
|
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
@@ -1610,7 +1612,9 @@ const deserializeAws_restJson1ResourceList = (output, context) => {
|
|
|
1610
1612
|
const deserializeAws_restJson1ResourceProperty = (output, context) => {
|
|
1611
1613
|
return {
|
|
1612
1614
|
Data: output.Data != null ? deserializeAws_restJson1Document(output.Data, context) : undefined,
|
|
1613
|
-
LastReportedAt: output.LastReportedAt != null
|
|
1615
|
+
LastReportedAt: output.LastReportedAt != null
|
|
1616
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastReportedAt))
|
|
1617
|
+
: undefined,
|
|
1614
1618
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1615
1619
|
};
|
|
1616
1620
|
};
|
|
@@ -1679,7 +1683,9 @@ const deserializeAws_restJson1View = (output, context) => {
|
|
|
1679
1683
|
IncludedProperties: output.IncludedProperties != null
|
|
1680
1684
|
? deserializeAws_restJson1IncludedPropertyList(output.IncludedProperties, context)
|
|
1681
1685
|
: undefined,
|
|
1682
|
-
LastUpdatedAt: output.LastUpdatedAt != null
|
|
1686
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
1687
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastUpdatedAt))
|
|
1688
|
+
: undefined,
|
|
1683
1689
|
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
1684
1690
|
Scope: (0, smithy_client_1.expectString)(output.Scope),
|
|
1685
1691
|
ViewArn: (0, smithy_client_1.expectString)(output.ViewArn),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, 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 { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { ResourceExplorer2ServiceException as __BaseException } from "../models/ResourceExplorer2ServiceException";
|
|
@@ -502,7 +502,7 @@ export const deserializeAws_restJson1CreateIndexCommand = async (output, context
|
|
|
502
502
|
contents.Arn = __expectString(data.Arn);
|
|
503
503
|
}
|
|
504
504
|
if (data.CreatedAt != null) {
|
|
505
|
-
contents.CreatedAt = __expectNonNull(
|
|
505
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
506
506
|
}
|
|
507
507
|
if (data.State != null) {
|
|
508
508
|
contents.State = __expectString(data.State);
|
|
@@ -604,7 +604,7 @@ export const deserializeAws_restJson1DeleteIndexCommand = async (output, context
|
|
|
604
604
|
contents.Arn = __expectString(data.Arn);
|
|
605
605
|
}
|
|
606
606
|
if (data.LastUpdatedAt != null) {
|
|
607
|
-
contents.LastUpdatedAt = __expectNonNull(
|
|
607
|
+
contents.LastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.LastUpdatedAt));
|
|
608
608
|
}
|
|
609
609
|
if (data.State != null) {
|
|
610
610
|
contents.State = __expectString(data.State);
|
|
@@ -787,10 +787,10 @@ export const deserializeAws_restJson1GetIndexCommand = async (output, context) =
|
|
|
787
787
|
contents.Arn = __expectString(data.Arn);
|
|
788
788
|
}
|
|
789
789
|
if (data.CreatedAt != null) {
|
|
790
|
-
contents.CreatedAt = __expectNonNull(
|
|
790
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
791
791
|
}
|
|
792
792
|
if (data.LastUpdatedAt != null) {
|
|
793
|
-
contents.LastUpdatedAt = __expectNonNull(
|
|
793
|
+
contents.LastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.LastUpdatedAt));
|
|
794
794
|
}
|
|
795
795
|
if (data.ReplicatingFrom != null) {
|
|
796
796
|
contents.ReplicatingFrom = deserializeAws_restJson1RegionList(data.ReplicatingFrom, context);
|
|
@@ -1234,7 +1234,7 @@ export const deserializeAws_restJson1UpdateIndexTypeCommand = async (output, con
|
|
|
1234
1234
|
contents.Arn = __expectString(data.Arn);
|
|
1235
1235
|
}
|
|
1236
1236
|
if (data.LastUpdatedAt != null) {
|
|
1237
|
-
contents.LastUpdatedAt = __expectNonNull(
|
|
1237
|
+
contents.LastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.LastUpdatedAt));
|
|
1238
1238
|
}
|
|
1239
1239
|
if (data.State != null) {
|
|
1240
1240
|
contents.State = __expectString(data.State);
|
|
@@ -1541,7 +1541,9 @@ const deserializeAws_restJson1RegionList = (output, context) => {
|
|
|
1541
1541
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1542
1542
|
return {
|
|
1543
1543
|
Arn: __expectString(output.Arn),
|
|
1544
|
-
LastReportedAt: output.LastReportedAt != null
|
|
1544
|
+
LastReportedAt: output.LastReportedAt != null
|
|
1545
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.LastReportedAt))
|
|
1546
|
+
: undefined,
|
|
1545
1547
|
OwningAccountId: __expectString(output.OwningAccountId),
|
|
1546
1548
|
Properties: output.Properties != null ? deserializeAws_restJson1ResourcePropertyList(output.Properties, context) : undefined,
|
|
1547
1549
|
Region: __expectString(output.Region),
|
|
@@ -1569,7 +1571,9 @@ const deserializeAws_restJson1ResourceList = (output, context) => {
|
|
|
1569
1571
|
const deserializeAws_restJson1ResourceProperty = (output, context) => {
|
|
1570
1572
|
return {
|
|
1571
1573
|
Data: output.Data != null ? deserializeAws_restJson1Document(output.Data, context) : undefined,
|
|
1572
|
-
LastReportedAt: output.LastReportedAt != null
|
|
1574
|
+
LastReportedAt: output.LastReportedAt != null
|
|
1575
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.LastReportedAt))
|
|
1576
|
+
: undefined,
|
|
1573
1577
|
Name: __expectString(output.Name),
|
|
1574
1578
|
};
|
|
1575
1579
|
};
|
|
@@ -1638,7 +1642,9 @@ const deserializeAws_restJson1View = (output, context) => {
|
|
|
1638
1642
|
IncludedProperties: output.IncludedProperties != null
|
|
1639
1643
|
? deserializeAws_restJson1IncludedPropertyList(output.IncludedProperties, context)
|
|
1640
1644
|
: undefined,
|
|
1641
|
-
LastUpdatedAt: output.LastUpdatedAt != null
|
|
1645
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
1646
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.LastUpdatedAt))
|
|
1647
|
+
: undefined,
|
|
1642
1648
|
Owner: __expectString(output.Owner),
|
|
1643
1649
|
Scope: __expectString(output.Scope),
|
|
1644
1650
|
ViewArn: __expectString(output.ViewArn),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-explorer-2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
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",
|