@aws-sdk/client-cloudfront 3.296.0 → 3.297.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.
Files changed (119) hide show
  1. package/dist-cjs/protocols/Aws_restXml.js +153 -857
  2. package/dist-es/protocols/Aws_restXml.js +153 -857
  3. package/dist-types/CloudFront.d.ts +107 -0
  4. package/dist-types/CloudFrontClient.d.ts +24 -4
  5. package/dist-types/commands/AssociateAliasCommand.d.ts +16 -0
  6. package/dist-types/commands/CopyDistributionCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateCachePolicyCommand.d.ts +16 -0
  8. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateDistributionCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateFunctionCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateInvalidationCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateKeyGroupCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +16 -0
  19. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +16 -0
  20. package/dist-types/commands/CreatePublicKeyCommand.d.ts +16 -0
  21. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +16 -0
  22. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +16 -0
  23. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +16 -0
  24. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +16 -0
  25. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +16 -0
  26. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteDistributionCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +16 -0
  31. package/dist-types/commands/DeleteFunctionCommand.d.ts +16 -0
  32. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +16 -0
  33. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +16 -0
  34. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +16 -0
  35. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/DeletePublicKeyCommand.d.ts +16 -0
  37. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +16 -0
  38. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +16 -0
  39. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeFunctionCommand.d.ts +16 -0
  41. package/dist-types/commands/GetCachePolicyCommand.d.ts +16 -0
  42. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +16 -0
  43. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +16 -0
  44. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +16 -0
  45. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +16 -0
  46. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +16 -0
  47. package/dist-types/commands/GetDistributionCommand.d.ts +16 -0
  48. package/dist-types/commands/GetDistributionConfigCommand.d.ts +16 -0
  49. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +16 -0
  50. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +16 -0
  51. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +16 -0
  52. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +16 -0
  53. package/dist-types/commands/GetFunctionCommand.d.ts +16 -0
  54. package/dist-types/commands/GetInvalidationCommand.d.ts +16 -0
  55. package/dist-types/commands/GetKeyGroupCommand.d.ts +16 -0
  56. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +16 -0
  57. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +16 -0
  58. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +16 -0
  59. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +16 -0
  60. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +16 -0
  61. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +16 -0
  62. package/dist-types/commands/GetPublicKeyCommand.d.ts +16 -0
  63. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +16 -0
  64. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +16 -0
  65. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +16 -0
  66. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +16 -0
  67. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +16 -0
  68. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +16 -0
  69. package/dist-types/commands/ListCachePoliciesCommand.d.ts +16 -0
  70. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +16 -0
  71. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +16 -0
  72. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +16 -0
  73. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +16 -0
  74. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +16 -0
  75. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +16 -0
  76. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +16 -0
  77. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +16 -0
  78. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +16 -0
  79. package/dist-types/commands/ListDistributionsCommand.d.ts +16 -0
  80. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +16 -0
  81. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +16 -0
  82. package/dist-types/commands/ListFunctionsCommand.d.ts +16 -0
  83. package/dist-types/commands/ListInvalidationsCommand.d.ts +16 -0
  84. package/dist-types/commands/ListKeyGroupsCommand.d.ts +16 -0
  85. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +16 -0
  86. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +16 -0
  87. package/dist-types/commands/ListPublicKeysCommand.d.ts +16 -0
  88. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +16 -0
  89. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +16 -0
  90. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +16 -0
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  92. package/dist-types/commands/PublishFunctionCommand.d.ts +16 -0
  93. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  94. package/dist-types/commands/TestFunctionCommand.d.ts +16 -0
  95. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  96. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +16 -0
  97. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +16 -0
  98. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +16 -0
  99. package/dist-types/commands/UpdateDistributionCommand.d.ts +16 -0
  100. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +16 -0
  101. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +16 -0
  102. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +16 -0
  103. package/dist-types/commands/UpdateFunctionCommand.d.ts +16 -0
  104. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +16 -0
  105. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +16 -0
  106. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +16 -0
  107. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +16 -0
  108. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +16 -0
  109. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +16 -0
  110. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +16 -0
  111. package/dist-types/models/CloudFrontServiceException.d.ts +2 -0
  112. package/dist-types/models/models_0.d.ts +414 -0
  113. package/dist-types/models/models_1.d.ts +472 -0
  114. package/dist-types/pagination/Interfaces.d.ts +3 -0
  115. package/dist-types/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +3 -0
  116. package/dist-types/pagination/ListDistributionsPaginator.d.ts +3 -0
  117. package/dist-types/pagination/ListInvalidationsPaginator.d.ts +3 -0
  118. package/dist-types/pagination/ListStreamingDistributionsPaginator.d.ts +3 -0
  119. package/package.json +3 -3
@@ -11602,11 +11602,7 @@ const deserializeAws_restXmlAccessControlExposeHeadersList = (output, context) =
11602
11602
  });
11603
11603
  };
11604
11604
  const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
11605
- const contents = {
11606
- Enabled: undefined,
11607
- Quantity: undefined,
11608
- Items: undefined,
11609
- };
11605
+ const contents = {};
11610
11606
  if (output["Enabled"] !== undefined) {
11611
11607
  contents.Enabled = __parseBoolean(output["Enabled"]);
11612
11608
  }
@@ -11622,11 +11618,7 @@ const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
11622
11618
  return contents;
11623
11619
  };
11624
11620
  const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
11625
- const contents = {
11626
- Enabled: undefined,
11627
- Quantity: undefined,
11628
- Items: undefined,
11629
- };
11621
+ const contents = {};
11630
11622
  if (output["Enabled"] !== undefined) {
11631
11623
  contents.Enabled = __parseBoolean(output["Enabled"]);
11632
11624
  }
@@ -11642,10 +11634,7 @@ const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
11642
11634
  return contents;
11643
11635
  };
11644
11636
  const deserializeAws_restXmlAliases = (output, context) => {
11645
- const contents = {
11646
- Quantity: undefined,
11647
- Items: undefined,
11648
- };
11637
+ const contents = {};
11649
11638
  if (output["Quantity"] !== undefined) {
11650
11639
  contents.Quantity = __strictParseInt32(output["Quantity"]);
11651
11640
  }
@@ -11658,10 +11647,7 @@ const deserializeAws_restXmlAliases = (output, context) => {
11658
11647
  return contents;
11659
11648
  };
11660
11649
  const deserializeAws_restXmlAliasICPRecordal = (output, context) => {
11661
- const contents = {
11662
- CNAME: undefined,
11663
- ICPRecordalStatus: undefined,
11664
- };
11650
+ const contents = {};
11665
11651
  if (output["CNAME"] !== undefined) {
11666
11652
  contents.CNAME = __expectString(output["CNAME"]);
11667
11653
  }
@@ -11685,11 +11671,7 @@ const deserializeAws_restXmlAliasList = (output, context) => {
11685
11671
  });
11686
11672
  };
11687
11673
  const deserializeAws_restXmlAllowedMethods = (output, context) => {
11688
- const contents = {
11689
- Quantity: undefined,
11690
- Items: undefined,
11691
- CachedMethods: undefined,
11692
- };
11674
+ const contents = {};
11693
11675
  if (output["Quantity"] !== undefined) {
11694
11676
  contents.Quantity = __strictParseInt32(output["Quantity"]);
11695
11677
  }
@@ -11712,27 +11694,7 @@ const deserializeAws_restXmlAwsAccountNumberList = (output, context) => {
11712
11694
  });
11713
11695
  };
11714
11696
  const deserializeAws_restXmlCacheBehavior = (output, context) => {
11715
- const contents = {
11716
- PathPattern: undefined,
11717
- TargetOriginId: undefined,
11718
- TrustedSigners: undefined,
11719
- TrustedKeyGroups: undefined,
11720
- ViewerProtocolPolicy: undefined,
11721
- AllowedMethods: undefined,
11722
- SmoothStreaming: undefined,
11723
- Compress: undefined,
11724
- LambdaFunctionAssociations: undefined,
11725
- FunctionAssociations: undefined,
11726
- FieldLevelEncryptionId: undefined,
11727
- RealtimeLogConfigArn: undefined,
11728
- CachePolicyId: undefined,
11729
- OriginRequestPolicyId: undefined,
11730
- ResponseHeadersPolicyId: undefined,
11731
- ForwardedValues: undefined,
11732
- MinTTL: undefined,
11733
- DefaultTTL: undefined,
11734
- MaxTTL: undefined,
11735
- };
11697
+ const contents = {};
11736
11698
  if (output["PathPattern"] !== undefined) {
11737
11699
  contents.PathPattern = __expectString(output["PathPattern"]);
11738
11700
  }
@@ -11800,10 +11762,7 @@ const deserializeAws_restXmlCacheBehaviorList = (output, context) => {
11800
11762
  });
11801
11763
  };
