@aws-sdk/client-cloudfront 3.29.0 → 3.33.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.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/CloudFrontClient.js +13 -13
- package/dist/cjs/CloudFrontClient.js.map +1 -1
- package/dist/cjs/commands/AssociateAliasCommand.js +3 -3
- package/dist/cjs/commands/AssociateAliasCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCachePolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateCachePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDistributionCommand.js +3 -3
- package/dist/cjs/commands/CreateDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDistributionWithTagsCommand.js +3 -3
- package/dist/cjs/commands/CreateDistributionWithTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFunctionCommand.js +3 -3
- package/dist/cjs/commands/CreateFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInvalidationCommand.js +3 -3
- package/dist/cjs/commands/CreateInvalidationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateKeyGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateKeyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePublicKeyCommand.js +3 -3
- package/dist/cjs/commands/CreatePublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js +3 -3
- package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStreamingDistributionCommand.js +3 -3
- package/dist/cjs/commands/CreateStreamingDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
- package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCachePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteCachePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDistributionCommand.js +3 -3
- package/dist/cjs/commands/DeleteDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFunctionCommand.js +3 -3
- package/dist/cjs/commands/DeleteFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteKeyGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteKeyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePublicKeyCommand.js +3 -3
- package/dist/cjs/commands/DeletePublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js +3 -3
- package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStreamingDistributionCommand.js +3 -3
- package/dist/cjs/commands/DeleteStreamingDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeFunctionCommand.js +3 -3
- package/dist/cjs/commands/DescribeFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/GetCachePolicyCommand.js +3 -3
- package/dist/cjs/commands/GetCachePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetCachePolicyConfigCommand.js +3 -3
- package/dist/cjs/commands/GetCachePolicyConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetDistributionCommand.js +3 -3
- package/dist/cjs/commands/GetDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/GetDistributionConfigCommand.js +3 -3
- package/dist/cjs/commands/GetDistributionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
- package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js.map +1 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -3
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetFunctionCommand.js +3 -3
- package/dist/cjs/commands/GetFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/GetInvalidationCommand.js +3 -3
- package/dist/cjs/commands/GetInvalidationCommand.js.map +1 -1
- package/dist/cjs/commands/GetKeyGroupCommand.js +3 -3
- package/dist/cjs/commands/GetKeyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/GetKeyGroupConfigCommand.js +3 -3
- package/dist/cjs/commands/GetKeyGroupConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/GetOriginRequestPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetOriginRequestPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js +3 -3
- package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/GetPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetPublicKeyConfigCommand.js +3 -3
- package/dist/cjs/commands/GetPublicKeyConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetRealtimeLogConfigCommand.js +3 -3
- package/dist/cjs/commands/GetRealtimeLogConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetStreamingDistributionCommand.js +3 -3
- package/dist/cjs/commands/GetStreamingDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js +3 -3
- package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/ListCachePoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListCachePoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -3
- package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +1 -1
- package/dist/cjs/commands/ListConflictingAliasesCommand.js +3 -3
- package/dist/cjs/commands/ListConflictingAliasesCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js.map +1 -1
- package/dist/cjs/commands/ListDistributionsCommand.js +3 -3
- package/dist/cjs/commands/ListDistributionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -3
- package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js.map +1 -1
- package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListFunctionsCommand.js +3 -3
- package/dist/cjs/commands/ListFunctionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInvalidationsCommand.js +3 -3
- package/dist/cjs/commands/ListInvalidationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListKeyGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListKeyGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist/cjs/commands/ListPublicKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js +3 -3
- package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStreamingDistributionsCommand.js +3 -3
- package/dist/cjs/commands/ListStreamingDistributionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PublishFunctionCommand.js +3 -3
- package/dist/cjs/commands/PublishFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TestFunctionCommand.js +3 -3
- package/dist/cjs/commands/TestFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCachePolicyCommand.js +3 -3
- package/dist/cjs/commands/UpdateCachePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDistributionCommand.js +3 -3
- package/dist/cjs/commands/UpdateDistributionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFunctionCommand.js +3 -3
- package/dist/cjs/commands/UpdateFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateKeyGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdateKeyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js +3 -3
- package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePublicKeyCommand.js +3 -3
- package/dist/cjs/commands/UpdatePublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStreamingDistributionCommand.js +3 -3
- package/dist/cjs/commands/UpdateStreamingDistributionCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +96 -96
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +2 -2
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_restXml.js +611 -611
- package/dist/cjs/protocols/Aws_restXml.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForDistributionDeployed.js +3 -3
- package/dist/cjs/waiters/waitForDistributionDeployed.js.map +1 -1
- package/dist/cjs/waiters/waitForInvalidationCompleted.js +3 -3
- package/dist/cjs/waiters/waitForInvalidationCompleted.js.map +1 -1
- package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js +3 -3
- package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +4 -4
- package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +1 -1
- package/dist/es/pagination/ListDistributionsPaginator.js +4 -4
- package/dist/es/pagination/ListDistributionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInvalidationsPaginator.js +4 -4
- package/dist/es/pagination/ListInvalidationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStreamingDistributionsPaginator.js +4 -4
- package/dist/es/pagination/ListStreamingDistributionsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restXml.js +18 -18
- package/dist/es/protocols/Aws_restXml.js.map +1 -1
- package/package.json +33 -33
- package/protocols/Aws_restXml.ts +84 -83
- package/tsconfig.json +1 -2
|
@@ -19,7 +19,7 @@ const serializeAws_restXmlAssociateAliasCommand = async (input, context) => {
|
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
20
20
|
throw new Error("Empty value provided for input HTTP label: TargetDistributionId.");
|
|
21
21
|
}
|
|
22
|
-
resolvedPath = resolvedPath.replace("{TargetDistributionId}",
|
|
22
|
+
resolvedPath = resolvedPath.replace("{TargetDistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: TargetDistributionId.");
|
|
@@ -262,7 +262,7 @@ const serializeAws_restXmlCreateInvalidationCommand = async (input, context) =>
|
|
|
262
262
|
if (labelValue.length <= 0) {
|
|
263
263
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
264
264
|
}
|
|
265
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
265
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
268
268
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -329,7 +329,7 @@ const serializeAws_restXmlCreateMonitoringSubscriptionCommand = async (input, co
|
|
|
329
329
|
if (labelValue.length <= 0) {
|
|
330
330
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
331
331
|
}
|
|
332
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
332
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
333
333
|
}
|
|
334
334
|
else {
|
|
335
335
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -529,7 +529,7 @@ const serializeAws_restXmlDeleteCachePolicyCommand = async (input, context) => {
|
|
|
529
529
|
if (labelValue.length <= 0) {
|
|
530
530
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
531
531
|
}
|
|
532
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
532
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
533
533
|
}
|
|
534
534
|
else {
|
|
535
535
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -558,7 +558,7 @@ const serializeAws_restXmlDeleteCloudFrontOriginAccessIdentityCommand = async (i
|
|
|
558
558
|
if (labelValue.length <= 0) {
|
|
559
559
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
560
560
|
}
|
|
561
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
561
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
562
562
|
}
|
|
563
563
|
else {
|
|
564
564
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -586,7 +586,7 @@ const serializeAws_restXmlDeleteDistributionCommand = async (input, context) =>
|
|
|
586
586
|
if (labelValue.length <= 0) {
|
|
587
587
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
588
588
|
}
|
|
589
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
589
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
590
590
|
}
|
|
591
591
|
else {
|
|
592
592
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restXmlDeleteFieldLevelEncryptionConfigCommand = async (input
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
617
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -643,7 +643,7 @@ const serializeAws_restXmlDeleteFieldLevelEncryptionProfileCommand = async (inpu
|
|
|
643
643
|
if (labelValue.length <= 0) {
|
|
644
644
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
645
645
|
}
|
|
646
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
646
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
647
647
|
}
|
|
648
648
|
else {
|
|
649
649
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -671,7 +671,7 @@ const serializeAws_restXmlDeleteFunctionCommand = async (input, context) => {
|
|
|
671
671
|
if (labelValue.length <= 0) {
|
|
672
672
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
673
673
|
}
|
|
674
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
674
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
675
675
|
}
|
|
676
676
|
else {
|
|
677
677
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -699,7 +699,7 @@ const serializeAws_restXmlDeleteKeyGroupCommand = async (input, context) => {
|
|
|
699
699
|
if (labelValue.length <= 0) {
|
|
700
700
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
701
701
|
}
|
|
702
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
702
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
703
703
|
}
|
|
704
704
|
else {
|
|
705
705
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -726,7 +726,7 @@ const serializeAws_restXmlDeleteMonitoringSubscriptionCommand = async (input, co
|
|
|
726
726
|
if (labelValue.length <= 0) {
|
|
727
727
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
728
728
|
}
|
|
729
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
729
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
730
730
|
}
|
|
731
731
|
else {
|
|
732
732
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -754,7 +754,7 @@ const serializeAws_restXmlDeleteOriginRequestPolicyCommand = async (input, conte
|
|
|
754
754
|
if (labelValue.length <= 0) {
|
|
755
755
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
756
756
|
}
|
|
757
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
757
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
758
758
|
}
|
|
759
759
|
else {
|
|
760
760
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -782,7 +782,7 @@ const serializeAws_restXmlDeletePublicKeyCommand = async (input, context) => {
|
|
|
782
782
|
if (labelValue.length <= 0) {
|
|
783
783
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
784
784
|
}
|
|
785
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
785
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
786
786
|
}
|
|
787
787
|
else {
|
|
788
788
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -840,7 +840,7 @@ const serializeAws_restXmlDeleteStreamingDistributionCommand = async (input, con
|
|
|
840
840
|
if (labelValue.length <= 0) {
|
|
841
841
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
842
842
|
}
|
|
843
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
843
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
844
844
|
}
|
|
845
845
|
else {
|
|
846
846
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -866,7 +866,7 @@ const serializeAws_restXmlDescribeFunctionCommand = async (input, context) => {
|
|
|
866
866
|
if (labelValue.length <= 0) {
|
|
867
867
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
868
868
|
}
|
|
869
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
869
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
870
870
|
}
|
|
871
871
|
else {
|
|
872
872
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -896,7 +896,7 @@ const serializeAws_restXmlGetCachePolicyCommand = async (input, context) => {
|
|
|
896
896
|
if (labelValue.length <= 0) {
|
|
897
897
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
898
898
|
}
|
|
899
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
899
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
900
900
|
}
|
|
901
901
|
else {
|
|
902
902
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -922,7 +922,7 @@ const serializeAws_restXmlGetCachePolicyConfigCommand = async (input, context) =
|
|
|
922
922
|
if (labelValue.length <= 0) {
|
|
923
923
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
924
924
|
}
|
|
925
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
925
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
926
926
|
}
|
|
927
927
|
else {
|
|
928
928
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -949,7 +949,7 @@ const serializeAws_restXmlGetCloudFrontOriginAccessIdentityCommand = async (inpu
|
|
|
949
949
|
if (labelValue.length <= 0) {
|
|
950
950
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
951
951
|
}
|
|
952
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
952
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
953
953
|
}
|
|
954
954
|
else {
|
|
955
955
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -976,7 +976,7 @@ const serializeAws_restXmlGetCloudFrontOriginAccessIdentityConfigCommand = async
|
|
|
976
976
|
if (labelValue.length <= 0) {
|
|
977
977
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
978
978
|
}
|
|
979
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
979
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
980
980
|
}
|
|
981
981
|
else {
|
|
982
982
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1002,7 +1002,7 @@ const serializeAws_restXmlGetDistributionCommand = async (input, context) => {
|
|
|
1002
1002
|
if (labelValue.length <= 0) {
|
|
1003
1003
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1004
1004
|
}
|
|
1005
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1005
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1006
1006
|
}
|
|
1007
1007
|
else {
|
|
1008
1008
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1028,7 +1028,7 @@ const serializeAws_restXmlGetDistributionConfigCommand = async (input, context)
|
|
|
1028
1028
|
if (labelValue.length <= 0) {
|
|
1029
1029
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1030
1030
|
}
|
|
1031
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1031
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1032
1032
|
}
|
|
1033
1033
|
else {
|
|
1034
1034
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1054,7 +1054,7 @@ const serializeAws_restXmlGetFieldLevelEncryptionCommand = async (input, context
|
|
|
1054
1054
|
if (labelValue.length <= 0) {
|
|
1055
1055
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1056
1056
|
}
|
|
1057
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1057
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1058
1058
|
}
|
|
1059
1059
|
else {
|
|
1060
1060
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1081,7 +1081,7 @@ const serializeAws_restXmlGetFieldLevelEncryptionConfigCommand = async (input, c
|
|
|
1081
1081
|
if (labelValue.length <= 0) {
|
|
1082
1082
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1083
1083
|
}
|
|
1084
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1084
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1085
1085
|
}
|
|
1086
1086
|
else {
|
|
1087
1087
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1108,7 +1108,7 @@ const serializeAws_restXmlGetFieldLevelEncryptionProfileCommand = async (input,
|
|
|
1108
1108
|
if (labelValue.length <= 0) {
|
|
1109
1109
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1110
1110
|
}
|
|
1111
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1111
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1112
1112
|
}
|
|
1113
1113
|
else {
|
|
1114
1114
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1135,7 +1135,7 @@ const serializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand = async (i
|
|
|
1135
1135
|
if (labelValue.length <= 0) {
|
|
1136
1136
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1137
1137
|
}
|
|
1138
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1138
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1139
1139
|
}
|
|
1140
1140
|
else {
|
|
1141
1141
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1161,7 +1161,7 @@ const serializeAws_restXmlGetFunctionCommand = async (input, context) => {
|
|
|
1161
1161
|
if (labelValue.length <= 0) {
|
|
1162
1162
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1163
1163
|
}
|
|
1164
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
1164
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1165
1165
|
}
|
|
1166
1166
|
else {
|
|
1167
1167
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1192,7 +1192,7 @@ const serializeAws_restXmlGetInvalidationCommand = async (input, context) => {
|
|
|
1192
1192
|
if (labelValue.length <= 0) {
|
|
1193
1193
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
1194
1194
|
}
|
|
1195
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
1195
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1196
1196
|
}
|
|
1197
1197
|
else {
|
|
1198
1198
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -1202,7 +1202,7 @@ const serializeAws_restXmlGetInvalidationCommand = async (input, context) => {
|
|
|
1202
1202
|
if (labelValue.length <= 0) {
|
|
1203
1203
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1204
1204
|
}
|
|
1205
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1205
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1206
1206
|
}
|
|
1207
1207
|
else {
|
|
1208
1208
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1228,7 +1228,7 @@ const serializeAws_restXmlGetKeyGroupCommand = async (input, context) => {
|
|
|
1228
1228
|
if (labelValue.length <= 0) {
|
|
1229
1229
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1230
1230
|
}
|
|
1231
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1231
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1232
1232
|
}
|
|
1233
1233
|
else {
|
|
1234
1234
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1254,7 +1254,7 @@ const serializeAws_restXmlGetKeyGroupConfigCommand = async (input, context) => {
|
|
|
1254
1254
|
if (labelValue.length <= 0) {
|
|
1255
1255
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1256
1256
|
}
|
|
1257
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1257
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1258
1258
|
}
|
|
1259
1259
|
else {
|
|
1260
1260
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1281,7 +1281,7 @@ const serializeAws_restXmlGetMonitoringSubscriptionCommand = async (input, conte
|
|
|
1281
1281
|
if (labelValue.length <= 0) {
|
|
1282
1282
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
1283
1283
|
}
|
|
1284
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
1284
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1285
1285
|
}
|
|
1286
1286
|
else {
|
|
1287
1287
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -1307,7 +1307,7 @@ const serializeAws_restXmlGetOriginRequestPolicyCommand = async (input, context)
|
|
|
1307
1307
|
if (labelValue.length <= 0) {
|
|
1308
1308
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1309
1309
|
}
|
|
1310
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1310
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1311
1311
|
}
|
|
1312
1312
|
else {
|
|
1313
1313
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1334,7 +1334,7 @@ const serializeAws_restXmlGetOriginRequestPolicyConfigCommand = async (input, co
|
|
|
1334
1334
|
if (labelValue.length <= 0) {
|
|
1335
1335
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1336
1336
|
}
|
|
1337
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1337
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1338
1338
|
}
|
|
1339
1339
|
else {
|
|
1340
1340
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1360,7 +1360,7 @@ const serializeAws_restXmlGetPublicKeyCommand = async (input, context) => {
|
|
|
1360
1360
|
if (labelValue.length <= 0) {
|
|
1361
1361
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1362
1362
|
}
|
|
1363
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1363
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1364
1364
|
}
|
|
1365
1365
|
else {
|
|
1366
1366
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1386,7 +1386,7 @@ const serializeAws_restXmlGetPublicKeyConfigCommand = async (input, context) =>
|
|
|
1386
1386
|
if (labelValue.length <= 0) {
|
|
1387
1387
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1388
1388
|
}
|
|
1389
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1389
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1390
1390
|
}
|
|
1391
1391
|
else {
|
|
1392
1392
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1442,7 +1442,7 @@ const serializeAws_restXmlGetStreamingDistributionCommand = async (input, contex
|
|
|
1442
1442
|
if (labelValue.length <= 0) {
|
|
1443
1443
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1444
1444
|
}
|
|
1445
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1445
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1446
1446
|
}
|
|
1447
1447
|
else {
|
|
1448
1448
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1469,7 +1469,7 @@ const serializeAws_restXmlGetStreamingDistributionConfigCommand = async (input,
|
|
|
1469
1469
|
if (labelValue.length <= 0) {
|
|
1470
1470
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1471
1471
|
}
|
|
1472
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
1472
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1473
1473
|
}
|
|
1474
1474
|
else {
|
|
1475
1475
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1584,7 +1584,7 @@ const serializeAws_restXmlListDistributionsByCachePolicyIdCommand = async (input
|
|
|
1584
1584
|
if (labelValue.length <= 0) {
|
|
1585
1585
|
throw new Error("Empty value provided for input HTTP label: CachePolicyId.");
|
|
1586
1586
|
}
|
|
1587
|
-
resolvedPath = resolvedPath.replace("{CachePolicyId}",
|
|
1587
|
+
resolvedPath = resolvedPath.replace("{CachePolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1588
1588
|
}
|
|
1589
1589
|
else {
|
|
1590
1590
|
throw new Error("No value provided for input HTTP label: CachePolicyId.");
|
|
@@ -1616,7 +1616,7 @@ const serializeAws_restXmlListDistributionsByKeyGroupCommand = async (input, con
|
|
|
1616
1616
|
if (labelValue.length <= 0) {
|
|
1617
1617
|
throw new Error("Empty value provided for input HTTP label: KeyGroupId.");
|
|
1618
1618
|
}
|
|
1619
|
-
resolvedPath = resolvedPath.replace("{KeyGroupId}",
|
|
1619
|
+
resolvedPath = resolvedPath.replace("{KeyGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1620
1620
|
}
|
|
1621
1621
|
else {
|
|
1622
1622
|
throw new Error("No value provided for input HTTP label: KeyGroupId.");
|
|
@@ -1648,7 +1648,7 @@ const serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand = asyn
|
|
|
1648
1648
|
if (labelValue.length <= 0) {
|
|
1649
1649
|
throw new Error("Empty value provided for input HTTP label: OriginRequestPolicyId.");
|
|
1650
1650
|
}
|
|
1651
|
-
resolvedPath = resolvedPath.replace("{OriginRequestPolicyId}",
|
|
1651
|
+
resolvedPath = resolvedPath.replace("{OriginRequestPolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1652
1652
|
}
|
|
1653
1653
|
else {
|
|
1654
1654
|
throw new Error("No value provided for input HTTP label: OriginRequestPolicyId.");
|
|
@@ -1723,7 +1723,7 @@ const serializeAws_restXmlListDistributionsByWebACLIdCommand = async (input, con
|
|
|
1723
1723
|
if (labelValue.length <= 0) {
|
|
1724
1724
|
throw new Error("Empty value provided for input HTTP label: WebACLId.");
|
|
1725
1725
|
}
|
|
1726
|
-
resolvedPath = resolvedPath.replace("{WebACLId}",
|
|
1726
|
+
resolvedPath = resolvedPath.replace("{WebACLId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1727
1727
|
}
|
|
1728
1728
|
else {
|
|
1729
1729
|
throw new Error("No value provided for input HTTP label: WebACLId.");
|
|
@@ -1820,7 +1820,7 @@ const serializeAws_restXmlListInvalidationsCommand = async (input, context) => {
|
|
|
1820
1820
|
if (labelValue.length <= 0) {
|
|
1821
1821
|
throw new Error("Empty value provided for input HTTP label: DistributionId.");
|
|
1822
1822
|
}
|
|
1823
|
-
resolvedPath = resolvedPath.replace("{DistributionId}",
|
|
1823
|
+
resolvedPath = resolvedPath.replace("{DistributionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1824
1824
|
}
|
|
1825
1825
|
else {
|
|
1826
1826
|
throw new Error("No value provided for input HTTP label: DistributionId.");
|
|
@@ -1979,7 +1979,7 @@ const serializeAws_restXmlPublishFunctionCommand = async (input, context) => {
|
|
|
1979
1979
|
if (labelValue.length <= 0) {
|
|
1980
1980
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1981
1981
|
}
|
|
1982
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
1982
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1983
1983
|
}
|
|
1984
1984
|
else {
|
|
1985
1985
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -2041,7 +2041,7 @@ const serializeAws_restXmlTestFunctionCommand = async (input, context) => {
|
|
|
2041
2041
|
if (labelValue.length <= 0) {
|
|
2042
2042
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
2043
2043
|
}
|
|
2044
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
2044
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2045
2045
|
}
|
|
2046
2046
|
else {
|
|
2047
2047
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -2117,7 +2117,7 @@ const serializeAws_restXmlUpdateCachePolicyCommand = async (input, context) => {
|
|
|
2117
2117
|
if (labelValue.length <= 0) {
|
|
2118
2118
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2119
2119
|
}
|
|
2120
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2120
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2121
2121
|
}
|
|
2122
2122
|
else {
|
|
2123
2123
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2157,7 +2157,7 @@ const serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand = async (i
|
|
|
2157
2157
|
if (labelValue.length <= 0) {
|
|
2158
2158
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2159
2159
|
}
|
|
2160
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2160
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2161
2161
|
}
|
|
2162
2162
|
else {
|
|
2163
2163
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2196,7 +2196,7 @@ const serializeAws_restXmlUpdateDistributionCommand = async (input, context) =>
|
|
|
2196
2196
|
if (labelValue.length <= 0) {
|
|
2197
2197
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2198
2198
|
}
|
|
2199
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2199
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2200
2200
|
}
|
|
2201
2201
|
else {
|
|
2202
2202
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2236,7 +2236,7 @@ const serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand = async (input
|
|
|
2236
2236
|
if (labelValue.length <= 0) {
|
|
2237
2237
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2238
2238
|
}
|
|
2239
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2239
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2240
2240
|
}
|
|
2241
2241
|
else {
|
|
2242
2242
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2276,7 +2276,7 @@ const serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand = async (inpu
|
|
|
2276
2276
|
if (labelValue.length <= 0) {
|
|
2277
2277
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2278
2278
|
}
|
|
2279
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2279
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2280
2280
|
}
|
|
2281
2281
|
else {
|
|
2282
2282
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2315,7 +2315,7 @@ const serializeAws_restXmlUpdateFunctionCommand = async (input, context) => {
|
|
|
2315
2315
|
if (labelValue.length <= 0) {
|
|
2316
2316
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
2317
2317
|
}
|
|
2318
|
-
resolvedPath = resolvedPath.replace("{Name}",
|
|
2318
|
+
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2319
2319
|
}
|
|
2320
2320
|
else {
|
|
2321
2321
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -2358,7 +2358,7 @@ const serializeAws_restXmlUpdateKeyGroupCommand = async (input, context) => {
|
|
|
2358
2358
|
if (labelValue.length <= 0) {
|
|
2359
2359
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2360
2360
|
}
|
|
2361
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2361
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2362
2362
|
}
|
|
2363
2363
|
else {
|
|
2364
2364
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2397,7 +2397,7 @@ const serializeAws_restXmlUpdateOriginRequestPolicyCommand = async (input, conte
|
|
|
2397
2397
|
if (labelValue.length <= 0) {
|
|
2398
2398
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2399
2399
|
}
|
|
2400
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2400
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2401
2401
|
}
|
|
2402
2402
|
else {
|
|
2403
2403
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2436,7 +2436,7 @@ const serializeAws_restXmlUpdatePublicKeyCommand = async (input, context) => {
|
|
|
2436
2436
|
if (labelValue.length <= 0) {
|
|
2437
2437
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2438
2438
|
}
|
|
2439
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2439
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2440
2440
|
}
|
|
2441
2441
|
else {
|
|
2442
2442
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2526,7 +2526,7 @@ const serializeAws_restXmlUpdateStreamingDistributionCommand = async (input, con
|
|
|
2526
2526
|
if (labelValue.length <= 0) {
|
|
2527
2527
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2528
2528
|
}
|
|
2529
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
2529
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2530
2530
|
}
|
|
2531
2531
|
else {
|
|
2532
2532
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2645,7 +2645,7 @@ const deserializeAws_restXmlCreateCachePolicyCommand = async (output, context) =
|
|
|
2645
2645
|
if (output.headers["etag"] !== undefined) {
|
|
2646
2646
|
contents.ETag = output.headers["etag"];
|
|
2647
2647
|
}
|
|
2648
|
-
const data =
|
|
2648
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
2649
2649
|
contents.CachePolicy = deserializeAws_restXmlCachePolicy(data, context);
|
|
2650
2650
|
return Promise.resolve(contents);
|
|
2651
2651
|
};
|
|
@@ -2755,7 +2755,7 @@ const deserializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand = async
|
|
|
2755
2755
|
if (output.headers["etag"] !== undefined) {
|
|
2756
2756
|
contents.ETag = output.headers["etag"];
|
|
2757
2757
|
}
|
|
2758
|
-
const data =
|
|
2758
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
2759
2759
|
contents.CloudFrontOriginAccessIdentity = deserializeAws_restXmlCloudFrontOriginAccessIdentity(data, context);
|
|
2760
2760
|
return Promise.resolve(contents);
|
|
2761
2761
|
};
|
|
@@ -2841,7 +2841,7 @@ const deserializeAws_restXmlCreateDistributionCommand = async (output, context)
|
|
|
2841
2841
|
if (output.headers["etag"] !== undefined) {
|
|
2842
2842
|
contents.ETag = output.headers["etag"];
|
|
2843
2843
|
}
|
|
2844
|
-
const data =
|
|
2844
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
2845
2845
|
contents.Distribution = deserializeAws_restXmlDistribution(data, context);
|
|
2846
2846
|
return Promise.resolve(contents);
|
|
2847
2847
|
};
|
|
@@ -3343,7 +3343,7 @@ const deserializeAws_restXmlCreateDistributionWithTagsCommand = async (output, c
|
|
|
3343
3343
|
if (output.headers["etag"] !== undefined) {
|
|
3344
3344
|
contents.ETag = output.headers["etag"];
|
|
3345
3345
|
}
|
|
3346
|
-
const data =
|
|
3346
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
3347
3347
|
contents.Distribution = deserializeAws_restXmlDistribution(data, context);
|
|
3348
3348
|
return Promise.resolve(contents);
|
|
3349
3349
|
};
|
|
@@ -3853,7 +3853,7 @@ const deserializeAws_restXmlCreateFieldLevelEncryptionConfigCommand = async (out
|
|
|
3853
3853
|
if (output.headers["etag"] !== undefined) {
|
|
3854
3854
|
contents.ETag = output.headers["etag"];
|
|
3855
3855
|
}
|
|
3856
|
-
const data =
|
|
3856
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
3857
3857
|
contents.FieldLevelEncryption = deserializeAws_restXmlFieldLevelEncryption(data, context);
|
|
3858
3858
|
return Promise.resolve(contents);
|
|
3859
3859
|
};
|
|
@@ -3963,7 +3963,7 @@ const deserializeAws_restXmlCreateFieldLevelEncryptionProfileCommand = async (ou
|
|
|
3963
3963
|
if (output.headers["etag"] !== undefined) {
|
|
3964
3964
|
contents.ETag = output.headers["etag"];
|
|
3965
3965
|
}
|
|
3966
|
-
const data =
|
|
3966
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
3967
3967
|
contents.FieldLevelEncryptionProfile = deserializeAws_restXmlFieldLevelEncryptionProfile(data, context);
|
|
3968
3968
|
return Promise.resolve(contents);
|
|
3969
3969
|
};
|
|
@@ -4073,7 +4073,7 @@ const deserializeAws_restXmlCreateFunctionCommand = async (output, context) => {
|
|
|
4073
4073
|
if (output.headers["etag"] !== undefined) {
|
|
4074
4074
|
contents.ETag = output.headers["etag"];
|
|
4075
4075
|
}
|
|
4076
|
-
const data =
|
|
4076
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4077
4077
|
contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(data, context);
|
|
4078
4078
|
return Promise.resolve(contents);
|
|
4079
4079
|
};
|
|
@@ -4155,7 +4155,7 @@ const deserializeAws_restXmlCreateInvalidationCommand = async (output, context)
|
|
|
4155
4155
|
if (output.headers["location"] !== undefined) {
|
|
4156
4156
|
contents.Location = output.headers["location"];
|
|
4157
4157
|
}
|
|
4158
|
-
const data =
|
|
4158
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4159
4159
|
contents.Invalidation = deserializeAws_restXmlInvalidation(data, context);
|
|
4160
4160
|
return Promise.resolve(contents);
|
|
4161
4161
|
};
|
|
@@ -4257,7 +4257,7 @@ const deserializeAws_restXmlCreateKeyGroupCommand = async (output, context) => {
|
|
|
4257
4257
|
if (output.headers["etag"] !== undefined) {
|
|
4258
4258
|
contents.ETag = output.headers["etag"];
|
|
4259
4259
|
}
|
|
4260
|
-
const data =
|
|
4260
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4261
4261
|
contents.KeyGroup = deserializeAws_restXmlKeyGroup(data, context);
|
|
4262
4262
|
return Promise.resolve(contents);
|
|
4263
4263
|
};
|
|
@@ -4327,7 +4327,7 @@ const deserializeAws_restXmlCreateMonitoringSubscriptionCommand = async (output,
|
|
|
4327
4327
|
$metadata: deserializeMetadata(output),
|
|
4328
4328
|
MonitoringSubscription: undefined,
|
|
4329
4329
|
};
|
|
4330
|
-
const data =
|
|
4330
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4331
4331
|
contents.MonitoringSubscription = deserializeAws_restXmlMonitoringSubscription(data, context);
|
|
4332
4332
|
return Promise.resolve(contents);
|
|
4333
4333
|
};
|
|
@@ -4397,7 +4397,7 @@ const deserializeAws_restXmlCreateOriginRequestPolicyCommand = async (output, co
|
|
|
4397
4397
|
if (output.headers["etag"] !== undefined) {
|
|
4398
4398
|
contents.ETag = output.headers["etag"];
|
|
4399
4399
|
}
|
|
4400
|
-
const data =
|
|
4400
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4401
4401
|
contents.OriginRequestPolicy = deserializeAws_restXmlOriginRequestPolicy(data, context);
|
|
4402
4402
|
return Promise.resolve(contents);
|
|
4403
4403
|
};
|
|
@@ -4507,7 +4507,7 @@ const deserializeAws_restXmlCreatePublicKeyCommand = async (output, context) =>
|
|
|
4507
4507
|
if (output.headers["etag"] !== undefined) {
|
|
4508
4508
|
contents.ETag = output.headers["etag"];
|
|
4509
4509
|
}
|
|
4510
|
-
const data =
|
|
4510
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4511
4511
|
contents.PublicKey = deserializeAws_restXmlPublicKey(data, context);
|
|
4512
4512
|
return Promise.resolve(contents);
|
|
4513
4513
|
};
|
|
@@ -4569,7 +4569,7 @@ const deserializeAws_restXmlCreateRealtimeLogConfigCommand = async (output, cont
|
|
|
4569
4569
|
$metadata: deserializeMetadata(output),
|
|
4570
4570
|
RealtimeLogConfig: undefined,
|
|
4571
4571
|
};
|
|
4572
|
-
const data =
|
|
4572
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4573
4573
|
if (data["RealtimeLogConfig"] !== undefined) {
|
|
4574
4574
|
contents.RealtimeLogConfig = deserializeAws_restXmlRealtimeLogConfig(data["RealtimeLogConfig"], context);
|
|
4575
4575
|
}
|
|
@@ -4649,7 +4649,7 @@ const deserializeAws_restXmlCreateStreamingDistributionCommand = async (output,
|
|
|
4649
4649
|
if (output.headers["etag"] !== undefined) {
|
|
4650
4650
|
contents.ETag = output.headers["etag"];
|
|
4651
4651
|
}
|
|
4652
|
-
const data =
|
|
4652
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4653
4653
|
contents.StreamingDistribution = deserializeAws_restXmlStreamingDistribution(data, context);
|
|
4654
4654
|
return Promise.resolve(contents);
|
|
4655
4655
|
};
|
|
@@ -4791,7 +4791,7 @@ const deserializeAws_restXmlCreateStreamingDistributionWithTagsCommand = async (
|
|
|
4791
4791
|
if (output.headers["etag"] !== undefined) {
|
|
4792
4792
|
contents.ETag = output.headers["etag"];
|
|
4793
4793
|
}
|
|
4794
|
-
const data =
|
|
4794
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
4795
4795
|
contents.StreamingDistribution = deserializeAws_restXmlStreamingDistribution(data, context);
|
|
4796
4796
|
return Promise.resolve(contents);
|
|
4797
4797
|
};
|
|
@@ -5833,7 +5833,7 @@ const deserializeAws_restXmlDescribeFunctionCommand = async (output, context) =>
|
|
|
5833
5833
|
if (output.headers["etag"] !== undefined) {
|
|
5834
5834
|
contents.ETag = output.headers["etag"];
|
|
5835
5835
|
}
|
|
5836
|
-
const data =
|
|
5836
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
5837
5837
|
contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(data, context);
|
|
5838
5838
|
return Promise.resolve(contents);
|
|
5839
5839
|
};
|
|
@@ -5891,7 +5891,7 @@ const deserializeAws_restXmlGetCachePolicyCommand = async (output, context) => {
|
|
|
5891
5891
|
if (output.headers["etag"] !== undefined) {
|
|
5892
5892
|
contents.ETag = output.headers["etag"];
|
|
5893
5893
|
}
|
|
5894
|
-
const data =
|
|
5894
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
5895
5895
|
contents.CachePolicy = deserializeAws_restXmlCachePolicy(data, context);
|
|
5896
5896
|
return Promise.resolve(contents);
|
|
5897
5897
|
};
|
|
@@ -5949,7 +5949,7 @@ const deserializeAws_restXmlGetCachePolicyConfigCommand = async (output, context
|
|
|
5949
5949
|
if (output.headers["etag"] !== undefined) {
|
|
5950
5950
|
contents.ETag = output.headers["etag"];
|
|
5951
5951
|
}
|
|
5952
|
-
const data =
|
|
5952
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
5953
5953
|
contents.CachePolicyConfig = deserializeAws_restXmlCachePolicyConfig(data, context);
|
|
5954
5954
|
return Promise.resolve(contents);
|
|
5955
5955
|
};
|
|
@@ -6007,7 +6007,7 @@ const deserializeAws_restXmlGetCloudFrontOriginAccessIdentityCommand = async (ou
|
|
|
6007
6007
|
if (output.headers["etag"] !== undefined) {
|
|
6008
6008
|
contents.ETag = output.headers["etag"];
|
|
6009
6009
|
}
|
|
6010
|
-
const data =
|
|
6010
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6011
6011
|
contents.CloudFrontOriginAccessIdentity = deserializeAws_restXmlCloudFrontOriginAccessIdentity(data, context);
|
|
6012
6012
|
return Promise.resolve(contents);
|
|
6013
6013
|
};
|
|
@@ -6065,7 +6065,7 @@ const deserializeAws_restXmlGetCloudFrontOriginAccessIdentityConfigCommand = asy
|
|
|
6065
6065
|
if (output.headers["etag"] !== undefined) {
|
|
6066
6066
|
contents.ETag = output.headers["etag"];
|
|
6067
6067
|
}
|
|
6068
|
-
const data =
|
|
6068
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6069
6069
|
contents.CloudFrontOriginAccessIdentityConfig = deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig(data, context);
|
|
6070
6070
|
return Promise.resolve(contents);
|
|
6071
6071
|
};
|
|
@@ -6123,7 +6123,7 @@ const deserializeAws_restXmlGetDistributionCommand = async (output, context) =>
|
|
|
6123
6123
|
if (output.headers["etag"] !== undefined) {
|
|
6124
6124
|
contents.ETag = output.headers["etag"];
|
|
6125
6125
|
}
|
|
6126
|
-
const data =
|
|
6126
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6127
6127
|
contents.Distribution = deserializeAws_restXmlDistribution(data, context);
|
|
6128
6128
|
return Promise.resolve(contents);
|
|
6129
6129
|
};
|
|
@@ -6181,7 +6181,7 @@ const deserializeAws_restXmlGetDistributionConfigCommand = async (output, contex
|
|
|
6181
6181
|
if (output.headers["etag"] !== undefined) {
|
|
6182
6182
|
contents.ETag = output.headers["etag"];
|
|
6183
6183
|
}
|
|
6184
|
-
const data =
|
|
6184
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6185
6185
|
contents.DistributionConfig = deserializeAws_restXmlDistributionConfig(data, context);
|
|
6186
6186
|
return Promise.resolve(contents);
|
|
6187
6187
|
};
|
|
@@ -6239,7 +6239,7 @@ const deserializeAws_restXmlGetFieldLevelEncryptionCommand = async (output, cont
|
|
|
6239
6239
|
if (output.headers["etag"] !== undefined) {
|
|
6240
6240
|
contents.ETag = output.headers["etag"];
|
|
6241
6241
|
}
|
|
6242
|
-
const data =
|
|
6242
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6243
6243
|
contents.FieldLevelEncryption = deserializeAws_restXmlFieldLevelEncryption(data, context);
|
|
6244
6244
|
return Promise.resolve(contents);
|
|
6245
6245
|
};
|
|
@@ -6297,7 +6297,7 @@ const deserializeAws_restXmlGetFieldLevelEncryptionConfigCommand = async (output
|
|
|
6297
6297
|
if (output.headers["etag"] !== undefined) {
|
|
6298
6298
|
contents.ETag = output.headers["etag"];
|
|
6299
6299
|
}
|
|
6300
|
-
const data =
|
|
6300
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6301
6301
|
contents.FieldLevelEncryptionConfig = deserializeAws_restXmlFieldLevelEncryptionConfig(data, context);
|
|
6302
6302
|
return Promise.resolve(contents);
|
|
6303
6303
|
};
|
|
@@ -6355,7 +6355,7 @@ const deserializeAws_restXmlGetFieldLevelEncryptionProfileCommand = async (outpu
|
|
|
6355
6355
|
if (output.headers["etag"] !== undefined) {
|
|
6356
6356
|
contents.ETag = output.headers["etag"];
|
|
6357
6357
|
}
|
|
6358
|
-
const data =
|
|
6358
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6359
6359
|
contents.FieldLevelEncryptionProfile = deserializeAws_restXmlFieldLevelEncryptionProfile(data, context);
|
|
6360
6360
|
return Promise.resolve(contents);
|
|
6361
6361
|
};
|
|
@@ -6413,7 +6413,7 @@ const deserializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand = async
|
|
|
6413
6413
|
if (output.headers["etag"] !== undefined) {
|
|
6414
6414
|
contents.ETag = output.headers["etag"];
|
|
6415
6415
|
}
|
|
6416
|
-
const data =
|
|
6416
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6417
6417
|
contents.FieldLevelEncryptionProfileConfig = deserializeAws_restXmlFieldLevelEncryptionProfileConfig(data, context);
|
|
6418
6418
|
return Promise.resolve(contents);
|
|
6419
6419
|
};
|
|
@@ -6529,7 +6529,7 @@ const deserializeAws_restXmlGetInvalidationCommand = async (output, context) =>
|
|
|
6529
6529
|
$metadata: deserializeMetadata(output),
|
|
6530
6530
|
Invalidation: undefined,
|
|
6531
6531
|
};
|
|
6532
|
-
const data =
|
|
6532
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6533
6533
|
contents.Invalidation = deserializeAws_restXmlInvalidation(data, context);
|
|
6534
6534
|
return Promise.resolve(contents);
|
|
6535
6535
|
};
|
|
@@ -6595,7 +6595,7 @@ const deserializeAws_restXmlGetKeyGroupCommand = async (output, context) => {
|
|
|
6595
6595
|
if (output.headers["etag"] !== undefined) {
|
|
6596
6596
|
contents.ETag = output.headers["etag"];
|
|
6597
6597
|
}
|
|
6598
|
-
const data =
|
|
6598
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6599
6599
|
contents.KeyGroup = deserializeAws_restXmlKeyGroup(data, context);
|
|
6600
6600
|
return Promise.resolve(contents);
|
|
6601
6601
|
};
|
|
@@ -6645,7 +6645,7 @@ const deserializeAws_restXmlGetKeyGroupConfigCommand = async (output, context) =
|
|
|
6645
6645
|
if (output.headers["etag"] !== undefined) {
|
|
6646
6646
|
contents.ETag = output.headers["etag"];
|
|
6647
6647
|
}
|
|
6648
|
-
const data =
|
|
6648
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6649
6649
|
contents.KeyGroupConfig = deserializeAws_restXmlKeyGroupConfig(data, context);
|
|
6650
6650
|
return Promise.resolve(contents);
|
|
6651
6651
|
};
|
|
@@ -6691,7 +6691,7 @@ const deserializeAws_restXmlGetMonitoringSubscriptionCommand = async (output, co
|
|
|
6691
6691
|
$metadata: deserializeMetadata(output),
|
|
6692
6692
|
MonitoringSubscription: undefined,
|
|
6693
6693
|
};
|
|
6694
|
-
const data =
|
|
6694
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6695
6695
|
contents.MonitoringSubscription = deserializeAws_restXmlMonitoringSubscription(data, context);
|
|
6696
6696
|
return Promise.resolve(contents);
|
|
6697
6697
|
};
|
|
@@ -6757,7 +6757,7 @@ const deserializeAws_restXmlGetOriginRequestPolicyCommand = async (output, conte
|
|
|
6757
6757
|
if (output.headers["etag"] !== undefined) {
|
|
6758
6758
|
contents.ETag = output.headers["etag"];
|
|
6759
6759
|
}
|
|
6760
|
-
const data =
|
|
6760
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6761
6761
|
contents.OriginRequestPolicy = deserializeAws_restXmlOriginRequestPolicy(data, context);
|
|
6762
6762
|
return Promise.resolve(contents);
|
|
6763
6763
|
};
|
|
@@ -6815,7 +6815,7 @@ const deserializeAws_restXmlGetOriginRequestPolicyConfigCommand = async (output,
|
|
|
6815
6815
|
if (output.headers["etag"] !== undefined) {
|
|
6816
6816
|
contents.ETag = output.headers["etag"];
|
|
6817
6817
|
}
|
|
6818
|
-
const data =
|
|
6818
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6819
6819
|
contents.OriginRequestPolicyConfig = deserializeAws_restXmlOriginRequestPolicyConfig(data, context);
|
|
6820
6820
|
return Promise.resolve(contents);
|
|
6821
6821
|
};
|
|
@@ -6873,7 +6873,7 @@ const deserializeAws_restXmlGetPublicKeyCommand = async (output, context) => {
|
|
|
6873
6873
|
if (output.headers["etag"] !== undefined) {
|
|
6874
6874
|
contents.ETag = output.headers["etag"];
|
|
6875
6875
|
}
|
|
6876
|
-
const data =
|
|
6876
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6877
6877
|
contents.PublicKey = deserializeAws_restXmlPublicKey(data, context);
|
|
6878
6878
|
return Promise.resolve(contents);
|
|
6879
6879
|
};
|
|
@@ -6931,7 +6931,7 @@ const deserializeAws_restXmlGetPublicKeyConfigCommand = async (output, context)
|
|
|
6931
6931
|
if (output.headers["etag"] !== undefined) {
|
|
6932
6932
|
contents.ETag = output.headers["etag"];
|
|
6933
6933
|
}
|
|
6934
|
-
const data =
|
|
6934
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
6935
6935
|
contents.PublicKeyConfig = deserializeAws_restXmlPublicKeyConfig(data, context);
|
|
6936
6936
|
return Promise.resolve(contents);
|
|
6937
6937
|
};
|
|
@@ -6985,7 +6985,7 @@ const deserializeAws_restXmlGetRealtimeLogConfigCommand = async (output, context
|
|
|
6985
6985
|
$metadata: deserializeMetadata(output),
|
|
6986
6986
|
RealtimeLogConfig: undefined,
|
|
6987
6987
|
};
|
|
6988
|
-
const data =
|
|
6988
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6989
6989
|
if (data["RealtimeLogConfig"] !== undefined) {
|
|
6990
6990
|
contents.RealtimeLogConfig = deserializeAws_restXmlRealtimeLogConfig(data["RealtimeLogConfig"], context);
|
|
6991
6991
|
}
|
|
@@ -7053,7 +7053,7 @@ const deserializeAws_restXmlGetStreamingDistributionCommand = async (output, con
|
|
|
7053
7053
|
if (output.headers["etag"] !== undefined) {
|
|
7054
7054
|
contents.ETag = output.headers["etag"];
|
|
7055
7055
|
}
|
|
7056
|
-
const data =
|
|
7056
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7057
7057
|
contents.StreamingDistribution = deserializeAws_restXmlStreamingDistribution(data, context);
|
|
7058
7058
|
return Promise.resolve(contents);
|
|
7059
7059
|
};
|
|
@@ -7111,7 +7111,7 @@ const deserializeAws_restXmlGetStreamingDistributionConfigCommand = async (outpu
|
|
|
7111
7111
|
if (output.headers["etag"] !== undefined) {
|
|
7112
7112
|
contents.ETag = output.headers["etag"];
|
|
7113
7113
|
}
|
|
7114
|
-
const data =
|
|
7114
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7115
7115
|
contents.StreamingDistributionConfig = deserializeAws_restXmlStreamingDistributionConfig(data, context);
|
|
7116
7116
|
return Promise.resolve(contents);
|
|
7117
7117
|
};
|
|
@@ -7165,7 +7165,7 @@ const deserializeAws_restXmlListCachePoliciesCommand = async (output, context) =
|
|
|
7165
7165
|
$metadata: deserializeMetadata(output),
|
|
7166
7166
|
CachePolicyList: undefined,
|
|
7167
7167
|
};
|
|
7168
|
-
const data =
|
|
7168
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7169
7169
|
contents.CachePolicyList = deserializeAws_restXmlCachePolicyList(data, context);
|
|
7170
7170
|
return Promise.resolve(contents);
|
|
7171
7171
|
};
|
|
@@ -7227,7 +7227,7 @@ const deserializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand = async
|
|
|
7227
7227
|
$metadata: deserializeMetadata(output),
|
|
7228
7228
|
CloudFrontOriginAccessIdentityList: undefined,
|
|
7229
7229
|
};
|
|
7230
|
-
const data =
|
|
7230
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7231
7231
|
contents.CloudFrontOriginAccessIdentityList = deserializeAws_restXmlCloudFrontOriginAccessIdentityList(data, context);
|
|
7232
7232
|
return Promise.resolve(contents);
|
|
7233
7233
|
};
|
|
@@ -7273,7 +7273,7 @@ const deserializeAws_restXmlListConflictingAliasesCommand = async (output, conte
|
|
|
7273
7273
|
$metadata: deserializeMetadata(output),
|
|
7274
7274
|
ConflictingAliasesList: undefined,
|
|
7275
7275
|
};
|
|
7276
|
-
const data =
|
|
7276
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7277
7277
|
contents.ConflictingAliasesList = deserializeAws_restXmlConflictingAliasesList(data, context);
|
|
7278
7278
|
return Promise.resolve(contents);
|
|
7279
7279
|
};
|
|
@@ -7327,7 +7327,7 @@ const deserializeAws_restXmlListDistributionsCommand = async (output, context) =
|
|
|
7327
7327
|
$metadata: deserializeMetadata(output),
|
|
7328
7328
|
DistributionList: undefined,
|
|
7329
7329
|
};
|
|
7330
|
-
const data =
|
|
7330
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7331
7331
|
contents.DistributionList = deserializeAws_restXmlDistributionList(data, context);
|
|
7332
7332
|
return Promise.resolve(contents);
|
|
7333
7333
|
};
|
|
@@ -7373,7 +7373,7 @@ const deserializeAws_restXmlListDistributionsByCachePolicyIdCommand = async (out
|
|
|
7373
7373
|
$metadata: deserializeMetadata(output),
|
|
7374
7374
|
DistributionIdList: undefined,
|
|
7375
7375
|
};
|
|
7376
|
-
const data =
|
|
7376
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7377
7377
|
contents.DistributionIdList = deserializeAws_restXmlDistributionIdList(data, context);
|
|
7378
7378
|
return Promise.resolve(contents);
|
|
7379
7379
|
};
|
|
@@ -7435,7 +7435,7 @@ const deserializeAws_restXmlListDistributionsByKeyGroupCommand = async (output,
|
|
|
7435
7435
|
$metadata: deserializeMetadata(output),
|
|
7436
7436
|
DistributionIdList: undefined,
|
|
7437
7437
|
};
|
|
7438
|
-
const data =
|
|
7438
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7439
7439
|
contents.DistributionIdList = deserializeAws_restXmlDistributionIdList(data, context);
|
|
7440
7440
|
return Promise.resolve(contents);
|
|
7441
7441
|
};
|
|
@@ -7489,7 +7489,7 @@ const deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand = as
|
|
|
7489
7489
|
$metadata: deserializeMetadata(output),
|
|
7490
7490
|
DistributionIdList: undefined,
|
|
7491
7491
|
};
|
|
7492
|
-
const data =
|
|
7492
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7493
7493
|
contents.DistributionIdList = deserializeAws_restXmlDistributionIdList(data, context);
|
|
7494
7494
|
return Promise.resolve(contents);
|
|
7495
7495
|
};
|
|
@@ -7551,7 +7551,7 @@ const deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand = async
|
|
|
7551
7551
|
$metadata: deserializeMetadata(output),
|
|
7552
7552
|
DistributionList: undefined,
|
|
7553
7553
|
};
|
|
7554
|
-
const data =
|
|
7554
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7555
7555
|
contents.DistributionList = deserializeAws_restXmlDistributionList(data, context);
|
|
7556
7556
|
return Promise.resolve(contents);
|
|
7557
7557
|
};
|
|
@@ -7597,7 +7597,7 @@ const deserializeAws_restXmlListDistributionsByWebACLIdCommand = async (output,
|
|
|
7597
7597
|
$metadata: deserializeMetadata(output),
|
|
7598
7598
|
DistributionList: undefined,
|
|
7599
7599
|
};
|
|
7600
|
-
const data =
|
|
7600
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7601
7601
|
contents.DistributionList = deserializeAws_restXmlDistributionList(data, context);
|
|
7602
7602
|
return Promise.resolve(contents);
|
|
7603
7603
|
};
|
|
@@ -7651,7 +7651,7 @@ const deserializeAws_restXmlListFieldLevelEncryptionConfigsCommand = async (outp
|
|
|
7651
7651
|
$metadata: deserializeMetadata(output),
|
|
7652
7652
|
FieldLevelEncryptionList: undefined,
|
|
7653
7653
|
};
|
|
7654
|
-
const data =
|
|
7654
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7655
7655
|
contents.FieldLevelEncryptionList = deserializeAws_restXmlFieldLevelEncryptionList(data, context);
|
|
7656
7656
|
return Promise.resolve(contents);
|
|
7657
7657
|
};
|
|
@@ -7697,7 +7697,7 @@ const deserializeAws_restXmlListFieldLevelEncryptionProfilesCommand = async (out
|
|
|
7697
7697
|
$metadata: deserializeMetadata(output),
|
|
7698
7698
|
FieldLevelEncryptionProfileList: undefined,
|
|
7699
7699
|
};
|
|
7700
|
-
const data =
|
|
7700
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7701
7701
|
contents.FieldLevelEncryptionProfileList = deserializeAws_restXmlFieldLevelEncryptionProfileList(data, context);
|
|
7702
7702
|
return Promise.resolve(contents);
|
|
7703
7703
|
};
|
|
@@ -7743,7 +7743,7 @@ const deserializeAws_restXmlListFunctionsCommand = async (output, context) => {
|
|
|
7743
7743
|
$metadata: deserializeMetadata(output),
|
|
7744
7744
|
FunctionList: undefined,
|
|
7745
7745
|
};
|
|
7746
|
-
const data =
|
|
7746
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7747
7747
|
contents.FunctionList = deserializeAws_restXmlFunctionList(data, context);
|
|
7748
7748
|
return Promise.resolve(contents);
|
|
7749
7749
|
};
|
|
@@ -7797,7 +7797,7 @@ const deserializeAws_restXmlListInvalidationsCommand = async (output, context) =
|
|
|
7797
7797
|
$metadata: deserializeMetadata(output),
|
|
7798
7798
|
InvalidationList: undefined,
|
|
7799
7799
|
};
|
|
7800
|
-
const data =
|
|
7800
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7801
7801
|
contents.InvalidationList = deserializeAws_restXmlInvalidationList(data, context);
|
|
7802
7802
|
return Promise.resolve(contents);
|
|
7803
7803
|
};
|
|
@@ -7859,7 +7859,7 @@ const deserializeAws_restXmlListKeyGroupsCommand = async (output, context) => {
|
|
|
7859
7859
|
$metadata: deserializeMetadata(output),
|
|
7860
7860
|
KeyGroupList: undefined,
|
|
7861
7861
|
};
|
|
7862
|
-
const data =
|
|
7862
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7863
7863
|
contents.KeyGroupList = deserializeAws_restXmlKeyGroupList(data, context);
|
|
7864
7864
|
return Promise.resolve(contents);
|
|
7865
7865
|
};
|
|
@@ -7905,7 +7905,7 @@ const deserializeAws_restXmlListOriginRequestPoliciesCommand = async (output, co
|
|
|
7905
7905
|
$metadata: deserializeMetadata(output),
|
|
7906
7906
|
OriginRequestPolicyList: undefined,
|
|
7907
7907
|
};
|
|
7908
|
-
const data =
|
|
7908
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7909
7909
|
contents.OriginRequestPolicyList = deserializeAws_restXmlOriginRequestPolicyList(data, context);
|
|
7910
7910
|
return Promise.resolve(contents);
|
|
7911
7911
|
};
|
|
@@ -7967,7 +7967,7 @@ const deserializeAws_restXmlListPublicKeysCommand = async (output, context) => {
|
|
|
7967
7967
|
$metadata: deserializeMetadata(output),
|
|
7968
7968
|
PublicKeyList: undefined,
|
|
7969
7969
|
};
|
|
7970
|
-
const data =
|
|
7970
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
7971
7971
|
contents.PublicKeyList = deserializeAws_restXmlPublicKeyList(data, context);
|
|
7972
7972
|
return Promise.resolve(contents);
|
|
7973
7973
|
};
|
|
@@ -8013,7 +8013,7 @@ const deserializeAws_restXmlListRealtimeLogConfigsCommand = async (output, conte
|
|
|
8013
8013
|
$metadata: deserializeMetadata(output),
|
|
8014
8014
|
RealtimeLogConfigs: undefined,
|
|
8015
8015
|
};
|
|
8016
|
-
const data =
|
|
8016
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8017
8017
|
contents.RealtimeLogConfigs = deserializeAws_restXmlRealtimeLogConfigs(data, context);
|
|
8018
8018
|
return Promise.resolve(contents);
|
|
8019
8019
|
};
|
|
@@ -8075,7 +8075,7 @@ const deserializeAws_restXmlListStreamingDistributionsCommand = async (output, c
|
|
|
8075
8075
|
$metadata: deserializeMetadata(output),
|
|
8076
8076
|
StreamingDistributionList: undefined,
|
|
8077
8077
|
};
|
|
8078
|
-
const data =
|
|
8078
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8079
8079
|
contents.StreamingDistributionList = deserializeAws_restXmlStreamingDistributionList(data, context);
|
|
8080
8080
|
return Promise.resolve(contents);
|
|
8081
8081
|
};
|
|
@@ -8121,7 +8121,7 @@ const deserializeAws_restXmlListTagsForResourceCommand = async (output, context)
|
|
|
8121
8121
|
$metadata: deserializeMetadata(output),
|
|
8122
8122
|
Tags: undefined,
|
|
8123
8123
|
};
|
|
8124
|
-
const data =
|
|
8124
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8125
8125
|
contents.Tags = deserializeAws_restXmlTags(data, context);
|
|
8126
8126
|
return Promise.resolve(contents);
|
|
8127
8127
|
};
|
|
@@ -8191,7 +8191,7 @@ const deserializeAws_restXmlPublishFunctionCommand = async (output, context) =>
|
|
|
8191
8191
|
$metadata: deserializeMetadata(output),
|
|
8192
8192
|
FunctionSummary: undefined,
|
|
8193
8193
|
};
|
|
8194
|
-
const data =
|
|
8194
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8195
8195
|
contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(data, context);
|
|
8196
8196
|
return Promise.resolve(contents);
|
|
8197
8197
|
};
|
|
@@ -8337,7 +8337,7 @@ const deserializeAws_restXmlTestFunctionCommand = async (output, context) => {
|
|
|
8337
8337
|
$metadata: deserializeMetadata(output),
|
|
8338
8338
|
TestResult: undefined,
|
|
8339
8339
|
};
|
|
8340
|
-
const data =
|
|
8340
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8341
8341
|
contents.TestResult = deserializeAws_restXmlTestResult(data, context);
|
|
8342
8342
|
return Promise.resolve(contents);
|
|
8343
8343
|
};
|
|
@@ -8487,7 +8487,7 @@ const deserializeAws_restXmlUpdateCachePolicyCommand = async (output, context) =
|
|
|
8487
8487
|
if (output.headers["etag"] !== undefined) {
|
|
8488
8488
|
contents.ETag = output.headers["etag"];
|
|
8489
8489
|
}
|
|
8490
|
-
const data =
|
|
8490
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8491
8491
|
contents.CachePolicy = deserializeAws_restXmlCachePolicy(data, context);
|
|
8492
8492
|
return Promise.resolve(contents);
|
|
8493
8493
|
};
|
|
@@ -8617,7 +8617,7 @@ const deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand = async
|
|
|
8617
8617
|
if (output.headers["etag"] !== undefined) {
|
|
8618
8618
|
contents.ETag = output.headers["etag"];
|
|
8619
8619
|
}
|
|
8620
|
-
const data =
|
|
8620
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8621
8621
|
contents.CloudFrontOriginAccessIdentity = deserializeAws_restXmlCloudFrontOriginAccessIdentity(data, context);
|
|
8622
8622
|
return Promise.resolve(contents);
|
|
8623
8623
|
};
|
|
@@ -8723,7 +8723,7 @@ const deserializeAws_restXmlUpdateDistributionCommand = async (output, context)
|
|
|
8723
8723
|
if (output.headers["etag"] !== undefined) {
|
|
8724
8724
|
contents.ETag = output.headers["etag"];
|
|
8725
8725
|
}
|
|
8726
|
-
const data =
|
|
8726
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
8727
8727
|
contents.Distribution = deserializeAws_restXmlDistribution(data, context);
|
|
8728
8728
|
return Promise.resolve(contents);
|
|
8729
8729
|
};
|
|
@@ -9221,7 +9221,7 @@ const deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand = async (out
|
|
|
9221
9221
|
if (output.headers["etag"] !== undefined) {
|
|
9222
9222
|
contents.ETag = output.headers["etag"];
|
|
9223
9223
|
}
|
|
9224
|
-
const data =
|
|
9224
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9225
9225
|
contents.FieldLevelEncryption = deserializeAws_restXmlFieldLevelEncryption(data, context);
|
|
9226
9226
|
return Promise.resolve(contents);
|
|
9227
9227
|
};
|
|
@@ -9351,7 +9351,7 @@ const deserializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand = async (ou
|
|
|
9351
9351
|
if (output.headers["etag"] !== undefined) {
|
|
9352
9352
|
contents.ETag = output.headers["etag"];
|
|
9353
9353
|
}
|
|
9354
|
-
const data =
|
|
9354
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9355
9355
|
contents.FieldLevelEncryptionProfile = deserializeAws_restXmlFieldLevelEncryptionProfile(data, context);
|
|
9356
9356
|
return Promise.resolve(contents);
|
|
9357
9357
|
};
|
|
@@ -9489,7 +9489,7 @@ const deserializeAws_restXmlUpdateFunctionCommand = async (output, context) => {
|
|
|
9489
9489
|
if (output.headers["ettag"] !== undefined) {
|
|
9490
9490
|
contents.ETag = output.headers["ettag"];
|
|
9491
9491
|
}
|
|
9492
|
-
const data =
|
|
9492
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9493
9493
|
contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(data, context);
|
|
9494
9494
|
return Promise.resolve(contents);
|
|
9495
9495
|
};
|
|
@@ -9579,7 +9579,7 @@ const deserializeAws_restXmlUpdateKeyGroupCommand = async (output, context) => {
|
|
|
9579
9579
|
if (output.headers["etag"] !== undefined) {
|
|
9580
9580
|
contents.ETag = output.headers["etag"];
|
|
9581
9581
|
}
|
|
9582
|
-
const data =
|
|
9582
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9583
9583
|
contents.KeyGroup = deserializeAws_restXmlKeyGroup(data, context);
|
|
9584
9584
|
return Promise.resolve(contents);
|
|
9585
9585
|
};
|
|
@@ -9669,7 +9669,7 @@ const deserializeAws_restXmlUpdateOriginRequestPolicyCommand = async (output, co
|
|
|
9669
9669
|
if (output.headers["etag"] !== undefined) {
|
|
9670
9670
|
contents.ETag = output.headers["etag"];
|
|
9671
9671
|
}
|
|
9672
|
-
const data =
|
|
9672
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9673
9673
|
contents.OriginRequestPolicy = deserializeAws_restXmlOriginRequestPolicy(data, context);
|
|
9674
9674
|
return Promise.resolve(contents);
|
|
9675
9675
|
};
|
|
@@ -9799,7 +9799,7 @@ const deserializeAws_restXmlUpdatePublicKeyCommand = async (output, context) =>
|
|
|
9799
9799
|
if (output.headers["etag"] !== undefined) {
|
|
9800
9800
|
contents.ETag = output.headers["etag"];
|
|
9801
9801
|
}
|
|
9802
|
-
const data =
|
|
9802
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9803
9803
|
contents.PublicKey = deserializeAws_restXmlPublicKey(data, context);
|
|
9804
9804
|
return Promise.resolve(contents);
|
|
9805
9805
|
};
|
|
@@ -9893,7 +9893,7 @@ const deserializeAws_restXmlUpdateRealtimeLogConfigCommand = async (output, cont
|
|
|
9893
9893
|
$metadata: deserializeMetadata(output),
|
|
9894
9894
|
RealtimeLogConfig: undefined,
|
|
9895
9895
|
};
|
|
9896
|
-
const data =
|
|
9896
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9897
9897
|
if (data["RealtimeLogConfig"] !== undefined) {
|
|
9898
9898
|
contents.RealtimeLogConfig = deserializeAws_restXmlRealtimeLogConfig(data["RealtimeLogConfig"], context);
|
|
9899
9899
|
}
|
|
@@ -9961,7 +9961,7 @@ const deserializeAws_restXmlUpdateStreamingDistributionCommand = async (output,
|
|
|
9961
9961
|
if (output.headers["etag"] !== undefined) {
|
|
9962
9962
|
contents.ETag = output.headers["etag"];
|
|
9963
9963
|
}
|
|
9964
|
-
const data =
|
|
9964
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
9965
9965
|
contents.StreamingDistribution = deserializeAws_restXmlStreamingDistribution(data, context);
|
|
9966
9966
|
return Promise.resolve(contents);
|
|
9967
9967
|
};
|
|
@@ -10104,7 +10104,7 @@ const deserializeAws_restXmlAccessDeniedResponse = async (parsedOutput, context)
|
|
|
10104
10104
|
};
|
|
10105
10105
|
const data = parsedOutput.body.Error;
|
|
10106
10106
|
if (data["Message"] !== undefined) {
|
|
10107
|
-
contents.Message =
|
|
10107
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10108
10108
|
}
|
|
10109
10109
|
return contents;
|
|
10110
10110
|
};
|
|
@@ -10117,7 +10117,7 @@ const deserializeAws_restXmlBatchTooLargeResponse = async (parsedOutput, context
|
|
|
10117
10117
|
};
|
|
10118
10118
|
const data = parsedOutput.body.Error;
|
|
10119
10119
|
if (data["Message"] !== undefined) {
|
|
10120
|
-
contents.Message =
|
|
10120
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10121
10121
|
}
|
|
10122
10122
|
return contents;
|
|
10123
10123
|
};
|
|
@@ -10130,7 +10130,7 @@ const deserializeAws_restXmlCachePolicyAlreadyExistsResponse = async (parsedOutp
|
|
|
10130
10130
|
};
|
|
10131
10131
|
const data = parsedOutput.body.Error;
|
|
10132
10132
|
if (data["Message"] !== undefined) {
|
|
10133
|
-
contents.Message =
|
|
10133
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10134
10134
|
}
|
|
10135
10135
|
return contents;
|
|
10136
10136
|
};
|
|
@@ -10143,7 +10143,7 @@ const deserializeAws_restXmlCachePolicyInUseResponse = async (parsedOutput, cont
|
|
|
10143
10143
|
};
|
|
10144
10144
|
const data = parsedOutput.body.Error;
|
|
10145
10145
|
if (data["Message"] !== undefined) {
|
|
10146
|
-
contents.Message =
|
|
10146
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10147
10147
|
}
|
|
10148
10148
|
return contents;
|
|
10149
10149
|
};
|
|
@@ -10156,7 +10156,7 @@ const deserializeAws_restXmlCannotChangeImmutablePublicKeyFieldsResponse = async
|
|
|
10156
10156
|
};
|
|
10157
10157
|
const data = parsedOutput.body.Error;
|
|
10158
10158
|
if (data["Message"] !== undefined) {
|
|
10159
|
-
contents.Message =
|
|
10159
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10160
10160
|
}
|
|
10161
10161
|
return contents;
|
|
10162
10162
|
};
|
|
@@ -10169,7 +10169,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityAlreadyExistsResponse
|
|
|
10169
10169
|
};
|
|
10170
10170
|
const data = parsedOutput.body.Error;
|
|
10171
10171
|
if (data["Message"] !== undefined) {
|
|
10172
|
-
contents.Message =
|
|
10172
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10173
10173
|
}
|
|
10174
10174
|
return contents;
|
|
10175
10175
|
};
|
|
@@ -10182,7 +10182,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityInUseResponse = async
|
|
|
10182
10182
|
};
|
|
10183
10183
|
const data = parsedOutput.body.Error;
|
|
10184
10184
|
if (data["Message"] !== undefined) {
|
|
10185
|
-
contents.Message =
|
|
10185
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10186
10186
|
}
|
|
10187
10187
|
return contents;
|
|
10188
10188
|
};
|
|
@@ -10195,7 +10195,7 @@ const deserializeAws_restXmlCNAMEAlreadyExistsResponse = async (parsedOutput, co
|
|
|
10195
10195
|
};
|
|
10196
10196
|
const data = parsedOutput.body.Error;
|
|
10197
10197
|
if (data["Message"] !== undefined) {
|
|
10198
|
-
contents.Message =
|
|
10198
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10199
10199
|
}
|
|
10200
10200
|
return contents;
|
|
10201
10201
|
};
|
|
@@ -10208,7 +10208,7 @@ const deserializeAws_restXmlDistributionAlreadyExistsResponse = async (parsedOut
|
|
|
10208
10208
|
};
|
|
10209
10209
|
const data = parsedOutput.body.Error;
|
|
10210
10210
|
if (data["Message"] !== undefined) {
|
|
10211
|
-
contents.Message =
|
|
10211
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10212
10212
|
}
|
|
10213
10213
|
return contents;
|
|
10214
10214
|
};
|
|
@@ -10221,7 +10221,7 @@ const deserializeAws_restXmlDistributionNotDisabledResponse = async (parsedOutpu
|
|
|
10221
10221
|
};
|
|
10222
10222
|
const data = parsedOutput.body.Error;
|
|
10223
10223
|
if (data["Message"] !== undefined) {
|
|
10224
|
-
contents.Message =
|
|
10224
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10225
10225
|
}
|
|
10226
10226
|
return contents;
|
|
10227
10227
|
};
|
|
@@ -10234,7 +10234,7 @@ const deserializeAws_restXmlFieldLevelEncryptionConfigAlreadyExistsResponse = as
|
|
|
10234
10234
|
};
|
|
10235
10235
|
const data = parsedOutput.body.Error;
|
|
10236
10236
|
if (data["Message"] !== undefined) {
|
|
10237
|
-
contents.Message =
|
|
10237
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10238
10238
|
}
|
|
10239
10239
|
return contents;
|
|
10240
10240
|
};
|
|
@@ -10247,7 +10247,7 @@ const deserializeAws_restXmlFieldLevelEncryptionConfigInUseResponse = async (par
|
|
|
10247
10247
|
};
|
|
10248
10248
|
const data = parsedOutput.body.Error;
|
|
10249
10249
|
if (data["Message"] !== undefined) {
|
|
10250
|
-
contents.Message =
|
|
10250
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10251
10251
|
}
|
|
10252
10252
|
return contents;
|
|
10253
10253
|
};
|
|
@@ -10260,7 +10260,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileAlreadyExistsResponse = a
|
|
|
10260
10260
|
};
|
|
10261
10261
|
const data = parsedOutput.body.Error;
|
|
10262
10262
|
if (data["Message"] !== undefined) {
|
|
10263
|
-
contents.Message =
|
|
10263
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10264
10264
|
}
|
|
10265
10265
|
return contents;
|
|
10266
10266
|
};
|
|
@@ -10273,7 +10273,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileInUseResponse = async (pa
|
|
|
10273
10273
|
};
|
|
10274
10274
|
const data = parsedOutput.body.Error;
|
|
10275
10275
|
if (data["Message"] !== undefined) {
|
|
10276
|
-
contents.Message =
|
|
10276
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10277
10277
|
}
|
|
10278
10278
|
return contents;
|
|
10279
10279
|
};
|
|
@@ -10286,7 +10286,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSizeExceededResponse = as
|
|
|
10286
10286
|
};
|
|
10287
10287
|
const data = parsedOutput.body.Error;
|
|
10288
10288
|
if (data["Message"] !== undefined) {
|
|
10289
|
-
contents.Message =
|
|
10289
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10290
10290
|
}
|
|
10291
10291
|
return contents;
|
|
10292
10292
|
};
|
|
@@ -10299,7 +10299,7 @@ const deserializeAws_restXmlFunctionAlreadyExistsResponse = async (parsedOutput,
|
|
|
10299
10299
|
};
|
|
10300
10300
|
const data = parsedOutput.body.Error;
|
|
10301
10301
|
if (data["Message"] !== undefined) {
|
|
10302
|
-
contents.Message =
|
|
10302
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10303
10303
|
}
|
|
10304
10304
|
return contents;
|
|
10305
10305
|
};
|
|
@@ -10312,7 +10312,7 @@ const deserializeAws_restXmlFunctionInUseResponse = async (parsedOutput, context
|
|
|
10312
10312
|
};
|
|
10313
10313
|
const data = parsedOutput.body.Error;
|
|
10314
10314
|
if (data["Message"] !== undefined) {
|
|
10315
|
-
contents.Message =
|
|
10315
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10316
10316
|
}
|
|
10317
10317
|
return contents;
|
|
10318
10318
|
};
|
|
@@ -10325,7 +10325,7 @@ const deserializeAws_restXmlFunctionSizeLimitExceededResponse = async (parsedOut
|
|
|
10325
10325
|
};
|
|
10326
10326
|
const data = parsedOutput.body.Error;
|
|
10327
10327
|
if (data["Message"] !== undefined) {
|
|
10328
|
-
contents.Message =
|
|
10328
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10329
10329
|
}
|
|
10330
10330
|
return contents;
|
|
10331
10331
|
};
|
|
@@ -10338,7 +10338,7 @@ const deserializeAws_restXmlIllegalDeleteResponse = async (parsedOutput, context
|
|
|
10338
10338
|
};
|
|
10339
10339
|
const data = parsedOutput.body.Error;
|
|
10340
10340
|
if (data["Message"] !== undefined) {
|
|
10341
|
-
contents.Message =
|
|
10341
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10342
10342
|
}
|
|
10343
10343
|
return contents;
|
|
10344
10344
|
};
|
|
@@ -10351,7 +10351,7 @@ const deserializeAws_restXmlIllegalFieldLevelEncryptionConfigAssociationWithCach
|
|
|
10351
10351
|
};
|
|
10352
10352
|
const data = parsedOutput.body.Error;
|
|
10353
10353
|
if (data["Message"] !== undefined) {
|
|
10354
|
-
contents.Message =
|
|
10354
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10355
10355
|
}
|
|
10356
10356
|
return contents;
|
|
10357
10357
|
};
|
|
@@ -10364,7 +10364,7 @@ const deserializeAws_restXmlIllegalUpdateResponse = async (parsedOutput, context
|
|
|
10364
10364
|
};
|
|
10365
10365
|
const data = parsedOutput.body.Error;
|
|
10366
10366
|
if (data["Message"] !== undefined) {
|
|
10367
|
-
contents.Message =
|
|
10367
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10368
10368
|
}
|
|
10369
10369
|
return contents;
|
|
10370
10370
|
};
|
|
@@ -10377,7 +10377,7 @@ const deserializeAws_restXmlInconsistentQuantitiesResponse = async (parsedOutput
|
|
|
10377
10377
|
};
|
|
10378
10378
|
const data = parsedOutput.body.Error;
|
|
10379
10379
|
if (data["Message"] !== undefined) {
|
|
10380
|
-
contents.Message =
|
|
10380
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10381
10381
|
}
|
|
10382
10382
|
return contents;
|
|
10383
10383
|
};
|
|
@@ -10390,7 +10390,7 @@ const deserializeAws_restXmlInvalidArgumentResponse = async (parsedOutput, conte
|
|
|
10390
10390
|
};
|
|
10391
10391
|
const data = parsedOutput.body.Error;
|
|
10392
10392
|
if (data["Message"] !== undefined) {
|
|
10393
|
-
contents.Message =
|
|
10393
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10394
10394
|
}
|
|
10395
10395
|
return contents;
|
|
10396
10396
|
};
|
|
@@ -10403,7 +10403,7 @@ const deserializeAws_restXmlInvalidDefaultRootObjectResponse = async (parsedOutp
|
|
|
10403
10403
|
};
|
|
10404
10404
|
const data = parsedOutput.body.Error;
|
|
10405
10405
|
if (data["Message"] !== undefined) {
|
|
10406
|
-
contents.Message =
|
|
10406
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10407
10407
|
}
|
|
10408
10408
|
return contents;
|
|
10409
10409
|
};
|
|
@@ -10416,7 +10416,7 @@ const deserializeAws_restXmlInvalidErrorCodeResponse = async (parsedOutput, cont
|
|
|
10416
10416
|
};
|
|
10417
10417
|
const data = parsedOutput.body.Error;
|
|
10418
10418
|
if (data["Message"] !== undefined) {
|
|
10419
|
-
contents.Message =
|
|
10419
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10420
10420
|
}
|
|
10421
10421
|
return contents;
|
|
10422
10422
|
};
|
|
@@ -10429,7 +10429,7 @@ const deserializeAws_restXmlInvalidForwardCookiesResponse = async (parsedOutput,
|
|
|
10429
10429
|
};
|
|
10430
10430
|
const data = parsedOutput.body.Error;
|
|
10431
10431
|
if (data["Message"] !== undefined) {
|
|
10432
|
-
contents.Message =
|
|
10432
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10433
10433
|
}
|
|
10434
10434
|
return contents;
|
|
10435
10435
|
};
|
|
@@ -10442,7 +10442,7 @@ const deserializeAws_restXmlInvalidFunctionAssociationResponse = async (parsedOu
|
|
|
10442
10442
|
};
|
|
10443
10443
|
const data = parsedOutput.body.Error;
|
|
10444
10444
|
if (data["Message"] !== undefined) {
|
|
10445
|
-
contents.Message =
|
|
10445
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10446
10446
|
}
|
|
10447
10447
|
return contents;
|
|
10448
10448
|
};
|
|
@@ -10455,7 +10455,7 @@ const deserializeAws_restXmlInvalidGeoRestrictionParameterResponse = async (pars
|
|
|
10455
10455
|
};
|
|
10456
10456
|
const data = parsedOutput.body.Error;
|
|
10457
10457
|
if (data["Message"] !== undefined) {
|
|
10458
|
-
contents.Message =
|
|
10458
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10459
10459
|
}
|
|
10460
10460
|
return contents;
|
|
10461
10461
|
};
|
|
@@ -10468,7 +10468,7 @@ const deserializeAws_restXmlInvalidHeadersForS3OriginResponse = async (parsedOut
|
|
|
10468
10468
|
};
|
|
10469
10469
|
const data = parsedOutput.body.Error;
|
|
10470
10470
|
if (data["Message"] !== undefined) {
|
|
10471
|
-
contents.Message =
|
|
10471
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10472
10472
|
}
|
|
10473
10473
|
return contents;
|
|
10474
10474
|
};
|
|
@@ -10481,7 +10481,7 @@ const deserializeAws_restXmlInvalidIfMatchVersionResponse = async (parsedOutput,
|
|
|
10481
10481
|
};
|
|
10482
10482
|
const data = parsedOutput.body.Error;
|
|
10483
10483
|
if (data["Message"] !== undefined) {
|
|
10484
|
-
contents.Message =
|
|
10484
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10485
10485
|
}
|
|
10486
10486
|
return contents;
|
|
10487
10487
|
};
|
|
@@ -10494,7 +10494,7 @@ const deserializeAws_restXmlInvalidLambdaFunctionAssociationResponse = async (pa
|
|
|
10494
10494
|
};
|
|
10495
10495
|
const data = parsedOutput.body.Error;
|
|
10496
10496
|
if (data["Message"] !== undefined) {
|
|
10497
|
-
contents.Message =
|
|
10497
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10498
10498
|
}
|
|
10499
10499
|
return contents;
|
|
10500
10500
|
};
|
|
@@ -10507,7 +10507,7 @@ const deserializeAws_restXmlInvalidLocationCodeResponse = async (parsedOutput, c
|
|
|
10507
10507
|
};
|
|
10508
10508
|
const data = parsedOutput.body.Error;
|
|
10509
10509
|
if (data["Message"] !== undefined) {
|
|
10510
|
-
contents.Message =
|
|
10510
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10511
10511
|
}
|
|
10512
10512
|
return contents;
|
|
10513
10513
|
};
|
|
@@ -10520,7 +10520,7 @@ const deserializeAws_restXmlInvalidMinimumProtocolVersionResponse = async (parse
|
|
|
10520
10520
|
};
|
|
10521
10521
|
const data = parsedOutput.body.Error;
|
|
10522
10522
|
if (data["Message"] !== undefined) {
|
|
10523
|
-
contents.Message =
|
|
10523
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10524
10524
|
}
|
|
10525
10525
|
return contents;
|
|
10526
10526
|
};
|
|
@@ -10533,7 +10533,7 @@ const deserializeAws_restXmlInvalidOriginResponse = async (parsedOutput, context
|
|
|
10533
10533
|
};
|
|
10534
10534
|
const data = parsedOutput.body.Error;
|
|
10535
10535
|
if (data["Message"] !== undefined) {
|
|
10536
|
-
contents.Message =
|
|
10536
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10537
10537
|
}
|
|
10538
10538
|
return contents;
|
|
10539
10539
|
};
|
|
@@ -10546,7 +10546,7 @@ const deserializeAws_restXmlInvalidOriginAccessIdentityResponse = async (parsedO
|
|
|
10546
10546
|
};
|
|
10547
10547
|
const data = parsedOutput.body.Error;
|
|
10548
10548
|
if (data["Message"] !== undefined) {
|
|
10549
|
-
contents.Message =
|
|
10549
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10550
10550
|
}
|
|
10551
10551
|
return contents;
|
|
10552
10552
|
};
|
|
@@ -10559,7 +10559,7 @@ const deserializeAws_restXmlInvalidOriginKeepaliveTimeoutResponse = async (parse
|
|
|
10559
10559
|
};
|
|
10560
10560
|
const data = parsedOutput.body.Error;
|
|
10561
10561
|
if (data["Message"] !== undefined) {
|
|
10562
|
-
contents.Message =
|
|
10562
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10563
10563
|
}
|
|
10564
10564
|
return contents;
|
|
10565
10565
|
};
|
|
@@ -10572,7 +10572,7 @@ const deserializeAws_restXmlInvalidOriginReadTimeoutResponse = async (parsedOutp
|
|
|
10572
10572
|
};
|
|
10573
10573
|
const data = parsedOutput.body.Error;
|
|
10574
10574
|
if (data["Message"] !== undefined) {
|
|
10575
|
-
contents.Message =
|
|
10575
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10576
10576
|
}
|
|
10577
10577
|
return contents;
|
|
10578
10578
|
};
|
|
@@ -10585,7 +10585,7 @@ const deserializeAws_restXmlInvalidProtocolSettingsResponse = async (parsedOutpu
|
|
|
10585
10585
|
};
|
|
10586
10586
|
const data = parsedOutput.body.Error;
|
|
10587
10587
|
if (data["Message"] !== undefined) {
|
|
10588
|
-
contents.Message =
|
|
10588
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10589
10589
|
}
|
|
10590
10590
|
return contents;
|
|
10591
10591
|
};
|
|
@@ -10598,7 +10598,7 @@ const deserializeAws_restXmlInvalidQueryStringParametersResponse = async (parsed
|
|
|
10598
10598
|
};
|
|
10599
10599
|
const data = parsedOutput.body.Error;
|
|
10600
10600
|
if (data["Message"] !== undefined) {
|
|
10601
|
-
contents.Message =
|
|
10601
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10602
10602
|
}
|
|
10603
10603
|
return contents;
|
|
10604
10604
|
};
|
|
@@ -10611,7 +10611,7 @@ const deserializeAws_restXmlInvalidRelativePathResponse = async (parsedOutput, c
|
|
|
10611
10611
|
};
|
|
10612
10612
|
const data = parsedOutput.body.Error;
|
|
10613
10613
|
if (data["Message"] !== undefined) {
|
|
10614
|
-
contents.Message =
|
|
10614
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10615
10615
|
}
|
|
10616
10616
|
return contents;
|
|
10617
10617
|
};
|
|
@@ -10624,7 +10624,7 @@ const deserializeAws_restXmlInvalidRequiredProtocolResponse = async (parsedOutpu
|
|
|
10624
10624
|
};
|
|
10625
10625
|
const data = parsedOutput.body.Error;
|
|
10626
10626
|
if (data["Message"] !== undefined) {
|
|
10627
|
-
contents.Message =
|
|
10627
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10628
10628
|
}
|
|
10629
10629
|
return contents;
|
|
10630
10630
|
};
|
|
@@ -10637,7 +10637,7 @@ const deserializeAws_restXmlInvalidResponseCodeResponse = async (parsedOutput, c
|
|
|
10637
10637
|
};
|
|
10638
10638
|
const data = parsedOutput.body.Error;
|
|
10639
10639
|
if (data["Message"] !== undefined) {
|
|
10640
|
-
contents.Message =
|
|
10640
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10641
10641
|
}
|
|
10642
10642
|
return contents;
|
|
10643
10643
|
};
|
|
@@ -10650,7 +10650,7 @@ const deserializeAws_restXmlInvalidTaggingResponse = async (parsedOutput, contex
|
|
|
10650
10650
|
};
|
|
10651
10651
|
const data = parsedOutput.body.Error;
|
|
10652
10652
|
if (data["Message"] !== undefined) {
|
|
10653
|
-
contents.Message =
|
|
10653
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10654
10654
|
}
|
|
10655
10655
|
return contents;
|
|
10656
10656
|
};
|
|
@@ -10663,7 +10663,7 @@ const deserializeAws_restXmlInvalidTTLOrderResponse = async (parsedOutput, conte
|
|
|
10663
10663
|
};
|
|
10664
10664
|
const data = parsedOutput.body.Error;
|
|
10665
10665
|
if (data["Message"] !== undefined) {
|
|
10666
|
-
contents.Message =
|
|
10666
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10667
10667
|
}
|
|
10668
10668
|
return contents;
|
|
10669
10669
|
};
|
|
@@ -10676,7 +10676,7 @@ const deserializeAws_restXmlInvalidViewerCertificateResponse = async (parsedOutp
|
|
|
10676
10676
|
};
|
|
10677
10677
|
const data = parsedOutput.body.Error;
|
|
10678
10678
|
if (data["Message"] !== undefined) {
|
|
10679
|
-
contents.Message =
|
|
10679
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10680
10680
|
}
|
|
10681
10681
|
return contents;
|
|
10682
10682
|
};
|
|
@@ -10689,7 +10689,7 @@ const deserializeAws_restXmlInvalidWebACLIdResponse = async (parsedOutput, conte
|
|
|
10689
10689
|
};
|
|
10690
10690
|
const data = parsedOutput.body.Error;
|
|
10691
10691
|
if (data["Message"] !== undefined) {
|
|
10692
|
-
contents.Message =
|
|
10692
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10693
10693
|
}
|
|
10694
10694
|
return contents;
|
|
10695
10695
|
};
|
|
@@ -10702,7 +10702,7 @@ const deserializeAws_restXmlKeyGroupAlreadyExistsResponse = async (parsedOutput,
|
|
|
10702
10702
|
};
|
|
10703
10703
|
const data = parsedOutput.body.Error;
|
|
10704
10704
|
if (data["Message"] !== undefined) {
|
|
10705
|
-
contents.Message =
|
|
10705
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10706
10706
|
}
|
|
10707
10707
|
return contents;
|
|
10708
10708
|
};
|
|
@@ -10715,7 +10715,7 @@ const deserializeAws_restXmlMissingBodyResponse = async (parsedOutput, context)
|
|
|
10715
10715
|
};
|
|
10716
10716
|
const data = parsedOutput.body.Error;
|
|
10717
10717
|
if (data["Message"] !== undefined) {
|
|
10718
|
-
contents.Message =
|
|
10718
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10719
10719
|
}
|
|
10720
10720
|
return contents;
|
|
10721
10721
|
};
|
|
@@ -10728,7 +10728,7 @@ const deserializeAws_restXmlNoSuchCachePolicyResponse = async (parsedOutput, con
|
|
|
10728
10728
|
};
|
|
10729
10729
|
const data = parsedOutput.body.Error;
|
|
10730
10730
|
if (data["Message"] !== undefined) {
|
|
10731
|
-
contents.Message =
|
|
10731
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10732
10732
|
}
|
|
10733
10733
|
return contents;
|
|
10734
10734
|
};
|
|
@@ -10741,7 +10741,7 @@ const deserializeAws_restXmlNoSuchCloudFrontOriginAccessIdentityResponse = async
|
|
|
10741
10741
|
};
|
|
10742
10742
|
const data = parsedOutput.body.Error;
|
|
10743
10743
|
if (data["Message"] !== undefined) {
|
|
10744
|
-
contents.Message =
|
|
10744
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10745
10745
|
}
|
|
10746
10746
|
return contents;
|
|
10747
10747
|
};
|
|
@@ -10754,7 +10754,7 @@ const deserializeAws_restXmlNoSuchDistributionResponse = async (parsedOutput, co
|
|
|
10754
10754
|
};
|
|
10755
10755
|
const data = parsedOutput.body.Error;
|
|
10756
10756
|
if (data["Message"] !== undefined) {
|
|
10757
|
-
contents.Message =
|
|
10757
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10758
10758
|
}
|
|
10759
10759
|
return contents;
|
|
10760
10760
|
};
|
|
@@ -10767,7 +10767,7 @@ const deserializeAws_restXmlNoSuchFieldLevelEncryptionConfigResponse = async (pa
|
|
|
10767
10767
|
};
|
|
10768
10768
|
const data = parsedOutput.body.Error;
|
|
10769
10769
|
if (data["Message"] !== undefined) {
|
|
10770
|
-
contents.Message =
|
|
10770
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10771
10771
|
}
|
|
10772
10772
|
return contents;
|
|
10773
10773
|
};
|
|
@@ -10780,7 +10780,7 @@ const deserializeAws_restXmlNoSuchFieldLevelEncryptionProfileResponse = async (p
|
|
|
10780
10780
|
};
|
|
10781
10781
|
const data = parsedOutput.body.Error;
|
|
10782
10782
|
if (data["Message"] !== undefined) {
|
|
10783
|
-
contents.Message =
|
|
10783
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10784
10784
|
}
|
|
10785
10785
|
return contents;
|
|
10786
10786
|
};
|
|
@@ -10793,7 +10793,7 @@ const deserializeAws_restXmlNoSuchFunctionExistsResponse = async (parsedOutput,
|
|
|
10793
10793
|
};
|
|
10794
10794
|
const data = parsedOutput.body.Error;
|
|
10795
10795
|
if (data["Message"] !== undefined) {
|
|
10796
|
-
contents.Message =
|
|
10796
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10797
10797
|
}
|
|
10798
10798
|
return contents;
|
|
10799
10799
|
};
|
|
@@ -10806,7 +10806,7 @@ const deserializeAws_restXmlNoSuchInvalidationResponse = async (parsedOutput, co
|
|
|
10806
10806
|
};
|
|
10807
10807
|
const data = parsedOutput.body.Error;
|
|
10808
10808
|
if (data["Message"] !== undefined) {
|
|
10809
|
-
contents.Message =
|
|
10809
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10810
10810
|
}
|
|
10811
10811
|
return contents;
|
|
10812
10812
|
};
|
|
@@ -10819,7 +10819,7 @@ const deserializeAws_restXmlNoSuchOriginResponse = async (parsedOutput, context)
|
|
|
10819
10819
|
};
|
|
10820
10820
|
const data = parsedOutput.body.Error;
|
|
10821
10821
|
if (data["Message"] !== undefined) {
|
|
10822
|
-
contents.Message =
|
|
10822
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10823
10823
|
}
|
|
10824
10824
|
return contents;
|
|
10825
10825
|
};
|
|
@@ -10832,7 +10832,7 @@ const deserializeAws_restXmlNoSuchOriginRequestPolicyResponse = async (parsedOut
|
|
|
10832
10832
|
};
|
|
10833
10833
|
const data = parsedOutput.body.Error;
|
|
10834
10834
|
if (data["Message"] !== undefined) {
|
|
10835
|
-
contents.Message =
|
|
10835
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10836
10836
|
}
|
|
10837
10837
|
return contents;
|
|
10838
10838
|
};
|
|
@@ -10845,7 +10845,7 @@ const deserializeAws_restXmlNoSuchPublicKeyResponse = async (parsedOutput, conte
|
|
|
10845
10845
|
};
|
|
10846
10846
|
const data = parsedOutput.body.Error;
|
|
10847
10847
|
if (data["Message"] !== undefined) {
|
|
10848
|
-
contents.Message =
|
|
10848
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10849
10849
|
}
|
|
10850
10850
|
return contents;
|
|
10851
10851
|
};
|
|
@@ -10858,7 +10858,7 @@ const deserializeAws_restXmlNoSuchRealtimeLogConfigResponse = async (parsedOutpu
|
|
|
10858
10858
|
};
|
|
10859
10859
|
const data = parsedOutput.body.Error;
|
|
10860
10860
|
if (data["Message"] !== undefined) {
|
|
10861
|
-
contents.Message =
|
|
10861
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10862
10862
|
}
|
|
10863
10863
|
return contents;
|
|
10864
10864
|
};
|
|
@@ -10871,7 +10871,7 @@ const deserializeAws_restXmlNoSuchResourceResponse = async (parsedOutput, contex
|
|
|
10871
10871
|
};
|
|
10872
10872
|
const data = parsedOutput.body.Error;
|
|
10873
10873
|
if (data["Message"] !== undefined) {
|
|
10874
|
-
contents.Message =
|
|
10874
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10875
10875
|
}
|
|
10876
10876
|
return contents;
|
|
10877
10877
|
};
|
|
@@ -10884,7 +10884,7 @@ const deserializeAws_restXmlNoSuchStreamingDistributionResponse = async (parsedO
|
|
|
10884
10884
|
};
|
|
10885
10885
|
const data = parsedOutput.body.Error;
|
|
10886
10886
|
if (data["Message"] !== undefined) {
|
|
10887
|
-
contents.Message =
|
|
10887
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10888
10888
|
}
|
|
10889
10889
|
return contents;
|
|
10890
10890
|
};
|
|
@@ -10897,7 +10897,7 @@ const deserializeAws_restXmlOriginRequestPolicyAlreadyExistsResponse = async (pa
|
|
|
10897
10897
|
};
|
|
10898
10898
|
const data = parsedOutput.body.Error;
|
|
10899
10899
|
if (data["Message"] !== undefined) {
|
|
10900
|
-
contents.Message =
|
|
10900
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10901
10901
|
}
|
|
10902
10902
|
return contents;
|
|
10903
10903
|
};
|
|
@@ -10910,7 +10910,7 @@ const deserializeAws_restXmlOriginRequestPolicyInUseResponse = async (parsedOutp
|
|
|
10910
10910
|
};
|
|
10911
10911
|
const data = parsedOutput.body.Error;
|
|
10912
10912
|
if (data["Message"] !== undefined) {
|
|
10913
|
-
contents.Message =
|
|
10913
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10914
10914
|
}
|
|
10915
10915
|
return contents;
|
|
10916
10916
|
};
|
|
@@ -10923,7 +10923,7 @@ const deserializeAws_restXmlPreconditionFailedResponse = async (parsedOutput, co
|
|
|
10923
10923
|
};
|
|
10924
10924
|
const data = parsedOutput.body.Error;
|
|
10925
10925
|
if (data["Message"] !== undefined) {
|
|
10926
|
-
contents.Message =
|
|
10926
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10927
10927
|
}
|
|
10928
10928
|
return contents;
|
|
10929
10929
|
};
|
|
@@ -10936,7 +10936,7 @@ const deserializeAws_restXmlPublicKeyAlreadyExistsResponse = async (parsedOutput
|
|
|
10936
10936
|
};
|
|
10937
10937
|
const data = parsedOutput.body.Error;
|
|
10938
10938
|
if (data["Message"] !== undefined) {
|
|
10939
|
-
contents.Message =
|
|
10939
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10940
10940
|
}
|
|
10941
10941
|
return contents;
|
|
10942
10942
|
};
|
|
@@ -10949,7 +10949,7 @@ const deserializeAws_restXmlPublicKeyInUseResponse = async (parsedOutput, contex
|
|
|
10949
10949
|
};
|
|
10950
10950
|
const data = parsedOutput.body.Error;
|
|
10951
10951
|
if (data["Message"] !== undefined) {
|
|
10952
|
-
contents.Message =
|
|
10952
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10953
10953
|
}
|
|
10954
10954
|
return contents;
|
|
10955
10955
|
};
|
|
@@ -10962,7 +10962,7 @@ const deserializeAws_restXmlQueryArgProfileEmptyResponse = async (parsedOutput,
|
|
|
10962
10962
|
};
|
|
10963
10963
|
const data = parsedOutput.body.Error;
|
|
10964
10964
|
if (data["Message"] !== undefined) {
|
|
10965
|
-
contents.Message =
|
|
10965
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10966
10966
|
}
|
|
10967
10967
|
return contents;
|
|
10968
10968
|
};
|
|
@@ -10975,7 +10975,7 @@ const deserializeAws_restXmlRealtimeLogConfigAlreadyExistsResponse = async (pars
|
|
|
10975
10975
|
};
|
|
10976
10976
|
const data = parsedOutput.body.Error;
|
|
10977
10977
|
if (data["Message"] !== undefined) {
|
|
10978
|
-
contents.Message =
|
|
10978
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10979
10979
|
}
|
|
10980
10980
|
return contents;
|
|
10981
10981
|
};
|
|
@@ -10988,7 +10988,7 @@ const deserializeAws_restXmlRealtimeLogConfigInUseResponse = async (parsedOutput
|
|
|
10988
10988
|
};
|
|
10989
10989
|
const data = parsedOutput.body.Error;
|
|
10990
10990
|
if (data["Message"] !== undefined) {
|
|
10991
|
-
contents.Message =
|
|
10991
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
10992
10992
|
}
|
|
10993
10993
|
return contents;
|
|
10994
10994
|
};
|
|
@@ -11001,7 +11001,7 @@ const deserializeAws_restXmlRealtimeLogConfigOwnerMismatchResponse = async (pars
|
|
|
11001
11001
|
};
|
|
11002
11002
|
const data = parsedOutput.body.Error;
|
|
11003
11003
|
if (data["Message"] !== undefined) {
|
|
11004
|
-
contents.Message =
|
|
11004
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11005
11005
|
}
|
|
11006
11006
|
return contents;
|
|
11007
11007
|
};
|
|
@@ -11014,7 +11014,7 @@ const deserializeAws_restXmlResourceInUseResponse = async (parsedOutput, context
|
|
|
11014
11014
|
};
|
|
11015
11015
|
const data = parsedOutput.body.Error;
|
|
11016
11016
|
if (data["Message"] !== undefined) {
|
|
11017
|
-
contents.Message =
|
|
11017
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11018
11018
|
}
|
|
11019
11019
|
return contents;
|
|
11020
11020
|
};
|
|
@@ -11027,7 +11027,7 @@ const deserializeAws_restXmlStreamingDistributionAlreadyExistsResponse = async (
|
|
|
11027
11027
|
};
|
|
11028
11028
|
const data = parsedOutput.body.Error;
|
|
11029
11029
|
if (data["Message"] !== undefined) {
|
|
11030
|
-
contents.Message =
|
|
11030
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11031
11031
|
}
|
|
11032
11032
|
return contents;
|
|
11033
11033
|
};
|
|
@@ -11040,7 +11040,7 @@ const deserializeAws_restXmlStreamingDistributionNotDisabledResponse = async (pa
|
|
|
11040
11040
|
};
|
|
11041
11041
|
const data = parsedOutput.body.Error;
|
|
11042
11042
|
if (data["Message"] !== undefined) {
|
|
11043
|
-
contents.Message =
|
|
11043
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11044
11044
|
}
|
|
11045
11045
|
return contents;
|
|
11046
11046
|
};
|
|
@@ -11053,7 +11053,7 @@ const deserializeAws_restXmlTestFunctionFailedResponse = async (parsedOutput, co
|
|
|
11053
11053
|
};
|
|
11054
11054
|
const data = parsedOutput.body.Error;
|
|
11055
11055
|
if (data["Message"] !== undefined) {
|
|
11056
|
-
contents.Message =
|
|
11056
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11057
11057
|
}
|
|
11058
11058
|
return contents;
|
|
11059
11059
|
};
|
|
@@ -11066,7 +11066,7 @@ const deserializeAws_restXmlTooManyCacheBehaviorsResponse = async (parsedOutput,
|
|
|
11066
11066
|
};
|
|
11067
11067
|
const data = parsedOutput.body.Error;
|
|
11068
11068
|
if (data["Message"] !== undefined) {
|
|
11069
|
-
contents.Message =
|
|
11069
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11070
11070
|
}
|
|
11071
11071
|
return contents;
|
|
11072
11072
|
};
|
|
@@ -11079,7 +11079,7 @@ const deserializeAws_restXmlTooManyCachePoliciesResponse = async (parsedOutput,
|
|
|
11079
11079
|
};
|
|
11080
11080
|
const data = parsedOutput.body.Error;
|
|
11081
11081
|
if (data["Message"] !== undefined) {
|
|
11082
|
-
contents.Message =
|
|
11082
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11083
11083
|
}
|
|
11084
11084
|
return contents;
|
|
11085
11085
|
};
|
|
@@ -11092,7 +11092,7 @@ const deserializeAws_restXmlTooManyCertificatesResponse = async (parsedOutput, c
|
|
|
11092
11092
|
};
|
|
11093
11093
|
const data = parsedOutput.body.Error;
|
|
11094
11094
|
if (data["Message"] !== undefined) {
|
|
11095
|
-
contents.Message =
|
|
11095
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11096
11096
|
}
|
|
11097
11097
|
return contents;
|
|
11098
11098
|
};
|
|
@@ -11105,7 +11105,7 @@ const deserializeAws_restXmlTooManyCloudFrontOriginAccessIdentitiesResponse = as
|
|
|
11105
11105
|
};
|
|
11106
11106
|
const data = parsedOutput.body.Error;
|
|
11107
11107
|
if (data["Message"] !== undefined) {
|
|
11108
|
-
contents.Message =
|
|
11108
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11109
11109
|
}
|
|
11110
11110
|
return contents;
|
|
11111
11111
|
};
|
|
@@ -11118,7 +11118,7 @@ const deserializeAws_restXmlTooManyCookieNamesInWhiteListResponse = async (parse
|
|
|
11118
11118
|
};
|
|
11119
11119
|
const data = parsedOutput.body.Error;
|
|
11120
11120
|
if (data["Message"] !== undefined) {
|
|
11121
|
-
contents.Message =
|
|
11121
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11122
11122
|
}
|
|
11123
11123
|
return contents;
|
|
11124
11124
|
};
|
|
@@ -11131,7 +11131,7 @@ const deserializeAws_restXmlTooManyCookiesInCachePolicyResponse = async (parsedO
|
|
|
11131
11131
|
};
|
|
11132
11132
|
const data = parsedOutput.body.Error;
|
|
11133
11133
|
if (data["Message"] !== undefined) {
|
|
11134
|
-
contents.Message =
|
|
11134
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11135
11135
|
}
|
|
11136
11136
|
return contents;
|
|
11137
11137
|
};
|
|
@@ -11144,7 +11144,7 @@ const deserializeAws_restXmlTooManyCookiesInOriginRequestPolicyResponse = async
|
|
|
11144
11144
|
};
|
|
11145
11145
|
const data = parsedOutput.body.Error;
|
|
11146
11146
|
if (data["Message"] !== undefined) {
|
|
11147
|
-
contents.Message =
|
|
11147
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11148
11148
|
}
|
|
11149
11149
|
return contents;
|
|
11150
11150
|
};
|
|
@@ -11157,7 +11157,7 @@ const deserializeAws_restXmlTooManyDistributionCNAMEsResponse = async (parsedOut
|
|
|
11157
11157
|
};
|
|
11158
11158
|
const data = parsedOutput.body.Error;
|
|
11159
11159
|
if (data["Message"] !== undefined) {
|
|
11160
|
-
contents.Message =
|
|
11160
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11161
11161
|
}
|
|
11162
11162
|
return contents;
|
|
11163
11163
|
};
|
|
@@ -11170,7 +11170,7 @@ const deserializeAws_restXmlTooManyDistributionsResponse = async (parsedOutput,
|
|
|
11170
11170
|
};
|
|
11171
11171
|
const data = parsedOutput.body.Error;
|
|
11172
11172
|
if (data["Message"] !== undefined) {
|
|
11173
|
-
contents.Message =
|
|
11173
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11174
11174
|
}
|
|
11175
11175
|
return contents;
|
|
11176
11176
|
};
|
|
@@ -11183,7 +11183,7 @@ const deserializeAws_restXmlTooManyDistributionsAssociatedToCachePolicyResponse
|
|
|
11183
11183
|
};
|
|
11184
11184
|
const data = parsedOutput.body.Error;
|
|
11185
11185
|
if (data["Message"] !== undefined) {
|
|
11186
|
-
contents.Message =
|
|
11186
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11187
11187
|
}
|
|
11188
11188
|
return contents;
|
|
11189
11189
|
};
|
|
@@ -11196,7 +11196,7 @@ const deserializeAws_restXmlTooManyDistributionsAssociatedToFieldLevelEncryption
|
|
|
11196
11196
|
};
|
|
11197
11197
|
const data = parsedOutput.body.Error;
|
|
11198
11198
|
if (data["Message"] !== undefined) {
|
|
11199
|
-
contents.Message =
|
|
11199
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11200
11200
|
}
|
|
11201
11201
|
return contents;
|
|
11202
11202
|
};
|
|
@@ -11209,7 +11209,7 @@ const deserializeAws_restXmlTooManyDistributionsAssociatedToKeyGroupResponse = a
|
|
|
11209
11209
|
};
|
|
11210
11210
|
const data = parsedOutput.body.Error;
|
|
11211
11211
|
if (data["Message"] !== undefined) {
|
|
11212
|
-
contents.Message =
|
|
11212
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11213
11213
|
}
|
|
11214
11214
|
return contents;
|
|
11215
11215
|
};
|
|
@@ -11222,7 +11222,7 @@ const deserializeAws_restXmlTooManyDistributionsAssociatedToOriginRequestPolicyR
|
|
|
11222
11222
|
};
|
|
11223
11223
|
const data = parsedOutput.body.Error;
|
|
11224
11224
|
if (data["Message"] !== undefined) {
|
|
11225
|
-
contents.Message =
|
|
11225
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11226
11226
|
}
|
|
11227
11227
|
return contents;
|
|
11228
11228
|
};
|
|
@@ -11235,7 +11235,7 @@ const deserializeAws_restXmlTooManyDistributionsWithFunctionAssociationsResponse
|
|
|
11235
11235
|
};
|
|
11236
11236
|
const data = parsedOutput.body.Error;
|
|
11237
11237
|
if (data["Message"] !== undefined) {
|
|
11238
|
-
contents.Message =
|
|
11238
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11239
11239
|
}
|
|
11240
11240
|
return contents;
|
|
11241
11241
|
};
|
|
@@ -11248,7 +11248,7 @@ const deserializeAws_restXmlTooManyDistributionsWithLambdaAssociationsResponse =
|
|
|
11248
11248
|
};
|
|
11249
11249
|
const data = parsedOutput.body.Error;
|
|
11250
11250
|
if (data["Message"] !== undefined) {
|
|
11251
|
-
contents.Message =
|
|
11251
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11252
11252
|
}
|
|
11253
11253
|
return contents;
|
|
11254
11254
|
};
|
|
@@ -11261,7 +11261,7 @@ const deserializeAws_restXmlTooManyDistributionsWithSingleFunctionARNResponse =
|
|
|
11261
11261
|
};
|
|
11262
11262
|
const data = parsedOutput.body.Error;
|
|
11263
11263
|
if (data["Message"] !== undefined) {
|
|
11264
|
-
contents.Message =
|
|
11264
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11265
11265
|
}
|
|
11266
11266
|
return contents;
|
|
11267
11267
|
};
|
|
@@ -11274,7 +11274,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionConfigsResponse = async (
|
|
|
11274
11274
|
};
|
|
11275
11275
|
const data = parsedOutput.body.Error;
|
|
11276
11276
|
if (data["Message"] !== undefined) {
|
|
11277
|
-
contents.Message =
|
|
11277
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11278
11278
|
}
|
|
11279
11279
|
return contents;
|
|
11280
11280
|
};
|
|
@@ -11287,7 +11287,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionContentTypeProfilesRespon
|
|
|
11287
11287
|
};
|
|
11288
11288
|
const data = parsedOutput.body.Error;
|
|
11289
11289
|
if (data["Message"] !== undefined) {
|
|
11290
|
-
contents.Message =
|
|
11290
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11291
11291
|
}
|
|
11292
11292
|
return contents;
|
|
11293
11293
|
};
|
|
@@ -11300,7 +11300,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionEncryptionEntitiesRespons
|
|
|
11300
11300
|
};
|
|
11301
11301
|
const data = parsedOutput.body.Error;
|
|
11302
11302
|
if (data["Message"] !== undefined) {
|
|
11303
|
-
contents.Message =
|
|
11303
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11304
11304
|
}
|
|
11305
11305
|
return contents;
|
|
11306
11306
|
};
|
|
@@ -11313,7 +11313,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionFieldPatternsResponse = a
|
|
|
11313
11313
|
};
|
|
11314
11314
|
const data = parsedOutput.body.Error;
|
|
11315
11315
|
if (data["Message"] !== undefined) {
|
|
11316
|
-
contents.Message =
|
|
11316
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11317
11317
|
}
|
|
11318
11318
|
return contents;
|
|
11319
11319
|
};
|
|
@@ -11326,7 +11326,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionProfilesResponse = async
|
|
|
11326
11326
|
};
|
|
11327
11327
|
const data = parsedOutput.body.Error;
|
|
11328
11328
|
if (data["Message"] !== undefined) {
|
|
11329
|
-
contents.Message =
|
|
11329
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11330
11330
|
}
|
|
11331
11331
|
return contents;
|
|
11332
11332
|
};
|
|
@@ -11339,7 +11339,7 @@ const deserializeAws_restXmlTooManyFieldLevelEncryptionQueryArgProfilesResponse
|
|
|
11339
11339
|
};
|
|
11340
11340
|
const data = parsedOutput.body.Error;
|
|
11341
11341
|
if (data["Message"] !== undefined) {
|
|
11342
|
-
contents.Message =
|
|
11342
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11343
11343
|
}
|
|
11344
11344
|
return contents;
|
|
11345
11345
|
};
|
|
@@ -11352,7 +11352,7 @@ const deserializeAws_restXmlTooManyFunctionAssociationsResponse = async (parsedO
|
|
|
11352
11352
|
};
|
|
11353
11353
|
const data = parsedOutput.body.Error;
|
|
11354
11354
|
if (data["Message"] !== undefined) {
|
|
11355
|
-
contents.Message =
|
|
11355
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11356
11356
|
}
|
|
11357
11357
|
return contents;
|
|
11358
11358
|
};
|
|
@@ -11365,7 +11365,7 @@ const deserializeAws_restXmlTooManyFunctionsResponse = async (parsedOutput, cont
|
|
|
11365
11365
|
};
|
|
11366
11366
|
const data = parsedOutput.body.Error;
|
|
11367
11367
|
if (data["Message"] !== undefined) {
|
|
11368
|
-
contents.Message =
|
|
11368
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11369
11369
|
}
|
|
11370
11370
|
return contents;
|
|
11371
11371
|
};
|
|
@@ -11378,7 +11378,7 @@ const deserializeAws_restXmlTooManyHeadersInCachePolicyResponse = async (parsedO
|
|
|
11378
11378
|
};
|
|
11379
11379
|
const data = parsedOutput.body.Error;
|
|
11380
11380
|
if (data["Message"] !== undefined) {
|
|
11381
|
-
contents.Message =
|
|
11381
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11382
11382
|
}
|
|
11383
11383
|
return contents;
|
|
11384
11384
|
};
|
|
@@ -11391,7 +11391,7 @@ const deserializeAws_restXmlTooManyHeadersInForwardedValuesResponse = async (par
|
|
|
11391
11391
|
};
|
|
11392
11392
|
const data = parsedOutput.body.Error;
|
|
11393
11393
|
if (data["Message"] !== undefined) {
|
|
11394
|
-
contents.Message =
|
|
11394
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11395
11395
|
}
|
|
11396
11396
|
return contents;
|
|
11397
11397
|
};
|
|
@@ -11404,7 +11404,7 @@ const deserializeAws_restXmlTooManyHeadersInOriginRequestPolicyResponse = async
|
|
|
11404
11404
|
};
|
|
11405
11405
|
const data = parsedOutput.body.Error;
|
|
11406
11406
|
if (data["Message"] !== undefined) {
|
|
11407
|
-
contents.Message =
|
|
11407
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11408
11408
|
}
|
|
11409
11409
|
return contents;
|
|
11410
11410
|
};
|
|
@@ -11417,7 +11417,7 @@ const deserializeAws_restXmlTooManyInvalidationsInProgressResponse = async (pars
|
|
|
11417
11417
|
};
|
|
11418
11418
|
const data = parsedOutput.body.Error;
|
|
11419
11419
|
if (data["Message"] !== undefined) {
|
|
11420
|
-
contents.Message =
|
|
11420
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11421
11421
|
}
|
|
11422
11422
|
return contents;
|
|
11423
11423
|
};
|
|
@@ -11430,7 +11430,7 @@ const deserializeAws_restXmlTooManyKeyGroupsResponse = async (parsedOutput, cont
|
|
|
11430
11430
|
};
|
|
11431
11431
|
const data = parsedOutput.body.Error;
|
|
11432
11432
|
if (data["Message"] !== undefined) {
|
|
11433
|
-
contents.Message =
|
|
11433
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11434
11434
|
}
|
|
11435
11435
|
return contents;
|
|
11436
11436
|
};
|
|
@@ -11443,7 +11443,7 @@ const deserializeAws_restXmlTooManyKeyGroupsAssociatedToDistributionResponse = a
|
|
|
11443
11443
|
};
|
|
11444
11444
|
const data = parsedOutput.body.Error;
|
|
11445
11445
|
if (data["Message"] !== undefined) {
|
|
11446
|
-
contents.Message =
|
|
11446
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11447
11447
|
}
|
|
11448
11448
|
return contents;
|
|
11449
11449
|
};
|
|
@@ -11456,7 +11456,7 @@ const deserializeAws_restXmlTooManyLambdaFunctionAssociationsResponse = async (p
|
|
|
11456
11456
|
};
|
|
11457
11457
|
const data = parsedOutput.body.Error;
|
|
11458
11458
|
if (data["Message"] !== undefined) {
|
|
11459
|
-
contents.Message =
|
|
11459
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11460
11460
|
}
|
|
11461
11461
|
return contents;
|
|
11462
11462
|
};
|
|
@@ -11469,7 +11469,7 @@ const deserializeAws_restXmlTooManyOriginCustomHeadersResponse = async (parsedOu
|
|
|
11469
11469
|
};
|
|
11470
11470
|
const data = parsedOutput.body.Error;
|
|
11471
11471
|
if (data["Message"] !== undefined) {
|
|
11472
|
-
contents.Message =
|
|
11472
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11473
11473
|
}
|
|
11474
11474
|
return contents;
|
|
11475
11475
|
};
|
|
@@ -11482,7 +11482,7 @@ const deserializeAws_restXmlTooManyOriginGroupsPerDistributionResponse = async (
|
|
|
11482
11482
|
};
|
|
11483
11483
|
const data = parsedOutput.body.Error;
|
|
11484
11484
|
if (data["Message"] !== undefined) {
|
|
11485
|
-
contents.Message =
|
|
11485
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11486
11486
|
}
|
|
11487
11487
|
return contents;
|
|
11488
11488
|
};
|
|
@@ -11495,7 +11495,7 @@ const deserializeAws_restXmlTooManyOriginRequestPoliciesResponse = async (parsed
|
|
|
11495
11495
|
};
|
|
11496
11496
|
const data = parsedOutput.body.Error;
|
|
11497
11497
|
if (data["Message"] !== undefined) {
|
|
11498
|
-
contents.Message =
|
|
11498
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11499
11499
|
}
|
|
11500
11500
|
return contents;
|
|
11501
11501
|
};
|
|
@@ -11508,7 +11508,7 @@ const deserializeAws_restXmlTooManyOriginsResponse = async (parsedOutput, contex
|
|
|
11508
11508
|
};
|
|
11509
11509
|
const data = parsedOutput.body.Error;
|
|
11510
11510
|
if (data["Message"] !== undefined) {
|
|
11511
|
-
contents.Message =
|
|
11511
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11512
11512
|
}
|
|
11513
11513
|
return contents;
|
|
11514
11514
|
};
|
|
@@ -11521,7 +11521,7 @@ const deserializeAws_restXmlTooManyPublicKeysResponse = async (parsedOutput, con
|
|
|
11521
11521
|
};
|
|
11522
11522
|
const data = parsedOutput.body.Error;
|
|
11523
11523
|
if (data["Message"] !== undefined) {
|
|
11524
|
-
contents.Message =
|
|
11524
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11525
11525
|
}
|
|
11526
11526
|
return contents;
|
|
11527
11527
|
};
|
|
@@ -11534,7 +11534,7 @@ const deserializeAws_restXmlTooManyPublicKeysInKeyGroupResponse = async (parsedO
|
|
|
11534
11534
|
};
|
|
11535
11535
|
const data = parsedOutput.body.Error;
|
|
11536
11536
|
if (data["Message"] !== undefined) {
|
|
11537
|
-
contents.Message =
|
|
11537
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11538
11538
|
}
|
|
11539
11539
|
return contents;
|
|
11540
11540
|
};
|
|
@@ -11547,7 +11547,7 @@ const deserializeAws_restXmlTooManyQueryStringParametersResponse = async (parsed
|
|
|
11547
11547
|
};
|
|
11548
11548
|
const data = parsedOutput.body.Error;
|
|
11549
11549
|
if (data["Message"] !== undefined) {
|
|
11550
|
-
contents.Message =
|
|
11550
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11551
11551
|
}
|
|
11552
11552
|
return contents;
|
|
11553
11553
|
};
|
|
@@ -11560,7 +11560,7 @@ const deserializeAws_restXmlTooManyQueryStringsInCachePolicyResponse = async (pa
|
|
|
11560
11560
|
};
|
|
11561
11561
|
const data = parsedOutput.body.Error;
|
|
11562
11562
|
if (data["Message"] !== undefined) {
|
|
11563
|
-
contents.Message =
|
|
11563
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11564
11564
|
}
|
|
11565
11565
|
return contents;
|
|
11566
11566
|
};
|
|
@@ -11573,7 +11573,7 @@ const deserializeAws_restXmlTooManyQueryStringsInOriginRequestPolicyResponse = a
|
|
|
11573
11573
|
};
|
|
11574
11574
|
const data = parsedOutput.body.Error;
|
|
11575
11575
|
if (data["Message"] !== undefined) {
|
|
11576
|
-
contents.Message =
|
|
11576
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11577
11577
|
}
|
|
11578
11578
|
return contents;
|
|
11579
11579
|
};
|
|
@@ -11586,7 +11586,7 @@ const deserializeAws_restXmlTooManyRealtimeLogConfigsResponse = async (parsedOut
|
|
|
11586
11586
|
};
|
|
11587
11587
|
const data = parsedOutput.body.Error;
|
|
11588
11588
|
if (data["Message"] !== undefined) {
|
|
11589
|
-
contents.Message =
|
|
11589
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11590
11590
|
}
|
|
11591
11591
|
return contents;
|
|
11592
11592
|
};
|
|
@@ -11599,7 +11599,7 @@ const deserializeAws_restXmlTooManyStreamingDistributionCNAMEsResponse = async (
|
|
|
11599
11599
|
};
|
|
11600
11600
|
const data = parsedOutput.body.Error;
|
|
11601
11601
|
if (data["Message"] !== undefined) {
|
|
11602
|
-
contents.Message =
|
|
11602
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11603
11603
|
}
|
|
11604
11604
|
return contents;
|
|
11605
11605
|
};
|
|
@@ -11612,7 +11612,7 @@ const deserializeAws_restXmlTooManyStreamingDistributionsResponse = async (parse
|
|
|
11612
11612
|
};
|
|
11613
11613
|
const data = parsedOutput.body.Error;
|
|
11614
11614
|
if (data["Message"] !== undefined) {
|
|
11615
|
-
contents.Message =
|
|
11615
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11616
11616
|
}
|
|
11617
11617
|
return contents;
|
|
11618
11618
|
};
|
|
@@ -11625,7 +11625,7 @@ const deserializeAws_restXmlTooManyTrustedSignersResponse = async (parsedOutput,
|
|
|
11625
11625
|
};
|
|
11626
11626
|
const data = parsedOutput.body.Error;
|
|
11627
11627
|
if (data["Message"] !== undefined) {
|
|
11628
|
-
contents.Message =
|
|
11628
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11629
11629
|
}
|
|
11630
11630
|
return contents;
|
|
11631
11631
|
};
|
|
@@ -11638,7 +11638,7 @@ const deserializeAws_restXmlTrustedKeyGroupDoesNotExistResponse = async (parsedO
|
|
|
11638
11638
|
};
|
|
11639
11639
|
const data = parsedOutput.body.Error;
|
|
11640
11640
|
if (data["Message"] !== undefined) {
|
|
11641
|
-
contents.Message =
|
|
11641
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11642
11642
|
}
|
|
11643
11643
|
return contents;
|
|
11644
11644
|
};
|
|
@@ -11651,7 +11651,7 @@ const deserializeAws_restXmlTrustedSignerDoesNotExistResponse = async (parsedOut
|
|
|
11651
11651
|
};
|
|
11652
11652
|
const data = parsedOutput.body.Error;
|
|
11653
11653
|
if (data["Message"] !== undefined) {
|
|
11654
|
-
contents.Message =
|
|
11654
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11655
11655
|
}
|
|
11656
11656
|
return contents;
|
|
11657
11657
|
};
|
|
@@ -11664,7 +11664,7 @@ const deserializeAws_restXmlUnsupportedOperationResponse = async (parsedOutput,
|
|
|
11664
11664
|
};
|
|
11665
11665
|
const data = parsedOutput.body.Error;
|
|
11666
11666
|
if (data["Message"] !== undefined) {
|
|
11667
|
-
contents.Message =
|
|
11667
|
+
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
11668
11668
|
}
|
|
11669
11669
|
return contents;
|
|
11670
11670
|
};
|
|
@@ -13487,16 +13487,16 @@ const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
|
|
|
13487
13487
|
Items: undefined,
|
|
13488
13488
|
};
|
|
13489
13489
|
if (output["Enabled"] !== undefined) {
|
|
13490
|
-
contents.Enabled =
|
|
13490
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
13491
13491
|
}
|
|
13492
13492
|
if (output["Quantity"] !== undefined) {
|
|
13493
|
-
contents.Quantity =
|
|
13493
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13494
13494
|
}
|
|
13495
13495
|
if (output.Items === "") {
|
|
13496
13496
|
contents.Items = [];
|
|
13497
13497
|
}
|
|
13498
13498
|
if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
|
|
13499
|
-
contents.Items = deserializeAws_restXmlKGKeyPairIdsList(
|
|
13499
|
+
contents.Items = deserializeAws_restXmlKGKeyPairIdsList(smithy_client_1.getArrayIfSingleItem(output["Items"]["KeyGroup"]), context);
|
|
13500
13500
|
}
|
|
13501
13501
|
return contents;
|
|
13502
13502
|
};
|
|
@@ -13507,16 +13507,16 @@ const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
|
|
|
13507
13507
|
Items: undefined,
|
|
13508
13508
|
};
|
|
13509
13509
|
if (output["Enabled"] !== undefined) {
|
|
13510
|
-
contents.Enabled =
|
|
13510
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
13511
13511
|
}
|
|
13512
13512
|
if (output["Quantity"] !== undefined) {
|
|
13513
|
-
contents.Quantity =
|
|
13513
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13514
13514
|
}
|
|
13515
13515
|
if (output.Items === "") {
|
|
13516
13516
|
contents.Items = [];
|
|
13517
13517
|
}
|
|
13518
13518
|
if (output["Items"] !== undefined && output["Items"]["Signer"] !== undefined) {
|
|
13519
|
-
contents.Items = deserializeAws_restXmlSignerList(
|
|
13519
|
+
contents.Items = deserializeAws_restXmlSignerList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Signer"]), context);
|
|
13520
13520
|
}
|
|
13521
13521
|
return contents;
|
|
13522
13522
|
};
|
|
@@ -13526,13 +13526,13 @@ const deserializeAws_restXmlAliases = (output, context) => {
|
|
|
13526
13526
|
Items: undefined,
|
|
13527
13527
|
};
|
|
13528
13528
|
if (output["Quantity"] !== undefined) {
|
|
13529
|
-
contents.Quantity =
|
|
13529
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13530
13530
|
}
|
|
13531
13531
|
if (output.Items === "") {
|
|
13532
13532
|
contents.Items = [];
|
|
13533
13533
|
}
|
|
13534
13534
|
if (output["Items"] !== undefined && output["Items"]["CNAME"] !== undefined) {
|
|
13535
|
-
contents.Items = deserializeAws_restXmlAliasList(
|
|
13535
|
+
contents.Items = deserializeAws_restXmlAliasList(smithy_client_1.getArrayIfSingleItem(output["Items"]["CNAME"]), context);
|
|
13536
13536
|
}
|
|
13537
13537
|
return contents;
|
|
13538
13538
|
};
|
|
@@ -13542,10 +13542,10 @@ const deserializeAws_restXmlAliasICPRecordal = (output, context) => {
|
|
|
13542
13542
|
ICPRecordalStatus: undefined,
|
|
13543
13543
|
};
|
|
13544
13544
|
if (output["CNAME"] !== undefined) {
|
|
13545
|
-
contents.CNAME =
|
|
13545
|
+
contents.CNAME = smithy_client_1.expectString(output["CNAME"]);
|
|
13546
13546
|
}
|
|
13547
13547
|
if (output["ICPRecordalStatus"] !== undefined) {
|
|
13548
|
-
contents.ICPRecordalStatus =
|
|
13548
|
+
contents.ICPRecordalStatus = smithy_client_1.expectString(output["ICPRecordalStatus"]);
|
|
13549
13549
|
}
|
|
13550
13550
|
return contents;
|
|
13551
13551
|
};
|
|
@@ -13566,7 +13566,7 @@ const deserializeAws_restXmlAliasList = (output, context) => {
|
|
|
13566
13566
|
if (entry === null) {
|
|
13567
13567
|
return null;
|
|
13568
13568
|
}
|
|
13569
|
-
return
|
|
13569
|
+
return smithy_client_1.expectString(entry);
|
|
13570
13570
|
});
|
|
13571
13571
|
};
|
|
13572
13572
|
const deserializeAws_restXmlAllowedMethods = (output, context) => {
|
|
@@ -13576,13 +13576,13 @@ const deserializeAws_restXmlAllowedMethods = (output, context) => {
|
|
|
13576
13576
|
CachedMethods: undefined,
|
|
13577
13577
|
};
|
|
13578
13578
|
if (output["Quantity"] !== undefined) {
|
|
13579
|
-
contents.Quantity =
|
|
13579
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13580
13580
|
}
|
|
13581
13581
|
if (output.Items === "") {
|
|
13582
13582
|
contents.Items = [];
|
|
13583
13583
|
}
|
|
13584
13584
|
if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
|
|
13585
|
-
contents.Items = deserializeAws_restXmlMethodsList(
|
|
13585
|
+
contents.Items = deserializeAws_restXmlMethodsList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Method"]), context);
|
|
13586
13586
|
}
|
|
13587
13587
|
if (output["CachedMethods"] !== undefined) {
|
|
13588
13588
|
contents.CachedMethods = deserializeAws_restXmlCachedMethods(output["CachedMethods"], context);
|
|
@@ -13596,7 +13596,7 @@ const deserializeAws_restXmlAwsAccountNumberList = (output, context) => {
|
|
|
13596
13596
|
if (entry === null) {
|
|
13597
13597
|
return null;
|
|
13598
13598
|
}
|
|
13599
|
-
return
|
|
13599
|
+
return smithy_client_1.expectString(entry);
|
|
13600
13600
|
});
|
|
13601
13601
|
};
|
|
13602
13602
|
const deserializeAws_restXmlCacheBehavior = (output, context) => {
|
|
@@ -13621,10 +13621,10 @@ const deserializeAws_restXmlCacheBehavior = (output, context) => {
|
|
|
13621
13621
|
MaxTTL: undefined,
|
|
13622
13622
|
};
|
|
13623
13623
|
if (output["PathPattern"] !== undefined) {
|
|
13624
|
-
contents.PathPattern =
|
|
13624
|
+
contents.PathPattern = smithy_client_1.expectString(output["PathPattern"]);
|
|
13625
13625
|
}
|
|
13626
13626
|
if (output["TargetOriginId"] !== undefined) {
|
|
13627
|
-
contents.TargetOriginId =
|
|
13627
|
+
contents.TargetOriginId = smithy_client_1.expectString(output["TargetOriginId"]);
|
|
13628
13628
|
}
|
|
13629
13629
|
if (output["TrustedSigners"] !== undefined) {
|
|
13630
13630
|
contents.TrustedSigners = deserializeAws_restXmlTrustedSigners(output["TrustedSigners"], context);
|
|
@@ -13633,16 +13633,16 @@ const deserializeAws_restXmlCacheBehavior = (output, context) => {
|
|
|
13633
13633
|
contents.TrustedKeyGroups = deserializeAws_restXmlTrustedKeyGroups(output["TrustedKeyGroups"], context);
|
|
13634
13634
|
}
|
|
13635
13635
|
if (output["ViewerProtocolPolicy"] !== undefined) {
|
|
13636
|
-
contents.ViewerProtocolPolicy =
|
|
13636
|
+
contents.ViewerProtocolPolicy = smithy_client_1.expectString(output["ViewerProtocolPolicy"]);
|
|
13637
13637
|
}
|
|
13638
13638
|
if (output["AllowedMethods"] !== undefined) {
|
|
13639
13639
|
contents.AllowedMethods = deserializeAws_restXmlAllowedMethods(output["AllowedMethods"], context);
|
|
13640
13640
|
}
|
|
13641
13641
|
if (output["SmoothStreaming"] !== undefined) {
|
|
13642
|
-
contents.SmoothStreaming =
|
|
13642
|
+
contents.SmoothStreaming = smithy_client_1.parseBoolean(output["SmoothStreaming"]);
|
|
13643
13643
|
}
|
|
13644
13644
|
if (output["Compress"] !== undefined) {
|
|
13645
|
-
contents.Compress =
|
|
13645
|
+
contents.Compress = smithy_client_1.parseBoolean(output["Compress"]);
|
|
13646
13646
|
}
|
|
13647
13647
|
if (output["LambdaFunctionAssociations"] !== undefined) {
|
|
13648
13648
|
contents.LambdaFunctionAssociations = deserializeAws_restXmlLambdaFunctionAssociations(output["LambdaFunctionAssociations"], context);
|
|
@@ -13651,28 +13651,28 @@ const deserializeAws_restXmlCacheBehavior = (output, context) => {
|
|
|
13651
13651
|
contents.FunctionAssociations = deserializeAws_restXmlFunctionAssociations(output["FunctionAssociations"], context);
|
|
13652
13652
|
}
|
|
13653
13653
|
if (output["FieldLevelEncryptionId"] !== undefined) {
|
|
13654
|
-
contents.FieldLevelEncryptionId =
|
|
13654
|
+
contents.FieldLevelEncryptionId = smithy_client_1.expectString(output["FieldLevelEncryptionId"]);
|
|
13655
13655
|
}
|
|
13656
13656
|
if (output["RealtimeLogConfigArn"] !== undefined) {
|
|
13657
|
-
contents.RealtimeLogConfigArn =
|
|
13657
|
+
contents.RealtimeLogConfigArn = smithy_client_1.expectString(output["RealtimeLogConfigArn"]);
|
|
13658
13658
|
}
|
|
13659
13659
|
if (output["CachePolicyId"] !== undefined) {
|
|
13660
|
-
contents.CachePolicyId =
|
|
13660
|
+
contents.CachePolicyId = smithy_client_1.expectString(output["CachePolicyId"]);
|
|
13661
13661
|
}
|
|
13662
13662
|
if (output["OriginRequestPolicyId"] !== undefined) {
|
|
13663
|
-
contents.OriginRequestPolicyId =
|
|
13663
|
+
contents.OriginRequestPolicyId = smithy_client_1.expectString(output["OriginRequestPolicyId"]);
|
|
13664
13664
|
}
|
|
13665
13665
|
if (output["ForwardedValues"] !== undefined) {
|
|
13666
13666
|
contents.ForwardedValues = deserializeAws_restXmlForwardedValues(output["ForwardedValues"], context);
|
|
13667
13667
|
}
|
|
13668
13668
|
if (output["MinTTL"] !== undefined) {
|
|
13669
|
-
contents.MinTTL =
|
|
13669
|
+
contents.MinTTL = smithy_client_1.strictParseLong(output["MinTTL"]);
|
|
13670
13670
|
}
|
|
13671
13671
|
if (output["DefaultTTL"] !== undefined) {
|
|
13672
|
-
contents.DefaultTTL =
|
|
13672
|
+
contents.DefaultTTL = smithy_client_1.strictParseLong(output["DefaultTTL"]);
|
|
13673
13673
|
}
|
|
13674
13674
|
if (output["MaxTTL"] !== undefined) {
|
|
13675
|
-
contents.MaxTTL =
|
|
13675
|
+
contents.MaxTTL = smithy_client_1.strictParseLong(output["MaxTTL"]);
|
|
13676
13676
|
}
|
|
13677
13677
|
return contents;
|
|
13678
13678
|
};
|
|
@@ -13692,13 +13692,13 @@ const deserializeAws_restXmlCacheBehaviors = (output, context) => {
|
|
|
13692
13692
|
Items: undefined,
|
|
13693
13693
|
};
|
|
13694
13694
|
if (output["Quantity"] !== undefined) {
|
|
13695
|
-
contents.Quantity =
|
|
13695
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13696
13696
|
}
|
|
13697
13697
|
if (output.Items === "") {
|
|
13698
13698
|
contents.Items = [];
|
|
13699
13699
|
}
|
|
13700
13700
|
if (output["Items"] !== undefined && output["Items"]["CacheBehavior"] !== undefined) {
|
|
13701
|
-
contents.Items = deserializeAws_restXmlCacheBehaviorList(
|
|
13701
|
+
contents.Items = deserializeAws_restXmlCacheBehaviorList(smithy_client_1.getArrayIfSingleItem(output["Items"]["CacheBehavior"]), context);
|
|
13702
13702
|
}
|
|
13703
13703
|
return contents;
|
|
13704
13704
|
};
|
|
@@ -13708,13 +13708,13 @@ const deserializeAws_restXmlCachedMethods = (output, context) => {
|
|
|
13708
13708
|
Items: undefined,
|
|
13709
13709
|
};
|
|
13710
13710
|
if (output["Quantity"] !== undefined) {
|
|
13711
|
-
contents.Quantity =
|
|
13711
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13712
13712
|
}
|
|
13713
13713
|
if (output.Items === "") {
|
|
13714
13714
|
contents.Items = [];
|
|
13715
13715
|
}
|
|
13716
13716
|
if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
|
|
13717
|
-
contents.Items = deserializeAws_restXmlMethodsList(
|
|
13717
|
+
contents.Items = deserializeAws_restXmlMethodsList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Method"]), context);
|
|
13718
13718
|
}
|
|
13719
13719
|
return contents;
|
|
13720
13720
|
};
|
|
@@ -13725,10 +13725,10 @@ const deserializeAws_restXmlCachePolicy = (output, context) => {
|
|
|
13725
13725
|
CachePolicyConfig: undefined,
|
|
13726
13726
|
};
|
|
13727
13727
|
if (output["Id"] !== undefined) {
|
|
13728
|
-
contents.Id =
|
|
13728
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
13729
13729
|
}
|
|
13730
13730
|
if (output["LastModifiedTime"] !== undefined) {
|
|
13731
|
-
contents.LastModifiedTime =
|
|
13731
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
13732
13732
|
}
|
|
13733
13733
|
if (output["CachePolicyConfig"] !== undefined) {
|
|
13734
13734
|
contents.CachePolicyConfig = deserializeAws_restXmlCachePolicyConfig(output["CachePolicyConfig"], context);
|
|
@@ -13745,19 +13745,19 @@ const deserializeAws_restXmlCachePolicyConfig = (output, context) => {
|
|
|
13745
13745
|
ParametersInCacheKeyAndForwardedToOrigin: undefined,
|
|
13746
13746
|
};
|
|
13747
13747
|
if (output["Comment"] !== undefined) {
|
|
13748
|
-
contents.Comment =
|
|
13748
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
13749
13749
|
}
|
|
13750
13750
|
if (output["Name"] !== undefined) {
|
|
13751
|
-
contents.Name =
|
|
13751
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
13752
13752
|
}
|
|
13753
13753
|
if (output["DefaultTTL"] !== undefined) {
|
|
13754
|
-
contents.DefaultTTL =
|
|
13754
|
+
contents.DefaultTTL = smithy_client_1.strictParseLong(output["DefaultTTL"]);
|
|
13755
13755
|
}
|
|
13756
13756
|
if (output["MaxTTL"] !== undefined) {
|
|
13757
|
-
contents.MaxTTL =
|
|
13757
|
+
contents.MaxTTL = smithy_client_1.strictParseLong(output["MaxTTL"]);
|
|
13758
13758
|
}
|
|
13759
13759
|
if (output["MinTTL"] !== undefined) {
|
|
13760
|
-
contents.MinTTL =
|
|
13760
|
+
contents.MinTTL = smithy_client_1.strictParseLong(output["MinTTL"]);
|
|
13761
13761
|
}
|
|
13762
13762
|
if (output["ParametersInCacheKeyAndForwardedToOrigin"] !== undefined) {
|
|
13763
13763
|
contents.ParametersInCacheKeyAndForwardedToOrigin = deserializeAws_restXmlParametersInCacheKeyAndForwardedToOrigin(output["ParametersInCacheKeyAndForwardedToOrigin"], context);
|
|
@@ -13770,7 +13770,7 @@ const deserializeAws_restXmlCachePolicyCookiesConfig = (output, context) => {
|
|
|
13770
13770
|
Cookies: undefined,
|
|
13771
13771
|
};
|
|
13772
13772
|
if (output["CookieBehavior"] !== undefined) {
|
|
13773
|
-
contents.CookieBehavior =
|
|
13773
|
+
contents.CookieBehavior = smithy_client_1.expectString(output["CookieBehavior"]);
|
|
13774
13774
|
}
|
|
13775
13775
|
if (output["Cookies"] !== undefined) {
|
|
13776
13776
|
contents.Cookies = deserializeAws_restXmlCookieNames(output["Cookies"], context);
|
|
@@ -13783,7 +13783,7 @@ const deserializeAws_restXmlCachePolicyHeadersConfig = (output, context) => {
|
|
|
13783
13783
|
Headers: undefined,
|
|
13784
13784
|
};
|
|
13785
13785
|
if (output["HeaderBehavior"] !== undefined) {
|
|
13786
|
-
contents.HeaderBehavior =
|
|
13786
|
+
contents.HeaderBehavior = smithy_client_1.expectString(output["HeaderBehavior"]);
|
|
13787
13787
|
}
|
|
13788
13788
|
if (output["Headers"] !== undefined) {
|
|
13789
13789
|
contents.Headers = deserializeAws_restXmlHeaders(output["Headers"], context);
|
|
@@ -13798,19 +13798,19 @@ const deserializeAws_restXmlCachePolicyList = (output, context) => {
|
|
|
13798
13798
|
Items: undefined,
|
|
13799
13799
|
};
|
|
13800
13800
|
if (output["NextMarker"] !== undefined) {
|
|
13801
|
-
contents.NextMarker =
|
|
13801
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
13802
13802
|
}
|
|
13803
13803
|
if (output["MaxItems"] !== undefined) {
|
|
13804
|
-
contents.MaxItems =
|
|
13804
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
13805
13805
|
}
|
|
13806
13806
|
if (output["Quantity"] !== undefined) {
|
|
13807
|
-
contents.Quantity =
|
|
13807
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13808
13808
|
}
|
|
13809
13809
|
if (output.Items === "") {
|
|
13810
13810
|
contents.Items = [];
|
|
13811
13811
|
}
|
|
13812
13812
|
if (output["Items"] !== undefined && output["Items"]["CachePolicySummary"] !== undefined) {
|
|
13813
|
-
contents.Items = deserializeAws_restXmlCachePolicySummaryList(
|
|
13813
|
+
contents.Items = deserializeAws_restXmlCachePolicySummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["CachePolicySummary"]), context);
|
|
13814
13814
|
}
|
|
13815
13815
|
return contents;
|
|
13816
13816
|
};
|
|
@@ -13820,7 +13820,7 @@ const deserializeAws_restXmlCachePolicyQueryStringsConfig = (output, context) =>
|
|
|
13820
13820
|
QueryStrings: undefined,
|
|
13821
13821
|
};
|
|
13822
13822
|
if (output["QueryStringBehavior"] !== undefined) {
|
|
13823
|
-
contents.QueryStringBehavior =
|
|
13823
|
+
contents.QueryStringBehavior = smithy_client_1.expectString(output["QueryStringBehavior"]);
|
|
13824
13824
|
}
|
|
13825
13825
|
if (output["QueryStrings"] !== undefined) {
|
|
13826
13826
|
contents.QueryStrings = deserializeAws_restXmlQueryStringNames(output["QueryStrings"], context);
|
|
@@ -13833,7 +13833,7 @@ const deserializeAws_restXmlCachePolicySummary = (output, context) => {
|
|
|
13833
13833
|
CachePolicy: undefined,
|
|
13834
13834
|
};
|
|
13835
13835
|
if (output["Type"] !== undefined) {
|
|
13836
|
-
contents.Type =
|
|
13836
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
13837
13837
|
}
|
|
13838
13838
|
if (output["CachePolicy"] !== undefined) {
|
|
13839
13839
|
contents.CachePolicy = deserializeAws_restXmlCachePolicy(output["CachePolicy"], context);
|
|
@@ -13857,10 +13857,10 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentity = (output, context) =
|
|
|
13857
13857
|
CloudFrontOriginAccessIdentityConfig: undefined,
|
|
13858
13858
|
};
|
|
13859
13859
|
if (output["Id"] !== undefined) {
|
|
13860
|
-
contents.Id =
|
|
13860
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
13861
13861
|
}
|
|
13862
13862
|
if (output["S3CanonicalUserId"] !== undefined) {
|
|
13863
|
-
contents.S3CanonicalUserId =
|
|
13863
|
+
contents.S3CanonicalUserId = smithy_client_1.expectString(output["S3CanonicalUserId"]);
|
|
13864
13864
|
}
|
|
13865
13865
|
if (output["CloudFrontOriginAccessIdentityConfig"] !== undefined) {
|
|
13866
13866
|
contents.CloudFrontOriginAccessIdentityConfig = deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig(output["CloudFrontOriginAccessIdentityConfig"], context);
|
|
@@ -13873,10 +13873,10 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig = (output, cont
|
|
|
13873
13873
|
Comment: undefined,
|
|
13874
13874
|
};
|
|
13875
13875
|
if (output["CallerReference"] !== undefined) {
|
|
13876
|
-
contents.CallerReference =
|
|
13876
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
13877
13877
|
}
|
|
13878
13878
|
if (output["Comment"] !== undefined) {
|
|
13879
|
-
contents.Comment =
|
|
13879
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
13880
13880
|
}
|
|
13881
13881
|
return contents;
|
|
13882
13882
|
};
|
|
@@ -13890,25 +13890,25 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, contex
|
|
|
13890
13890
|
Items: undefined,
|
|
13891
13891
|
};
|
|
13892
13892
|
if (output["Marker"] !== undefined) {
|
|
13893
|
-
contents.Marker =
|
|
13893
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
13894
13894
|
}
|
|
13895
13895
|
if (output["NextMarker"] !== undefined) {
|
|
13896
|
-
contents.NextMarker =
|
|
13896
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
13897
13897
|
}
|
|
13898
13898
|
if (output["MaxItems"] !== undefined) {
|
|
13899
|
-
contents.MaxItems =
|
|
13899
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
13900
13900
|
}
|
|
13901
13901
|
if (output["IsTruncated"] !== undefined) {
|
|
13902
|
-
contents.IsTruncated =
|
|
13902
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
13903
13903
|
}
|
|
13904
13904
|
if (output["Quantity"] !== undefined) {
|
|
13905
|
-
contents.Quantity =
|
|
13905
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13906
13906
|
}
|
|
13907
13907
|
if (output.Items === "") {
|
|
13908
13908
|
contents.Items = [];
|
|
13909
13909
|
}
|
|
13910
13910
|
if (output["Items"] !== undefined && output["Items"]["CloudFrontOriginAccessIdentitySummary"] !== undefined) {
|
|
13911
|
-
contents.Items = deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList(
|
|
13911
|
+
contents.Items = deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["CloudFrontOriginAccessIdentitySummary"]), context);
|
|
13912
13912
|
}
|
|
13913
13913
|
return contents;
|
|
13914
13914
|
};
|
|
@@ -13919,13 +13919,13 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentitySummary = (output, con
|
|
|
13919
13919
|
Comment: undefined,
|
|
13920
13920
|
};
|
|
13921
13921
|
if (output["Id"] !== undefined) {
|
|
13922
|
-
contents.Id =
|
|
13922
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
13923
13923
|
}
|
|
13924
13924
|
if (output["S3CanonicalUserId"] !== undefined) {
|
|
13925
|
-
contents.S3CanonicalUserId =
|
|
13925
|
+
contents.S3CanonicalUserId = smithy_client_1.expectString(output["S3CanonicalUserId"]);
|
|
13926
13926
|
}
|
|
13927
13927
|
if (output["Comment"] !== undefined) {
|
|
13928
|
-
contents.Comment =
|
|
13928
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
13929
13929
|
}
|
|
13930
13930
|
return contents;
|
|
13931
13931
|
};
|
|
@@ -13946,13 +13946,13 @@ const deserializeAws_restXmlConflictingAlias = (output, context) => {
|
|
|
13946
13946
|
AccountId: undefined,
|
|
13947
13947
|
};
|
|
13948
13948
|
if (output["Alias"] !== undefined) {
|
|
13949
|
-
contents.Alias =
|
|
13949
|
+
contents.Alias = smithy_client_1.expectString(output["Alias"]);
|
|
13950
13950
|
}
|
|
13951
13951
|
if (output["DistributionId"] !== undefined) {
|
|
13952
|
-
contents.DistributionId =
|
|
13952
|
+
contents.DistributionId = smithy_client_1.expectString(output["DistributionId"]);
|
|
13953
13953
|
}
|
|
13954
13954
|
if (output["AccountId"] !== undefined) {
|
|
13955
|
-
contents.AccountId =
|
|
13955
|
+
contents.AccountId = smithy_client_1.expectString(output["AccountId"]);
|
|
13956
13956
|
}
|
|
13957
13957
|
return contents;
|
|
13958
13958
|
};
|
|
@@ -13974,19 +13974,19 @@ const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
|
|
|
13974
13974
|
Items: undefined,
|
|
13975
13975
|
};
|
|
13976
13976
|
if (output["NextMarker"] !== undefined) {
|
|
13977
|
-
contents.NextMarker =
|
|
13977
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
13978
13978
|
}
|
|
13979
13979
|
if (output["MaxItems"] !== undefined) {
|
|
13980
|
-
contents.MaxItems =
|
|
13980
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
13981
13981
|
}
|
|
13982
13982
|
if (output["Quantity"] !== undefined) {
|
|
13983
|
-
contents.Quantity =
|
|
13983
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
13984
13984
|
}
|
|
13985
13985
|
if (output.Items === "") {
|
|
13986
13986
|
contents.Items = [];
|
|
13987
13987
|
}
|
|
13988
13988
|
if (output["Items"] !== undefined && output["Items"]["ConflictingAlias"] !== undefined) {
|
|
13989
|
-
contents.Items = deserializeAws_restXmlConflictingAliases(
|
|
13989
|
+
contents.Items = deserializeAws_restXmlConflictingAliases(smithy_client_1.getArrayIfSingleItem(output["Items"]["ConflictingAlias"]), context);
|
|
13990
13990
|
}
|
|
13991
13991
|
return contents;
|
|
13992
13992
|
};
|
|
@@ -13997,13 +13997,13 @@ const deserializeAws_restXmlContentTypeProfile = (output, context) => {
|
|
|
13997
13997
|
ContentType: undefined,
|
|
13998
13998
|
};
|
|
13999
13999
|
if (output["Format"] !== undefined) {
|
|
14000
|
-
contents.Format =
|
|
14000
|
+
contents.Format = smithy_client_1.expectString(output["Format"]);
|
|
14001
14001
|
}
|
|
14002
14002
|
if (output["ProfileId"] !== undefined) {
|
|
14003
|
-
contents.ProfileId =
|
|
14003
|
+
contents.ProfileId = smithy_client_1.expectString(output["ProfileId"]);
|
|
14004
14004
|
}
|
|
14005
14005
|
if (output["ContentType"] !== undefined) {
|
|
14006
|
-
contents.ContentType =
|
|
14006
|
+
contents.ContentType = smithy_client_1.expectString(output["ContentType"]);
|
|
14007
14007
|
}
|
|
14008
14008
|
return contents;
|
|
14009
14009
|
};
|
|
@@ -14013,7 +14013,7 @@ const deserializeAws_restXmlContentTypeProfileConfig = (output, context) => {
|
|
|
14013
14013
|
ContentTypeProfiles: undefined,
|
|
14014
14014
|
};
|
|
14015
14015
|
if (output["ForwardWhenContentTypeIsUnknown"] !== undefined) {
|
|
14016
|
-
contents.ForwardWhenContentTypeIsUnknown =
|
|
14016
|
+
contents.ForwardWhenContentTypeIsUnknown = smithy_client_1.parseBoolean(output["ForwardWhenContentTypeIsUnknown"]);
|
|
14017
14017
|
}
|
|
14018
14018
|
if (output["ContentTypeProfiles"] !== undefined) {
|
|
14019
14019
|
contents.ContentTypeProfiles = deserializeAws_restXmlContentTypeProfiles(output["ContentTypeProfiles"], context);
|
|
@@ -14036,13 +14036,13 @@ const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
|
|
|
14036
14036
|
Items: undefined,
|
|
14037
14037
|
};
|
|
14038
14038
|
if (output["Quantity"] !== undefined) {
|
|
14039
|
-
contents.Quantity =
|
|
14039
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14040
14040
|
}
|
|
14041
14041
|
if (output.Items === "") {
|
|
14042
14042
|
contents.Items = [];
|
|
14043
14043
|
}
|
|
14044
14044
|
if (output["Items"] !== undefined && output["Items"]["ContentTypeProfile"] !== undefined) {
|
|
14045
|
-
contents.Items = deserializeAws_restXmlContentTypeProfileList(
|
|
14045
|
+
contents.Items = deserializeAws_restXmlContentTypeProfileList(smithy_client_1.getArrayIfSingleItem(output["Items"]["ContentTypeProfile"]), context);
|
|
14046
14046
|
}
|
|
14047
14047
|
return contents;
|
|
14048
14048
|
};
|
|
@@ -14053,7 +14053,7 @@ const deserializeAws_restXmlCookieNameList = (output, context) => {
|
|
|
14053
14053
|
if (entry === null) {
|
|
14054
14054
|
return null;
|
|
14055
14055
|
}
|
|
14056
|
-
return
|
|
14056
|
+
return smithy_client_1.expectString(entry);
|
|
14057
14057
|
});
|
|
14058
14058
|
};
|
|
14059
14059
|
const deserializeAws_restXmlCookieNames = (output, context) => {
|
|
@@ -14062,13 +14062,13 @@ const deserializeAws_restXmlCookieNames = (output, context) => {
|
|
|
14062
14062
|
Items: undefined,
|
|
14063
14063
|
};
|
|
14064
14064
|
if (output["Quantity"] !== undefined) {
|
|
14065
|
-
contents.Quantity =
|
|
14065
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14066
14066
|
}
|
|
14067
14067
|
if (output.Items === "") {
|
|
14068
14068
|
contents.Items = [];
|
|
14069
14069
|
}
|
|
14070
14070
|
if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
|
|
14071
|
-
contents.Items = deserializeAws_restXmlCookieNameList(
|
|
14071
|
+
contents.Items = deserializeAws_restXmlCookieNameList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Name"]), context);
|
|
14072
14072
|
}
|
|
14073
14073
|
return contents;
|
|
14074
14074
|
};
|
|
@@ -14078,7 +14078,7 @@ const deserializeAws_restXmlCookiePreference = (output, context) => {
|
|
|
14078
14078
|
WhitelistedNames: undefined,
|
|
14079
14079
|
};
|
|
14080
14080
|
if (output["Forward"] !== undefined) {
|
|
14081
|
-
contents.Forward =
|
|
14081
|
+
contents.Forward = smithy_client_1.expectString(output["Forward"]);
|
|
14082
14082
|
}
|
|
14083
14083
|
if (output["WhitelistedNames"] !== undefined) {
|
|
14084
14084
|
contents.WhitelistedNames = deserializeAws_restXmlCookieNames(output["WhitelistedNames"], context);
|
|
@@ -14093,16 +14093,16 @@ const deserializeAws_restXmlCustomErrorResponse = (output, context) => {
|
|
|
14093
14093
|
ErrorCachingMinTTL: undefined,
|
|
14094
14094
|
};
|
|
14095
14095
|
if (output["ErrorCode"] !== undefined) {
|
|
14096
|
-
contents.ErrorCode =
|
|
14096
|
+
contents.ErrorCode = smithy_client_1.strictParseInt32(output["ErrorCode"]);
|
|
14097
14097
|
}
|
|
14098
14098
|
if (output["ResponsePagePath"] !== undefined) {
|
|
14099
|
-
contents.ResponsePagePath =
|
|
14099
|
+
contents.ResponsePagePath = smithy_client_1.expectString(output["ResponsePagePath"]);
|
|
14100
14100
|
}
|
|
14101
14101
|
if (output["ResponseCode"] !== undefined) {
|
|
14102
|
-
contents.ResponseCode =
|
|
14102
|
+
contents.ResponseCode = smithy_client_1.expectString(output["ResponseCode"]);
|
|
14103
14103
|
}
|
|
14104
14104
|
if (output["ErrorCachingMinTTL"] !== undefined) {
|
|
14105
|
-
contents.ErrorCachingMinTTL =
|
|
14105
|
+
contents.ErrorCachingMinTTL = smithy_client_1.strictParseLong(output["ErrorCachingMinTTL"]);
|
|
14106
14106
|
}
|
|
14107
14107
|
return contents;
|
|
14108
14108
|
};
|
|
@@ -14122,13 +14122,13 @@ const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
|
|
|
14122
14122
|
Items: undefined,
|
|
14123
14123
|
};
|
|
14124
14124
|
if (output["Quantity"] !== undefined) {
|
|
14125
|
-
contents.Quantity =
|
|
14125
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14126
14126
|
}
|
|
14127
14127
|
if (output.Items === "") {
|
|
14128
14128
|
contents.Items = [];
|
|
14129
14129
|
}
|
|
14130
14130
|
if (output["Items"] !== undefined && output["Items"]["CustomErrorResponse"] !== undefined) {
|
|
14131
|
-
contents.Items = deserializeAws_restXmlCustomErrorResponseList(
|
|
14131
|
+
contents.Items = deserializeAws_restXmlCustomErrorResponseList(smithy_client_1.getArrayIfSingleItem(output["Items"]["CustomErrorResponse"]), context);
|
|
14132
14132
|
}
|
|
14133
14133
|
return contents;
|
|
14134
14134
|
};
|
|
@@ -14138,13 +14138,13 @@ const deserializeAws_restXmlCustomHeaders = (output, context) => {
|
|
|
14138
14138
|
Items: undefined,
|
|
14139
14139
|
};
|
|
14140
14140
|
if (output["Quantity"] !== undefined) {
|
|
14141
|
-
contents.Quantity =
|
|
14141
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14142
14142
|
}
|
|
14143
14143
|
if (output.Items === "") {
|
|
14144
14144
|
contents.Items = [];
|
|
14145
14145
|
}
|
|
14146
14146
|
if (output["Items"] !== undefined && output["Items"]["OriginCustomHeader"] !== undefined) {
|
|
14147
|
-
contents.Items = deserializeAws_restXmlOriginCustomHeadersList(
|
|
14147
|
+
contents.Items = deserializeAws_restXmlOriginCustomHeadersList(smithy_client_1.getArrayIfSingleItem(output["Items"]["OriginCustomHeader"]), context);
|
|
14148
14148
|
}
|
|
14149
14149
|
return contents;
|
|
14150
14150
|
};
|
|
@@ -14158,22 +14158,22 @@ const deserializeAws_restXmlCustomOriginConfig = (output, context) => {
|
|
|
14158
14158
|
OriginKeepaliveTimeout: undefined,
|
|
14159
14159
|
};
|
|
14160
14160
|
if (output["HTTPPort"] !== undefined) {
|
|
14161
|
-
contents.HTTPPort =
|
|
14161
|
+
contents.HTTPPort = smithy_client_1.strictParseInt32(output["HTTPPort"]);
|
|
14162
14162
|
}
|
|
14163
14163
|
if (output["HTTPSPort"] !== undefined) {
|
|
14164
|
-
contents.HTTPSPort =
|
|
14164
|
+
contents.HTTPSPort = smithy_client_1.strictParseInt32(output["HTTPSPort"]);
|
|
14165
14165
|
}
|
|
14166
14166
|
if (output["OriginProtocolPolicy"] !== undefined) {
|
|
14167
|
-
contents.OriginProtocolPolicy =
|
|
14167
|
+
contents.OriginProtocolPolicy = smithy_client_1.expectString(output["OriginProtocolPolicy"]);
|
|
14168
14168
|
}
|
|
14169
14169
|
if (output["OriginSslProtocols"] !== undefined) {
|
|
14170
14170
|
contents.OriginSslProtocols = deserializeAws_restXmlOriginSslProtocols(output["OriginSslProtocols"], context);
|
|
14171
14171
|
}
|
|
14172
14172
|
if (output["OriginReadTimeout"] !== undefined) {
|
|
14173
|
-
contents.OriginReadTimeout =
|
|
14173
|
+
contents.OriginReadTimeout = smithy_client_1.strictParseInt32(output["OriginReadTimeout"]);
|
|
14174
14174
|
}
|
|
14175
14175
|
if (output["OriginKeepaliveTimeout"] !== undefined) {
|
|
14176
|
-
contents.OriginKeepaliveTimeout =
|
|
14176
|
+
contents.OriginKeepaliveTimeout = smithy_client_1.strictParseInt32(output["OriginKeepaliveTimeout"]);
|
|
14177
14177
|
}
|
|
14178
14178
|
return contents;
|
|
14179
14179
|
};
|
|
@@ -14198,7 +14198,7 @@ const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
|
|
|
14198
14198
|
MaxTTL: undefined,
|
|
14199
14199
|
};
|
|
14200
14200
|
if (output["TargetOriginId"] !== undefined) {
|
|
14201
|
-
contents.TargetOriginId =
|
|
14201
|
+
contents.TargetOriginId = smithy_client_1.expectString(output["TargetOriginId"]);
|
|
14202
14202
|
}
|
|
14203
14203
|
if (output["TrustedSigners"] !== undefined) {
|
|
14204
14204
|
contents.TrustedSigners = deserializeAws_restXmlTrustedSigners(output["TrustedSigners"], context);
|
|
@@ -14207,16 +14207,16 @@ const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
|
|
|
14207
14207
|
contents.TrustedKeyGroups = deserializeAws_restXmlTrustedKeyGroups(output["TrustedKeyGroups"], context);
|
|
14208
14208
|
}
|
|
14209
14209
|
if (output["ViewerProtocolPolicy"] !== undefined) {
|
|
14210
|
-
contents.ViewerProtocolPolicy =
|
|
14210
|
+
contents.ViewerProtocolPolicy = smithy_client_1.expectString(output["ViewerProtocolPolicy"]);
|
|
14211
14211
|
}
|
|
14212
14212
|
if (output["AllowedMethods"] !== undefined) {
|
|
14213
14213
|
contents.AllowedMethods = deserializeAws_restXmlAllowedMethods(output["AllowedMethods"], context);
|
|
14214
14214
|
}
|
|
14215
14215
|
if (output["SmoothStreaming"] !== undefined) {
|
|
14216
|
-
contents.SmoothStreaming =
|
|
14216
|
+
contents.SmoothStreaming = smithy_client_1.parseBoolean(output["SmoothStreaming"]);
|
|
14217
14217
|
}
|
|
14218
14218
|
if (output["Compress"] !== undefined) {
|
|
14219
|
-
contents.Compress =
|
|
14219
|
+
contents.Compress = smithy_client_1.parseBoolean(output["Compress"]);
|
|
14220
14220
|
}
|
|
14221
14221
|
if (output["LambdaFunctionAssociations"] !== undefined) {
|
|
14222
14222
|
contents.LambdaFunctionAssociations = deserializeAws_restXmlLambdaFunctionAssociations(output["LambdaFunctionAssociations"], context);
|
|
@@ -14225,28 +14225,28 @@ const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
|
|
|
14225
14225
|
contents.FunctionAssociations = deserializeAws_restXmlFunctionAssociations(output["FunctionAssociations"], context);
|
|
14226
14226
|
}
|
|
14227
14227
|
if (output["FieldLevelEncryptionId"] !== undefined) {
|
|
14228
|
-
contents.FieldLevelEncryptionId =
|
|
14228
|
+
contents.FieldLevelEncryptionId = smithy_client_1.expectString(output["FieldLevelEncryptionId"]);
|
|
14229
14229
|
}
|
|
14230
14230
|
if (output["RealtimeLogConfigArn"] !== undefined) {
|
|
14231
|
-
contents.RealtimeLogConfigArn =
|
|
14231
|
+
contents.RealtimeLogConfigArn = smithy_client_1.expectString(output["RealtimeLogConfigArn"]);
|
|
14232
14232
|
}
|
|
14233
14233
|
if (output["CachePolicyId"] !== undefined) {
|
|
14234
|
-
contents.CachePolicyId =
|
|
14234
|
+
contents.CachePolicyId = smithy_client_1.expectString(output["CachePolicyId"]);
|
|
14235
14235
|
}
|
|
14236
14236
|
if (output["OriginRequestPolicyId"] !== undefined) {
|
|
14237
|
-
contents.OriginRequestPolicyId =
|
|
14237
|
+
contents.OriginRequestPolicyId = smithy_client_1.expectString(output["OriginRequestPolicyId"]);
|
|
14238
14238
|
}
|
|
14239
14239
|
if (output["ForwardedValues"] !== undefined) {
|
|
14240
14240
|
contents.ForwardedValues = deserializeAws_restXmlForwardedValues(output["ForwardedValues"], context);
|
|
14241
14241
|
}
|
|
14242
14242
|
if (output["MinTTL"] !== undefined) {
|
|
14243
|
-
contents.MinTTL =
|
|
14243
|
+
contents.MinTTL = smithy_client_1.strictParseLong(output["MinTTL"]);
|
|
14244
14244
|
}
|
|
14245
14245
|
if (output["DefaultTTL"] !== undefined) {
|
|
14246
|
-
contents.DefaultTTL =
|
|
14246
|
+
contents.DefaultTTL = smithy_client_1.strictParseLong(output["DefaultTTL"]);
|
|
14247
14247
|
}
|
|
14248
14248
|
if (output["MaxTTL"] !== undefined) {
|
|
14249
|
-
contents.MaxTTL =
|
|
14249
|
+
contents.MaxTTL = smithy_client_1.strictParseLong(output["MaxTTL"]);
|
|
14250
14250
|
}
|
|
14251
14251
|
return contents;
|
|
14252
14252
|
};
|
|
@@ -14264,22 +14264,22 @@ const deserializeAws_restXmlDistribution = (output, context) => {
|
|
|
14264
14264
|
AliasICPRecordals: undefined,
|
|
14265
14265
|
};
|
|
14266
14266
|
if (output["Id"] !== undefined) {
|
|
14267
|
-
contents.Id =
|
|
14267
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14268
14268
|
}
|
|
14269
14269
|
if (output["ARN"] !== undefined) {
|
|
14270
|
-
contents.ARN =
|
|
14270
|
+
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
14271
14271
|
}
|
|
14272
14272
|
if (output["Status"] !== undefined) {
|
|
14273
|
-
contents.Status =
|
|
14273
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
14274
14274
|
}
|
|
14275
14275
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14276
|
-
contents.LastModifiedTime =
|
|
14276
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14277
14277
|
}
|
|
14278
14278
|
if (output["InProgressInvalidationBatches"] !== undefined) {
|
|
14279
|
-
contents.InProgressInvalidationBatches =
|
|
14279
|
+
contents.InProgressInvalidationBatches = smithy_client_1.strictParseInt32(output["InProgressInvalidationBatches"]);
|
|
14280
14280
|
}
|
|
14281
14281
|
if (output["DomainName"] !== undefined) {
|
|
14282
|
-
contents.DomainName =
|
|
14282
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
14283
14283
|
}
|
|
14284
14284
|
if (output["ActiveTrustedSigners"] !== undefined) {
|
|
14285
14285
|
contents.ActiveTrustedSigners = deserializeAws_restXmlActiveTrustedSigners(output["ActiveTrustedSigners"], context);
|
|
@@ -14294,7 +14294,7 @@ const deserializeAws_restXmlDistribution = (output, context) => {
|
|
|
14294
14294
|
contents.AliasICPRecordals = [];
|
|
14295
14295
|
}
|
|
14296
14296
|
if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
|
|
14297
|
-
contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(
|
|
14297
|
+
contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(smithy_client_1.getArrayIfSingleItem(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
|
|
14298
14298
|
}
|
|
14299
14299
|
return contents;
|
|
14300
14300
|
};
|
|
@@ -14319,13 +14319,13 @@ const deserializeAws_restXmlDistributionConfig = (output, context) => {
|
|
|
14319
14319
|
IsIPV6Enabled: undefined,
|
|
14320
14320
|
};
|
|
14321
14321
|
if (output["CallerReference"] !== undefined) {
|
|
14322
|
-
contents.CallerReference =
|
|
14322
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
14323
14323
|
}
|
|
14324
14324
|
if (output["Aliases"] !== undefined) {
|
|
14325
14325
|
contents.Aliases = deserializeAws_restXmlAliases(output["Aliases"], context);
|
|
14326
14326
|
}
|
|
14327
14327
|
if (output["DefaultRootObject"] !== undefined) {
|
|
14328
|
-
contents.DefaultRootObject =
|
|
14328
|
+
contents.DefaultRootObject = smithy_client_1.expectString(output["DefaultRootObject"]);
|
|
14329
14329
|
}
|
|
14330
14330
|
if (output["Origins"] !== undefined) {
|
|
14331
14331
|
contents.Origins = deserializeAws_restXmlOrigins(output["Origins"], context);
|
|
@@ -14343,16 +14343,16 @@ const deserializeAws_restXmlDistributionConfig = (output, context) => {
|
|
|
14343
14343
|
contents.CustomErrorResponses = deserializeAws_restXmlCustomErrorResponses(output["CustomErrorResponses"], context);
|
|
14344
14344
|
}
|
|
14345
14345
|
if (output["Comment"] !== undefined) {
|
|
14346
|
-
contents.Comment =
|
|
14346
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14347
14347
|
}
|
|
14348
14348
|
if (output["Logging"] !== undefined) {
|
|
14349
14349
|
contents.Logging = deserializeAws_restXmlLoggingConfig(output["Logging"], context);
|
|
14350
14350
|
}
|
|
14351
14351
|
if (output["PriceClass"] !== undefined) {
|
|
14352
|
-
contents.PriceClass =
|
|
14352
|
+
contents.PriceClass = smithy_client_1.expectString(output["PriceClass"]);
|
|
14353
14353
|
}
|
|
14354
14354
|
if (output["Enabled"] !== undefined) {
|
|
14355
|
-
contents.Enabled =
|
|
14355
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
14356
14356
|
}
|
|
14357
14357
|
if (output["ViewerCertificate"] !== undefined) {
|
|
14358
14358
|
contents.ViewerCertificate = deserializeAws_restXmlViewerCertificate(output["ViewerCertificate"], context);
|
|
@@ -14361,13 +14361,13 @@ const deserializeAws_restXmlDistributionConfig = (output, context) => {
|
|
|
14361
14361
|
contents.Restrictions = deserializeAws_restXmlRestrictions(output["Restrictions"], context);
|
|
14362
14362
|
}
|
|
14363
14363
|
if (output["WebACLId"] !== undefined) {
|
|
14364
|
-
contents.WebACLId =
|
|
14364
|
+
contents.WebACLId = smithy_client_1.expectString(output["WebACLId"]);
|
|
14365
14365
|
}
|
|
14366
14366
|
if (output["HttpVersion"] !== undefined) {
|
|
14367
|
-
contents.HttpVersion =
|
|
14367
|
+
contents.HttpVersion = smithy_client_1.expectString(output["HttpVersion"]);
|
|
14368
14368
|
}
|
|
14369
14369
|
if (output["IsIPV6Enabled"] !== undefined) {
|
|
14370
|
-
contents.IsIPV6Enabled =
|
|
14370
|
+
contents.IsIPV6Enabled = smithy_client_1.parseBoolean(output["IsIPV6Enabled"]);
|
|
14371
14371
|
}
|
|
14372
14372
|
return contents;
|
|
14373
14373
|
};
|
|
@@ -14381,25 +14381,25 @@ const deserializeAws_restXmlDistributionIdList = (output, context) => {
|
|
|
14381
14381
|
Items: undefined,
|
|
14382
14382
|
};
|
|
14383
14383
|
if (output["Marker"] !== undefined) {
|
|
14384
|
-
contents.Marker =
|
|
14384
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
14385
14385
|
}
|
|
14386
14386
|
if (output["NextMarker"] !== undefined) {
|
|
14387
|
-
contents.NextMarker =
|
|
14387
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
14388
14388
|
}
|
|
14389
14389
|
if (output["MaxItems"] !== undefined) {
|
|
14390
|
-
contents.MaxItems =
|
|
14390
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
14391
14391
|
}
|
|
14392
14392
|
if (output["IsTruncated"] !== undefined) {
|
|
14393
|
-
contents.IsTruncated =
|
|
14393
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
14394
14394
|
}
|
|
14395
14395
|
if (output["Quantity"] !== undefined) {
|
|
14396
|
-
contents.Quantity =
|
|
14396
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14397
14397
|
}
|
|
14398
14398
|
if (output.Items === "") {
|
|
14399
14399
|
contents.Items = [];
|
|
14400
14400
|
}
|
|
14401
14401
|
if (output["Items"] !== undefined && output["Items"]["DistributionId"] !== undefined) {
|
|
14402
|
-
contents.Items = deserializeAws_restXmlDistributionIdListSummary(
|
|
14402
|
+
contents.Items = deserializeAws_restXmlDistributionIdListSummary(smithy_client_1.getArrayIfSingleItem(output["Items"]["DistributionId"]), context);
|
|
14403
14403
|
}
|
|
14404
14404
|
return contents;
|
|
14405
14405
|
};
|
|
@@ -14410,7 +14410,7 @@ const deserializeAws_restXmlDistributionIdListSummary = (output, context) => {
|
|
|
14410
14410
|
if (entry === null) {
|
|
14411
14411
|
return null;
|
|
14412
14412
|
}
|
|
14413
|
-
return
|
|
14413
|
+
return smithy_client_1.expectString(entry);
|
|
14414
14414
|
});
|
|
14415
14415
|
};
|
|
14416
14416
|
const deserializeAws_restXmlDistributionList = (output, context) => {
|
|
@@ -14423,25 +14423,25 @@ const deserializeAws_restXmlDistributionList = (output, context) => {
|
|
|
14423
14423
|
Items: undefined,
|
|
14424
14424
|
};
|
|
14425
14425
|
if (output["Marker"] !== undefined) {
|
|
14426
|
-
contents.Marker =
|
|
14426
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
14427
14427
|
}
|
|
14428
14428
|
if (output["NextMarker"] !== undefined) {
|
|
14429
|
-
contents.NextMarker =
|
|
14429
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
14430
14430
|
}
|
|
14431
14431
|
if (output["MaxItems"] !== undefined) {
|
|
14432
|
-
contents.MaxItems =
|
|
14432
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
14433
14433
|
}
|
|
14434
14434
|
if (output["IsTruncated"] !== undefined) {
|
|
14435
|
-
contents.IsTruncated =
|
|
14435
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
14436
14436
|
}
|
|
14437
14437
|
if (output["Quantity"] !== undefined) {
|
|
14438
|
-
contents.Quantity =
|
|
14438
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14439
14439
|
}
|
|
14440
14440
|
if (output.Items === "") {
|
|
14441
14441
|
contents.Items = [];
|
|
14442
14442
|
}
|
|
14443
14443
|
if (output["Items"] !== undefined && output["Items"]["DistributionSummary"] !== undefined) {
|
|
14444
|
-
contents.Items = deserializeAws_restXmlDistributionSummaryList(
|
|
14444
|
+
contents.Items = deserializeAws_restXmlDistributionSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["DistributionSummary"]), context);
|
|
14445
14445
|
}
|
|
14446
14446
|
return contents;
|
|
14447
14447
|
};
|
|
@@ -14469,19 +14469,19 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
|
|
|
14469
14469
|
AliasICPRecordals: undefined,
|
|
14470
14470
|
};
|
|
14471
14471
|
if (output["Id"] !== undefined) {
|
|
14472
|
-
contents.Id =
|
|
14472
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14473
14473
|
}
|
|
14474
14474
|
if (output["ARN"] !== undefined) {
|
|
14475
|
-
contents.ARN =
|
|
14475
|
+
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
14476
14476
|
}
|
|
14477
14477
|
if (output["Status"] !== undefined) {
|
|
14478
|
-
contents.Status =
|
|
14478
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
14479
14479
|
}
|
|
14480
14480
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14481
|
-
contents.LastModifiedTime =
|
|
14481
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14482
14482
|
}
|
|
14483
14483
|
if (output["DomainName"] !== undefined) {
|
|
14484
|
-
contents.DomainName =
|
|
14484
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
14485
14485
|
}
|
|
14486
14486
|
if (output["Aliases"] !== undefined) {
|
|
14487
14487
|
contents.Aliases = deserializeAws_restXmlAliases(output["Aliases"], context);
|
|
@@ -14502,13 +14502,13 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
|
|
|
14502
14502
|
contents.CustomErrorResponses = deserializeAws_restXmlCustomErrorResponses(output["CustomErrorResponses"], context);
|
|
14503
14503
|
}
|
|
14504
14504
|
if (output["Comment"] !== undefined) {
|
|
14505
|
-
contents.Comment =
|
|
14505
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14506
14506
|
}
|
|
14507
14507
|
if (output["PriceClass"] !== undefined) {
|
|
14508
|
-
contents.PriceClass =
|
|
14508
|
+
contents.PriceClass = smithy_client_1.expectString(output["PriceClass"]);
|
|
14509
14509
|
}
|
|
14510
14510
|
if (output["Enabled"] !== undefined) {
|
|
14511
|
-
contents.Enabled =
|
|
14511
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
14512
14512
|
}
|
|
14513
14513
|
if (output["ViewerCertificate"] !== undefined) {
|
|
14514
14514
|
contents.ViewerCertificate = deserializeAws_restXmlViewerCertificate(output["ViewerCertificate"], context);
|
|
@@ -14517,19 +14517,19 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
|
|
|
14517
14517
|
contents.Restrictions = deserializeAws_restXmlRestrictions(output["Restrictions"], context);
|
|
14518
14518
|
}
|
|
14519
14519
|
if (output["WebACLId"] !== undefined) {
|
|
14520
|
-
contents.WebACLId =
|
|
14520
|
+
contents.WebACLId = smithy_client_1.expectString(output["WebACLId"]);
|
|
14521
14521
|
}
|
|
14522
14522
|
if (output["HttpVersion"] !== undefined) {
|
|
14523
|
-
contents.HttpVersion =
|
|
14523
|
+
contents.HttpVersion = smithy_client_1.expectString(output["HttpVersion"]);
|
|
14524
14524
|
}
|
|
14525
14525
|
if (output["IsIPV6Enabled"] !== undefined) {
|
|
14526
|
-
contents.IsIPV6Enabled =
|
|
14526
|
+
contents.IsIPV6Enabled = smithy_client_1.parseBoolean(output["IsIPV6Enabled"]);
|
|
14527
14527
|
}
|
|
14528
14528
|
if (output.AliasICPRecordals === "") {
|
|
14529
14529
|
contents.AliasICPRecordals = [];
|
|
14530
14530
|
}
|
|
14531
14531
|
if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
|
|
14532
|
-
contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(
|
|
14532
|
+
contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(smithy_client_1.getArrayIfSingleItem(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
|
|
14533
14533
|
}
|
|
14534
14534
|
return contents;
|
|
14535
14535
|
};
|
|
@@ -14549,13 +14549,13 @@ const deserializeAws_restXmlEncryptionEntities = (output, context) => {
|
|
|
14549
14549
|
Items: undefined,
|
|
14550
14550
|
};
|
|
14551
14551
|
if (output["Quantity"] !== undefined) {
|
|
14552
|
-
contents.Quantity =
|
|
14552
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14553
14553
|
}
|
|
14554
14554
|
if (output.Items === "") {
|
|
14555
14555
|
contents.Items = [];
|
|
14556
14556
|
}
|
|
14557
14557
|
if (output["Items"] !== undefined && output["Items"]["EncryptionEntity"] !== undefined) {
|
|
14558
|
-
contents.Items = deserializeAws_restXmlEncryptionEntityList(
|
|
14558
|
+
contents.Items = deserializeAws_restXmlEncryptionEntityList(smithy_client_1.getArrayIfSingleItem(output["Items"]["EncryptionEntity"]), context);
|
|
14559
14559
|
}
|
|
14560
14560
|
return contents;
|
|
14561
14561
|
};
|
|
@@ -14566,10 +14566,10 @@ const deserializeAws_restXmlEncryptionEntity = (output, context) => {
|
|
|
14566
14566
|
FieldPatterns: undefined,
|
|
14567
14567
|
};
|
|
14568
14568
|
if (output["PublicKeyId"] !== undefined) {
|
|
14569
|
-
contents.PublicKeyId =
|
|
14569
|
+
contents.PublicKeyId = smithy_client_1.expectString(output["PublicKeyId"]);
|
|
14570
14570
|
}
|
|
14571
14571
|
if (output["ProviderId"] !== undefined) {
|
|
14572
|
-
contents.ProviderId =
|
|
14572
|
+
contents.ProviderId = smithy_client_1.expectString(output["ProviderId"]);
|
|
14573
14573
|
}
|
|
14574
14574
|
if (output["FieldPatterns"] !== undefined) {
|
|
14575
14575
|
contents.FieldPatterns = deserializeAws_restXmlFieldPatterns(output["FieldPatterns"], context);
|
|
@@ -14592,7 +14592,7 @@ const deserializeAws_restXmlEndPoint = (output, context) => {
|
|
|
14592
14592
|
KinesisStreamConfig: undefined,
|
|
14593
14593
|
};
|
|
14594
14594
|
if (output["StreamType"] !== undefined) {
|
|
14595
|
-
contents.StreamType =
|
|
14595
|
+
contents.StreamType = smithy_client_1.expectString(output["StreamType"]);
|
|
14596
14596
|
}
|
|
14597
14597
|
if (output["KinesisStreamConfig"] !== undefined) {
|
|
14598
14598
|
contents.KinesisStreamConfig = deserializeAws_restXmlKinesisStreamConfig(output["KinesisStreamConfig"], context);
|
|
@@ -14616,10 +14616,10 @@ const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
|
|
|
14616
14616
|
FieldLevelEncryptionConfig: undefined,
|
|
14617
14617
|
};
|
|
14618
14618
|
if (output["Id"] !== undefined) {
|
|
14619
|
-
contents.Id =
|
|
14619
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14620
14620
|
}
|
|
14621
14621
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14622
|
-
contents.LastModifiedTime =
|
|
14622
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14623
14623
|
}
|
|
14624
14624
|
if (output["FieldLevelEncryptionConfig"] !== undefined) {
|
|
14625
14625
|
contents.FieldLevelEncryptionConfig = deserializeAws_restXmlFieldLevelEncryptionConfig(output["FieldLevelEncryptionConfig"], context);
|
|
@@ -14634,10 +14634,10 @@ const deserializeAws_restXmlFieldLevelEncryptionConfig = (output, context) => {
|
|
|
14634
14634
|
ContentTypeProfileConfig: undefined,
|
|
14635
14635
|
};
|
|
14636
14636
|
if (output["CallerReference"] !== undefined) {
|
|
14637
|
-
contents.CallerReference =
|
|
14637
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
14638
14638
|
}
|
|
14639
14639
|
if (output["Comment"] !== undefined) {
|
|
14640
|
-
contents.Comment =
|
|
14640
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14641
14641
|
}
|
|
14642
14642
|
if (output["QueryArgProfileConfig"] !== undefined) {
|
|
14643
14643
|
contents.QueryArgProfileConfig = deserializeAws_restXmlQueryArgProfileConfig(output["QueryArgProfileConfig"], context);
|
|
@@ -14655,19 +14655,19 @@ const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
|
|
|
14655
14655
|
Items: undefined,
|
|
14656
14656
|
};
|
|
14657
14657
|
if (output["NextMarker"] !== undefined) {
|
|
14658
|
-
contents.NextMarker =
|
|
14658
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
14659
14659
|
}
|
|
14660
14660
|
if (output["MaxItems"] !== undefined) {
|
|
14661
|
-
contents.MaxItems =
|
|
14661
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
14662
14662
|
}
|
|
14663
14663
|
if (output["Quantity"] !== undefined) {
|
|
14664
|
-
contents.Quantity =
|
|
14664
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14665
14665
|
}
|
|
14666
14666
|
if (output.Items === "") {
|
|
14667
14667
|
contents.Items = [];
|
|
14668
14668
|
}
|
|
14669
14669
|
if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionSummary"] !== undefined) {
|
|
14670
|
-
contents.Items = deserializeAws_restXmlFieldLevelEncryptionSummaryList(
|
|
14670
|
+
contents.Items = deserializeAws_restXmlFieldLevelEncryptionSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["FieldLevelEncryptionSummary"]), context);
|
|
14671
14671
|
}
|
|
14672
14672
|
return contents;
|
|
14673
14673
|
};
|
|
@@ -14678,10 +14678,10 @@ const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
|
|
|
14678
14678
|
FieldLevelEncryptionProfileConfig: undefined,
|
|
14679
14679
|
};
|
|
14680
14680
|
if (output["Id"] !== undefined) {
|
|
14681
|
-
contents.Id =
|
|
14681
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14682
14682
|
}
|
|
14683
14683
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14684
|
-
contents.LastModifiedTime =
|
|
14684
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14685
14685
|
}
|
|
14686
14686
|
if (output["FieldLevelEncryptionProfileConfig"] !== undefined) {
|
|
14687
14687
|
contents.FieldLevelEncryptionProfileConfig = deserializeAws_restXmlFieldLevelEncryptionProfileConfig(output["FieldLevelEncryptionProfileConfig"], context);
|
|
@@ -14696,13 +14696,13 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileConfig = (output, context
|
|
|
14696
14696
|
EncryptionEntities: undefined,
|
|
14697
14697
|
};
|
|
14698
14698
|
if (output["Name"] !== undefined) {
|
|
14699
|
-
contents.Name =
|
|
14699
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
14700
14700
|
}
|
|
14701
14701
|
if (output["CallerReference"] !== undefined) {
|
|
14702
|
-
contents.CallerReference =
|
|
14702
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
14703
14703
|
}
|
|
14704
14704
|
if (output["Comment"] !== undefined) {
|
|
14705
|
-
contents.Comment =
|
|
14705
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14706
14706
|
}
|
|
14707
14707
|
if (output["EncryptionEntities"] !== undefined) {
|
|
14708
14708
|
contents.EncryptionEntities = deserializeAws_restXmlEncryptionEntities(output["EncryptionEntities"], context);
|
|
@@ -14717,19 +14717,19 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context)
|
|
|
14717
14717
|
Items: undefined,
|
|
14718
14718
|
};
|
|
14719
14719
|
if (output["NextMarker"] !== undefined) {
|
|
14720
|
-
contents.NextMarker =
|
|
14720
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
14721
14721
|
}
|
|
14722
14722
|
if (output["MaxItems"] !== undefined) {
|
|
14723
|
-
contents.MaxItems =
|
|
14723
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
14724
14724
|
}
|
|
14725
14725
|
if (output["Quantity"] !== undefined) {
|
|
14726
|
-
contents.Quantity =
|
|
14726
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14727
14727
|
}
|
|
14728
14728
|
if (output.Items === "") {
|
|
14729
14729
|
contents.Items = [];
|
|
14730
14730
|
}
|
|
14731
14731
|
if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionProfileSummary"] !== undefined) {
|
|
14732
|
-
contents.Items = deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList(
|
|
14732
|
+
contents.Items = deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["FieldLevelEncryptionProfileSummary"]), context);
|
|
14733
14733
|
}
|
|
14734
14734
|
return contents;
|
|
14735
14735
|
};
|
|
@@ -14742,19 +14742,19 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSummary = (output, contex
|
|
|
14742
14742
|
Comment: undefined,
|
|
14743
14743
|
};
|
|
14744
14744
|
if (output["Id"] !== undefined) {
|
|
14745
|
-
contents.Id =
|
|
14745
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14746
14746
|
}
|
|
14747
14747
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14748
|
-
contents.LastModifiedTime =
|
|
14748
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14749
14749
|
}
|
|
14750
14750
|
if (output["Name"] !== undefined) {
|
|
14751
|
-
contents.Name =
|
|
14751
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
14752
14752
|
}
|
|
14753
14753
|
if (output["EncryptionEntities"] !== undefined) {
|
|
14754
14754
|
contents.EncryptionEntities = deserializeAws_restXmlEncryptionEntities(output["EncryptionEntities"], context);
|
|
14755
14755
|
}
|
|
14756
14756
|
if (output["Comment"] !== undefined) {
|
|
14757
|
-
contents.Comment =
|
|
14757
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14758
14758
|
}
|
|
14759
14759
|
return contents;
|
|
14760
14760
|
};
|
|
@@ -14777,13 +14777,13 @@ const deserializeAws_restXmlFieldLevelEncryptionSummary = (output, context) => {
|
|
|
14777
14777
|
ContentTypeProfileConfig: undefined,
|
|
14778
14778
|
};
|
|
14779
14779
|
if (output["Id"] !== undefined) {
|
|
14780
|
-
contents.Id =
|
|
14780
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14781
14781
|
}
|
|
14782
14782
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14783
|
-
contents.LastModifiedTime =
|
|
14783
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14784
14784
|
}
|
|
14785
14785
|
if (output["Comment"] !== undefined) {
|
|
14786
|
-
contents.Comment =
|
|
14786
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14787
14787
|
}
|
|
14788
14788
|
if (output["QueryArgProfileConfig"] !== undefined) {
|
|
14789
14789
|
contents.QueryArgProfileConfig = deserializeAws_restXmlQueryArgProfileConfig(output["QueryArgProfileConfig"], context);
|
|
@@ -14810,7 +14810,7 @@ const deserializeAws_restXmlFieldList = (output, context) => {
|
|
|
14810
14810
|
if (entry === null) {
|
|
14811
14811
|
return null;
|
|
14812
14812
|
}
|
|
14813
|
-
return
|
|
14813
|
+
return smithy_client_1.expectString(entry);
|
|
14814
14814
|
});
|
|
14815
14815
|
};
|
|
14816
14816
|
const deserializeAws_restXmlFieldPatternList = (output, context) => {
|
|
@@ -14820,7 +14820,7 @@ const deserializeAws_restXmlFieldPatternList = (output, context) => {
|
|
|
14820
14820
|
if (entry === null) {
|
|
14821
14821
|
return null;
|
|
14822
14822
|
}
|
|
14823
|
-
return
|
|
14823
|
+
return smithy_client_1.expectString(entry);
|
|
14824
14824
|
});
|
|
14825
14825
|
};
|
|
14826
14826
|
const deserializeAws_restXmlFieldPatterns = (output, context) => {
|
|
@@ -14829,13 +14829,13 @@ const deserializeAws_restXmlFieldPatterns = (output, context) => {
|
|
|
14829
14829
|
Items: undefined,
|
|
14830
14830
|
};
|
|
14831
14831
|
if (output["Quantity"] !== undefined) {
|
|
14832
|
-
contents.Quantity =
|
|
14832
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14833
14833
|
}
|
|
14834
14834
|
if (output.Items === "") {
|
|
14835
14835
|
contents.Items = [];
|
|
14836
14836
|
}
|
|
14837
14837
|
if (output["Items"] !== undefined && output["Items"]["FieldPattern"] !== undefined) {
|
|
14838
|
-
contents.Items = deserializeAws_restXmlFieldPatternList(
|
|
14838
|
+
contents.Items = deserializeAws_restXmlFieldPatternList(smithy_client_1.getArrayIfSingleItem(output["Items"]["FieldPattern"]), context);
|
|
14839
14839
|
}
|
|
14840
14840
|
return contents;
|
|
14841
14841
|
};
|
|
@@ -14847,7 +14847,7 @@ const deserializeAws_restXmlForwardedValues = (output, context) => {
|
|
|
14847
14847
|
QueryStringCacheKeys: undefined,
|
|
14848
14848
|
};
|
|
14849
14849
|
if (output["QueryString"] !== undefined) {
|
|
14850
|
-
contents.QueryString =
|
|
14850
|
+
contents.QueryString = smithy_client_1.parseBoolean(output["QueryString"]);
|
|
14851
14851
|
}
|
|
14852
14852
|
if (output["Cookies"] !== undefined) {
|
|
14853
14853
|
contents.Cookies = deserializeAws_restXmlCookiePreference(output["Cookies"], context);
|
|
@@ -14866,10 +14866,10 @@ const deserializeAws_restXmlFunctionAssociation = (output, context) => {
|
|
|
14866
14866
|
EventType: undefined,
|
|
14867
14867
|
};
|
|
14868
14868
|
if (output["FunctionARN"] !== undefined) {
|
|
14869
|
-
contents.FunctionARN =
|
|
14869
|
+
contents.FunctionARN = smithy_client_1.expectString(output["FunctionARN"]);
|
|
14870
14870
|
}
|
|
14871
14871
|
if (output["EventType"] !== undefined) {
|
|
14872
|
-
contents.EventType =
|
|
14872
|
+
contents.EventType = smithy_client_1.expectString(output["EventType"]);
|
|
14873
14873
|
}
|
|
14874
14874
|
return contents;
|
|
14875
14875
|
};
|
|
@@ -14889,13 +14889,13 @@ const deserializeAws_restXmlFunctionAssociations = (output, context) => {
|
|
|
14889
14889
|
Items: undefined,
|
|
14890
14890
|
};
|
|
14891
14891
|
if (output["Quantity"] !== undefined) {
|
|
14892
|
-
contents.Quantity =
|
|
14892
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14893
14893
|
}
|
|
14894
14894
|
if (output.Items === "") {
|
|
14895
14895
|
contents.Items = [];
|
|
14896
14896
|
}
|
|
14897
14897
|
if (output["Items"] !== undefined && output["Items"]["FunctionAssociation"] !== undefined) {
|
|
14898
|
-
contents.Items = deserializeAws_restXmlFunctionAssociationList(
|
|
14898
|
+
contents.Items = deserializeAws_restXmlFunctionAssociationList(smithy_client_1.getArrayIfSingleItem(output["Items"]["FunctionAssociation"]), context);
|
|
14899
14899
|
}
|
|
14900
14900
|
return contents;
|
|
14901
14901
|
};
|
|
@@ -14905,10 +14905,10 @@ const deserializeAws_restXmlFunctionConfig = (output, context) => {
|
|
|
14905
14905
|
Runtime: undefined,
|
|
14906
14906
|
};
|
|
14907
14907
|
if (output["Comment"] !== undefined) {
|
|
14908
|
-
contents.Comment =
|
|
14908
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
14909
14909
|
}
|
|
14910
14910
|
if (output["Runtime"] !== undefined) {
|
|
14911
|
-
contents.Runtime =
|
|
14911
|
+
contents.Runtime = smithy_client_1.expectString(output["Runtime"]);
|
|
14912
14912
|
}
|
|
14913
14913
|
return contents;
|
|
14914
14914
|
};
|
|
@@ -14919,7 +14919,7 @@ const deserializeAws_restXmlFunctionExecutionLogList = (output, context) => {
|
|
|
14919
14919
|
if (entry === null) {
|
|
14920
14920
|
return null;
|
|
14921
14921
|
}
|
|
14922
|
-
return
|
|
14922
|
+
return smithy_client_1.expectString(entry);
|
|
14923
14923
|
});
|
|
14924
14924
|
};
|
|
14925
14925
|
const deserializeAws_restXmlFunctionList = (output, context) => {
|
|
@@ -14930,19 +14930,19 @@ const deserializeAws_restXmlFunctionList = (output, context) => {
|
|
|
14930
14930
|
Items: undefined,
|
|
14931
14931
|
};
|
|
14932
14932
|
if (output["NextMarker"] !== undefined) {
|
|
14933
|
-
contents.NextMarker =
|
|
14933
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
14934
14934
|
}
|
|
14935
14935
|
if (output["MaxItems"] !== undefined) {
|
|
14936
|
-
contents.MaxItems =
|
|
14936
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
14937
14937
|
}
|
|
14938
14938
|
if (output["Quantity"] !== undefined) {
|
|
14939
|
-
contents.Quantity =
|
|
14939
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
14940
14940
|
}
|
|
14941
14941
|
if (output.Items === "") {
|
|
14942
14942
|
contents.Items = [];
|
|
14943
14943
|
}
|
|
14944
14944
|
if (output["Items"] !== undefined && output["Items"]["FunctionSummary"] !== undefined) {
|
|
14945
|
-
contents.Items = deserializeAws_restXmlFunctionSummaryList(
|
|
14945
|
+
contents.Items = deserializeAws_restXmlFunctionSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["FunctionSummary"]), context);
|
|
14946
14946
|
}
|
|
14947
14947
|
return contents;
|
|
14948
14948
|
};
|
|
@@ -14954,16 +14954,16 @@ const deserializeAws_restXmlFunctionMetadata = (output, context) => {
|
|
|
14954
14954
|
LastModifiedTime: undefined,
|
|
14955
14955
|
};
|
|
14956
14956
|
if (output["FunctionARN"] !== undefined) {
|
|
14957
|
-
contents.FunctionARN =
|
|
14957
|
+
contents.FunctionARN = smithy_client_1.expectString(output["FunctionARN"]);
|
|
14958
14958
|
}
|
|
14959
14959
|
if (output["Stage"] !== undefined) {
|
|
14960
|
-
contents.Stage =
|
|
14960
|
+
contents.Stage = smithy_client_1.expectString(output["Stage"]);
|
|
14961
14961
|
}
|
|
14962
14962
|
if (output["CreatedTime"] !== undefined) {
|
|
14963
|
-
contents.CreatedTime =
|
|
14963
|
+
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
14964
14964
|
}
|
|
14965
14965
|
if (output["LastModifiedTime"] !== undefined) {
|
|
14966
|
-
contents.LastModifiedTime =
|
|
14966
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
14967
14967
|
}
|
|
14968
14968
|
return contents;
|
|
14969
14969
|
};
|
|
@@ -14975,10 +14975,10 @@ const deserializeAws_restXmlFunctionSummary = (output, context) => {
|
|
|
14975
14975
|
FunctionMetadata: undefined,
|
|
14976
14976
|
};
|
|
14977
14977
|
if (output["Name"] !== undefined) {
|
|
14978
|
-
contents.Name =
|
|
14978
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
14979
14979
|
}
|
|
14980
14980
|
if (output["Status"] !== undefined) {
|
|
14981
|
-
contents.Status =
|
|
14981
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
14982
14982
|
}
|
|
14983
14983
|
if (output["FunctionConfig"] !== undefined) {
|
|
14984
14984
|
contents.FunctionConfig = deserializeAws_restXmlFunctionConfig(output["FunctionConfig"], context);
|
|
@@ -15005,16 +15005,16 @@ const deserializeAws_restXmlGeoRestriction = (output, context) => {
|
|
|
15005
15005
|
Items: undefined,
|
|
15006
15006
|
};
|
|
15007
15007
|
if (output["RestrictionType"] !== undefined) {
|
|
15008
|
-
contents.RestrictionType =
|
|
15008
|
+
contents.RestrictionType = smithy_client_1.expectString(output["RestrictionType"]);
|
|
15009
15009
|
}
|
|
15010
15010
|
if (output["Quantity"] !== undefined) {
|
|
15011
|
-
contents.Quantity =
|
|
15011
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15012
15012
|
}
|
|
15013
15013
|
if (output.Items === "") {
|
|
15014
15014
|
contents.Items = [];
|
|
15015
15015
|
}
|
|
15016
15016
|
if (output["Items"] !== undefined && output["Items"]["Location"] !== undefined) {
|
|
15017
|
-
contents.Items = deserializeAws_restXmlLocationList(
|
|
15017
|
+
contents.Items = deserializeAws_restXmlLocationList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Location"]), context);
|
|
15018
15018
|
}
|
|
15019
15019
|
return contents;
|
|
15020
15020
|
};
|
|
@@ -15025,7 +15025,7 @@ const deserializeAws_restXmlHeaderList = (output, context) => {
|
|
|
15025
15025
|
if (entry === null) {
|
|
15026
15026
|
return null;
|
|
15027
15027
|
}
|
|
15028
|
-
return
|
|
15028
|
+
return smithy_client_1.expectString(entry);
|
|
15029
15029
|
});
|
|
15030
15030
|
};
|
|
15031
15031
|
const deserializeAws_restXmlHeaders = (output, context) => {
|
|
@@ -15034,13 +15034,13 @@ const deserializeAws_restXmlHeaders = (output, context) => {
|
|
|
15034
15034
|
Items: undefined,
|
|
15035
15035
|
};
|
|
15036
15036
|
if (output["Quantity"] !== undefined) {
|
|
15037
|
-
contents.Quantity =
|
|
15037
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15038
15038
|
}
|
|
15039
15039
|
if (output.Items === "") {
|
|
15040
15040
|
contents.Items = [];
|
|
15041
15041
|
}
|
|
15042
15042
|
if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
|
|
15043
|
-
contents.Items = deserializeAws_restXmlHeaderList(
|
|
15043
|
+
contents.Items = deserializeAws_restXmlHeaderList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Name"]), context);
|
|
15044
15044
|
}
|
|
15045
15045
|
return contents;
|
|
15046
15046
|
};
|
|
@@ -15052,13 +15052,13 @@ const deserializeAws_restXmlInvalidation = (output, context) => {
|
|
|
15052
15052
|
InvalidationBatch: undefined,
|
|
15053
15053
|
};
|
|
15054
15054
|
if (output["Id"] !== undefined) {
|
|
15055
|
-
contents.Id =
|
|
15055
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15056
15056
|
}
|
|
15057
15057
|
if (output["Status"] !== undefined) {
|
|
15058
|
-
contents.Status =
|
|
15058
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
15059
15059
|
}
|
|
15060
15060
|
if (output["CreateTime"] !== undefined) {
|
|
15061
|
-
contents.CreateTime =
|
|
15061
|
+
contents.CreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateTime"]));
|
|
15062
15062
|
}
|
|
15063
15063
|
if (output["InvalidationBatch"] !== undefined) {
|
|
15064
15064
|
contents.InvalidationBatch = deserializeAws_restXmlInvalidationBatch(output["InvalidationBatch"], context);
|
|
@@ -15074,7 +15074,7 @@ const deserializeAws_restXmlInvalidationBatch = (output, context) => {
|
|
|
15074
15074
|
contents.Paths = deserializeAws_restXmlPaths(output["Paths"], context);
|
|
15075
15075
|
}
|
|
15076
15076
|
if (output["CallerReference"] !== undefined) {
|
|
15077
|
-
contents.CallerReference =
|
|
15077
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
15078
15078
|
}
|
|
15079
15079
|
return contents;
|
|
15080
15080
|
};
|
|
@@ -15088,25 +15088,25 @@ const deserializeAws_restXmlInvalidationList = (output, context) => {
|
|
|
15088
15088
|
Items: undefined,
|
|
15089
15089
|
};
|
|
15090
15090
|
if (output["Marker"] !== undefined) {
|
|
15091
|
-
contents.Marker =
|
|
15091
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15092
15092
|
}
|
|
15093
15093
|
if (output["NextMarker"] !== undefined) {
|
|
15094
|
-
contents.NextMarker =
|
|
15094
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
15095
15095
|
}
|
|
15096
15096
|
if (output["MaxItems"] !== undefined) {
|
|
15097
|
-
contents.MaxItems =
|
|
15097
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
15098
15098
|
}
|
|
15099
15099
|
if (output["IsTruncated"] !== undefined) {
|
|
15100
|
-
contents.IsTruncated =
|
|
15100
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15101
15101
|
}
|
|
15102
15102
|
if (output["Quantity"] !== undefined) {
|
|
15103
|
-
contents.Quantity =
|
|
15103
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15104
15104
|
}
|
|
15105
15105
|
if (output.Items === "") {
|
|
15106
15106
|
contents.Items = [];
|
|
15107
15107
|
}
|
|
15108
15108
|
if (output["Items"] !== undefined && output["Items"]["InvalidationSummary"] !== undefined) {
|
|
15109
|
-
contents.Items = deserializeAws_restXmlInvalidationSummaryList(
|
|
15109
|
+
contents.Items = deserializeAws_restXmlInvalidationSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["InvalidationSummary"]), context);
|
|
15110
15110
|
}
|
|
15111
15111
|
return contents;
|
|
15112
15112
|
};
|
|
@@ -15117,13 +15117,13 @@ const deserializeAws_restXmlInvalidationSummary = (output, context) => {
|
|
|
15117
15117
|
Status: undefined,
|
|
15118
15118
|
};
|
|
15119
15119
|
if (output["Id"] !== undefined) {
|
|
15120
|
-
contents.Id =
|
|
15120
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15121
15121
|
}
|
|
15122
15122
|
if (output["CreateTime"] !== undefined) {
|
|
15123
|
-
contents.CreateTime =
|
|
15123
|
+
contents.CreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateTime"]));
|
|
15124
15124
|
}
|
|
15125
15125
|
if (output["Status"] !== undefined) {
|
|
15126
|
-
contents.Status =
|
|
15126
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
15127
15127
|
}
|
|
15128
15128
|
return contents;
|
|
15129
15129
|
};
|
|
@@ -15144,10 +15144,10 @@ const deserializeAws_restXmlKeyGroup = (output, context) => {
|
|
|
15144
15144
|
KeyGroupConfig: undefined,
|
|
15145
15145
|
};
|
|
15146
15146
|
if (output["Id"] !== undefined) {
|
|
15147
|
-
contents.Id =
|
|
15147
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15148
15148
|
}
|
|
15149
15149
|
if (output["LastModifiedTime"] !== undefined) {
|
|
15150
|
-
contents.LastModifiedTime =
|
|
15150
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
15151
15151
|
}
|
|
15152
15152
|
if (output["KeyGroupConfig"] !== undefined) {
|
|
15153
15153
|
contents.KeyGroupConfig = deserializeAws_restXmlKeyGroupConfig(output["KeyGroupConfig"], context);
|
|
@@ -15161,16 +15161,16 @@ const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
|
|
|
15161
15161
|
Comment: undefined,
|
|
15162
15162
|
};
|
|
15163
15163
|
if (output["Name"] !== undefined) {
|
|
15164
|
-
contents.Name =
|
|
15164
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
15165
15165
|
}
|
|
15166
15166
|
if (output.Items === "") {
|
|
15167
15167
|
contents.Items = [];
|
|
15168
15168
|
}
|
|
15169
15169
|
if (output["Items"] !== undefined && output["Items"]["PublicKey"] !== undefined) {
|
|
15170
|
-
contents.Items = deserializeAws_restXmlPublicKeyIdList(
|
|
15170
|
+
contents.Items = deserializeAws_restXmlPublicKeyIdList(smithy_client_1.getArrayIfSingleItem(output["Items"]["PublicKey"]), context);
|
|
15171
15171
|
}
|
|
15172
15172
|
if (output["Comment"] !== undefined) {
|
|
15173
|
-
contents.Comment =
|
|
15173
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
15174
15174
|
}
|
|
15175
15175
|
return contents;
|
|
15176
15176
|
};
|
|
@@ -15182,19 +15182,19 @@ const deserializeAws_restXmlKeyGroupList = (output, context) => {
|
|
|
15182
15182
|
Items: undefined,
|
|
15183
15183
|
};
|
|
15184
15184
|
if (output["NextMarker"] !== undefined) {
|
|
15185
|
-
contents.NextMarker =
|
|
15185
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
15186
15186
|
}
|
|
15187
15187
|
if (output["MaxItems"] !== undefined) {
|
|
15188
|
-
contents.MaxItems =
|
|
15188
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
15189
15189
|
}
|
|
15190
15190
|
if (output["Quantity"] !== undefined) {
|
|
15191
|
-
contents.Quantity =
|
|
15191
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15192
15192
|
}
|
|
15193
15193
|
if (output.Items === "") {
|
|
15194
15194
|
contents.Items = [];
|
|
15195
15195
|
}
|
|
15196
15196
|
if (output["Items"] !== undefined && output["Items"]["KeyGroupSummary"] !== undefined) {
|
|
15197
|
-
contents.Items = deserializeAws_restXmlKeyGroupSummaryList(
|
|
15197
|
+
contents.Items = deserializeAws_restXmlKeyGroupSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["KeyGroupSummary"]), context);
|
|
15198
15198
|
}
|
|
15199
15199
|
return contents;
|
|
15200
15200
|
};
|
|
@@ -15224,7 +15224,7 @@ const deserializeAws_restXmlKeyPairIdList = (output, context) => {
|
|
|
15224
15224
|
if (entry === null) {
|
|
15225
15225
|
return null;
|
|
15226
15226
|
}
|
|
15227
|
-
return
|
|
15227
|
+
return smithy_client_1.expectString(entry);
|
|
15228
15228
|
});
|
|
15229
15229
|
};
|
|
15230
15230
|
const deserializeAws_restXmlKeyPairIds = (output, context) => {
|
|
@@ -15233,13 +15233,13 @@ const deserializeAws_restXmlKeyPairIds = (output, context) => {
|
|
|
15233
15233
|
Items: undefined,
|
|
15234
15234
|
};
|
|
15235
15235
|
if (output["Quantity"] !== undefined) {
|
|
15236
|
-
contents.Quantity =
|
|
15236
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15237
15237
|
}
|
|
15238
15238
|
if (output.Items === "") {
|
|
15239
15239
|
contents.Items = [];
|
|
15240
15240
|
}
|
|
15241
15241
|
if (output["Items"] !== undefined && output["Items"]["KeyPairId"] !== undefined) {
|
|
15242
|
-
contents.Items = deserializeAws_restXmlKeyPairIdList(
|
|
15242
|
+
contents.Items = deserializeAws_restXmlKeyPairIdList(smithy_client_1.getArrayIfSingleItem(output["Items"]["KeyPairId"]), context);
|
|
15243
15243
|
}
|
|
15244
15244
|
return contents;
|
|
15245
15245
|
};
|
|
@@ -15249,7 +15249,7 @@ const deserializeAws_restXmlKGKeyPairIds = (output, context) => {
|
|
|
15249
15249
|
KeyPairIds: undefined,
|
|
15250
15250
|
};
|
|
15251
15251
|
if (output["KeyGroupId"] !== undefined) {
|
|
15252
|
-
contents.KeyGroupId =
|
|
15252
|
+
contents.KeyGroupId = smithy_client_1.expectString(output["KeyGroupId"]);
|
|
15253
15253
|
}
|
|
15254
15254
|
if (output["KeyPairIds"] !== undefined) {
|
|
15255
15255
|
contents.KeyPairIds = deserializeAws_restXmlKeyPairIds(output["KeyPairIds"], context);
|
|
@@ -15272,10 +15272,10 @@ const deserializeAws_restXmlKinesisStreamConfig = (output, context) => {
|
|
|
15272
15272
|
StreamARN: undefined,
|
|
15273
15273
|
};
|
|
15274
15274
|
if (output["RoleARN"] !== undefined) {
|
|
15275
|
-
contents.RoleARN =
|
|
15275
|
+
contents.RoleARN = smithy_client_1.expectString(output["RoleARN"]);
|
|
15276
15276
|
}
|
|
15277
15277
|
if (output["StreamARN"] !== undefined) {
|
|
15278
|
-
contents.StreamARN =
|
|
15278
|
+
contents.StreamARN = smithy_client_1.expectString(output["StreamARN"]);
|
|
15279
15279
|
}
|
|
15280
15280
|
return contents;
|
|
15281
15281
|
};
|
|
@@ -15286,13 +15286,13 @@ const deserializeAws_restXmlLambdaFunctionAssociation = (output, context) => {
|
|
|
15286
15286
|
IncludeBody: undefined,
|
|
15287
15287
|
};
|
|
15288
15288
|
if (output["LambdaFunctionARN"] !== undefined) {
|
|
15289
|
-
contents.LambdaFunctionARN =
|
|
15289
|
+
contents.LambdaFunctionARN = smithy_client_1.expectString(output["LambdaFunctionARN"]);
|
|
15290
15290
|
}
|
|
15291
15291
|
if (output["EventType"] !== undefined) {
|
|
15292
|
-
contents.EventType =
|
|
15292
|
+
contents.EventType = smithy_client_1.expectString(output["EventType"]);
|
|
15293
15293
|
}
|
|
15294
15294
|
if (output["IncludeBody"] !== undefined) {
|
|
15295
|
-
contents.IncludeBody =
|
|
15295
|
+
contents.IncludeBody = smithy_client_1.parseBoolean(output["IncludeBody"]);
|
|
15296
15296
|
}
|
|
15297
15297
|
return contents;
|
|
15298
15298
|
};
|
|
@@ -15312,13 +15312,13 @@ const deserializeAws_restXmlLambdaFunctionAssociations = (output, context) => {
|
|
|
15312
15312
|
Items: undefined,
|
|
15313
15313
|
};
|
|
15314
15314
|
if (output["Quantity"] !== undefined) {
|
|
15315
|
-
contents.Quantity =
|
|
15315
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15316
15316
|
}
|
|
15317
15317
|
if (output.Items === "") {
|
|
15318
15318
|
contents.Items = [];
|
|
15319
15319
|
}
|
|
15320
15320
|
if (output["Items"] !== undefined && output["Items"]["LambdaFunctionAssociation"] !== undefined) {
|
|
15321
|
-
contents.Items = deserializeAws_restXmlLambdaFunctionAssociationList(
|
|
15321
|
+
contents.Items = deserializeAws_restXmlLambdaFunctionAssociationList(smithy_client_1.getArrayIfSingleItem(output["Items"]["LambdaFunctionAssociation"]), context);
|
|
15322
15322
|
}
|
|
15323
15323
|
return contents;
|
|
15324
15324
|
};
|
|
@@ -15329,7 +15329,7 @@ const deserializeAws_restXmlLocationList = (output, context) => {
|
|
|
15329
15329
|
if (entry === null) {
|
|
15330
15330
|
return null;
|
|
15331
15331
|
}
|
|
15332
|
-
return
|
|
15332
|
+
return smithy_client_1.expectString(entry);
|
|
15333
15333
|
});
|
|
15334
15334
|
};
|
|
15335
15335
|
const deserializeAws_restXmlLoggingConfig = (output, context) => {
|
|
@@ -15340,16 +15340,16 @@ const deserializeAws_restXmlLoggingConfig = (output, context) => {
|
|
|
15340
15340
|
Prefix: undefined,
|
|
15341
15341
|
};
|
|
15342
15342
|
if (output["Enabled"] !== undefined) {
|
|
15343
|
-
contents.Enabled =
|
|
15343
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
15344
15344
|
}
|
|
15345
15345
|
if (output["IncludeCookies"] !== undefined) {
|
|
15346
|
-
contents.IncludeCookies =
|
|
15346
|
+
contents.IncludeCookies = smithy_client_1.parseBoolean(output["IncludeCookies"]);
|
|
15347
15347
|
}
|
|
15348
15348
|
if (output["Bucket"] !== undefined) {
|
|
15349
|
-
contents.Bucket =
|
|
15349
|
+
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
15350
15350
|
}
|
|
15351
15351
|
if (output["Prefix"] !== undefined) {
|
|
15352
|
-
contents.Prefix =
|
|
15352
|
+
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
15353
15353
|
}
|
|
15354
15354
|
return contents;
|
|
15355
15355
|
};
|
|
@@ -15360,7 +15360,7 @@ const deserializeAws_restXmlMethodsList = (output, context) => {
|
|
|
15360
15360
|
if (entry === null) {
|
|
15361
15361
|
return null;
|
|
15362
15362
|
}
|
|
15363
|
-
return
|
|
15363
|
+
return smithy_client_1.expectString(entry);
|
|
15364
15364
|
});
|
|
15365
15365
|
};
|
|
15366
15366
|
const deserializeAws_restXmlMonitoringSubscription = (output, context) => {
|
|
@@ -15385,13 +15385,13 @@ const deserializeAws_restXmlOrigin = (output, context) => {
|
|
|
15385
15385
|
OriginShield: undefined,
|
|
15386
15386
|
};
|
|
15387
15387
|
if (output["Id"] !== undefined) {
|
|
15388
|
-
contents.Id =
|
|
15388
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15389
15389
|
}
|
|
15390
15390
|
if (output["DomainName"] !== undefined) {
|
|
15391
|
-
contents.DomainName =
|
|
15391
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
15392
15392
|
}
|
|
15393
15393
|
if (output["OriginPath"] !== undefined) {
|
|
15394
|
-
contents.OriginPath =
|
|
15394
|
+
contents.OriginPath = smithy_client_1.expectString(output["OriginPath"]);
|
|
15395
15395
|
}
|
|
15396
15396
|
if (output["CustomHeaders"] !== undefined) {
|
|
15397
15397
|
contents.CustomHeaders = deserializeAws_restXmlCustomHeaders(output["CustomHeaders"], context);
|
|
@@ -15403,10 +15403,10 @@ const deserializeAws_restXmlOrigin = (output, context) => {
|
|
|
15403
15403
|
contents.CustomOriginConfig = deserializeAws_restXmlCustomOriginConfig(output["CustomOriginConfig"], context);
|
|
15404
15404
|
}
|
|
15405
15405
|
if (output["ConnectionAttempts"] !== undefined) {
|
|
15406
|
-
contents.ConnectionAttempts =
|
|
15406
|
+
contents.ConnectionAttempts = smithy_client_1.strictParseInt32(output["ConnectionAttempts"]);
|
|
15407
15407
|
}
|
|
15408
15408
|
if (output["ConnectionTimeout"] !== undefined) {
|
|
15409
|
-
contents.ConnectionTimeout =
|
|
15409
|
+
contents.ConnectionTimeout = smithy_client_1.strictParseInt32(output["ConnectionTimeout"]);
|
|
15410
15410
|
}
|
|
15411
15411
|
if (output["OriginShield"] !== undefined) {
|
|
15412
15412
|
contents.OriginShield = deserializeAws_restXmlOriginShield(output["OriginShield"], context);
|
|
@@ -15419,10 +15419,10 @@ const deserializeAws_restXmlOriginCustomHeader = (output, context) => {
|
|
|
15419
15419
|
HeaderValue: undefined,
|
|
15420
15420
|
};
|
|
15421
15421
|
if (output["HeaderName"] !== undefined) {
|
|
15422
|
-
contents.HeaderName =
|
|
15422
|
+
contents.HeaderName = smithy_client_1.expectString(output["HeaderName"]);
|
|
15423
15423
|
}
|
|
15424
15424
|
if (output["HeaderValue"] !== undefined) {
|
|
15425
|
-
contents.HeaderValue =
|
|
15425
|
+
contents.HeaderValue = smithy_client_1.expectString(output["HeaderValue"]);
|
|
15426
15426
|
}
|
|
15427
15427
|
return contents;
|
|
15428
15428
|
};
|
|
@@ -15443,7 +15443,7 @@ const deserializeAws_restXmlOriginGroup = (output, context) => {
|
|
|
15443
15443
|
Members: undefined,
|
|
15444
15444
|
};
|
|
15445
15445
|
if (output["Id"] !== undefined) {
|
|
15446
|
-
contents.Id =
|
|
15446
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15447
15447
|
}
|
|
15448
15448
|
if (output["FailoverCriteria"] !== undefined) {
|
|
15449
15449
|
contents.FailoverCriteria = deserializeAws_restXmlOriginGroupFailoverCriteria(output["FailoverCriteria"], context);
|
|
@@ -15477,7 +15477,7 @@ const deserializeAws_restXmlOriginGroupMember = (output, context) => {
|
|
|
15477
15477
|
OriginId: undefined,
|
|
15478
15478
|
};
|
|
15479
15479
|
if (output["OriginId"] !== undefined) {
|
|
15480
|
-
contents.OriginId =
|
|
15480
|
+
contents.OriginId = smithy_client_1.expectString(output["OriginId"]);
|
|
15481
15481
|
}
|
|
15482
15482
|
return contents;
|
|
15483
15483
|
};
|
|
@@ -15497,13 +15497,13 @@ const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
|
|
|
15497
15497
|
Items: undefined,
|
|
15498
15498
|
};
|
|
15499
15499
|
if (output["Quantity"] !== undefined) {
|
|
15500
|
-
contents.Quantity =
|
|
15500
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15501
15501
|
}
|
|
15502
15502
|
if (output.Items === "") {
|
|
15503
15503
|
contents.Items = [];
|
|
15504
15504
|
}
|
|
15505
15505
|
if (output["Items"] !== undefined && output["Items"]["OriginGroupMember"] !== undefined) {
|
|
15506
|
-
contents.Items = deserializeAws_restXmlOriginGroupMemberList(
|
|
15506
|
+
contents.Items = deserializeAws_restXmlOriginGroupMemberList(smithy_client_1.getArrayIfSingleItem(output["Items"]["OriginGroupMember"]), context);
|
|
15507
15507
|
}
|
|
15508
15508
|
return contents;
|
|
15509
15509
|
};
|
|
@@ -15513,13 +15513,13 @@ const deserializeAws_restXmlOriginGroups = (output, context) => {
|
|
|
15513
15513
|
Items: undefined,
|
|
15514
15514
|
};
|
|
15515
15515
|
if (output["Quantity"] !== undefined) {
|
|
15516
|
-
contents.Quantity =
|
|
15516
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15517
15517
|
}
|
|
15518
15518
|
if (output.Items === "") {
|
|
15519
15519
|
contents.Items = [];
|
|
15520
15520
|
}
|
|
15521
15521
|
if (output["Items"] !== undefined && output["Items"]["OriginGroup"] !== undefined) {
|
|
15522
|
-
contents.Items = deserializeAws_restXmlOriginGroupList(
|
|
15522
|
+
contents.Items = deserializeAws_restXmlOriginGroupList(smithy_client_1.getArrayIfSingleItem(output["Items"]["OriginGroup"]), context);
|
|
15523
15523
|
}
|
|
15524
15524
|
return contents;
|
|
15525
15525
|
};
|
|
@@ -15540,10 +15540,10 @@ const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
|
|
|
15540
15540
|
OriginRequestPolicyConfig: undefined,
|
|
15541
15541
|
};
|
|
15542
15542
|
if (output["Id"] !== undefined) {
|
|
15543
|
-
contents.Id =
|
|
15543
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15544
15544
|
}
|
|
15545
15545
|
if (output["LastModifiedTime"] !== undefined) {
|
|
15546
|
-
contents.LastModifiedTime =
|
|
15546
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
15547
15547
|
}
|
|
15548
15548
|
if (output["OriginRequestPolicyConfig"] !== undefined) {
|
|
15549
15549
|
contents.OriginRequestPolicyConfig = deserializeAws_restXmlOriginRequestPolicyConfig(output["OriginRequestPolicyConfig"], context);
|
|
@@ -15559,10 +15559,10 @@ const deserializeAws_restXmlOriginRequestPolicyConfig = (output, context) => {
|
|
|
15559
15559
|
QueryStringsConfig: undefined,
|
|
15560
15560
|
};
|
|
15561
15561
|
if (output["Comment"] !== undefined) {
|
|
15562
|
-
contents.Comment =
|
|
15562
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
15563
15563
|
}
|
|
15564
15564
|
if (output["Name"] !== undefined) {
|
|
15565
|
-
contents.Name =
|
|
15565
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
15566
15566
|
}
|
|
15567
15567
|
if (output["HeadersConfig"] !== undefined) {
|
|
15568
15568
|
contents.HeadersConfig = deserializeAws_restXmlOriginRequestPolicyHeadersConfig(output["HeadersConfig"], context);
|
|
@@ -15581,7 +15581,7 @@ const deserializeAws_restXmlOriginRequestPolicyCookiesConfig = (output, context)
|
|
|
15581
15581
|
Cookies: undefined,
|
|
15582
15582
|
};
|
|
15583
15583
|
if (output["CookieBehavior"] !== undefined) {
|
|
15584
|
-
contents.CookieBehavior =
|
|
15584
|
+
contents.CookieBehavior = smithy_client_1.expectString(output["CookieBehavior"]);
|
|
15585
15585
|
}
|
|
15586
15586
|
if (output["Cookies"] !== undefined) {
|
|
15587
15587
|
contents.Cookies = deserializeAws_restXmlCookieNames(output["Cookies"], context);
|
|
@@ -15594,7 +15594,7 @@ const deserializeAws_restXmlOriginRequestPolicyHeadersConfig = (output, context)
|
|
|
15594
15594
|
Headers: undefined,
|
|
15595
15595
|
};
|
|
15596
15596
|
if (output["HeaderBehavior"] !== undefined) {
|
|
15597
|
-
contents.HeaderBehavior =
|
|
15597
|
+
contents.HeaderBehavior = smithy_client_1.expectString(output["HeaderBehavior"]);
|
|
15598
15598
|
}
|
|
15599
15599
|
if (output["Headers"] !== undefined) {
|
|
15600
15600
|
contents.Headers = deserializeAws_restXmlHeaders(output["Headers"], context);
|
|
@@ -15609,19 +15609,19 @@ const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
|
|
|
15609
15609
|
Items: undefined,
|
|
15610
15610
|
};
|
|
15611
15611
|
if (output["NextMarker"] !== undefined) {
|
|
15612
|
-
contents.NextMarker =
|
|
15612
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
15613
15613
|
}
|
|
15614
15614
|
if (output["MaxItems"] !== undefined) {
|
|
15615
|
-
contents.MaxItems =
|
|
15615
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
15616
15616
|
}
|
|
15617
15617
|
if (output["Quantity"] !== undefined) {
|
|
15618
|
-
contents.Quantity =
|
|
15618
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15619
15619
|
}
|
|
15620
15620
|
if (output.Items === "") {
|
|
15621
15621
|
contents.Items = [];
|
|
15622
15622
|
}
|
|
15623
15623
|
if (output["Items"] !== undefined && output["Items"]["OriginRequestPolicySummary"] !== undefined) {
|
|
15624
|
-
contents.Items = deserializeAws_restXmlOriginRequestPolicySummaryList(
|
|
15624
|
+
contents.Items = deserializeAws_restXmlOriginRequestPolicySummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["OriginRequestPolicySummary"]), context);
|
|
15625
15625
|
}
|
|
15626
15626
|
return contents;
|
|
15627
15627
|
};
|
|
@@ -15631,7 +15631,7 @@ const deserializeAws_restXmlOriginRequestPolicyQueryStringsConfig = (output, con
|
|
|
15631
15631
|
QueryStrings: undefined,
|
|
15632
15632
|
};
|
|
15633
15633
|
if (output["QueryStringBehavior"] !== undefined) {
|
|
15634
|
-
contents.QueryStringBehavior =
|
|
15634
|
+
contents.QueryStringBehavior = smithy_client_1.expectString(output["QueryStringBehavior"]);
|
|
15635
15635
|
}
|
|
15636
15636
|
if (output["QueryStrings"] !== undefined) {
|
|
15637
15637
|
contents.QueryStrings = deserializeAws_restXmlQueryStringNames(output["QueryStrings"], context);
|
|
@@ -15644,7 +15644,7 @@ const deserializeAws_restXmlOriginRequestPolicySummary = (output, context) => {
|
|
|
15644
15644
|
OriginRequestPolicy: undefined,
|
|
15645
15645
|
};
|
|
15646
15646
|
if (output["Type"] !== undefined) {
|
|
15647
|
-
contents.Type =
|
|
15647
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
15648
15648
|
}
|
|
15649
15649
|
if (output["OriginRequestPolicy"] !== undefined) {
|
|
15650
15650
|
contents.OriginRequestPolicy = deserializeAws_restXmlOriginRequestPolicy(output["OriginRequestPolicy"], context);
|
|
@@ -15667,13 +15667,13 @@ const deserializeAws_restXmlOrigins = (output, context) => {
|
|
|
15667
15667
|
Items: undefined,
|
|
15668
15668
|
};
|
|
15669
15669
|
if (output["Quantity"] !== undefined) {
|
|
15670
|
-
contents.Quantity =
|
|
15670
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15671
15671
|
}
|
|
15672
15672
|
if (output.Items === "") {
|
|
15673
15673
|
contents.Items = [];
|
|
15674
15674
|
}
|
|
15675
15675
|
if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
|
|
15676
|
-
contents.Items = deserializeAws_restXmlOriginList(
|
|
15676
|
+
contents.Items = deserializeAws_restXmlOriginList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Origin"]), context);
|
|
15677
15677
|
}
|
|
15678
15678
|
return contents;
|
|
15679
15679
|
};
|
|
@@ -15683,10 +15683,10 @@ const deserializeAws_restXmlOriginShield = (output, context) => {
|
|
|
15683
15683
|
OriginShieldRegion: undefined,
|
|
15684
15684
|
};
|
|
15685
15685
|
if (output["Enabled"] !== undefined) {
|
|
15686
|
-
contents.Enabled =
|
|
15686
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
15687
15687
|
}
|
|
15688
15688
|
if (output["OriginShieldRegion"] !== undefined) {
|
|
15689
|
-
contents.OriginShieldRegion =
|
|
15689
|
+
contents.OriginShieldRegion = smithy_client_1.expectString(output["OriginShieldRegion"]);
|
|
15690
15690
|
}
|
|
15691
15691
|
return contents;
|
|
15692
15692
|
};
|
|
@@ -15696,13 +15696,13 @@ const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
|
|
|
15696
15696
|
Items: undefined,
|
|
15697
15697
|
};
|
|
15698
15698
|
if (output["Quantity"] !== undefined) {
|
|
15699
|
-
contents.Quantity =
|
|
15699
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15700
15700
|
}
|
|
15701
15701
|
if (output.Items === "") {
|
|
15702
15702
|
contents.Items = [];
|
|
15703
15703
|
}
|
|
15704
15704
|
if (output["Items"] !== undefined && output["Items"]["SslProtocol"] !== undefined) {
|
|
15705
|
-
contents.Items = deserializeAws_restXmlSslProtocolsList(
|
|
15705
|
+
contents.Items = deserializeAws_restXmlSslProtocolsList(smithy_client_1.getArrayIfSingleItem(output["Items"]["SslProtocol"]), context);
|
|
15706
15706
|
}
|
|
15707
15707
|
return contents;
|
|
15708
15708
|
};
|
|
@@ -15715,10 +15715,10 @@ const deserializeAws_restXmlParametersInCacheKeyAndForwardedToOrigin = (output,
|
|
|
15715
15715
|
QueryStringsConfig: undefined,
|
|
15716
15716
|
};
|
|
15717
15717
|
if (output["EnableAcceptEncodingGzip"] !== undefined) {
|
|
15718
|
-
contents.EnableAcceptEncodingGzip =
|
|
15718
|
+
contents.EnableAcceptEncodingGzip = smithy_client_1.parseBoolean(output["EnableAcceptEncodingGzip"]);
|
|
15719
15719
|
}
|
|
15720
15720
|
if (output["EnableAcceptEncodingBrotli"] !== undefined) {
|
|
15721
|
-
contents.EnableAcceptEncodingBrotli =
|
|
15721
|
+
contents.EnableAcceptEncodingBrotli = smithy_client_1.parseBoolean(output["EnableAcceptEncodingBrotli"]);
|
|
15722
15722
|
}
|
|
15723
15723
|
if (output["HeadersConfig"] !== undefined) {
|
|
15724
15724
|
contents.HeadersConfig = deserializeAws_restXmlCachePolicyHeadersConfig(output["HeadersConfig"], context);
|
|
@@ -15738,7 +15738,7 @@ const deserializeAws_restXmlPathList = (output, context) => {
|
|
|
15738
15738
|
if (entry === null) {
|
|
15739
15739
|
return null;
|
|
15740
15740
|
}
|
|
15741
|
-
return
|
|
15741
|
+
return smithy_client_1.expectString(entry);
|
|
15742
15742
|
});
|
|
15743
15743
|
};
|
|
15744
15744
|
const deserializeAws_restXmlPaths = (output, context) => {
|
|
@@ -15747,13 +15747,13 @@ const deserializeAws_restXmlPaths = (output, context) => {
|
|
|
15747
15747
|
Items: undefined,
|
|
15748
15748
|
};
|
|
15749
15749
|
if (output["Quantity"] !== undefined) {
|
|
15750
|
-
contents.Quantity =
|
|
15750
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15751
15751
|
}
|
|
15752
15752
|
if (output.Items === "") {
|
|
15753
15753
|
contents.Items = [];
|
|
15754
15754
|
}
|
|
15755
15755
|
if (output["Items"] !== undefined && output["Items"]["Path"] !== undefined) {
|
|
15756
|
-
contents.Items = deserializeAws_restXmlPathList(
|
|
15756
|
+
contents.Items = deserializeAws_restXmlPathList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Path"]), context);
|
|
15757
15757
|
}
|
|
15758
15758
|
return contents;
|
|
15759
15759
|
};
|
|
@@ -15764,10 +15764,10 @@ const deserializeAws_restXmlPublicKey = (output, context) => {
|
|
|
15764
15764
|
PublicKeyConfig: undefined,
|
|
15765
15765
|
};
|
|
15766
15766
|
if (output["Id"] !== undefined) {
|
|
15767
|
-
contents.Id =
|
|
15767
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15768
15768
|
}
|
|
15769
15769
|
if (output["CreatedTime"] !== undefined) {
|
|
15770
|
-
contents.CreatedTime =
|
|
15770
|
+
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
15771
15771
|
}
|
|
15772
15772
|
if (output["PublicKeyConfig"] !== undefined) {
|
|
15773
15773
|
contents.PublicKeyConfig = deserializeAws_restXmlPublicKeyConfig(output["PublicKeyConfig"], context);
|
|
@@ -15782,16 +15782,16 @@ const deserializeAws_restXmlPublicKeyConfig = (output, context) => {
|
|
|
15782
15782
|
Comment: undefined,
|
|
15783
15783
|
};
|
|
15784
15784
|
if (output["CallerReference"] !== undefined) {
|
|
15785
|
-
contents.CallerReference =
|
|
15785
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
15786
15786
|
}
|
|
15787
15787
|
if (output["Name"] !== undefined) {
|
|
15788
|
-
contents.Name =
|
|
15788
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
15789
15789
|
}
|
|
15790
15790
|
if (output["EncodedKey"] !== undefined) {
|
|
15791
|
-
contents.EncodedKey =
|
|
15791
|
+
contents.EncodedKey = smithy_client_1.expectString(output["EncodedKey"]);
|
|
15792
15792
|
}
|
|
15793
15793
|
if (output["Comment"] !== undefined) {
|
|
15794
|
-
contents.Comment =
|
|
15794
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
15795
15795
|
}
|
|
15796
15796
|
return contents;
|
|
15797
15797
|
};
|
|
@@ -15802,7 +15802,7 @@ const deserializeAws_restXmlPublicKeyIdList = (output, context) => {
|
|
|
15802
15802
|
if (entry === null) {
|
|
15803
15803
|
return null;
|
|
15804
15804
|
}
|
|
15805
|
-
return
|
|
15805
|
+
return smithy_client_1.expectString(entry);
|
|
15806
15806
|
});
|
|
15807
15807
|
};
|
|
15808
15808
|
const deserializeAws_restXmlPublicKeyList = (output, context) => {
|
|
@@ -15813,19 +15813,19 @@ const deserializeAws_restXmlPublicKeyList = (output, context) => {
|
|
|
15813
15813
|
Items: undefined,
|
|
15814
15814
|
};
|
|
15815
15815
|
if (output["NextMarker"] !== undefined) {
|
|
15816
|
-
contents.NextMarker =
|
|
15816
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
15817
15817
|
}
|
|
15818
15818
|
if (output["MaxItems"] !== undefined) {
|
|
15819
|
-
contents.MaxItems =
|
|
15819
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
15820
15820
|
}
|
|
15821
15821
|
if (output["Quantity"] !== undefined) {
|
|
15822
|
-
contents.Quantity =
|
|
15822
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15823
15823
|
}
|
|
15824
15824
|
if (output.Items === "") {
|
|
15825
15825
|
contents.Items = [];
|
|
15826
15826
|
}
|
|
15827
15827
|
if (output["Items"] !== undefined && output["Items"]["PublicKeySummary"] !== undefined) {
|
|
15828
|
-
contents.Items = deserializeAws_restXmlPublicKeySummaryList(
|
|
15828
|
+
contents.Items = deserializeAws_restXmlPublicKeySummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["PublicKeySummary"]), context);
|
|
15829
15829
|
}
|
|
15830
15830
|
return contents;
|
|
15831
15831
|
};
|
|
@@ -15838,19 +15838,19 @@ const deserializeAws_restXmlPublicKeySummary = (output, context) => {
|
|
|
15838
15838
|
Comment: undefined,
|
|
15839
15839
|
};
|
|
15840
15840
|
if (output["Id"] !== undefined) {
|
|
15841
|
-
contents.Id =
|
|
15841
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
15842
15842
|
}
|
|
15843
15843
|
if (output["Name"] !== undefined) {
|
|
15844
|
-
contents.Name =
|
|
15844
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
15845
15845
|
}
|
|
15846
15846
|
if (output["CreatedTime"] !== undefined) {
|
|
15847
|
-
contents.CreatedTime =
|
|
15847
|
+
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
15848
15848
|
}
|
|
15849
15849
|
if (output["EncodedKey"] !== undefined) {
|
|
15850
|
-
contents.EncodedKey =
|
|
15850
|
+
contents.EncodedKey = smithy_client_1.expectString(output["EncodedKey"]);
|
|
15851
15851
|
}
|
|
15852
15852
|
if (output["Comment"] !== undefined) {
|
|
15853
|
-
contents.Comment =
|
|
15853
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
15854
15854
|
}
|
|
15855
15855
|
return contents;
|
|
15856
15856
|
};
|
|
@@ -15870,10 +15870,10 @@ const deserializeAws_restXmlQueryArgProfile = (output, context) => {
|
|
|
15870
15870
|
ProfileId: undefined,
|
|
15871
15871
|
};
|
|
15872
15872
|
if (output["QueryArg"] !== undefined) {
|
|
15873
|
-
contents.QueryArg =
|
|
15873
|
+
contents.QueryArg = smithy_client_1.expectString(output["QueryArg"]);
|
|
15874
15874
|
}
|
|
15875
15875
|
if (output["ProfileId"] !== undefined) {
|
|
15876
|
-
contents.ProfileId =
|
|
15876
|
+
contents.ProfileId = smithy_client_1.expectString(output["ProfileId"]);
|
|
15877
15877
|
}
|
|
15878
15878
|
return contents;
|
|
15879
15879
|
};
|
|
@@ -15883,7 +15883,7 @@ const deserializeAws_restXmlQueryArgProfileConfig = (output, context) => {
|
|
|
15883
15883
|
QueryArgProfiles: undefined,
|
|
15884
15884
|
};
|
|
15885
15885
|
if (output["ForwardWhenQueryArgProfileIsUnknown"] !== undefined) {
|
|
15886
|
-
contents.ForwardWhenQueryArgProfileIsUnknown =
|
|
15886
|
+
contents.ForwardWhenQueryArgProfileIsUnknown = smithy_client_1.parseBoolean(output["ForwardWhenQueryArgProfileIsUnknown"]);
|
|
15887
15887
|
}
|
|
15888
15888
|
if (output["QueryArgProfiles"] !== undefined) {
|
|
15889
15889
|
contents.QueryArgProfiles = deserializeAws_restXmlQueryArgProfiles(output["QueryArgProfiles"], context);
|
|
@@ -15906,13 +15906,13 @@ const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
|
|
|
15906
15906
|
Items: undefined,
|
|
15907
15907
|
};
|
|
15908
15908
|
if (output["Quantity"] !== undefined) {
|
|
15909
|
-
contents.Quantity =
|
|
15909
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15910
15910
|
}
|
|
15911
15911
|
if (output.Items === "") {
|
|
15912
15912
|
contents.Items = [];
|
|
15913
15913
|
}
|
|
15914
15914
|
if (output["Items"] !== undefined && output["Items"]["QueryArgProfile"] !== undefined) {
|
|
15915
|
-
contents.Items = deserializeAws_restXmlQueryArgProfileList(
|
|
15915
|
+
contents.Items = deserializeAws_restXmlQueryArgProfileList(smithy_client_1.getArrayIfSingleItem(output["Items"]["QueryArgProfile"]), context);
|
|
15916
15916
|
}
|
|
15917
15917
|
return contents;
|
|
15918
15918
|
};
|
|
@@ -15922,13 +15922,13 @@ const deserializeAws_restXmlQueryStringCacheKeys = (output, context) => {
|
|
|
15922
15922
|
Items: undefined,
|
|
15923
15923
|
};
|
|
15924
15924
|
if (output["Quantity"] !== undefined) {
|
|
15925
|
-
contents.Quantity =
|
|
15925
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15926
15926
|
}
|
|
15927
15927
|
if (output.Items === "") {
|
|
15928
15928
|
contents.Items = [];
|
|
15929
15929
|
}
|
|
15930
15930
|
if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
|
|
15931
|
-
contents.Items = deserializeAws_restXmlQueryStringCacheKeysList(
|
|
15931
|
+
contents.Items = deserializeAws_restXmlQueryStringCacheKeysList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Name"]), context);
|
|
15932
15932
|
}
|
|
15933
15933
|
return contents;
|
|
15934
15934
|
};
|
|
@@ -15939,7 +15939,7 @@ const deserializeAws_restXmlQueryStringCacheKeysList = (output, context) => {
|
|
|
15939
15939
|
if (entry === null) {
|
|
15940
15940
|
return null;
|
|
15941
15941
|
}
|
|
15942
|
-
return
|
|
15942
|
+
return smithy_client_1.expectString(entry);
|
|
15943
15943
|
});
|
|
15944
15944
|
};
|
|
15945
15945
|
const deserializeAws_restXmlQueryStringNames = (output, context) => {
|
|
@@ -15948,13 +15948,13 @@ const deserializeAws_restXmlQueryStringNames = (output, context) => {
|
|
|
15948
15948
|
Items: undefined,
|
|
15949
15949
|
};
|
|
15950
15950
|
if (output["Quantity"] !== undefined) {
|
|
15951
|
-
contents.Quantity =
|
|
15951
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
15952
15952
|
}
|
|
15953
15953
|
if (output.Items === "") {
|
|
15954
15954
|
contents.Items = [];
|
|
15955
15955
|
}
|
|
15956
15956
|
if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
|
|
15957
|
-
contents.Items = deserializeAws_restXmlQueryStringNamesList(
|
|
15957
|
+
contents.Items = deserializeAws_restXmlQueryStringNamesList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Name"]), context);
|
|
15958
15958
|
}
|
|
15959
15959
|
return contents;
|
|
15960
15960
|
};
|
|
@@ -15965,7 +15965,7 @@ const deserializeAws_restXmlQueryStringNamesList = (output, context) => {
|
|
|
15965
15965
|
if (entry === null) {
|
|
15966
15966
|
return null;
|
|
15967
15967
|
}
|
|
15968
|
-
return
|
|
15968
|
+
return smithy_client_1.expectString(entry);
|
|
15969
15969
|
});
|
|
15970
15970
|
};
|
|
15971
15971
|
const deserializeAws_restXmlRealtimeLogConfig = (output, context) => {
|
|
@@ -15977,25 +15977,25 @@ const deserializeAws_restXmlRealtimeLogConfig = (output, context) => {
|
|
|
15977
15977
|
Fields: undefined,
|
|
15978
15978
|
};
|
|
15979
15979
|
if (output["ARN"] !== undefined) {
|
|
15980
|
-
contents.ARN =
|
|
15980
|
+
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
15981
15981
|
}
|
|
15982
15982
|
if (output["Name"] !== undefined) {
|
|
15983
|
-
contents.Name =
|
|
15983
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
15984
15984
|
}
|
|
15985
15985
|
if (output["SamplingRate"] !== undefined) {
|
|
15986
|
-
contents.SamplingRate =
|
|
15986
|
+
contents.SamplingRate = smithy_client_1.strictParseLong(output["SamplingRate"]);
|
|
15987
15987
|
}
|
|
15988
15988
|
if (output.EndPoints === "") {
|
|
15989
15989
|
contents.EndPoints = [];
|
|
15990
15990
|
}
|
|
15991
15991
|
if (output["EndPoints"] !== undefined && output["EndPoints"]["member"] !== undefined) {
|
|
15992
|
-
contents.EndPoints = deserializeAws_restXmlEndPointList(
|
|
15992
|
+
contents.EndPoints = deserializeAws_restXmlEndPointList(smithy_client_1.getArrayIfSingleItem(output["EndPoints"]["member"]), context);
|
|
15993
15993
|
}
|
|
15994
15994
|
if (output.Fields === "") {
|
|
15995
15995
|
contents.Fields = [];
|
|
15996
15996
|
}
|
|
15997
15997
|
if (output["Fields"] !== undefined && output["Fields"]["Field"] !== undefined) {
|
|
15998
|
-
contents.Fields = deserializeAws_restXmlFieldList(
|
|
15998
|
+
contents.Fields = deserializeAws_restXmlFieldList(smithy_client_1.getArrayIfSingleItem(output["Fields"]["Field"]), context);
|
|
15999
15999
|
}
|
|
16000
16000
|
return contents;
|
|
16001
16001
|
};
|
|
@@ -16018,22 +16018,22 @@ const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
|
|
|
16018
16018
|
NextMarker: undefined,
|
|
16019
16019
|
};
|
|
16020
16020
|
if (output["MaxItems"] !== undefined) {
|
|
16021
|
-
contents.MaxItems =
|
|
16021
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
16022
16022
|
}
|
|
16023
16023
|
if (output.Items === "") {
|
|
16024
16024
|
contents.Items = [];
|
|
16025
16025
|
}
|
|
16026
16026
|
if (output["Items"] !== undefined && output["Items"]["member"] !== undefined) {
|
|
16027
|
-
contents.Items = deserializeAws_restXmlRealtimeLogConfigList(
|
|
16027
|
+
contents.Items = deserializeAws_restXmlRealtimeLogConfigList(smithy_client_1.getArrayIfSingleItem(output["Items"]["member"]), context);
|
|
16028
16028
|
}
|
|
16029
16029
|
if (output["IsTruncated"] !== undefined) {
|
|
16030
|
-
contents.IsTruncated =
|
|
16030
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16031
16031
|
}
|
|
16032
16032
|
if (output["Marker"] !== undefined) {
|
|
16033
|
-
contents.Marker =
|
|
16033
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16034
16034
|
}
|
|
16035
16035
|
if (output["NextMarker"] !== undefined) {
|
|
16036
|
-
contents.NextMarker =
|
|
16036
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
16037
16037
|
}
|
|
16038
16038
|
return contents;
|
|
16039
16039
|
};
|
|
@@ -16042,7 +16042,7 @@ const deserializeAws_restXmlRealtimeMetricsSubscriptionConfig = (output, context
|
|
|
16042
16042
|
RealtimeMetricsSubscriptionStatus: undefined,
|
|
16043
16043
|
};
|
|
16044
16044
|
if (output["RealtimeMetricsSubscriptionStatus"] !== undefined) {
|
|
16045
|
-
contents.RealtimeMetricsSubscriptionStatus =
|
|
16045
|
+
contents.RealtimeMetricsSubscriptionStatus = smithy_client_1.expectString(output["RealtimeMetricsSubscriptionStatus"]);
|
|
16046
16046
|
}
|
|
16047
16047
|
return contents;
|
|
16048
16048
|
};
|
|
@@ -16061,10 +16061,10 @@ const deserializeAws_restXmlS3Origin = (output, context) => {
|
|
|
16061
16061
|
OriginAccessIdentity: undefined,
|
|
16062
16062
|
};
|
|
16063
16063
|
if (output["DomainName"] !== undefined) {
|
|
16064
|
-
contents.DomainName =
|
|
16064
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
16065
16065
|
}
|
|
16066
16066
|
if (output["OriginAccessIdentity"] !== undefined) {
|
|
16067
|
-
contents.OriginAccessIdentity =
|
|
16067
|
+
contents.OriginAccessIdentity = smithy_client_1.expectString(output["OriginAccessIdentity"]);
|
|
16068
16068
|
}
|
|
16069
16069
|
return contents;
|
|
16070
16070
|
};
|
|
@@ -16073,7 +16073,7 @@ const deserializeAws_restXmlS3OriginConfig = (output, context) => {
|
|
|
16073
16073
|
OriginAccessIdentity: undefined,
|
|
16074
16074
|
};
|
|
16075
16075
|
if (output["OriginAccessIdentity"] !== undefined) {
|
|
16076
|
-
contents.OriginAccessIdentity =
|
|
16076
|
+
contents.OriginAccessIdentity = smithy_client_1.expectString(output["OriginAccessIdentity"]);
|
|
16077
16077
|
}
|
|
16078
16078
|
return contents;
|
|
16079
16079
|
};
|
|
@@ -16083,7 +16083,7 @@ const deserializeAws_restXmlSigner = (output, context) => {
|
|
|
16083
16083
|
KeyPairIds: undefined,
|
|
16084
16084
|
};
|
|
16085
16085
|
if (output["AwsAccountNumber"] !== undefined) {
|
|
16086
|
-
contents.AwsAccountNumber =
|
|
16086
|
+
contents.AwsAccountNumber = smithy_client_1.expectString(output["AwsAccountNumber"]);
|
|
16087
16087
|
}
|
|
16088
16088
|
if (output["KeyPairIds"] !== undefined) {
|
|
16089
16089
|
contents.KeyPairIds = deserializeAws_restXmlKeyPairIds(output["KeyPairIds"], context);
|
|
@@ -16107,7 +16107,7 @@ const deserializeAws_restXmlSslProtocolsList = (output, context) => {
|
|
|
16107
16107
|
if (entry === null) {
|
|
16108
16108
|
return null;
|
|
16109
16109
|
}
|
|
16110
|
-
return
|
|
16110
|
+
return smithy_client_1.expectString(entry);
|
|
16111
16111
|
});
|
|
16112
16112
|
};
|
|
16113
16113
|
const deserializeAws_restXmlStatusCodeList = (output, context) => {
|
|
@@ -16117,7 +16117,7 @@ const deserializeAws_restXmlStatusCodeList = (output, context) => {
|
|
|
16117
16117
|
if (entry === null) {
|
|
16118
16118
|
return null;
|
|
16119
16119
|
}
|
|
16120
|
-
return
|
|
16120
|
+
return smithy_client_1.strictParseInt32(entry);
|
|
16121
16121
|
});
|
|
16122
16122
|
};
|
|
16123
16123
|
const deserializeAws_restXmlStatusCodes = (output, context) => {
|
|
@@ -16126,13 +16126,13 @@ const deserializeAws_restXmlStatusCodes = (output, context) => {
|
|
|
16126
16126
|
Items: undefined,
|
|
16127
16127
|
};
|
|
16128
16128
|
if (output["Quantity"] !== undefined) {
|
|
16129
|
-
contents.Quantity =
|
|
16129
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
16130
16130
|
}
|
|
16131
16131
|
if (output.Items === "") {
|
|
16132
16132
|
contents.Items = [];
|
|
16133
16133
|
}
|
|
16134
16134
|
if (output["Items"] !== undefined && output["Items"]["StatusCode"] !== undefined) {
|
|
16135
|
-
contents.Items = deserializeAws_restXmlStatusCodeList(
|
|
16135
|
+
contents.Items = deserializeAws_restXmlStatusCodeList(smithy_client_1.getArrayIfSingleItem(output["Items"]["StatusCode"]), context);
|
|
16136
16136
|
}
|
|
16137
16137
|
return contents;
|
|
16138
16138
|
};
|
|
@@ -16147,19 +16147,19 @@ const deserializeAws_restXmlStreamingDistribution = (output, context) => {
|
|
|
16147
16147
|
StreamingDistributionConfig: undefined,
|
|
16148
16148
|
};
|
|
16149
16149
|
if (output["Id"] !== undefined) {
|
|
16150
|
-
contents.Id =
|
|
16150
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
16151
16151
|
}
|
|
16152
16152
|
if (output["ARN"] !== undefined) {
|
|
16153
|
-
contents.ARN =
|
|
16153
|
+
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
16154
16154
|
}
|
|
16155
16155
|
if (output["Status"] !== undefined) {
|
|
16156
|
-
contents.Status =
|
|
16156
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
16157
16157
|
}
|
|
16158
16158
|
if (output["LastModifiedTime"] !== undefined) {
|
|
16159
|
-
contents.LastModifiedTime =
|
|
16159
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
16160
16160
|
}
|
|
16161
16161
|
if (output["DomainName"] !== undefined) {
|
|
16162
|
-
contents.DomainName =
|
|
16162
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
16163
16163
|
}
|
|
16164
16164
|
if (output["ActiveTrustedSigners"] !== undefined) {
|
|
16165
16165
|
contents.ActiveTrustedSigners = deserializeAws_restXmlActiveTrustedSigners(output["ActiveTrustedSigners"], context);
|
|
@@ -16181,7 +16181,7 @@ const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
|
|
|
16181
16181
|
Enabled: undefined,
|
|
16182
16182
|
};
|
|
16183
16183
|
if (output["CallerReference"] !== undefined) {
|
|
16184
|
-
contents.CallerReference =
|
|
16184
|
+
contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
|
|
16185
16185
|
}
|
|
16186
16186
|
if (output["S3Origin"] !== undefined) {
|
|
16187
16187
|
contents.S3Origin = deserializeAws_restXmlS3Origin(output["S3Origin"], context);
|
|
@@ -16190,7 +16190,7 @@ const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
|
|
|
16190
16190
|
contents.Aliases = deserializeAws_restXmlAliases(output["Aliases"], context);
|
|
16191
16191
|
}
|
|
16192
16192
|
if (output["Comment"] !== undefined) {
|
|
16193
|
-
contents.Comment =
|
|
16193
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
16194
16194
|
}
|
|
16195
16195
|
if (output["Logging"] !== undefined) {
|
|
16196
16196
|
contents.Logging = deserializeAws_restXmlStreamingLoggingConfig(output["Logging"], context);
|
|
@@ -16199,10 +16199,10 @@ const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
|
|
|
16199
16199
|
contents.TrustedSigners = deserializeAws_restXmlTrustedSigners(output["TrustedSigners"], context);
|
|
16200
16200
|
}
|
|
16201
16201
|
if (output["PriceClass"] !== undefined) {
|
|
16202
|
-
contents.PriceClass =
|
|
16202
|
+
contents.PriceClass = smithy_client_1.expectString(output["PriceClass"]);
|
|
16203
16203
|
}
|
|
16204
16204
|
if (output["Enabled"] !== undefined) {
|
|
16205
|
-
contents.Enabled =
|
|
16205
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
16206
16206
|
}
|
|
16207
16207
|
return contents;
|
|
16208
16208
|
};
|
|
@@ -16216,25 +16216,25 @@ const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
|
|
|
16216
16216
|
Items: undefined,
|
|
16217
16217
|
};
|
|
16218
16218
|
if (output["Marker"] !== undefined) {
|
|
16219
|
-
contents.Marker =
|
|
16219
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16220
16220
|
}
|
|
16221
16221
|
if (output["NextMarker"] !== undefined) {
|
|
16222
|
-
contents.NextMarker =
|
|
16222
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
16223
16223
|
}
|
|
16224
16224
|
if (output["MaxItems"] !== undefined) {
|
|
16225
|
-
contents.MaxItems =
|
|
16225
|
+
contents.MaxItems = smithy_client_1.strictParseInt32(output["MaxItems"]);
|
|
16226
16226
|
}
|
|
16227
16227
|
if (output["IsTruncated"] !== undefined) {
|
|
16228
|
-
contents.IsTruncated =
|
|
16228
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16229
16229
|
}
|
|
16230
16230
|
if (output["Quantity"] !== undefined) {
|
|
16231
|
-
contents.Quantity =
|
|
16231
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
16232
16232
|
}
|
|
16233
16233
|
if (output.Items === "") {
|
|
16234
16234
|
contents.Items = [];
|
|
16235
16235
|
}
|
|
16236
16236
|
if (output["Items"] !== undefined && output["Items"]["StreamingDistributionSummary"] !== undefined) {
|
|
16237
|
-
contents.Items = deserializeAws_restXmlStreamingDistributionSummaryList(
|
|
16237
|
+
contents.Items = deserializeAws_restXmlStreamingDistributionSummaryList(smithy_client_1.getArrayIfSingleItem(output["Items"]["StreamingDistributionSummary"]), context);
|
|
16238
16238
|
}
|
|
16239
16239
|
return contents;
|
|
16240
16240
|
};
|
|
@@ -16253,19 +16253,19 @@ const deserializeAws_restXmlStreamingDistributionSummary = (output, context) =>
|
|
|
16253
16253
|
Enabled: undefined,
|
|
16254
16254
|
};
|
|
16255
16255
|
if (output["Id"] !== undefined) {
|
|
16256
|
-
contents.Id =
|
|
16256
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
16257
16257
|
}
|
|
16258
16258
|
if (output["ARN"] !== undefined) {
|
|
16259
|
-
contents.ARN =
|
|
16259
|
+
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
16260
16260
|
}
|
|
16261
16261
|
if (output["Status"] !== undefined) {
|
|
16262
|
-
contents.Status =
|
|
16262
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
16263
16263
|
}
|
|
16264
16264
|
if (output["LastModifiedTime"] !== undefined) {
|
|
16265
|
-
contents.LastModifiedTime =
|
|
16265
|
+
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedTime"]));
|
|
16266
16266
|
}
|
|
16267
16267
|
if (output["DomainName"] !== undefined) {
|
|
16268
|
-
contents.DomainName =
|
|
16268
|
+
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
16269
16269
|
}
|
|
16270
16270
|
if (output["S3Origin"] !== undefined) {
|
|
16271
16271
|
contents.S3Origin = deserializeAws_restXmlS3Origin(output["S3Origin"], context);
|
|
@@ -16277,13 +16277,13 @@ const deserializeAws_restXmlStreamingDistributionSummary = (output, context) =>
|
|
|
16277
16277
|
contents.TrustedSigners = deserializeAws_restXmlTrustedSigners(output["TrustedSigners"], context);
|
|
16278
16278
|
}
|
|
16279
16279
|
if (output["Comment"] !== undefined) {
|
|
16280
|
-
contents.Comment =
|
|
16280
|
+
contents.Comment = smithy_client_1.expectString(output["Comment"]);
|
|
16281
16281
|
}
|
|
16282
16282
|
if (output["PriceClass"] !== undefined) {
|
|
16283
|
-
contents.PriceClass =
|
|
16283
|
+
contents.PriceClass = smithy_client_1.expectString(output["PriceClass"]);
|
|
16284
16284
|
}
|
|
16285
16285
|
if (output["Enabled"] !== undefined) {
|
|
16286
|
-
contents.Enabled =
|
|
16286
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
16287
16287
|
}
|
|
16288
16288
|
return contents;
|
|
16289
16289
|
};
|
|
@@ -16304,13 +16304,13 @@ const deserializeAws_restXmlStreamingLoggingConfig = (output, context) => {
|
|
|
16304
16304
|
Prefix: undefined,
|
|
16305
16305
|
};
|
|
16306
16306
|
if (output["Enabled"] !== undefined) {
|
|
16307
|
-
contents.Enabled =
|
|
16307
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
16308
16308
|
}
|
|
16309
16309
|
if (output["Bucket"] !== undefined) {
|
|
16310
|
-
contents.Bucket =
|
|
16310
|
+
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
16311
16311
|
}
|
|
16312
16312
|
if (output["Prefix"] !== undefined) {
|
|
16313
|
-
contents.Prefix =
|
|
16313
|
+
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
16314
16314
|
}
|
|
16315
16315
|
return contents;
|
|
16316
16316
|
};
|
|
@@ -16320,10 +16320,10 @@ const deserializeAws_restXmlTag = (output, context) => {
|
|
|
16320
16320
|
Value: undefined,
|
|
16321
16321
|
};
|
|
16322
16322
|
if (output["Key"] !== undefined) {
|
|
16323
|
-
contents.Key =
|
|
16323
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
16324
16324
|
}
|
|
16325
16325
|
if (output["Value"] !== undefined) {
|
|
16326
|
-
contents.Value =
|
|
16326
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
16327
16327
|
}
|
|
16328
16328
|
return contents;
|
|
16329
16329
|
};
|
|
@@ -16345,7 +16345,7 @@ const deserializeAws_restXmlTags = (output, context) => {
|
|
|
16345
16345
|
contents.Items = [];
|
|
16346
16346
|
}
|
|
16347
16347
|
if (output["Items"] !== undefined && output["Items"]["Tag"] !== undefined) {
|
|
16348
|
-
contents.Items = deserializeAws_restXmlTagList(
|
|
16348
|
+
contents.Items = deserializeAws_restXmlTagList(smithy_client_1.getArrayIfSingleItem(output["Items"]["Tag"]), context);
|
|
16349
16349
|
}
|
|
16350
16350
|
return contents;
|
|
16351
16351
|
};
|
|
@@ -16361,19 +16361,19 @@ const deserializeAws_restXmlTestResult = (output, context) => {
|
|
|
16361
16361
|
contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(output["FunctionSummary"], context);
|
|
16362
16362
|
}
|
|
16363
16363
|
if (output["ComputeUtilization"] !== undefined) {
|
|
16364
|
-
contents.ComputeUtilization =
|
|
16364
|
+
contents.ComputeUtilization = smithy_client_1.expectString(output["ComputeUtilization"]);
|
|
16365
16365
|
}
|
|
16366
16366
|
if (output.FunctionExecutionLogs === "") {
|
|
16367
16367
|
contents.FunctionExecutionLogs = [];
|
|
16368
16368
|
}
|
|
16369
16369
|
if (output["FunctionExecutionLogs"] !== undefined && output["FunctionExecutionLogs"]["member"] !== undefined) {
|
|
16370
|
-
contents.FunctionExecutionLogs = deserializeAws_restXmlFunctionExecutionLogList(
|
|
16370
|
+
contents.FunctionExecutionLogs = deserializeAws_restXmlFunctionExecutionLogList(smithy_client_1.getArrayIfSingleItem(output["FunctionExecutionLogs"]["member"]), context);
|
|
16371
16371
|
}
|
|
16372
16372
|
if (output["FunctionErrorMessage"] !== undefined) {
|
|
16373
|
-
contents.FunctionErrorMessage =
|
|
16373
|
+
contents.FunctionErrorMessage = smithy_client_1.expectString(output["FunctionErrorMessage"]);
|
|
16374
16374
|
}
|
|
16375
16375
|
if (output["FunctionOutput"] !== undefined) {
|
|
16376
|
-
contents.FunctionOutput =
|
|
16376
|
+
contents.FunctionOutput = smithy_client_1.expectString(output["FunctionOutput"]);
|
|
16377
16377
|
}
|
|
16378
16378
|
return contents;
|
|
16379
16379
|
};
|
|
@@ -16384,7 +16384,7 @@ const deserializeAws_restXmlTrustedKeyGroupIdList = (output, context) => {
|
|
|
16384
16384
|
if (entry === null) {
|
|
16385
16385
|
return null;
|
|
16386
16386
|
}
|
|
16387
|
-
return
|
|
16387
|
+
return smithy_client_1.expectString(entry);
|
|
16388
16388
|
});
|
|
16389
16389
|
};
|
|
16390
16390
|
const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
|
|
@@ -16394,16 +16394,16 @@ const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
|
|
|
16394
16394
|
Items: undefined,
|
|
16395
16395
|
};
|
|
16396
16396
|
if (output["Enabled"] !== undefined) {
|
|
16397
|
-
contents.Enabled =
|
|
16397
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
16398
16398
|
}
|
|
16399
16399
|
if (output["Quantity"] !== undefined) {
|
|
16400
|
-
contents.Quantity =
|
|
16400
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
16401
16401
|
}
|
|
16402
16402
|
if (output.Items === "") {
|
|
16403
16403
|
contents.Items = [];
|
|
16404
16404
|
}
|
|
16405
16405
|
if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
|
|
16406
|
-
contents.Items = deserializeAws_restXmlTrustedKeyGroupIdList(
|
|
16406
|
+
contents.Items = deserializeAws_restXmlTrustedKeyGroupIdList(smithy_client_1.getArrayIfSingleItem(output["Items"]["KeyGroup"]), context);
|
|
16407
16407
|
}
|
|
16408
16408
|
return contents;
|
|
16409
16409
|
};
|
|
@@ -16414,16 +16414,16 @@ const deserializeAws_restXmlTrustedSigners = (output, context) => {
|
|
|
16414
16414
|
Items: undefined,
|
|
16415
16415
|
};
|
|
16416
16416
|
if (output["Enabled"] !== undefined) {
|
|
16417
|
-
contents.Enabled =
|
|
16417
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
16418
16418
|
}
|
|
16419
16419
|
if (output["Quantity"] !== undefined) {
|
|
16420
|
-
contents.Quantity =
|
|
16420
|
+
contents.Quantity = smithy_client_1.strictParseInt32(output["Quantity"]);
|
|
16421
16421
|
}
|
|
16422
16422
|
if (output.Items === "") {
|
|
16423
16423
|
contents.Items = [];
|
|
16424
16424
|
}
|
|
16425
16425
|
if (output["Items"] !== undefined && output["Items"]["AwsAccountNumber"] !== undefined) {
|
|
16426
|
-
contents.Items = deserializeAws_restXmlAwsAccountNumberList(
|
|
16426
|
+
contents.Items = deserializeAws_restXmlAwsAccountNumberList(smithy_client_1.getArrayIfSingleItem(output["Items"]["AwsAccountNumber"]), context);
|
|
16427
16427
|
}
|
|
16428
16428
|
return contents;
|
|
16429
16429
|
};
|
|
@@ -16438,25 +16438,25 @@ const deserializeAws_restXmlViewerCertificate = (output, context) => {
|
|
|
16438
16438
|
CertificateSource: undefined,
|
|
16439
16439
|
};
|
|
16440
16440
|
if (output["CloudFrontDefaultCertificate"] !== undefined) {
|
|
16441
|
-
contents.CloudFrontDefaultCertificate =
|
|
16441
|
+
contents.CloudFrontDefaultCertificate = smithy_client_1.parseBoolean(output["CloudFrontDefaultCertificate"]);
|
|
16442
16442
|
}
|
|
16443
16443
|
if (output["IAMCertificateId"] !== undefined) {
|
|
16444
|
-
contents.IAMCertificateId =
|
|
16444
|
+
contents.IAMCertificateId = smithy_client_1.expectString(output["IAMCertificateId"]);
|
|
16445
16445
|
}
|
|
16446
16446
|
if (output["ACMCertificateArn"] !== undefined) {
|
|
16447
|
-
contents.ACMCertificateArn =
|
|
16447
|
+
contents.ACMCertificateArn = smithy_client_1.expectString(output["ACMCertificateArn"]);
|
|
16448
16448
|
}
|
|
16449
16449
|
if (output["SSLSupportMethod"] !== undefined) {
|
|
16450
|
-
contents.SSLSupportMethod =
|
|
16450
|
+
contents.SSLSupportMethod = smithy_client_1.expectString(output["SSLSupportMethod"]);
|
|
16451
16451
|
}
|
|
16452
16452
|
if (output["MinimumProtocolVersion"] !== undefined) {
|
|
16453
|
-
contents.MinimumProtocolVersion =
|
|
16453
|
+
contents.MinimumProtocolVersion = smithy_client_1.expectString(output["MinimumProtocolVersion"]);
|
|
16454
16454
|
}
|
|
16455
16455
|
if (output["Certificate"] !== undefined) {
|
|
16456
|
-
contents.Certificate =
|
|
16456
|
+
contents.Certificate = smithy_client_1.expectString(output["Certificate"]);
|
|
16457
16457
|
}
|
|
16458
16458
|
if (output["CertificateSource"] !== undefined) {
|
|
16459
|
-
contents.CertificateSource =
|
|
16459
|
+
contents.CertificateSource = smithy_client_1.expectString(output["CertificateSource"]);
|
|
16460
16460
|
}
|
|
16461
16461
|
return contents;
|
|
16462
16462
|
};
|
|
@@ -16485,12 +16485,12 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
16485
16485
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
16486
16486
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
16487
16487
|
if (encoded.length) {
|
|
16488
|
-
const parsedObj =
|
|
16488
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
16489
16489
|
attributeNamePrefix: "",
|
|
16490
16490
|
ignoreAttributes: false,
|
|
16491
16491
|
parseNodeValue: false,
|
|
16492
16492
|
trimValues: false,
|
|
16493
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
16493
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
16494
16494
|
});
|
|
16495
16495
|
const textNodeName = "#text";
|
|
16496
16496
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -16499,7 +16499,7 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
16499
16499
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
16500
16500
|
delete parsedObjToReturn[textNodeName];
|
|
16501
16501
|
}
|
|
16502
|
-
return
|
|
16502
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
16503
16503
|
}
|
|
16504
16504
|
return {};
|
|
16505
16505
|
});
|