@aws-sdk/client-cloudfront 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.
|
@@ -12060,7 +12060,7 @@ const deserializeAws_restXmlCachePolicy = (output, context) => {
|
|
|
12060
12060
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
12061
12061
|
}
|
|
12062
12062
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12063
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12063
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
12064
12064
|
}
|
|
12065
12065
|
if (output["CachePolicyConfig"] !== undefined) {
|
|
12066
12066
|
contents.CachePolicyConfig = deserializeAws_restXmlCachePolicyConfig(output["CachePolicyConfig"], context);
|
|
@@ -12376,7 +12376,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
|
|
|
12376
12376
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
12377
12377
|
}
|
|
12378
12378
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12379
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12379
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
12380
12380
|
}
|
|
12381
12381
|
if (output["ContinuousDeploymentPolicyConfig"] !== undefined) {
|
|
12382
12382
|
contents.ContinuousDeploymentPolicyConfig = deserializeAws_restXmlContinuousDeploymentPolicyConfig(output["ContinuousDeploymentPolicyConfig"], context);
|
|
@@ -12691,7 +12691,7 @@ const deserializeAws_restXmlDistribution = (output, context) => {
|
|
|
12691
12691
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
12692
12692
|
}
|
|
12693
12693
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12694
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12694
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
12695
12695
|
}
|
|
12696
12696
|
if (output["InProgressInvalidationBatches"] !== undefined) {
|
|
12697
12697
|
contents.InProgressInvalidationBatches = (0, smithy_client_1.strictParseInt32)(output["InProgressInvalidationBatches"]);
|
|
@@ -12903,7 +12903,7 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
|
|
|
12903
12903
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
12904
12904
|
}
|
|
12905
12905
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12906
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12906
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
12907
12907
|
}
|
|
12908
12908
|
if (output["DomainName"] !== undefined) {
|
|
12909
12909
|
contents.DomainName = (0, smithy_client_1.expectString)(output["DomainName"]);
|
|
@@ -13039,7 +13039,7 @@ const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
|
|
|
13039
13039
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13040
13040
|
}
|
|
13041
13041
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13042
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13042
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13043
13043
|
}
|
|
13044
13044
|
if (output["FieldLevelEncryptionConfig"] !== undefined) {
|
|
13045
13045
|
contents.FieldLevelEncryptionConfig = deserializeAws_restXmlFieldLevelEncryptionConfig(output["FieldLevelEncryptionConfig"], context);
|
|
@@ -13101,7 +13101,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
|
|
|
13101
13101
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13102
13102
|
}
|
|
13103
13103
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13104
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13104
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13105
13105
|
}
|
|
13106
13106
|
if (output["FieldLevelEncryptionProfileConfig"] !== undefined) {
|
|
13107
13107
|
contents.FieldLevelEncryptionProfileConfig = deserializeAws_restXmlFieldLevelEncryptionProfileConfig(output["FieldLevelEncryptionProfileConfig"], context);
|
|
@@ -13165,7 +13165,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSummary = (output, contex
|
|
|
13165
13165
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13166
13166
|
}
|
|
13167
13167
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13168
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13168
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13169
13169
|
}
|
|
13170
13170
|
if (output["Name"] !== undefined) {
|
|
13171
13171
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -13197,7 +13197,7 @@ const deserializeAws_restXmlFieldLevelEncryptionSummary = (output, context) => {
|
|
|
13197
13197
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13198
13198
|
}
|
|
13199
13199
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13200
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13200
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13201
13201
|
}
|
|
13202
13202
|
if (output["Comment"] !== undefined) {
|
|
13203
13203
|
contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
|
|
@@ -13362,10 +13362,10 @@ const deserializeAws_restXmlFunctionMetadata = (output, context) => {
|
|
|
13362
13362
|
contents.Stage = (0, smithy_client_1.expectString)(output["Stage"]);
|
|
13363
13363
|
}
|
|
13364
13364
|
if (output["CreatedTime"] !== undefined) {
|
|
13365
|
-
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13365
|
+
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedTime"]));
|
|
13366
13366
|
}
|
|
13367
13367
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13368
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13368
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13369
13369
|
}
|
|
13370
13370
|
return contents;
|
|
13371
13371
|
};
|
|
@@ -13454,7 +13454,7 @@ const deserializeAws_restXmlInvalidation = (output, context) => {
|
|
|
13454
13454
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
13455
13455
|
}
|
|
13456
13456
|
if (output["CreateTime"] !== undefined) {
|
|
13457
|
-
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13457
|
+
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateTime"]));
|
|
13458
13458
|
}
|
|
13459
13459
|
if (output["InvalidationBatch"] !== undefined) {
|
|
13460
13460
|
contents.InvalidationBatch = deserializeAws_restXmlInvalidationBatch(output["InvalidationBatch"], context);
|
|
@@ -13516,7 +13516,7 @@ const deserializeAws_restXmlInvalidationSummary = (output, context) => {
|
|
|
13516
13516
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13517
13517
|
}
|
|
13518
13518
|
if (output["CreateTime"] !== undefined) {
|
|
13519
|
-
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13519
|
+
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateTime"]));
|
|
13520
13520
|
}
|
|
13521
13521
|
if (output["Status"] !== undefined) {
|
|
13522
13522
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
@@ -13540,7 +13540,7 @@ const deserializeAws_restXmlKeyGroup = (output, context) => {
|
|
|
13540
13540
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
13541
13541
|
}
|
|
13542
13542
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13543
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13543
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
13544
13544
|
}
|
|
13545
13545
|
if (output["KeyGroupConfig"] !== undefined) {
|
|
13546
13546
|
contents.KeyGroupConfig = deserializeAws_restXmlKeyGroupConfig(output["KeyGroupConfig"], context);
|
|
@@ -14016,7 +14016,7 @@ const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
|
|
|
14016
14016
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
14017
14017
|
}
|
|
14018
14018
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14019
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14019
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
14020
14020
|
}
|
|
14021
14021
|
if (output["OriginRequestPolicyConfig"] !== undefined) {
|
|
14022
14022
|
contents.OriginRequestPolicyConfig = deserializeAws_restXmlOriginRequestPolicyConfig(output["OriginRequestPolicyConfig"], context);
|
|
@@ -14234,7 +14234,7 @@ const deserializeAws_restXmlPublicKey = (output, context) => {
|
|
|
14234
14234
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
14235
14235
|
}
|
|
14236
14236
|
if (output["CreatedTime"] !== undefined) {
|
|
14237
|
-
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14237
|
+
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedTime"]));
|
|
14238
14238
|
}
|
|
14239
14239
|
if (output["PublicKeyConfig"] !== undefined) {
|
|
14240
14240
|
contents.PublicKeyConfig = deserializeAws_restXmlPublicKeyConfig(output["PublicKeyConfig"], context);
|
|
@@ -14308,7 +14308,7 @@ const deserializeAws_restXmlPublicKeySummary = (output, context) => {
|
|
|
14308
14308
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
14309
14309
|
}
|
|
14310
14310
|
if (output["CreatedTime"] !== undefined) {
|
|
14311
|
-
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14311
|
+
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedTime"]));
|
|
14312
14312
|
}
|
|
14313
14313
|
if (output["EncodedKey"] !== undefined) {
|
|
14314
14314
|
contents.EncodedKey = (0, smithy_client_1.expectString)(output["EncodedKey"]);
|
|
@@ -14505,7 +14505,7 @@ const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
|
|
|
14505
14505
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
14506
14506
|
}
|
|
14507
14507
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14508
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14508
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
14509
14509
|
}
|
|
14510
14510
|
if (output["ResponseHeadersPolicyConfig"] !== undefined) {
|
|
14511
14511
|
contents.ResponseHeadersPolicyConfig = deserializeAws_restXmlResponseHeadersPolicyConfig(output["ResponseHeadersPolicyConfig"], context);
|
|
@@ -15027,7 +15027,7 @@ const deserializeAws_restXmlStreamingDistribution = (output, context) => {
|
|
|
15027
15027
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
15028
15028
|
}
|
|
15029
15029
|
if (output["LastModifiedTime"] !== undefined) {
|
|
15030
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
15030
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
15031
15031
|
}
|
|
15032
15032
|
if (output["DomainName"] !== undefined) {
|
|
15033
15033
|
contents.DomainName = (0, smithy_client_1.expectString)(output["DomainName"]);
|
|
@@ -15133,7 +15133,7 @@ const deserializeAws_restXmlStreamingDistributionSummary = (output, context) =>
|
|
|
15133
15133
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
15134
15134
|
}
|
|
15135
15135
|
if (output["LastModifiedTime"] !== undefined) {
|
|
15136
|
-
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
15136
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedTime"]));
|
|
15137
15137
|
}
|
|
15138
15138
|
if (output["DomainName"] !== undefined) {
|
|
15139
15139
|
contents.DomainName = (0, smithy_client_1.expectString)(output["DomainName"]);
|
|
@@ -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, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
|
|
4
4
|
import { XMLParser } from "fast-xml-parser";
|
|
5
5
|
import { CloudFrontServiceException as __BaseException } from "../models/CloudFrontServiceException";
|
|
@@ -11841,7 +11841,7 @@ const deserializeAws_restXmlCachePolicy = (output, context) => {
|
|
|
11841
11841
|
contents.Id = __expectString(output["Id"]);
|
|
11842
11842
|
}
|
|
11843
11843
|
if (output["LastModifiedTime"] !== undefined) {
|
|
11844
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
11844
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
11845
11845
|
}
|
|
11846
11846
|
if (output["CachePolicyConfig"] !== undefined) {
|
|
11847
11847
|
contents.CachePolicyConfig = deserializeAws_restXmlCachePolicyConfig(output["CachePolicyConfig"], context);
|
|
@@ -12157,7 +12157,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
|
|
|
12157
12157
|
contents.Id = __expectString(output["Id"]);
|
|
12158
12158
|
}
|
|
12159
12159
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12160
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12160
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12161
12161
|
}
|
|
12162
12162
|
if (output["ContinuousDeploymentPolicyConfig"] !== undefined) {
|
|
12163
12163
|
contents.ContinuousDeploymentPolicyConfig = deserializeAws_restXmlContinuousDeploymentPolicyConfig(output["ContinuousDeploymentPolicyConfig"], context);
|
|
@@ -12472,7 +12472,7 @@ const deserializeAws_restXmlDistribution = (output, context) => {
|
|
|
12472
12472
|
contents.Status = __expectString(output["Status"]);
|
|
12473
12473
|
}
|
|
12474
12474
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12475
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12475
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12476
12476
|
}
|
|
12477
12477
|
if (output["InProgressInvalidationBatches"] !== undefined) {
|
|
12478
12478
|
contents.InProgressInvalidationBatches = __strictParseInt32(output["InProgressInvalidationBatches"]);
|
|
@@ -12684,7 +12684,7 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
|
|
|
12684
12684
|
contents.Status = __expectString(output["Status"]);
|
|
12685
12685
|
}
|
|
12686
12686
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12687
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12687
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12688
12688
|
}
|
|
12689
12689
|
if (output["DomainName"] !== undefined) {
|
|
12690
12690
|
contents.DomainName = __expectString(output["DomainName"]);
|
|
@@ -12820,7 +12820,7 @@ const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
|
|
|
12820
12820
|
contents.Id = __expectString(output["Id"]);
|
|
12821
12821
|
}
|
|
12822
12822
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12823
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12823
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12824
12824
|
}
|
|
12825
12825
|
if (output["FieldLevelEncryptionConfig"] !== undefined) {
|
|
12826
12826
|
contents.FieldLevelEncryptionConfig = deserializeAws_restXmlFieldLevelEncryptionConfig(output["FieldLevelEncryptionConfig"], context);
|
|
@@ -12882,7 +12882,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
|
|
|
12882
12882
|
contents.Id = __expectString(output["Id"]);
|
|
12883
12883
|
}
|
|
12884
12884
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12885
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12885
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12886
12886
|
}
|
|
12887
12887
|
if (output["FieldLevelEncryptionProfileConfig"] !== undefined) {
|
|
12888
12888
|
contents.FieldLevelEncryptionProfileConfig = deserializeAws_restXmlFieldLevelEncryptionProfileConfig(output["FieldLevelEncryptionProfileConfig"], context);
|
|
@@ -12946,7 +12946,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSummary = (output, contex
|
|
|
12946
12946
|
contents.Id = __expectString(output["Id"]);
|
|
12947
12947
|
}
|
|
12948
12948
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12949
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12949
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12950
12950
|
}
|
|
12951
12951
|
if (output["Name"] !== undefined) {
|
|
12952
12952
|
contents.Name = __expectString(output["Name"]);
|
|
@@ -12978,7 +12978,7 @@ const deserializeAws_restXmlFieldLevelEncryptionSummary = (output, context) => {
|
|
|
12978
12978
|
contents.Id = __expectString(output["Id"]);
|
|
12979
12979
|
}
|
|
12980
12980
|
if (output["LastModifiedTime"] !== undefined) {
|
|
12981
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
12981
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
12982
12982
|
}
|
|
12983
12983
|
if (output["Comment"] !== undefined) {
|
|
12984
12984
|
contents.Comment = __expectString(output["Comment"]);
|
|
@@ -13143,10 +13143,10 @@ const deserializeAws_restXmlFunctionMetadata = (output, context) => {
|
|
|
13143
13143
|
contents.Stage = __expectString(output["Stage"]);
|
|
13144
13144
|
}
|
|
13145
13145
|
if (output["CreatedTime"] !== undefined) {
|
|
13146
|
-
contents.CreatedTime = __expectNonNull(
|
|
13146
|
+
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedTime"]));
|
|
13147
13147
|
}
|
|
13148
13148
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13149
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
13149
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
13150
13150
|
}
|
|
13151
13151
|
return contents;
|
|
13152
13152
|
};
|
|
@@ -13235,7 +13235,7 @@ const deserializeAws_restXmlInvalidation = (output, context) => {
|
|
|
13235
13235
|
contents.Status = __expectString(output["Status"]);
|
|
13236
13236
|
}
|
|
13237
13237
|
if (output["CreateTime"] !== undefined) {
|
|
13238
|
-
contents.CreateTime = __expectNonNull(
|
|
13238
|
+
contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateTime"]));
|
|
13239
13239
|
}
|
|
13240
13240
|
if (output["InvalidationBatch"] !== undefined) {
|
|
13241
13241
|
contents.InvalidationBatch = deserializeAws_restXmlInvalidationBatch(output["InvalidationBatch"], context);
|
|
@@ -13297,7 +13297,7 @@ const deserializeAws_restXmlInvalidationSummary = (output, context) => {
|
|
|
13297
13297
|
contents.Id = __expectString(output["Id"]);
|
|
13298
13298
|
}
|
|
13299
13299
|
if (output["CreateTime"] !== undefined) {
|
|
13300
|
-
contents.CreateTime = __expectNonNull(
|
|
13300
|
+
contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateTime"]));
|
|
13301
13301
|
}
|
|
13302
13302
|
if (output["Status"] !== undefined) {
|
|
13303
13303
|
contents.Status = __expectString(output["Status"]);
|
|
@@ -13321,7 +13321,7 @@ const deserializeAws_restXmlKeyGroup = (output, context) => {
|
|
|
13321
13321
|
contents.Id = __expectString(output["Id"]);
|
|
13322
13322
|
}
|
|
13323
13323
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13324
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
13324
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
13325
13325
|
}
|
|
13326
13326
|
if (output["KeyGroupConfig"] !== undefined) {
|
|
13327
13327
|
contents.KeyGroupConfig = deserializeAws_restXmlKeyGroupConfig(output["KeyGroupConfig"], context);
|
|
@@ -13797,7 +13797,7 @@ const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
|
|
|
13797
13797
|
contents.Id = __expectString(output["Id"]);
|
|
13798
13798
|
}
|
|
13799
13799
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13800
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
13800
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
13801
13801
|
}
|
|
13802
13802
|
if (output["OriginRequestPolicyConfig"] !== undefined) {
|
|
13803
13803
|
contents.OriginRequestPolicyConfig = deserializeAws_restXmlOriginRequestPolicyConfig(output["OriginRequestPolicyConfig"], context);
|
|
@@ -14015,7 +14015,7 @@ const deserializeAws_restXmlPublicKey = (output, context) => {
|
|
|
14015
14015
|
contents.Id = __expectString(output["Id"]);
|
|
14016
14016
|
}
|
|
14017
14017
|
if (output["CreatedTime"] !== undefined) {
|
|
14018
|
-
contents.CreatedTime = __expectNonNull(
|
|
14018
|
+
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedTime"]));
|
|
14019
14019
|
}
|
|
14020
14020
|
if (output["PublicKeyConfig"] !== undefined) {
|
|
14021
14021
|
contents.PublicKeyConfig = deserializeAws_restXmlPublicKeyConfig(output["PublicKeyConfig"], context);
|
|
@@ -14089,7 +14089,7 @@ const deserializeAws_restXmlPublicKeySummary = (output, context) => {
|
|
|
14089
14089
|
contents.Name = __expectString(output["Name"]);
|
|
14090
14090
|
}
|
|
14091
14091
|
if (output["CreatedTime"] !== undefined) {
|
|
14092
|
-
contents.CreatedTime = __expectNonNull(
|
|
14092
|
+
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedTime"]));
|
|
14093
14093
|
}
|
|
14094
14094
|
if (output["EncodedKey"] !== undefined) {
|
|
14095
14095
|
contents.EncodedKey = __expectString(output["EncodedKey"]);
|
|
@@ -14286,7 +14286,7 @@ const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
|
|
|
14286
14286
|
contents.Id = __expectString(output["Id"]);
|
|
14287
14287
|
}
|
|
14288
14288
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14289
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
14289
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
14290
14290
|
}
|
|
14291
14291
|
if (output["ResponseHeadersPolicyConfig"] !== undefined) {
|
|
14292
14292
|
contents.ResponseHeadersPolicyConfig = deserializeAws_restXmlResponseHeadersPolicyConfig(output["ResponseHeadersPolicyConfig"], context);
|
|
@@ -14808,7 +14808,7 @@ const deserializeAws_restXmlStreamingDistribution = (output, context) => {
|
|
|
14808
14808
|
contents.Status = __expectString(output["Status"]);
|
|
14809
14809
|
}
|
|
14810
14810
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14811
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
14811
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
14812
14812
|
}
|
|
14813
14813
|
if (output["DomainName"] !== undefined) {
|
|
14814
14814
|
contents.DomainName = __expectString(output["DomainName"]);
|
|
@@ -14914,7 +14914,7 @@ const deserializeAws_restXmlStreamingDistributionSummary = (output, context) =>
|
|
|
14914
14914
|
contents.Status = __expectString(output["Status"]);
|
|
14915
14915
|
}
|
|
14916
14916
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14917
|
-
contents.LastModifiedTime = __expectNonNull(
|
|
14917
|
+
contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedTime"]));
|
|
14918
14918
|
}
|
|
14919
14919
|
if (output["DomainName"] !== undefined) {
|
|
14920
14920
|
contents.DomainName = __expectString(output["DomainName"]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront 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",
|