11802
11764
  const deserializeAws_restXmlCacheBehaviors = (output, context) => {
11803
- const contents = {
11804
- Quantity: undefined,
11805
- Items: undefined,
11806
- };
11765
+ const contents = {};
11807
11766
  if (output["Quantity"] !== undefined) {
11808
11767
  contents.Quantity = __strictParseInt32(output["Quantity"]);
11809
11768
  }
@@ -11816,10 +11775,7 @@ const deserializeAws_restXmlCacheBehaviors = (output, context) => {
11816
11775
  return contents;
11817
11776
  };
11818
11777
  const deserializeAws_restXmlCachedMethods = (output, context) => {
11819
- const contents = {
11820
- Quantity: undefined,
11821
- Items: undefined,
11822
- };
11778
+ const contents = {};
11823
11779
  if (output["Quantity"] !== undefined) {
11824
11780
  contents.Quantity = __strictParseInt32(output["Quantity"]);
11825
11781
  }
@@ -11832,11 +11788,7 @@ const deserializeAws_restXmlCachedMethods = (output, context) => {
11832
11788
  return contents;
11833
11789
  };
11834
11790
  const deserializeAws_restXmlCachePolicy = (output, context) => {
11835
- const contents = {
11836
- Id: undefined,
11837
- LastModifiedTime: undefined,
11838
- CachePolicyConfig: undefined,
11839
- };
11791
+ const contents = {};
11840
11792
  if (output["Id"] !== undefined) {
11841
11793
  contents.Id = __expectString(output["Id"]);
11842
11794
  }
@@ -11849,14 +11801,7 @@ const deserializeAws_restXmlCachePolicy = (output, context) => {
11849
11801
  return contents;
11850
11802
  };
11851
11803
  const deserializeAws_restXmlCachePolicyConfig = (output, context) => {
11852
- const contents = {
11853
- Comment: undefined,
11854
- Name: undefined,
11855
- DefaultTTL: undefined,
11856
- MaxTTL: undefined,
11857
- MinTTL: undefined,
11858
- ParametersInCacheKeyAndForwardedToOrigin: undefined,
11859
- };
11804
+ const contents = {};
11860
11805
  if (output["Comment"] !== undefined) {
11861
11806
  contents.Comment = __expectString(output["Comment"]);
11862
11807
  }
@@ -11878,10 +11823,7 @@ const deserializeAws_restXmlCachePolicyConfig = (output, context) => {
11878
11823
  return contents;
11879
11824
  };
11880
11825
  const deserializeAws_restXmlCachePolicyCookiesConfig = (output, context) => {
11881
- const contents = {
11882
- CookieBehavior: undefined,
11883
- Cookies: undefined,
11884
- };
11826
+ const contents = {};
11885
11827
  if (output["CookieBehavior"] !== undefined) {
11886
11828
  contents.CookieBehavior = __expectString(output["CookieBehavior"]);
11887
11829
  }
@@ -11891,10 +11833,7 @@ const deserializeAws_restXmlCachePolicyCookiesConfig = (output, context) => {
11891
11833
  return contents;
11892
11834
  };
11893
11835
  const deserializeAws_restXmlCachePolicyHeadersConfig = (output, context) => {
11894
- const contents = {
11895
- HeaderBehavior: undefined,
11896
- Headers: undefined,
11897
- };
11836
+ const contents = {};
11898
11837
  if (output["HeaderBehavior"] !== undefined) {
11899
11838
  contents.HeaderBehavior = __expectString(output["HeaderBehavior"]);
11900
11839
  }
@@ -11904,12 +11843,7 @@ const deserializeAws_restXmlCachePolicyHeadersConfig = (output, context) => {
11904
11843
  return contents;
11905
11844
  };
11906
11845
  const deserializeAws_restXmlCachePolicyList = (output, context) => {
11907
- const contents = {
11908
- NextMarker: undefined,
11909
- MaxItems: undefined,
11910
- Quantity: undefined,
11911
- Items: undefined,
11912
- };
11846
+ const contents = {};
11913
11847
  if (output["NextMarker"] !== undefined) {
11914
11848
  contents.NextMarker = __expectString(output["NextMarker"]);
11915
11849
  }
@@ -11928,10 +11862,7 @@ const deserializeAws_restXmlCachePolicyList = (output, context) => {
11928
11862
  return contents;
11929
11863
  };
11930
11864
  const deserializeAws_restXmlCachePolicyQueryStringsConfig = (output, context) => {
11931
- const contents = {
11932
- QueryStringBehavior: undefined,
11933
- QueryStrings: undefined,
11934
- };
11865
+ const contents = {};
11935
11866
  if (output["QueryStringBehavior"] !== undefined) {
11936
11867
  contents.QueryStringBehavior = __expectString(output["QueryStringBehavior"]);
11937
11868
  }
@@ -11941,10 +11872,7 @@ const deserializeAws_restXmlCachePolicyQueryStringsConfig = (output, context) =>
11941
11872
  return contents;
11942
11873
  };
11943
11874
  const deserializeAws_restXmlCachePolicySummary = (output, context) => {
11944
- const contents = {
11945
- Type: undefined,
11946
- CachePolicy: undefined,
11947
- };
11875
+ const contents = {};
11948
11876
  if (output["Type"] !== undefined) {
11949
11877
  contents.Type = __expectString(output["Type"]);
11950
11878
  }
@@ -11961,11 +11889,7 @@ const deserializeAws_restXmlCachePolicySummaryList = (output, context) => {
11961
11889
  });
11962
11890
  };
11963
11891
  const deserializeAws_restXmlCloudFrontOriginAccessIdentity = (output, context) => {
11964
- const contents = {
11965
- Id: undefined,
11966
- S3CanonicalUserId: undefined,
11967
- CloudFrontOriginAccessIdentityConfig: undefined,
11968
- };
11892
+ const contents = {};
11969
11893
  if (output["Id"] !== undefined) {
11970
11894
  contents.Id = __expectString(output["Id"]);
11971
11895
  }
@@ -11978,10 +11902,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentity = (output, context) =
11978
11902
  return contents;
11979
11903
  };
11980
11904
  const deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig = (output, context) => {
11981
- const contents = {
11982
- CallerReference: undefined,
11983
- Comment: undefined,
11984
- };
11905
+ const contents = {};
11985
11906
  if (output["CallerReference"] !== undefined) {
11986
11907
  contents.CallerReference = __expectString(output["CallerReference"]);
11987
11908
  }
@@ -11991,14 +11912,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig = (output, cont
11991
11912
  return contents;
11992
11913
  };
11993
11914
  const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, context) => {
11994
- const contents = {
11995
- Marker: undefined,
11996
- NextMarker: undefined,
11997
- MaxItems: undefined,
11998
- IsTruncated: undefined,
11999
- Quantity: undefined,
12000
- Items: undefined,
12001
- };
11915
+ const contents = {};
12002
11916
  if (output["Marker"] !== undefined) {
12003
11917
  contents.Marker = __expectString(output["Marker"]);
12004
11918
  }
@@ -12023,11 +11937,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, contex
12023
11937
  return contents;
12024
11938
  };
12025
11939
  const deserializeAws_restXmlCloudFrontOriginAccessIdentitySummary = (output, context) => {
12026
- const contents = {
12027
- Id: undefined,
12028
- S3CanonicalUserId: undefined,
12029
- Comment: undefined,
12030
- };
11940
+ const contents = {};
12031
11941
  if (output["Id"] !== undefined) {
12032
11942
  contents.Id = __expectString(output["Id"]);
12033
11943
  }
@@ -12047,11 +11957,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList = (output,
12047
11957
  });
12048
11958
  };
12049
11959
  const deserializeAws_restXmlConflictingAlias = (output, context) => {
12050
- const contents = {
12051
- Alias: undefined,
12052
- DistributionId: undefined,
12053
- AccountId: undefined,
12054
- };
11960
+ const contents = {};
12055
11961
  if (output["Alias"] !== undefined) {
12056
11962
  contents.Alias = __expectString(output["Alias"]);
12057
11963
  }
@@ -12071,12 +11977,7 @@ const deserializeAws_restXmlConflictingAliases = (output, context) => {
12071
11977
  });
12072
11978
  };
12073
11979
  const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
12074
- const contents = {
12075
- NextMarker: undefined,
12076
- MaxItems: undefined,
12077
- Quantity: undefined,
12078
- Items: undefined,
12079
- };
11980
+ const contents = {};
12080
11981
  if (output["NextMarker"] !== undefined) {
12081
11982
  contents.NextMarker = __expectString(output["NextMarker"]);
12082
11983
  }
@@ -12095,11 +11996,7 @@ const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
12095
11996
  return contents;
12096
11997
  };
12097
11998
  const deserializeAws_restXmlContentTypeProfile = (output, context) => {
12098
- const contents = {
12099
- Format: undefined,
12100
- ProfileId: undefined,
12101
- ContentType: undefined,
12102
- };
11999
+ const contents = {};
12103
12000
  if (output["Format"] !== undefined) {
12104
12001
  contents.Format = __expectString(output["Format"]);
12105
12002
  }
@@ -12112,10 +12009,7 @@ const deserializeAws_restXmlContentTypeProfile = (output, context) => {
12112
12009
  return contents;
12113
12010
  };
12114
12011
  const deserializeAws_restXmlContentTypeProfileConfig = (output, context) => {
12115
- const contents = {
12116
- ForwardWhenContentTypeIsUnknown: undefined,
12117
- ContentTypeProfiles: undefined,
12118
- };
12012
+ const contents = {};
12119
12013
  if (output["ForwardWhenContentTypeIsUnknown"] !== undefined) {
12120
12014
  contents.ForwardWhenContentTypeIsUnknown = __parseBoolean(output["ForwardWhenContentTypeIsUnknown"]);
12121
12015
  }
@@ -12132,10 +12026,7 @@ const deserializeAws_restXmlContentTypeProfileList = (output, context) => {
12132
12026
  });
12133
12027
  };
12134
12028
  const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
12135
- const contents = {
12136
- Quantity: undefined,
12137
- Items: undefined,
12138
- };
12029
+ const contents = {};
12139
12030
  if (output["Quantity"] !== undefined) {
12140
12031
  contents.Quantity = __strictParseInt32(output["Quantity"]);
12141
12032
  }
@@ -12148,11 +12039,7 @@ const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
12148
12039
  return contents;
12149
12040
  };
12150
12041
  const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
12151
- const contents = {
12152
- Id: undefined,
12153
- LastModifiedTime: undefined,
12154
- ContinuousDeploymentPolicyConfig: undefined,
12155
- };
12042
+ const contents = {};
12156
12043
  if (output["Id"] !== undefined) {
12157
12044
  contents.Id = __expectString(output["Id"]);
12158
12045
  }
@@ -12165,11 +12052,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
12165
12052
  return contents;
12166
12053
  };
12167
12054
  const deserializeAws_restXmlContinuousDeploymentPolicyConfig = (output, context) => {
12168
- const contents = {
12169
- StagingDistributionDnsNames: undefined,
12170
- Enabled: undefined,
12171
- TrafficConfig: undefined,
12172
- };
12055
+ const contents = {};
12173
12056
  if (output["StagingDistributionDnsNames"] !== undefined) {
12174
12057
  contents.StagingDistributionDnsNames = deserializeAws_restXmlStagingDistributionDnsNames(output["StagingDistributionDnsNames"], context);
12175
12058
  }
@@ -12182,12 +12065,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicyConfig = (output, context)
12182
12065
  return contents;
12183
12066
  };
12184
12067
  const deserializeAws_restXmlContinuousDeploymentPolicyList = (output, context) => {
12185
- const contents = {
12186
- NextMarker: undefined,
12187
- MaxItems: undefined,
12188
- Quantity: undefined,
12189
- Items: undefined,
12190
- };
12068
+ const contents = {};
12191
12069
  if (output["NextMarker"] !== undefined) {
12192
12070
  contents.NextMarker = __expectString(output["NextMarker"]);
12193
12071
  }
@@ -12206,9 +12084,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicyList = (output, context) =
12206
12084
  return contents;
12207
12085
  };
12208
12086
  const deserializeAws_restXmlContinuousDeploymentPolicySummary = (output, context) => {
12209
- const contents = {
12210
- ContinuousDeploymentPolicy: undefined,
12211
- };
12087
+ const contents = {};
12212
12088
  if (output["ContinuousDeploymentPolicy"] !== undefined) {
12213
12089
  contents.ContinuousDeploymentPolicy = deserializeAws_restXmlContinuousDeploymentPolicy(output["ContinuousDeploymentPolicy"], context);
12214
12090
  }
@@ -12222,10 +12098,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicySummaryList = (output, con
12222
12098
  });
12223
12099
  };
12224
12100
  const deserializeAws_restXmlContinuousDeploymentSingleHeaderConfig = (output, context) => {
12225
- const contents = {
12226
- Header: undefined,
12227
- Value: undefined,
12228
- };
12101
+ const contents = {};
12229
12102
  if (output["Header"] !== undefined) {
12230
12103
  contents.Header = __expectString(output["Header"]);
12231
12104
  }
@@ -12235,10 +12108,7 @@ const deserializeAws_restXmlContinuousDeploymentSingleHeaderConfig = (output, co
12235
12108
  return contents;
12236
12109
  };
12237
12110
  const deserializeAws_restXmlContinuousDeploymentSingleWeightConfig = (output, context) => {
12238
- const contents = {
12239
- Weight: undefined,
12240
- SessionStickinessConfig: undefined,
12241
- };
12111
+ const contents = {};
12242
12112
  if (output["Weight"] !== undefined) {
12243
12113
  contents.Weight = __strictParseFloat(output["Weight"]);
12244
12114
  }
@@ -12255,10 +12125,7 @@ const deserializeAws_restXmlCookieNameList = (output, context) => {
12255
12125
  });
12256
12126
  };
12257
12127
  const deserializeAws_restXmlCookieNames = (output, context) => {
12258
- const contents = {
12259
- Quantity: undefined,
12260
- Items: undefined,
12261
- };
12128
+ const contents = {};
12262
12129
  if (output["Quantity"] !== undefined) {
12263
12130
  contents.Quantity = __strictParseInt32(output["Quantity"]);
12264
12131
  }
@@ -12271,10 +12138,7 @@ const deserializeAws_restXmlCookieNames = (output, context) => {
12271
12138
  return contents;
12272
12139
  };
12273
12140
  const deserializeAws_restXmlCookiePreference = (output, context) => {
12274
- const contents = {
12275
- Forward: undefined,
12276
- WhitelistedNames: undefined,
12277
- };
12141
+ const contents = {};
12278
12142
  if (output["Forward"] !== undefined) {
12279
12143
  contents.Forward = __expectString(output["Forward"]);
12280
12144
  }
@@ -12284,12 +12148,7 @@ const deserializeAws_restXmlCookiePreference = (output, context) => {
12284
12148
  return contents;
12285
12149
  };
12286
12150
  const deserializeAws_restXmlCustomErrorResponse = (output, context) => {
12287
- const contents = {
12288
- ErrorCode: undefined,
12289
- ResponsePagePath: undefined,
12290
- ResponseCode: undefined,
12291
- ErrorCachingMinTTL: undefined,
12292
- };
12151
+ const contents = {};
12293
12152
  if (output["ErrorCode"] !== undefined) {
12294
12153
  contents.ErrorCode = __strictParseInt32(output["ErrorCode"]);
12295
12154
  }
@@ -12312,10 +12171,7 @@ const deserializeAws_restXmlCustomErrorResponseList = (output, context) => {
12312
12171
  });
12313
12172
  };
12314
12173
  const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
12315
- const contents = {
12316
- Quantity: undefined,
12317
- Items: undefined,
12318
- };
12174
+ const contents = {};
12319
12175
  if (output["Quantity"] !== undefined) {
12320
12176
  contents.Quantity = __strictParseInt32(output["Quantity"]);
12321
12177
  }
@@ -12328,10 +12184,7 @@ const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
12328
12184
  return contents;
12329
12185
  };
