@aws-sdk/client-detective 3.261.0 → 3.264.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.
|
@@ -1744,7 +1744,9 @@ const deserializeAws_restJson1AccountIdList = (output, context) => {
|
|
|
1744
1744
|
const deserializeAws_restJson1Administrator = (output, context) => {
|
|
1745
1745
|
return {
|
|
1746
1746
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
1747
|
-
DelegationTime: output.DelegationTime != null
|
|
1747
|
+
DelegationTime: output.DelegationTime != null
|
|
1748
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.DelegationTime))
|
|
1749
|
+
: undefined,
|
|
1748
1750
|
GraphArn: (0, smithy_client_1.expectString)(output.GraphArn),
|
|
1749
1751
|
};
|
|
1750
1752
|
};
|
|
@@ -1798,14 +1800,14 @@ const deserializeAws_restJson1DatasourcePackageUsageInfo = (output, context) =>
|
|
|
1798
1800
|
return {
|
|
1799
1801
|
VolumeUsageInBytes: (0, smithy_client_1.expectLong)(output.VolumeUsageInBytes),
|
|
1800
1802
|
VolumeUsageUpdateTime: output.VolumeUsageUpdateTime != null
|
|
1801
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1803
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.VolumeUsageUpdateTime))
|
|
1802
1804
|
: undefined,
|
|
1803
1805
|
};
|
|
1804
1806
|
};
|
|
1805
1807
|
const deserializeAws_restJson1Graph = (output, context) => {
|
|
1806
1808
|
return {
|
|
1807
1809
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1808
|
-
CreatedTime: output.CreatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1810
|
+
CreatedTime: output.CreatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTime)) : undefined,
|
|
1809
1811
|
};
|
|
1810
1812
|
};
|
|
1811
1813
|
const deserializeAws_restJson1GraphList = (output, context) => {
|
|
@@ -1839,20 +1841,20 @@ const deserializeAws_restJson1MemberDetail = (output, context) => {
|
|
|
1839
1841
|
EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
|
|
1840
1842
|
GraphArn: (0, smithy_client_1.expectString)(output.GraphArn),
|
|
1841
1843
|
InvitationType: (0, smithy_client_1.expectString)(output.InvitationType),
|
|
1842
|
-
InvitedTime: output.InvitedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1844
|
+
InvitedTime: output.InvitedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.InvitedTime)) : undefined,
|
|
1843
1845
|
MasterId: (0, smithy_client_1.expectString)(output.MasterId),
|
|
1844
1846
|
PercentOfGraphUtilization: (0, smithy_client_1.limitedParseDouble)(output.PercentOfGraphUtilization),
|
|
1845
1847
|
PercentOfGraphUtilizationUpdatedTime: output.PercentOfGraphUtilizationUpdatedTime != null
|
|
1846
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1848
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.PercentOfGraphUtilizationUpdatedTime))
|
|
1847
1849
|
: undefined,
|
|
1848
1850
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1849
|
-
UpdatedTime: output.UpdatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1851
|
+
UpdatedTime: output.UpdatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTime)) : undefined,
|
|
1850
1852
|
VolumeUsageByDatasourcePackage: output.VolumeUsageByDatasourcePackage != null
|
|
1851
1853
|
? deserializeAws_restJson1VolumeUsageByDatasourcePackage(output.VolumeUsageByDatasourcePackage, context)
|
|
1852
1854
|
: undefined,
|
|
1853
1855
|
VolumeUsageInBytes: (0, smithy_client_1.expectLong)(output.VolumeUsageInBytes),
|
|
1854
1856
|
VolumeUsageUpdatedTime: output.VolumeUsageUpdatedTime != null
|
|
1855
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1857
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.VolumeUsageUpdatedTime))
|
|
1856
1858
|
: undefined,
|
|
1857
1859
|
};
|
|
1858
1860
|
};
|
|
@@ -1909,7 +1911,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1909
1911
|
};
|
|
1910
1912
|
const deserializeAws_restJson1TimestampForCollection = (output, context) => {
|
|
1911
1913
|
return {
|
|
1912
|
-
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1914
|
+
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.Timestamp)) : undefined,
|
|
1913
1915
|
};
|
|
1914
1916
|
};
|
|
1915
1917
|
const deserializeAws_restJson1UnprocessedAccount = (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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DetectiveServiceException as __BaseException } from "../models/DetectiveServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestsException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const serializeAws_restJson1AcceptInvitationCommand = async (input, context) => {
|
|
@@ -1693,7 +1693,9 @@ const deserializeAws_restJson1AccountIdList = (output, context) => {
|
|
|
1693
1693
|
const deserializeAws_restJson1Administrator = (output, context) => {
|
|
1694
1694
|
return {
|
|
1695
1695
|
AccountId: __expectString(output.AccountId),
|
|
1696
|
-
DelegationTime: output.DelegationTime != null
|
|
1696
|
+
DelegationTime: output.DelegationTime != null
|
|
1697
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.DelegationTime))
|
|
1698
|
+
: undefined,
|
|
1697
1699
|
GraphArn: __expectString(output.GraphArn),
|
|
1698
1700
|
};
|
|
1699
1701
|
};
|
|
@@ -1747,14 +1749,14 @@ const deserializeAws_restJson1DatasourcePackageUsageInfo = (output, context) =>
|
|
|
1747
1749
|
return {
|
|
1748
1750
|
VolumeUsageInBytes: __expectLong(output.VolumeUsageInBytes),
|
|
1749
1751
|
VolumeUsageUpdateTime: output.VolumeUsageUpdateTime != null
|
|
1750
|
-
? __expectNonNull(
|
|
1752
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.VolumeUsageUpdateTime))
|
|
1751
1753
|
: undefined,
|
|
1752
1754
|
};
|
|
1753
1755
|
};
|
|
1754
1756
|
const deserializeAws_restJson1Graph = (output, context) => {
|
|
1755
1757
|
return {
|
|
1756
1758
|
Arn: __expectString(output.Arn),
|
|
1757
|
-
CreatedTime: output.CreatedTime != null ? __expectNonNull(
|
|
1759
|
+
CreatedTime: output.CreatedTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTime)) : undefined,
|
|
1758
1760
|
};
|
|
1759
1761
|
};
|
|
1760
1762
|
const deserializeAws_restJson1GraphList = (output, context) => {
|
|
@@ -1788,20 +1790,20 @@ const deserializeAws_restJson1MemberDetail = (output, context) => {
|
|
|
1788
1790
|
EmailAddress: __expectString(output.EmailAddress),
|
|
1789
1791
|
GraphArn: __expectString(output.GraphArn),
|
|
1790
1792
|
InvitationType: __expectString(output.InvitationType),
|
|
1791
|
-
InvitedTime: output.InvitedTime != null ? __expectNonNull(
|
|
1793
|
+
InvitedTime: output.InvitedTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.InvitedTime)) : undefined,
|
|
1792
1794
|
MasterId: __expectString(output.MasterId),
|
|
1793
1795
|
PercentOfGraphUtilization: __limitedParseDouble(output.PercentOfGraphUtilization),
|
|
1794
1796
|
PercentOfGraphUtilizationUpdatedTime: output.PercentOfGraphUtilizationUpdatedTime != null
|
|
1795
|
-
? __expectNonNull(
|
|
1797
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.PercentOfGraphUtilizationUpdatedTime))
|
|
1796
1798
|
: undefined,
|
|
1797
1799
|
Status: __expectString(output.Status),
|
|
1798
|
-
UpdatedTime: output.UpdatedTime != null ? __expectNonNull(
|
|
1800
|
+
UpdatedTime: output.UpdatedTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedTime)) : undefined,
|
|
1799
1801
|
VolumeUsageByDatasourcePackage: output.VolumeUsageByDatasourcePackage != null
|
|
1800
1802
|
? deserializeAws_restJson1VolumeUsageByDatasourcePackage(output.VolumeUsageByDatasourcePackage, context)
|
|
1801
1803
|
: undefined,
|
|
1802
1804
|
VolumeUsageInBytes: __expectLong(output.VolumeUsageInBytes),
|
|
1803
1805
|
VolumeUsageUpdatedTime: output.VolumeUsageUpdatedTime != null
|
|
1804
|
-
? __expectNonNull(
|
|
1806
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.VolumeUsageUpdatedTime))
|
|
1805
1807
|
: undefined,
|
|
1806
1808
|
};
|
|
1807
1809
|
};
|
|
@@ -1858,7 +1860,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1858
1860
|
};
|
|
1859
1861
|
const deserializeAws_restJson1TimestampForCollection = (output, context) => {
|
|
1860
1862
|
return {
|
|
1861
|
-
Timestamp: output.Timestamp != null ? __expectNonNull(
|
|
1863
|
+
Timestamp: output.Timestamp != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.Timestamp)) : undefined,
|
|
1862
1864
|
};
|
|
1863
1865
|
};
|
|
1864
1866
|
const deserializeAws_restJson1UnprocessedAccount = (output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-detective",
|
|
3
3
|
"description": "AWS SDK for JavaScript Detective Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.264.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,14 +20,14 @@
|
|
|
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.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|