12330
12186
  const deserializeAws_restXmlCustomHeaders = (output, context) => {
12331
- const contents = {
12332
- Quantity: undefined,
12333
- Items: undefined,
12334
- };
12187
+ const contents = {};
12335
12188
  if (output["Quantity"] !== undefined) {
12336
12189
  contents.Quantity = __strictParseInt32(output["Quantity"]);
12337
12190
  }
@@ -12344,14 +12197,7 @@ const deserializeAws_restXmlCustomHeaders = (output, context) => {
12344
12197
  return contents;
12345
12198
  };
12346
12199
  const deserializeAws_restXmlCustomOriginConfig = (output, context) => {
12347
- const contents = {
12348
- HTTPPort: undefined,
12349
- HTTPSPort: undefined,
12350
- OriginProtocolPolicy: undefined,
12351
- OriginSslProtocols: undefined,
12352
- OriginReadTimeout: undefined,
12353
- OriginKeepaliveTimeout: undefined,
12354
- };
12200
+ const contents = {};
12355
12201
  if (output["HTTPPort"] !== undefined) {
12356
12202
  contents.HTTPPort = __strictParseInt32(output["HTTPPort"]);
12357
12203
  }
@@ -12373,26 +12219,7 @@ const deserializeAws_restXmlCustomOriginConfig = (output, context) => {
12373
12219
  return contents;
12374
12220
  };
12375
12221
  const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
12376
- const contents = {
12377
- TargetOriginId: undefined,
12378
- TrustedSigners: undefined,
12379
- TrustedKeyGroups: undefined,
12380
- ViewerProtocolPolicy: undefined,
12381
- AllowedMethods: undefined,
12382
- SmoothStreaming: undefined,
12383
- Compress: undefined,
12384
- LambdaFunctionAssociations: undefined,
12385
- FunctionAssociations: undefined,
12386
- FieldLevelEncryptionId: undefined,
12387
- RealtimeLogConfigArn: undefined,
12388
- CachePolicyId: undefined,
12389
- OriginRequestPolicyId: undefined,
12390
- ResponseHeadersPolicyId: undefined,
12391
- ForwardedValues: undefined,
12392
- MinTTL: undefined,
12393
- DefaultTTL: undefined,
12394
- MaxTTL: undefined,
12395
- };
12222
+ const contents = {};
12396
12223
  if (output["TargetOriginId"] !== undefined) {
12397
12224
  contents.TargetOriginId = __expectString(output["TargetOriginId"]);
12398
12225
  }
@@ -12450,18 +12277,7 @@ const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
12450
12277
  return contents;
12451
12278
  };
12452
12279
  const deserializeAws_restXmlDistribution = (output, context) => {
12453
- const contents = {
12454
- Id: undefined,
12455
- ARN: undefined,
12456
- Status: undefined,
12457
- LastModifiedTime: undefined,
12458
- InProgressInvalidationBatches: undefined,
12459
- DomainName: undefined,
12460
- ActiveTrustedSigners: undefined,
12461
- ActiveTrustedKeyGroups: undefined,
12462
- DistributionConfig: undefined,
12463
- AliasICPRecordals: undefined,
12464
- };
12280
+ const contents = {};
12465
12281
  if (output["Id"] !== undefined) {
12466
12282
  contents.Id = __expectString(output["Id"]);
12467
12283
  }
@@ -12499,27 +12315,7 @@ const deserializeAws_restXmlDistribution = (output, context) => {
12499
12315
  return contents;
12500
12316
  };
12501
12317
  const deserializeAws_restXmlDistributionConfig = (output, context) => {
12502
- const contents = {
12503
- CallerReference: undefined,
12504
- Aliases: undefined,
12505
- DefaultRootObject: undefined,
12506
- Origins: undefined,
12507
- OriginGroups: undefined,
12508
- DefaultCacheBehavior: undefined,
12509
- CacheBehaviors: undefined,
12510
- CustomErrorResponses: undefined,
12511
- Comment: undefined,
12512
- Logging: undefined,
12513
- PriceClass: undefined,
12514
- Enabled: undefined,
12515
- ViewerCertificate: undefined,
12516
- Restrictions: undefined,
12517
- WebACLId: undefined,
12518
- HttpVersion: undefined,
12519
- IsIPV6Enabled: undefined,
12520
- ContinuousDeploymentPolicyId: undefined,
12521
- Staging: undefined,
12522
- };
12318
+ const contents = {};
12523
12319
  if (output["CallerReference"] !== undefined) {
12524
12320
  contents.CallerReference = __expectString(output["CallerReference"]);
12525
12321
  }
@@ -12580,14 +12376,7 @@ const deserializeAws_restXmlDistributionConfig = (output, context) => {
12580
12376
  return contents;
12581
12377
  };
12582
12378
  const deserializeAws_restXmlDistributionIdList = (output, context) => {
12583
- const contents = {
12584
- Marker: undefined,
12585
- NextMarker: undefined,
12586
- MaxItems: undefined,
12587
- IsTruncated: undefined,
12588
- Quantity: undefined,
12589
- Items: undefined,
12590
- };
12379
+ const contents = {};
12591
12380
  if (output["Marker"] !== undefined) {
12592
12381
  contents.Marker = __expectString(output["Marker"]);
12593
12382
  }
@@ -12619,14 +12408,7 @@ const deserializeAws_restXmlDistributionIdListSummary = (output, context) => {
12619
12408
  });
12620
12409
  };
12621
12410
  const deserializeAws_restXmlDistributionList = (output, context) => {
12622
- const contents = {
12623
- Marker: undefined,
12624
- NextMarker: undefined,
12625
- MaxItems: undefined,
12626
- IsTruncated: undefined,
12627
- Quantity: undefined,
12628
- Items: undefined,
12629
- };
12411
+ const contents = {};
12630
12412
  if (output["Marker"] !== undefined) {
12631
12413
  contents.Marker = __expectString(output["Marker"]);
12632
12414
  }
@@ -12651,29 +12433,7 @@ const deserializeAws_restXmlDistributionList = (output, context) => {
12651
12433
  return contents;
12652
12434
  };
12653
12435
  const deserializeAws_restXmlDistributionSummary = (output, context) => {
12654
- const contents = {
12655
- Id: undefined,
12656
- ARN: undefined,
12657
- Status: undefined,
12658
- LastModifiedTime: undefined,
12659
- DomainName: undefined,
12660
- Aliases: undefined,
12661
- Origins: undefined,
12662
- OriginGroups: undefined,
12663
- DefaultCacheBehavior: undefined,
12664
- CacheBehaviors: undefined,
12665
- CustomErrorResponses: undefined,
12666
- Comment: undefined,
12667
- PriceClass: undefined,
12668
- Enabled: undefined,
12669
- ViewerCertificate: undefined,
12670
- Restrictions: undefined,
12671
- WebACLId: undefined,
12672
- HttpVersion: undefined,
12673
- IsIPV6Enabled: undefined,
12674
- AliasICPRecordals: undefined,
12675
- Staging: undefined,
12676
- };
12436
+ const contents = {};
12677
12437
  if (output["Id"] !== undefined) {
12678
12438
  contents.Id = __expectString(output["Id"]);
12679
12439
  }
@@ -12751,10 +12511,7 @@ const deserializeAws_restXmlDistributionSummaryList = (output, context) => {
12751
12511
  });
12752
12512
  };
12753
12513
  const deserializeAws_restXmlEncryptionEntities = (output, context) => {
12754
- const contents = {
12755
- Quantity: undefined,
12756
- Items: undefined,
12757
- };
12514
+ const contents = {};
12758
12515
  if (output["Quantity"] !== undefined) {
12759
12516
  contents.Quantity = __strictParseInt32(output["Quantity"]);
12760
12517
  }
@@ -12767,11 +12524,7 @@ const deserializeAws_restXmlEncryptionEntities = (output, context) => {
12767
12524
  return contents;
12768
12525
  };
12769
12526
  const deserializeAws_restXmlEncryptionEntity = (output, context) => {
12770
- const contents = {
12771
- PublicKeyId: undefined,
12772
- ProviderId: undefined,
12773
- FieldPatterns: undefined,
12774
- };
12527
+ const contents = {};
12775
12528
  if (output["PublicKeyId"] !== undefined) {
12776
12529
  contents.PublicKeyId = __expectString(output["PublicKeyId"]);
12777
12530
  }
@@ -12791,10 +12544,7 @@ const deserializeAws_restXmlEncryptionEntityList = (output, context) => {
12791
12544
  });
12792
12545
  };
12793
12546
  const deserializeAws_restXmlEndPoint = (output, context) => {
12794
- const contents = {
12795
- StreamType: undefined,
12796
- KinesisStreamConfig: undefined,
12797
- };
12547
+ const contents = {};
12798
12548
  if (output["StreamType"] !== undefined) {
12799
12549
  contents.StreamType = __expectString(output["StreamType"]);
12800
12550
  }
@@ -12811,11 +12561,7 @@ const deserializeAws_restXmlEndPointList = (output, context) => {
12811
12561
  });
12812
12562
  };
12813
12563
  const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
12814
- const contents = {
12815
- Id: undefined,
12816
- LastModifiedTime: undefined,
12817
- FieldLevelEncryptionConfig: undefined,
12818
- };
12564
+ const contents = {};
12819
12565
  if (output["Id"] !== undefined) {
12820
12566
  contents.Id = __expectString(output["Id"]);
12821
12567
  }
@@ -12828,12 +12574,7 @@ const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
12828
12574
  return contents;
12829
12575
  };
12830
12576
  const deserializeAws_restXmlFieldLevelEncryptionConfig = (output, context) => {
12831
- const contents = {
12832
- CallerReference: undefined,
12833
- Comment: undefined,
12834
- QueryArgProfileConfig: undefined,
12835
- ContentTypeProfileConfig: undefined,
12836
- };
12577
+ const contents = {};
12837
12578
  if (output["CallerReference"] !== undefined) {
12838
12579
  contents.CallerReference = __expectString(output["CallerReference"]);
12839
12580
  }
@@ -12849,12 +12590,7 @@ const deserializeAws_restXmlFieldLevelEncryptionConfig = (output, context) => {
12849
12590
  return contents;
12850
12591
  };
12851
12592
  const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
12852
- const contents = {
12853
- NextMarker: undefined,
12854
- MaxItems: undefined,
12855
- Quantity: undefined,
12856
- Items: undefined,
12857
- };
12593
+ const contents = {};
12858
12594
  if (output["NextMarker"] !== undefined) {
12859
12595
  contents.NextMarker = __expectString(output["NextMarker"]);
12860
12596
  }
@@ -12873,11 +12609,7 @@ const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
12873
12609
  return contents;
12874
12610
  };
12875
12611
  const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
12876
- const contents = {
12877
- Id: undefined,
12878
- LastModifiedTime: undefined,
12879
- FieldLevelEncryptionProfileConfig: undefined,
12880
- };
12612
+ const contents = {};
12881
12613
  if (output["Id"] !== undefined) {
12882
12614
  contents.Id = __expectString(output["Id"]);
12883
12615
  }
@@ -12890,12 +12622,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
12890
12622
  return contents;
12891
12623
  };
12892
12624
  const deserializeAws_restXmlFieldLevelEncryptionProfileConfig = (output, context) => {
12893
- const contents = {
12894
- Name: undefined,
12895
- CallerReference: undefined,
12896
- Comment: undefined,
12897
- EncryptionEntities: undefined,
12898
- };
12625
+ const contents = {};
12899
12626
  if (output["Name"] !== undefined) {
12900
12627
  contents.Name = __expectString(output["Name"]);
12901
12628
  }
@@ -12911,12 +12638,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileConfig = (output, context
12911
12638
  return contents;
12912
12639
  };
12913
12640
  const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context) => {
12914
- const contents = {
12915
- NextMarker: undefined,
12916
- MaxItems: undefined,
12917
- Quantity: undefined,
12918
- Items: undefined,
12919
- };
12641
+ const contents = {};
12920
12642
  if (output["NextMarker"] !== undefined) {
12921
12643
  contents.NextMarker = __expectString(output["NextMarker"]);
12922
12644
  }
@@ -12935,13 +12657,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context)
12935
12657
  return contents;
12936
12658
  };
12937
12659
  const deserializeAws_restXmlFieldLevelEncryptionProfileSummary = (output, context) => {
12938
- const contents = {
12939
- Id: undefined,
12940
- LastModifiedTime: undefined,
12941
- Name: undefined,
12942
- EncryptionEntities: undefined,
12943
- Comment: undefined,
12944
- };
12660
+ const contents = {};
12945
12661
  if (output["Id"] !== undefined) {
12946
12662
  contents.Id = __expectString(output["Id"]);
12947
12663
  }
@@ -12967,13 +12683,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList = (output, co
12967
12683
  });
12968
12684
  };
12969
12685
  const deserializeAws_restXmlFieldLevelEncryptionSummary = (output, context) => {
12970
- const contents = {
12971
- Id: undefined,
12972
- LastModifiedTime: undefined,
12973
- Comment: undefined,
12974
- QueryArgProfileConfig: undefined,
12975
- ContentTypeProfileConfig: undefined,
12976
- };
12686
+ const contents = {};
12977
12687
  if (output["Id"] !== undefined) {
12978
12688
  contents.Id = __expectString(output["Id"]);
12979
12689
  }
@@ -13013,10 +12723,7 @@ const deserializeAws_restXmlFieldPatternList = (output, context) => {
13013
12723
  });
13014
12724
  };
13015
12725
  const deserializeAws_restXmlFieldPatterns = (output, context) => {
13016
- const contents = {
13017
- Quantity: undefined,
13018
- Items: undefined,
13019
- };
12726
+ const contents = {};
13020
12727
  if (output["Quantity"] !== undefined) {
13021
12728
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13022
12729
  }
@@ -13029,12 +12736,7 @@ const deserializeAws_restXmlFieldPatterns = (output, context) => {
13029
12736
  return contents;
13030
12737
  };
13031
12738
  const deserializeAws_restXmlForwardedValues = (output, context) => {
13032
- const contents = {
13033
- QueryString: undefined,
13034
- Cookies: undefined,
13035
- Headers: undefined,
13036
- QueryStringCacheKeys: undefined,
13037
- };
12739
+ const contents = {};
13038
12740
  if (output["QueryString"] !== undefined) {
13039
12741
  contents.QueryString = __parseBoolean(output["QueryString"]);
13040
12742
  }
@@ -13050,10 +12752,7 @@ const deserializeAws_restXmlForwardedValues = (output, context) => {
13050
12752
  return contents;
13051
12753
  };
13052
12754
  const deserializeAws_restXmlFunctionAssociation = (output, context) => {
13053
- const contents = {
13054
- FunctionARN: undefined,
13055
- EventType: undefined,
13056
- };
12755
+ const contents = {};
13057
12756
  if (output["FunctionARN"] !== undefined) {
13058
12757
  contents.FunctionARN = __expectString(output["FunctionARN"]);
13059
12758
  }
@@ -13070,10 +12769,7 @@ const deserializeAws_restXmlFunctionAssociationList = (output, context) => {
13070
12769
  });
13071
12770
  };
13072
12771
  const deserializeAws_restXmlFunctionAssociations = (output, context) => {
13073
- const contents = {
13074
- Quantity: undefined,
13075
- Items: undefined,
13076
- };
12772
+ const contents = {};
13077
12773
  if (output["Quantity"] !== undefined) {
13078
12774
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13079
12775
  }
@@ -13086,10 +12782,7 @@ const deserializeAws_restXmlFunctionAssociations = (output, context) => {
13086
12782
  return contents;
13087
12783
  };
13088
12784
  const deserializeAws_restXmlFunctionConfig = (output, context) => {
13089
- const contents = {
13090
- Comment: undefined,
13091
- Runtime: undefined,
13092
- };
12785
+ const contents = {};
13093
12786
  if (output["Comment"] !== undefined) {
13094
12787
  contents.Comment = __expectString(output["Comment"]);
13095
12788
  }
@@ -13106,12 +12799,7 @@ const deserializeAws_restXmlFunctionExecutionLogList = (output, context) => {
13106
12799
  });
13107
12800
  };
13108
12801
  const deserializeAws_restXmlFunctionList = (output, context) => {
13109
- const contents = {
13110
- NextMarker: undefined,
13111
- MaxItems: undefined,
13112
- Quantity: undefined,
13113
- Items: undefined,
13114
- };
12802
+ const contents = {};
13115
12803
  if (output["NextMarker"] !== undefined) {
13116
12804
  contents.NextMarker = __expectString(output["NextMarker"]);
13117
12805
  }
@@ -13130,12 +12818,7 @@ const deserializeAws_restXmlFunctionList = (output, context) => {
13130
12818
  return contents;
13131
12819
  };
13132
12820
  const deserializeAws_restXmlFunctionMetadata = (output, context) => {
13133
- const contents = {
13134
- FunctionARN: undefined,
13135
- Stage: undefined,
13136
- CreatedTime: undefined,
13137
- LastModifiedTime: undefined,
13138
- };
12821
+ const contents = {};
13139
12822
  if (output["FunctionARN"] !== undefined) {
13140
12823
  contents.FunctionARN = __expectString(output["FunctionARN"]);
13141
12824
  }
@@ -13151,12 +12834,7 @@ const deserializeAws_restXmlFunctionMetadata = (output, context) => {
13151
12834
  return contents;
13152
12835
  };
13153
12836
  const deserializeAws_restXmlFunctionSummary = (output, context) => {
13154
- const contents = {
13155
- Name: undefined,
13156
- Status: undefined,
13157
- FunctionConfig: undefined,
13158
- FunctionMetadata: undefined,
13159
- };
12837
+ const contents = {};
13160
12838
  if (output["Name"] !== undefined) {
13161
12839
  contents.Name = __expectString(output["Name"]);
13162
12840
  }
@@ -13179,11 +12857,7 @@ const deserializeAws_restXmlFunctionSummaryList = (output, context) => {
13179
12857
  });
13180
12858
  };
13181
12859
  const deserializeAws_restXmlGeoRestriction = (output, context) => {
13182
- const contents = {
13183
- RestrictionType: undefined,
13184
- Quantity: undefined,
13185
- Items: undefined,
13186
- };
12860
+ const contents = {};
13187
12861
  if (output["RestrictionType"] !== undefined) {
13188
12862
  contents.RestrictionType = __expectString(output["RestrictionType"]);
13189
12863
  }
@@ -13206,10 +12880,7 @@ const deserializeAws_restXmlHeaderList = (output, context) => {
13206
12880
  });
13207
12881
  };
13208
12882
  const deserializeAws_restXmlHeaders = (output, context) => {
13209
- const contents = {
13210
- Quantity: undefined,
13211
- Items: undefined,
13212
- };
12883
+ const contents = {};
13213
12884
  if (output["Quantity"] !== undefined) {
13214
12885
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13215
12886
  }
@@ -13222,12 +12893,7 @@ const deserializeAws_restXmlHeaders = (output, context) => {
13222
12893
  return contents;
13223
12894
  };
13224
12895
  const deserializeAws_restXmlInvalidation = (output, context) => {
13225
- const contents = {
13226
- Id: undefined,
13227
- Status: undefined,
13228
- CreateTime: undefined,
13229
- InvalidationBatch: undefined,
13230
- };
12896
+ const contents = {};
13231
12897
  if (output["Id"] !== undefined) {
13232
12898
  contents.Id = __expectString(output["Id"]);
13233
12899
  }
@@ -13243,10 +12909,7 @@ const deserializeAws_restXmlInvalidation = (output, context) => {
13243
12909
  return contents;
13244
12910
  };
13245
12911
  const deserializeAws_restXmlInvalidationBatch = (output, context) => {
13246
- const contents = {
13247
- Paths: undefined,
13248
- CallerReference: undefined,
13249
- };
12912
+ const contents = {};
13250
12913
  if (output["Paths"] !== undefined) {
13251
12914
  contents.Paths = deserializeAws_restXmlPaths(output["Paths"], context);
13252
12915
  }
@@ -13256,14 +12919,7 @@ const deserializeAws_restXmlInvalidationBatch = (output, context) => {
13256
12919
  return contents;
13257
12920
  };
13258
12921
  const deserializeAws_restXmlInvalidationList = (output, context) => {
13259
- const contents = {
13260
- Marker: undefined,
13261
- NextMarker: undefined,
13262
- MaxItems: undefined,
13263
- IsTruncated: undefined,
13264
- Quantity: undefined,
13265
- Items: undefined,
13266
- };
12922
+ const contents = {};
13267
12923
  if (output["Marker"] !== undefined) {
13268
12924
  contents.Marker = __expectString(output["Marker"]);
13269
12925
  }
@@ -13288,11 +12944,7 @@ const deserializeAws_restXmlInvalidationList = (output, context) => {
13288
12944
  return contents;
13289
12945
  };
13290
12946
  const deserializeAws_restXmlInvalidationSummary = (output, context) => {
13291
- const contents = {
13292
- Id: undefined,
13293
- CreateTime: undefined,
13294
- Status: undefined,
13295
- };
12947
+ const contents = {};
13296
12948
  if (output["Id"] !== undefined) {
13297
12949
  contents.Id = __expectString(output["Id"]);
13298
12950
  }
@@ -13312,11 +12964,7 @@ const deserializeAws_restXmlInvalidationSummaryList = (output, context) => {
13312
12964
  });
13313
12965
  };
13314
12966
  const deserializeAws_restXmlKeyGroup = (output, context) => {
13315
- const contents = {
13316
- Id: undefined,
13317
- LastModifiedTime: undefined,
13318
- KeyGroupConfig: undefined,
13319
- };
12967
+ const contents = {};
13320
12968
  if (output["Id"] !== undefined) {
13321
12969
  contents.Id = __expectString(output["Id"]);
13322
12970
  }
@@ -13329,11 +12977,7 @@ const deserializeAws_restXmlKeyGroup = (output, context) => {
13329
12977
  return contents;
13330
12978
  };
13331
12979
  const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
13332
- const contents = {
13333
- Name: undefined,
13334
- Items: undefined,
13335
- Comment: undefined,
13336
- };
12980
+ const contents = {};
13337
12981
  if (output["Name"] !== undefined) {
13338
12982
  contents.Name = __expectString(output["Name"]);
13339
12983
  }
@@ -13349,12 +12993,7 @@ const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
13349
12993
  return contents;
13350
12994
  };
13351
12995
  const deserializeAws_restXmlKeyGroupList = (output, context) => {
13352
- const contents = {
13353
- NextMarker: undefined,
13354
- MaxItems: undefined,
13355
- Quantity: undefined,
13356
- Items: undefined,
13357
- };
12996
+ const contents = {};
13358
12997
  if (output["NextMarker"] !== undefined) {
13359
12998
  contents.NextMarker = __expectString(output["NextMarker"]);
13360
12999
  }
@@ -13373,9 +13012,7 @@ const deserializeAws_restXmlKeyGroupList = (output, context) => {
13373
13012
  return contents;
13374
13013
  };
13375
13014
  const deserializeAws_restXmlKeyGroupSummary = (output, context) => {
13376
- const contents = {
13377
- KeyGroup: undefined,
13378
- };
13015
+ const contents = {};
13379
13016
  if (output["KeyGroup"] !== undefined) {
13380
13017
  contents.KeyGroup = deserializeAws_restXmlKeyGroup(output["KeyGroup"], context);
13381
13018
  }
@@ -13396,10 +13033,7 @@ const deserializeAws_restXmlKeyPairIdList = (output, context) => {
13396
13033
  });
13397
13034
  };
13398
13035
  const deserializeAws_restXmlKeyPairIds = (output, context) => {
13399
- const contents = {
13400
- Quantity: undefined,
13401
- Items: undefined,
13402
- };
13036
+ const contents = {};
13403
13037
  if (output["Quantity"] !== undefined) {
13404
13038
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13405
13039
  }
@@ -13412,10 +13046,7 @@ const deserializeAws_restXmlKeyPairIds = (output, context) => {
13412
13046
  return contents;
13413
13047
  };
13414
13048
  const deserializeAws_restXmlKGKeyPairIds = (output, context) => {
13415
- const contents = {
13416
- KeyGroupId: undefined,
13417
- KeyPairIds: undefined,
13418
- };
13049
+ const contents = {};
13419
13050
  if (output["KeyGroupId"] !== undefined) {
13420
13051
  contents.KeyGroupId = __expectString(output["KeyGroupId"]);
13421
13052
  }
@@ -13432,10 +13063,7 @@ const deserializeAws_restXmlKGKeyPairIdsList = (output, context) => {
13432
13063
  });
13433
13064
  };
13434
13065
  const deserializeAws_restXmlKinesisStreamConfig = (output, context) => {
13435
- const contents = {
13436
- RoleARN: undefined,
13437
- StreamARN: undefined,
13438
- };
13066
+ const contents = {};
13439
13067
  if (output["RoleARN"] !== undefined) {
13440
13068
  contents.RoleARN = __expectString(output["RoleARN"]);
13441
13069
  }
@@ -13445,11 +13073,7 @@ const deserializeAws_restXmlKinesisStreamConfig = (output, context) => {
13445
13073
  return contents;
13446
13074
  };
13447
13075
  const deserializeAws_restXmlLambdaFunctionAssociation = (output, context) => {
13448
- const contents = {
13449
- LambdaFunctionARN: undefined,
13450
- EventType: undefined,
13451
- IncludeBody: undefined,
13452
- };
13076
+ const contents = {};
13453
13077
  if (output["LambdaFunctionARN"] !== undefined) {
13454
13078
  contents.LambdaFunctionARN = __expectString(output["LambdaFunctionARN"]);
13455
13079
  }
@@ -13469,10 +13093,7 @@ const deserializeAws_restXmlLambdaFunctionAssociationList = (output, context) =>
13469
13093
  });
13470
13094
  };
13471
13095
  const deserializeAws_restXmlLambdaFunctionAssociations = (output, context) => {
13472
- const contents = {
13473
- Quantity: undefined,
13474
- Items: undefined,
13475
- };
13096
+ const contents = {};
13476
13097
  if (output["Quantity"] !== undefined) {
13477
13098
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13478
13099
  }
@@ -13492,12 +13113,7 @@ const deserializeAws_restXmlLocationList = (output, context) => {
13492
13113
  });
13493
13114
  };
13494
13115
  const deserializeAws_restXmlLoggingConfig = (output, context) => {
13495
- const contents = {
13496
- Enabled: undefined,
13497
- IncludeCookies: undefined,
13498
- Bucket: undefined,
13499
- Prefix: undefined,
13500
- };
13116
+ const contents = {};
13501
13117
  if (output["Enabled"] !== undefined) {
13502
13118
  contents.Enabled = __parseBoolean(output["Enabled"]);
13503
13119
  }
@@ -13520,27 +13136,14 @@ const deserializeAws_restXmlMethodsList = (output, context) => {
13520
13136
  });
13521
13137
  };
13522
13138
  const deserializeAws_restXmlMonitoringSubscription = (output, context) => {
13523
- const contents = {
13524
- RealtimeMetricsSubscriptionConfig: undefined,
13525
- };
13139
+ const contents = {};
13526
13140
  if (output["RealtimeMetricsSubscriptionConfig"] !== undefined) {
13527
13141
  contents.RealtimeMetricsSubscriptionConfig = deserializeAws_restXmlRealtimeMetricsSubscriptionConfig(output["RealtimeMetricsSubscriptionConfig"], context);
13528
13142
  }
13529
13143
  return contents;
13530
13144
  };
13531
13145
  const deserializeAws_restXmlOrigin = (output, context) => {
13532
- const contents = {
13533
- Id: undefined,
13534
- DomainName: undefined,
13535
- OriginPath: undefined,
13536
- CustomHeaders: undefined,
13537
- S3OriginConfig: undefined,
13538
- CustomOriginConfig: undefined,
13539
- ConnectionAttempts: undefined,
13540
- ConnectionTimeout: undefined,
13541
- OriginShield: undefined,
13542
- OriginAccessControlId: undefined,
13543
- };
13146
+ const contents = {};
13544
13147
  if (output["Id"] !== undefined) {
13545
13148
  contents.Id = __expectString(output["Id"]);
13546
13149
  }
@@ -13574,10 +13177,7 @@ const deserializeAws_restXmlOrigin = (output, context) => {
13574
13177
  return contents;
13575
13178
  };
13576
13179
  const deserializeAws_restXmlOriginAccessControl = (output, context) => {
13577
- const contents = {
13578
- Id: undefined,
13579
- OriginAccessControlConfig: undefined,
13580
- };
13180
+ const contents = {};
13581
13181
  if (output["Id"] !== undefined) {
13582
13182
  contents.Id = __expectString(output["Id"]);
13583
13183
  }
@@ -13587,13 +13187,7 @@ const deserializeAws_restXmlOriginAccessControl = (output, context) => {
13587
13187
  return contents;
13588
13188
  };
13589
13189
  const deserializeAws_restXmlOriginAccessControlConfig = (output, context) => {
13590
- const contents = {
13591
- Name: undefined,
13592
- Description: undefined,
13593
- SigningProtocol: undefined,
13594
- SigningBehavior: undefined,
13595
- OriginAccessControlOriginType: undefined,
13596
- };
13190
+ const contents = {};
13597
13191
  if (output["Name"] !== undefined) {
13598
13192
  contents.Name = __expectString(output["Name"]);
13599
13193
  }
@@ -13612,14 +13206,7 @@ const deserializeAws_restXmlOriginAccessControlConfig = (output, context) => {
13612
13206
  return contents;
13613
13207
  };
13614
13208
  const deserializeAws_restXmlOriginAccessControlList = (output, context) => {
13615
- const contents = {
13616
- Marker: undefined,
13617
- NextMarker: undefined,
13618
- MaxItems: undefined,
13619
- IsTruncated: undefined,
13620
- Quantity: undefined,
13621
- Items: undefined,
13622
- };
13209
+ const contents = {};
13623
13210
  if (output["Marker"] !== undefined) {
13624
13211
  contents.Marker = __expectString(output["Marker"]);
13625
13212
  }
@@ -13644,14 +13231,7 @@ const deserializeAws_restXmlOriginAccessControlList = (output, context) => {
13644
13231
  return contents;
13645
13232
  };
13646
13233
  const deserializeAws_restXmlOriginAccessControlSummary = (output, context) => {
13647
- const contents = {
13648
- Id: undefined,
13649
- Description: undefined,
13650
- Name: undefined,
13651
- SigningProtocol: undefined,
13652
- SigningBehavior: undefined,
13653
- OriginAccessControlOriginType: undefined,
13654
- };
13234
+ const contents = {};
13655
13235
  if (output["Id"] !== undefined) {
13656
13236
  contents.Id = __expectString(output["Id"]);
13657
13237
  }
@@ -13680,10 +13260,7 @@ const deserializeAws_restXmlOriginAccessControlSummaryList = (output, context) =
13680
13260
  });
13681
13261
  };
13682
13262
  const deserializeAws_restXmlOriginCustomHeader = (output, context) => {
13683
- const contents = {
13684
- HeaderName: undefined,
13685
- HeaderValue: undefined,
13686
- };
13263
+ const contents = {};
13687
13264
  if (output["HeaderName"] !== undefined) {
13688
13265
  contents.HeaderName = __expectString(output["HeaderName"]);
13689
13266
  }
@@ -13700,11 +13277,7 @@ const deserializeAws_restXmlOriginCustomHeadersList = (output, context) => {
13700
13277
  });
13701
13278
  };
13702
13279
  const deserializeAws_restXmlOriginGroup = (output, context) => {
13703
- const contents = {
13704
- Id: undefined,
13705
- FailoverCriteria: undefined,
13706
- Members: undefined,
13707
- };
13280
+ const contents = {};
13708
13281
  if (output["Id"] !== undefined) {
13709
13282
  contents.Id = __expectString(output["Id"]);
13710
13283
  }
@@ -13717,9 +13290,7 @@ const deserializeAws_restXmlOriginGroup = (output, context) => {
13717
13290
  return contents;
13718
13291
  };
13719
13292
  const deserializeAws_restXmlOriginGroupFailoverCriteria = (output, context) => {
13720
- const contents = {
13721
- StatusCodes: undefined,
13722
- };
13293
+ const contents = {};
13723
13294
  if (output["StatusCodes"] !== undefined) {
13724
13295
  contents.StatusCodes = deserializeAws_restXmlStatusCodes(output["StatusCodes"], context);
13725
13296
  }
@@ -13733,9 +13304,7 @@ const deserializeAws_restXmlOriginGroupList = (output, context) => {
13733
13304
  });
13734
13305
  };
13735
13306
  const deserializeAws_restXmlOriginGroupMember = (output, context) => {
13736
- const contents = {
13737
- OriginId: undefined,
13738
- };
13307
+ const contents = {};
13739
13308
  if (output["OriginId"] !== undefined) {
13740
13309
  contents.OriginId = __expectString(output["OriginId"]);
13741
13310
  }
@@ -13749,10 +13318,7 @@ const deserializeAws_restXmlOriginGroupMemberList = (output, context) => {
13749
13318
  });
13750
13319
  };
13751
13320
  const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
13752
- const contents = {
13753
- Quantity: undefined,
13754
- Items: undefined,
13755
- };
13321
+ const contents = {};
13756
13322
  if (output["Quantity"] !== undefined) {
13757
13323
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13758
13324
  }
@@ -13765,10 +13331,7 @@ const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
13765
13331
  return contents;
13766
13332
  };
13767
13333
  const deserializeAws_restXmlOriginGroups = (output, context) => {
13768
- const contents = {
13769
- Quantity: undefined,
13770
- Items: undefined,
13771
- };
13334
+ const contents = {};
13772
13335
  if (output["Quantity"] !== undefined) {
13773
13336
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13774
13337
  }
@@ -13788,11 +13351,7 @@ const deserializeAws_restXmlOriginList = (output, context) => {
13788
13351
  });
13789
13352
  };
13790
13353
  const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
13791
- const contents = {
13792
- Id: undefined,
13793
- LastModifiedTime: undefined,
13794
- OriginRequestPolicyConfig: undefined,
13795
- };
13354
+ const contents = {};
13796
13355
  if (output["Id"] !== undefined) {
13797
13356
  contents.Id = __expectString(output["Id"]);
13798
13357
  }
@@ -13805,13 +13364,7 @@ const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
13805
13364
  return contents;
13806
13365
  };
13807
13366
  const deserializeAws_restXmlOriginRequestPolicyConfig = (output, context) => {
13808
- const contents = {
13809
- Comment: undefined,
13810
- Name: undefined,
13811
- HeadersConfig: undefined,
13812
- CookiesConfig: undefined,
13813
- QueryStringsConfig: undefined,
13814
- };
13367
+ const contents = {};
13815
13368
  if (output["Comment"] !== undefined) {
13816
13369
  contents.Comment = __expectString(output["Comment"]);
13817
13370
  }
@@ -13830,10 +13383,7 @@ const deserializeAws_restXmlOriginRequestPolicyConfig = (output, context) => {
13830
13383
  return contents;
13831
13384
  };
13832
13385
  const deserializeAws_restXmlOriginRequestPolicyCookiesConfig = (output, context) => {
13833
- const contents = {
13834
- CookieBehavior: undefined,
13835
- Cookies: undefined,
13836
- };
13386
+ const contents = {};
13837
13387
  if (output["CookieBehavior"] !== undefined) {
13838
13388
  contents.CookieBehavior = __expectString(output["CookieBehavior"]);
13839
13389
  }
@@ -13843,10 +13393,7 @@ const deserializeAws_restXmlOriginRequestPolicyCookiesConfig = (output, context)
13843
13393
  return contents;
13844
13394
  };
13845
13395
  const deserializeAws_restXmlOriginRequestPolicyHeadersConfig = (output, context) => {
13846
- const contents = {
13847
- HeaderBehavior: undefined,
13848
- Headers: undefined,
13849
- };
13396
+ const contents = {};
13850
13397
  if (output["HeaderBehavior"] !== undefined) {
13851
13398
  contents.HeaderBehavior = __expectString(output["HeaderBehavior"]);
13852
13399
  }
@@ -13856,12 +13403,7 @@ const deserializeAws_restXmlOriginRequestPolicyHeadersConfig = (output, context)
13856
13403
  return contents;
13857
13404
  };
13858
13405
  const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
13859
- const contents = {
13860
- NextMarker: undefined,
13861
- MaxItems: undefined,
13862
- Quantity: undefined,
13863
- Items: undefined,
13864
- };
13406
+ const contents = {};
13865
13407
  if (output["NextMarker"] !== undefined) {
13866
13408
  contents.NextMarker = __expectString(output["NextMarker"]);
13867
13409
  }
@@ -13880,10 +13422,7 @@ const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
13880
13422
  return contents;
13881
13423
  };
13882
13424
  const deserializeAws_restXmlOriginRequestPolicyQueryStringsConfig = (output, context) => {
13883
- const contents = {
13884
- QueryStringBehavior: undefined,
13885
- QueryStrings: undefined,
13886
- };
13425
+ const contents = {};
13887
13426
  if (output["QueryStringBehavior"] !== undefined) {
13888
13427
  contents.QueryStringBehavior = __expectString(output["QueryStringBehavior"]);
13889
13428
  }
@@ -13893,10 +13432,7 @@ const deserializeAws_restXmlOriginRequestPolicyQueryStringsConfig = (output, con
13893
13432
  return contents;
13894
13433
  };
13895
13434
  const deserializeAws_restXmlOriginRequestPolicySummary = (output, context) => {
13896
- const contents = {
13897
- Type: undefined,
13898
- OriginRequestPolicy: undefined,
13899
- };
13435
+ const contents = {};
13900
13436
  if (output["Type"] !== undefined) {
13901
13437
  contents.Type = __expectString(output["Type"]);
13902
13438
  }
@@ -13913,10 +13449,7 @@ const deserializeAws_restXmlOriginRequestPolicySummaryList = (output, context) =
13913
13449
  });
13914
13450
  };
13915
13451
  const deserializeAws_restXmlOrigins = (output, context) => {
13916
- const contents = {
13917
- Quantity: undefined,
13918
- Items: undefined,
13919
- };
13452
+ const contents = {};
13920
13453
  if (output["Quantity"] !== undefined) {
13921
13454
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13922
13455
  }
@@ -13929,10 +13462,7 @@ const deserializeAws_restXmlOrigins = (output, context) => {
13929
13462
  return contents;
13930
13463
  };
13931
13464
  const deserializeAws_restXmlOriginShield = (output, context) => {
13932
- const contents = {
13933
- Enabled: undefined,
13934
- OriginShieldRegion: undefined,
13935
- };
13465
+ const contents = {};
13936
13466
  if (output["Enabled"] !== undefined) {
13937
13467
  contents.Enabled = __parseBoolean(output["Enabled"]);
13938
13468
  }
@@ -13942,10 +13472,7 @@ const deserializeAws_restXmlOriginShield = (output, context) => {
13942
13472
  return contents;
13943
13473
  };
13944
13474
  const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
13945
- const contents = {
13946
- Quantity: undefined,
13947
- Items: undefined,
13948
- };
13475
+ const contents = {};
13949
13476
  if (output["Quantity"] !== undefined) {
13950
13477
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13951
13478
  }
@@ -13958,13 +13485,7 @@ const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
13958
13485
  return contents;
13959
13486
  };
13960
13487
  const deserializeAws_restXmlParametersInCacheKeyAndForwardedToOrigin = (output, context) => {
13961
- const contents = {
13962
- EnableAcceptEncodingGzip: undefined,
13963
- EnableAcceptEncodingBrotli: undefined,
13964
- HeadersConfig: undefined,
13965
- CookiesConfig: undefined,
13966
- QueryStringsConfig: undefined,
13967
- };
13488
+ const contents = {};
13968
13489
  if (output["EnableAcceptEncodingGzip"] !== undefined) {
13969
13490
  contents.EnableAcceptEncodingGzip = __parseBoolean(output["EnableAcceptEncodingGzip"]);
13970
13491
  }
@@ -13990,10 +13511,7 @@ const deserializeAws_restXmlPathList = (output, context) => {
13990
13511
  });
13991
13512
  };
13992
13513
  const deserializeAws_restXmlPaths = (output, context) => {
13993
- const contents = {
13994
- Quantity: undefined,
13995
- Items: undefined,
13996
- };
13514
+ const contents = {};
13997
13515
  if (output["Quantity"] !== undefined) {
13998
13516
  contents.Quantity = __strictParseInt32(output["Quantity"]);
13999
13517
  }
@@ -14006,11 +13524,7 @@ const deserializeAws_restXmlPaths = (output, context) => {
14006
13524
  return contents;
14007
13525
  };
14008
13526
  const deserializeAws_restXmlPublicKey = (output, context) => {
14009
- const contents = {
14010
- Id: undefined,
14011
- CreatedTime: undefined,
14012
- PublicKeyConfig: undefined,
14013
- };
13527
+ const contents = {};
14014
13528
  if (output["Id"] !== undefined) {
14015
13529
  contents.Id = __expectString(output["Id"]);
14016
13530
  }
@@ -14023,12 +13537,7 @@ const deserializeAws_restXmlPublicKey = (output, context) => {
14023
13537
  return contents;
14024
13538
  };
14025
13539
  const deserializeAws_restXmlPublicKeyConfig = (output, context) => {
14026
- const contents = {
14027
- CallerReference: undefined,
14028
- Name: undefined,
14029
- EncodedKey: undefined,
14030
- Comment: undefined,
14031
- };
13540
+ const contents = {};
14032
13541
  if (output["CallerReference"] !== undefined) {
14033
13542
  contents.CallerReference = __expectString(output["CallerReference"]);
14034
13543
  }
@@ -14051,12 +13560,7 @@ const deserializeAws_restXmlPublicKeyIdList = (output, context) => {
14051
13560
  });
14052
13561
  };
14053
13562
  const deserializeAws_restXmlPublicKeyList = (output, context) => {
14054
- const contents = {
14055
- NextMarker: undefined,
14056
- MaxItems: undefined,
14057
- Quantity: undefined,
14058
- Items: undefined,
14059
- };
13563
+ const contents = {};
14060
13564
  if (output["NextMarker"] !== undefined) {
14061
13565
  contents.NextMarker = __expectString(output["NextMarker"]);
14062
13566
  }
@@ -14075,13 +13579,7 @@ const deserializeAws_restXmlPublicKeyList = (output, context) => {
14075
13579
  return contents;
14076
13580
  };
14077
13581
  const deserializeAws_restXmlPublicKeySummary = (output, context) => {
14078
- const contents = {
14079
- Id: undefined,
14080
- Name: undefined,
14081
- CreatedTime: undefined,
14082
- EncodedKey: undefined,
14083
- Comment: undefined,
14084
- };
13582
+ const contents = {};
14085
13583
  if (output["Id"] !== undefined) {
14086
13584
  contents.Id = __expectString(output["Id"]);
14087
13585
  }
@@ -14107,10 +13605,7 @@ const deserializeAws_restXmlPublicKeySummaryList = (output, context) => {
14107
13605
  });
14108
13606
  };
14109
13607
  const deserializeAws_restXmlQueryArgProfile = (output, context) => {
14110
- const contents = {
14111
- QueryArg: undefined,
14112
- ProfileId: undefined,
14113
- };
13608
+ const contents = {};
14114
13609
  if (output["QueryArg"] !== undefined) {
14115
13610
  contents.QueryArg = __expectString(output["QueryArg"]);
14116
13611
  }
@@ -14120,10 +13615,7 @@ const deserializeAws_restXmlQueryArgProfile = (output, context) => {
14120
13615
  return contents;
14121
13616
  };
14122
13617
  const deserializeAws_restXmlQueryArgProfileConfig = (output, context) => {
14123
- const contents = {
14124
- ForwardWhenQueryArgProfileIsUnknown: undefined,
14125
- QueryArgProfiles: undefined,
14126
- };
13618
+ const contents = {};
14127
13619
  if (output["ForwardWhenQueryArgProfileIsUnknown"] !== undefined) {
14128
13620
  contents.ForwardWhenQueryArgProfileIsUnknown = __parseBoolean(output["ForwardWhenQueryArgProfileIsUnknown"]);
14129
13621
  }
@@ -14140,10 +13632,7 @@ const deserializeAws_restXmlQueryArgProfileList = (output, context) => {
14140
13632
  });
14141
13633
  };
14142
13634
  const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
14143
- const contents = {
14144
- Quantity: undefined,
14145
- Items: undefined,
14146
- };
13635
+ const contents = {};
14147
13636
  if (output["Quantity"] !== undefined) {
14148
13637
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14149
13638
  }
@@ -14156,10 +13645,7 @@ const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
14156
13645
  return contents;
14157
13646
  };
14158
13647
  const deserializeAws_restXmlQueryStringCacheKeys = (output, context) => {
14159
- const contents = {
14160
- Quantity: undefined,
14161
- Items: undefined,
14162
- };
13648
+ const contents = {};
14163
13649
  if (output["Quantity"] !== undefined) {
14164
13650
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14165
13651
  }
@@ -14179,10 +13665,7 @@ const deserializeAws_restXmlQueryStringCacheKeysList = (output, context) => {
14179
13665
  });
14180
13666
  };
14181
13667
  const deserializeAws_restXmlQueryStringNames = (output, context) => {
14182
- const contents = {
14183
- Quantity: undefined,
14184
- Items: undefined,
14185
- };
13668
+ const contents = {};
14186
13669
  if (output["Quantity"] !== undefined) {
14187
13670
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14188
13671
  }
@@ -14202,13 +13685,7 @@ const deserializeAws_restXmlQueryStringNamesList = (output, context) => {
14202
13685
  });
14203
13686
  };
14204
13687
  const deserializeAws_restXmlRealtimeLogConfig = (output, context) => {
14205
- const contents = {
14206
- ARN: undefined,
14207
- Name: undefined,
14208
- SamplingRate: undefined,
14209
- EndPoints: undefined,
14210
- Fields: undefined,
14211
- };
13688
+ const contents = {};
14212
13689
  if (output["ARN"] !== undefined) {
14213
13690
  contents.ARN = __expectString(output["ARN"]);
14214
13691
  }
@@ -14240,13 +13717,7 @@ const deserializeAws_restXmlRealtimeLogConfigList = (output, context) => {
14240
13717
  });
14241
13718
  };
14242
13719
  const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
14243
- const contents = {
14244
- MaxItems: undefined,
14245
- Items: undefined,
14246
- IsTruncated: undefined,
14247
- Marker: undefined,
14248
- NextMarker: undefined,
14249
- };
13720
+ const contents = {};
14250
13721
  if (output["MaxItems"] !== undefined) {
14251
13722
  contents.MaxItems = __strictParseInt32(output["MaxItems"]);
14252
13723
  }
@@ -14268,20 +13739,14 @@ const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
14268
13739
  return contents;
14269
13740
  };
14270
13741
  const deserializeAws_restXmlRealtimeMetricsSubscriptionConfig = (output, context) => {
14271
- const contents = {
14272
- RealtimeMetricsSubscriptionStatus: undefined,
14273
- };
13742
+ const contents = {};
14274
13743
  if (output["RealtimeMetricsSubscriptionStatus"] !== undefined) {
14275
13744
  contents.RealtimeMetricsSubscriptionStatus = __expectString(output["RealtimeMetricsSubscriptionStatus"]);
14276
13745
  }
14277
13746
  return contents;
14278
13747
  };
14279
13748
  const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
14280
- const contents = {
14281
- Id: undefined,
14282
- LastModifiedTime: undefined,
14283
- ResponseHeadersPolicyConfig: undefined,
14284
- };
13749
+ const contents = {};
14285
13750
  if (output["Id"] !== undefined) {
14286
13751
  contents.Id = __expectString(output["Id"]);
14287
13752
  }
@@ -14294,10 +13759,7 @@ const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
14294
13759
  return contents;
14295
13760
  };
14296
13761
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = (output, context) => {
14297
- const contents = {
14298
- Quantity: undefined,
14299
- Items: undefined,
14300
- };
13762
+ const contents = {};
14301
13763
  if (output["Quantity"] !== undefined) {
14302
13764
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14303
13765
  }
@@ -14310,10 +13772,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = (ou
14310
13772
  return contents;
14311
13773
  };
14312
13774
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = (output, context) => {
14313
- const contents = {
14314
- Quantity: undefined,
14315
- Items: undefined,
14316
- };
13775
+ const contents = {};
14317
13776
  if (output["Quantity"] !== undefined) {
14318
13777
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14319
13778
  }
@@ -14326,10 +13785,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = (ou
14326
13785
  return contents;
14327
13786
  };
14328
13787
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = (output, context) => {
14329
- const contents = {
14330
- Quantity: undefined,
14331
- Items: undefined,
14332
- };
13788
+ const contents = {};
14333
13789
  if (output["Quantity"] !== undefined) {
14334
13790
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14335
13791
  }
@@ -14342,10 +13798,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = (ou
14342
13798
  return contents;
14343
13799
  };
14344
13800
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = (output, context) => {
14345
- const contents = {
14346
- Quantity: undefined,
14347
- Items: undefined,
14348
- };
13801
+ const contents = {};
14349
13802
  if (output["Quantity"] !== undefined) {
14350
13803
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14351
13804
  }
@@ -14358,15 +13811,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = (o
14358
13811
  return contents;
14359
13812
  };
14360
13813
  const deserializeAws_restXmlResponseHeadersPolicyConfig = (output, context) => {
14361
- const contents = {
14362
- Comment: undefined,
14363
- Name: undefined,
14364
- CorsConfig: undefined,
14365
- SecurityHeadersConfig: undefined,
14366
- ServerTimingHeadersConfig: undefined,
14367
- CustomHeadersConfig: undefined,
14368
- RemoveHeadersConfig: undefined,
14369
- };
13814
+ const contents = {};
14370
13815
  if (output["Comment"] !== undefined) {
14371
13816
  contents.Comment = __expectString(output["Comment"]);
14372
13817
  }
@@ -14391,10 +13836,7 @@ const deserializeAws_restXmlResponseHeadersPolicyConfig = (output, context) => {
14391
13836
  return contents;
14392
13837
  };
14393
13838
  const deserializeAws_restXmlResponseHeadersPolicyContentSecurityPolicy = (output, context) => {
14394
- const contents = {
14395
- Override: undefined,
14396
- ContentSecurityPolicy: undefined,
14397
- };
13839
+ const contents = {};
14398
13840
  if (output["Override"] !== undefined) {
14399
13841
  contents.Override = __parseBoolean(output["Override"]);
14400
13842
  }
@@ -14404,24 +13846,14 @@ const deserializeAws_restXmlResponseHeadersPolicyContentSecurityPolicy = (output
14404
13846
  return contents;
14405
13847
  };
14406
13848
  const deserializeAws_restXmlResponseHeadersPolicyContentTypeOptions = (output, context) => {
14407
- const contents = {
14408
- Override: undefined,
14409
- };
13849
+ const contents = {};
14410
13850
  if (output["Override"] !== undefined) {
14411
13851
  contents.Override = __parseBoolean(output["Override"]);
14412
13852
  }
14413
13853
  return contents;
14414
13854
  };
14415
13855
  const deserializeAws_restXmlResponseHeadersPolicyCorsConfig = (output, context) => {
14416
- const contents = {
14417
- AccessControlAllowOrigins: undefined,
14418
- AccessControlAllowHeaders: undefined,
14419
- AccessControlAllowMethods: undefined,
14420
- AccessControlAllowCredentials: undefined,
14421
- AccessControlExposeHeaders: undefined,
14422
- AccessControlMaxAgeSec: undefined,
14423
- OriginOverride: undefined,
14424
- };
13856
+ const contents = {};
14425
13857
  if (output["AccessControlAllowOrigins"] !== undefined) {
14426
13858
  contents.AccessControlAllowOrigins = deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins(output["AccessControlAllowOrigins"], context);
14427
13859
  }
@@ -14446,11 +13878,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCorsConfig = (output, context)
14446
13878
  return contents;
14447
13879
  };
14448
13880
  const deserializeAws_restXmlResponseHeadersPolicyCustomHeader = (output, context) => {
14449
- const contents = {
14450
- Header: undefined,
14451
- Value: undefined,
14452
- Override: undefined,
14453
- };
13881
+ const contents = {};
14454
13882
  if (output["Header"] !== undefined) {
14455
13883
  contents.Header = __expectString(output["Header"]);
14456
13884
  }
@@ -14470,10 +13898,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCustomHeaderList = (output, con
14470
13898
  });
14471
13899
  };
14472
13900
  const deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = (output, context) => {
14473
- const contents = {
14474
- Quantity: undefined,
14475
- Items: undefined,
14476
- };
13901
+ const contents = {};
14477
13902
  if (output["Quantity"] !== undefined) {
14478
13903
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14479
13904
  }
@@ -14486,10 +13911,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = (output,
14486
13911
  return contents;
14487
13912
  };
14488
13913
  const deserializeAws_restXmlResponseHeadersPolicyFrameOptions = (output, context) => {
14489
- const contents = {
14490
- Override: undefined,
14491
- FrameOption: undefined,
14492
- };
13914
+ const contents = {};
14493
13915
  if (output["Override"] !== undefined) {
14494
13916
  contents.Override = __parseBoolean(output["Override"]);
14495
13917
  }
@@ -14499,12 +13921,7 @@ const deserializeAws_restXmlResponseHeadersPolicyFrameOptions = (output, context
14499
13921
  return contents;
14500
13922
  };
14501
13923
  const deserializeAws_restXmlResponseHeadersPolicyList = (output, context) => {
14502
- const contents = {
14503
- NextMarker: undefined,
14504
- MaxItems: undefined,
14505
- Quantity: undefined,
14506
- Items: undefined,
14507
- };
13924
+ const contents = {};
14508
13925
  if (output["NextMarker"] !== undefined) {
14509
13926
  contents.NextMarker = __expectString(output["NextMarker"]);
14510
13927
  }
@@ -14523,10 +13940,7 @@ const deserializeAws_restXmlResponseHeadersPolicyList = (output, context) => {
14523
13940
  return contents;
14524
13941
  };
14525
13942
  const deserializeAws_restXmlResponseHeadersPolicyReferrerPolicy = (output, context) => {
14526
- const contents = {
14527
- Override: undefined,
14528
- ReferrerPolicy: undefined,
14529
- };
13943
+ const contents = {};
14530
13944
  if (output["Override"] !== undefined) {
14531
13945
  contents.Override = __parseBoolean(output["Override"]);
14532
13946
  }
@@ -14536,9 +13950,7 @@ const deserializeAws_restXmlResponseHeadersPolicyReferrerPolicy = (output, conte
14536
13950
  return contents;
14537
13951
  };
14538
13952
  const deserializeAws_restXmlResponseHeadersPolicyRemoveHeader = (output, context) => {
14539
- const contents = {
14540
- Header: undefined,
14541
- };
13953
+ const contents = {};
14542
13954
  if (output["Header"] !== undefined) {
14543
13955
  contents.Header = __expectString(output["Header"]);
14544
13956
  }
@@ -14552,10 +13964,7 @@ const deserializeAws_restXmlResponseHeadersPolicyRemoveHeaderList = (output, con
14552
13964
  });
14553
13965
  };
14554
13966
  const deserializeAws_restXmlResponseHeadersPolicyRemoveHeadersConfig = (output, context) => {
14555
- const contents = {
14556
- Quantity: undefined,
14557
- Items: undefined,
14558
- };
13967
+ const contents = {};
14559
13968
  if (output["Quantity"] !== undefined) {
14560
13969
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14561
13970
  }
@@ -14568,14 +13977,7 @@ const deserializeAws_restXmlResponseHeadersPolicyRemoveHeadersConfig = (output,
14568
13977
  return contents;
14569
13978
  };
14570
13979
  const deserializeAws_restXmlResponseHeadersPolicySecurityHeadersConfig = (output, context) => {
14571
- const contents = {
14572
- XSSProtection: undefined,
14573
- FrameOptions: undefined,
14574
- ReferrerPolicy: undefined,
14575
- ContentSecurityPolicy: undefined,
14576
- ContentTypeOptions: undefined,
14577
- StrictTransportSecurity: undefined,
14578
- };
13980
+ const contents = {};
14579
13981
  if (output["XSSProtection"] !== undefined) {
14580
13982
  contents.XSSProtection = deserializeAws_restXmlResponseHeadersPolicyXSSProtection(output["XSSProtection"], context);
14581
13983
  }
@@ -14597,10 +13999,7 @@ const deserializeAws_restXmlResponseHeadersPolicySecurityHeadersConfig = (output
14597
13999
  return contents;
14598
14000
  };
14599
14001
  const deserializeAws_restXmlResponseHeadersPolicyServerTimingHeadersConfig = (output, context) => {
14600
- const contents = {
14601
- Enabled: undefined,
14602
- SamplingRate: undefined,
14603
- };
14002
+ const contents = {};
14604
14003
  if (output["Enabled"] !== undefined) {
14605
14004
  contents.Enabled = __parseBoolean(output["Enabled"]);
14606
14005
  }
@@ -14610,12 +14009,7 @@ const deserializeAws_restXmlResponseHeadersPolicyServerTimingHeadersConfig = (ou
14610
14009
  return contents;
14611
14010
  };
14612
14011
  const deserializeAws_restXmlResponseHeadersPolicyStrictTransportSecurity = (output, context) => {
14613
- const contents = {
14614
- Override: undefined,
14615
- IncludeSubdomains: undefined,
14616
- Preload: undefined,
14617
- AccessControlMaxAgeSec: undefined,
14618
- };
14012
+ const contents = {};
14619
14013
  if (output["Override"] !== undefined) {
14620
14014
  contents.Override = __parseBoolean(output["Override"]);
14621
14015
  }
@@ -14631,10 +14025,7 @@ const deserializeAws_restXmlResponseHeadersPolicyStrictTransportSecurity = (outp
14631
14025
  return contents;
14632
14026
  };
14633
14027
  const deserializeAws_restXmlResponseHeadersPolicySummary = (output, context) => {
14634
- const contents = {
14635
- Type: undefined,
14636
- ResponseHeadersPolicy: undefined,
14637
- };
14028
+ const contents = {};
14638
14029
  if (output["Type"] !== undefined) {
14639
14030
  contents.Type = __expectString(output["Type"]);
14640
14031
  }
@@ -14651,12 +14042,7 @@ const deserializeAws_restXmlResponseHeadersPolicySummaryList = (output, context)
14651
14042
  });
14652
14043
  };
14653
14044
  const deserializeAws_restXmlResponseHeadersPolicyXSSProtection = (output, context) => {
14654
- const contents = {
14655
- Override: undefined,
14656
- Protection: undefined,
14657
- ModeBlock: undefined,
14658
- ReportUri: undefined,
14659
- };
14045
+ const contents = {};
14660
14046
  if (output["Override"] !== undefined) {
14661
14047
  contents.Override = __parseBoolean(output["Override"]);
14662
14048
  }
@@ -14672,19 +14058,14 @@ const deserializeAws_restXmlResponseHeadersPolicyXSSProtection = (output, contex
14672
14058
  return contents;
14673
14059
  };
14674
14060
  const deserializeAws_restXmlRestrictions = (output, context) => {
14675
- const contents = {
14676
- GeoRestriction: undefined,
14677
- };
14061
+ const contents = {};
14678
14062
  if (output["GeoRestriction"] !== undefined) {
14679
14063
  contents.GeoRestriction = deserializeAws_restXmlGeoRestriction(output["GeoRestriction"], context);
14680
14064
  }
14681
14065
  return contents;
14682
14066
  };
14683
14067
  const deserializeAws_restXmlS3Origin = (output, context) => {
14684
- const contents = {
14685
- DomainName: undefined,
14686
- OriginAccessIdentity: undefined,
14687
- };
14068
+ const contents = {};
14688
14069
  if (output["DomainName"] !== undefined) {
14689
14070
  contents.DomainName = __expectString(output["DomainName"]);
14690
14071
  }
@@ -14694,19 +14075,14 @@ const deserializeAws_restXmlS3Origin = (output, context) => {
14694
14075
  return contents;
14695
14076
  };
14696
14077
  const deserializeAws_restXmlS3OriginConfig = (output, context) => {
14697
- const contents = {
14698
- OriginAccessIdentity: undefined,
14699
- };
14078
+ const contents = {};
14700
14079
  if (output["OriginAccessIdentity"] !== undefined) {
14701
14080
  contents.OriginAccessIdentity = __expectString(output["OriginAccessIdentity"]);
14702
14081
  }
14703
14082
  return contents;
14704
14083
  };
14705
14084
  const deserializeAws_restXmlSessionStickinessConfig = (output, context) => {
14706
- const contents = {
14707
- IdleTTL: undefined,
14708
- MaximumTTL: undefined,
14709
- };
14085
+ const contents = {};
14710
14086
  if (output["IdleTTL"] !== undefined) {
14711
14087
  contents.IdleTTL = __strictParseInt32(output["IdleTTL"]);
14712
14088
  }
@@ -14716,10 +14092,7 @@ const deserializeAws_restXmlSessionStickinessConfig = (output, context) => {
14716
14092
  return contents;
14717
14093
  };
14718
14094
  const deserializeAws_restXmlSigner = (output, context) => {
14719
- const contents = {
14720
- AwsAccountNumber: undefined,
14721
- KeyPairIds: undefined,
14722
- };
14095
+ const contents = {};
14723
14096
  if (output["AwsAccountNumber"] !== undefined) {
14724
14097
  contents.AwsAccountNumber = __expectString(output["AwsAccountNumber"]);
14725
14098
  }
@@ -14750,10 +14123,7 @@ const deserializeAws_restXmlStagingDistributionDnsNameList = (output, context) =
14750
14123
  });
14751
14124
  };
14752
14125
  const deserializeAws_restXmlStagingDistributionDnsNames = (output, context) => {
14753
- const contents = {
14754
- Quantity: undefined,
14755
- Items: undefined,
14756
- };
14126
+ const contents = {};
14757
14127
  if (output["Quantity"] !== undefined) {
14758
14128
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14759
14129
  }
@@ -14773,10 +14143,7 @@ const deserializeAws_restXmlStatusCodeList = (output, context) => {
14773
14143
  });
14774
14144
  };
14775
14145
  const deserializeAws_restXmlStatusCodes = (output, context) => {
14776
- const contents = {
14777
- Quantity: undefined,
14778
- Items: undefined,
14779
- };
14146
+ const contents = {};
14780
14147
  if (output["Quantity"] !== undefined) {
14781
14148
  contents.Quantity = __strictParseInt32(output["Quantity"]);
14782
14149
  }
@@ -14789,15 +14156,7 @@ const deserializeAws_restXmlStatusCodes = (output, context) => {
14789
14156
  return contents;
14790
14157
  };
14791
14158
  const deserializeAws_restXmlStreamingDistribution = (output, context) => {
14792
- const contents = {
14793
- Id: undefined,
14794
- ARN: undefined,
14795
- Status: undefined,
14796
- LastModifiedTime: undefined,
14797
- DomainName: undefined,
14798
- ActiveTrustedSigners: undefined,
14799
- StreamingDistributionConfig: undefined,
14800
- };
14159
+ const contents = {};
14801
14160
  if (output["Id"] !== undefined) {
14802
14161
  contents.Id = __expectString(output["Id"]);
14803
14162
  }
@@ -14822,16 +14181,7 @@ const deserializeAws_restXmlStreamingDistribution = (output, context) => {
14822
14181
  return contents;
14823
14182
  };
14824
14183
  const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
14825
- const contents = {
14826
- CallerReference: undefined,
14827
- S3Origin: undefined,
14828
- Aliases: undefined,
14829
- Comment: undefined,
14830
- Logging: undefined,
14831
- TrustedSigners: undefined,
14832
- PriceClass: undefined,
14833
- Enabled: undefined,
14834
- };
14184
+ const contents = {};
14835
14185
  if (output["CallerReference"] !== undefined) {
14836
14186
  contents.CallerReference = __expectString(output["CallerReference"]);
14837
14187
  }
@@ -14859,14 +14209,7 @@ const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
14859
14209
  return contents;
14860
14210
  };
14861
14211
  const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
14862
- const contents = {
14863
- Marker: undefined,
14864
- NextMarker: undefined,
14865
- MaxItems: undefined,
14866
- IsTruncated: undefined,
14867
- Quantity: undefined,
14868
- Items: undefined,
14869
- };
14212
+ const contents = {};
14870
14213
  if (output["Marker"] !== undefined) {
14871
14214
  contents.Marker = __expectString(output["Marker"]);
14872
14215
  }
@@ -14891,19 +14234,7 @@ const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
14891
14234
  return contents;
14892
14235
  };
14893
14236
  const deserializeAws_restXmlStreamingDistributionSummary = (output, context) => {
14894
- const contents = {
14895
- Id: undefined,
14896
- ARN: undefined,
14897
- Status: undefined,
14898
- LastModifiedTime: undefined,
14899
- DomainName: undefined,
14900
- S3Origin: undefined,
14901
- Aliases: undefined,
14902
- TrustedSigners: undefined,
14903
- Comment: undefined,
14904
- PriceClass: undefined,
14905
- Enabled: undefined,
14906
- };
14237
+ const contents = {};
14907
14238
  if (output["Id"] !== undefined) {
14908
14239
  contents.Id = __expectString(output["Id"]);
14909
14240
  }
@@ -14947,11 +14278,7 @@ const deserializeAws_restXmlStreamingDistributionSummaryList = (output, context)
14947
14278
  });
14948
14279
  };
14949
14280
  const deserializeAws_restXmlStreamingLoggingConfig = (output, context) => {
14950
- const contents = {
14951
- Enabled: undefined,
14952
- Bucket: undefined,
14953
- Prefix: undefined,
14954
- };
14281
+ const contents = {};
14955
14282
  if (output["Enabled"] !== undefined) {
14956
14283
  contents.Enabled = __parseBoolean(output["Enabled"]);
14957
14284
  }
@@ -14964,10 +14291,7 @@ const deserializeAws_restXmlStreamingLoggingConfig = (output, context) => {
14964
14291
  return contents;
14965
14292
  };
14966
14293
  const deserializeAws_restXmlTag = (output, context) => {
14967
- const contents = {
14968
- Key: undefined,
14969
- Value: undefined,
14970
- };
14294
+ const contents = {};
14971
14295
  if (output["Key"] !== undefined) {
14972
14296
  contents.Key = __expectString(output["Key"]);
14973
14297
  }
@@ -14984,9 +14308,7 @@ const deserializeAws_restXmlTagList = (output, context) => {
14984
14308
  });
14985
14309
  };
14986
14310
  const deserializeAws_restXmlTags = (output, context) => {
14987
- const contents = {
14988
- Items: undefined,
14989
- };
14311
+ const contents = {};
14990
14312
  if (output.Items === "") {
14991
14313
  contents.Items = [];
14992
14314
  }
@@ -14996,13 +14318,7 @@ const deserializeAws_restXmlTags = (output, context) => {
14996
14318
  return contents;
14997
14319
  };
14998
14320
  const deserializeAws_restXmlTestResult = (output, context) => {
14999
- const contents = {
15000
- FunctionSummary: undefined,
15001
- ComputeUtilization: undefined,
15002
- FunctionExecutionLogs: undefined,
15003
- FunctionErrorMessage: undefined,
15004
- FunctionOutput: undefined,
15005
- };
14321
+ const contents = {};
15006
14322
  if (output["FunctionSummary"] !== undefined) {
15007
14323
  contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(output["FunctionSummary"], context);
15008
14324
  }
@@ -15024,11 +14340,7 @@ const deserializeAws_restXmlTestResult = (output, context) => {
15024
14340
  return contents;
15025
14341
  };
15026
14342
  const deserializeAws_restXmlTrafficConfig = (output, context) => {
15027
- const contents = {
15028
- SingleWeightConfig: undefined,
15029
- SingleHeaderConfig: undefined,
15030
- Type: undefined,
15031
- };
14343
+ const contents = {};
15032
14344
  if (output["SingleWeightConfig"] !== undefined) {
15033
14345
  contents.SingleWeightConfig = deserializeAws_restXmlContinuousDeploymentSingleWeightConfig(output["SingleWeightConfig"], context);
15034
14346
  }
@@ -15048,11 +14360,7 @@ const deserializeAws_restXmlTrustedKeyGroupIdList = (output, context) => {
15048
14360
  });
15049
14361
  };
15050
14362
  const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
15051
- const contents = {
15052
- Enabled: undefined,
15053
- Quantity: undefined,
15054
- Items: undefined,
15055
- };
14363
+ const contents = {};
15056
14364
  if (output["Enabled"] !== undefined) {
15057
14365
  contents.Enabled = __parseBoolean(output["Enabled"]);
15058
14366
  }
@@ -15068,11 +14376,7 @@ const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
15068
14376
  return contents;
15069
14377
  };
15070
14378
  const deserializeAws_restXmlTrustedSigners = (output, context) => {
15071
- const contents = {
15072
- Enabled: undefined,
15073
- Quantity: undefined,
15074
- Items: undefined,
15075
- };
14379
+ const contents = {};
15076
14380
  if (output["Enabled"] !== undefined) {
15077
14381
  contents.Enabled = __parseBoolean(output["Enabled"]);
15078
14382
  }
@@ -15088,15 +14392,7 @@ const deserializeAws_restXmlTrustedSigners = (output, context) => {
15088
14392
  return contents;
15089
14393
  };
15090
14394
  const deserializeAws_restXmlViewerCertificate = (output, context) => {
15091
- const contents = {
15092
- CloudFrontDefaultCertificate: undefined,
15093
- IAMCertificateId: undefined,
15094
- ACMCertificateArn: undefined,
15095
- SSLSupportMethod: undefined,
15096
- MinimumProtocolVersion: undefined,
15097
- Certificate: undefined,
15098
- CertificateSource: undefined,
15099
- };
14395
+ const contents = {};
15100
14396
  if (output["CloudFrontDefaultCertificate"] !== undefined) {
15101
14397
  contents.CloudFrontDefaultCertificate = __parseBoolean(output["CloudFrontDefaultCertificate"]);
15102
14398
  }