@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
@@ -11821,11 +11821,7 @@ const deserializeAws_restXmlAccessControlExposeHeadersList = (output, context) =
11821
11821
  });
11822
11822
  };
11823
11823
  const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
11824
- const contents = {
11825
- Enabled: undefined,
11826
- Quantity: undefined,
11827
- Items: undefined,
11828
- };
11824
+ const contents = {};
11829
11825
  if (output["Enabled"] !== undefined) {
11830
11826
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
11831
11827
  }
@@ -11841,11 +11837,7 @@ const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
11841
11837
  return contents;
11842
11838
  };
11843
11839
  const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
11844
- const contents = {
11845
- Enabled: undefined,
11846
- Quantity: undefined,
11847
- Items: undefined,
11848
- };
11840
+ const contents = {};
11849
11841
  if (output["Enabled"] !== undefined) {
11850
11842
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
11851
11843
  }
@@ -11861,10 +11853,7 @@ const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
11861
11853
  return contents;
11862
11854
  };
11863
11855
  const deserializeAws_restXmlAliases = (output, context) => {
11864
- const contents = {
11865
- Quantity: undefined,
11866
- Items: undefined,
11867
- };
11856
+ const contents = {};
11868
11857
  if (output["Quantity"] !== undefined) {
11869
11858
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
11870
11859
  }
@@ -11877,10 +11866,7 @@ const deserializeAws_restXmlAliases = (output, context) => {
11877
11866
  return contents;
11878
11867
  };
11879
11868
  const deserializeAws_restXmlAliasICPRecordal = (output, context) => {
11880
- const contents = {
11881
- CNAME: undefined,
11882
- ICPRecordalStatus: undefined,
11883
- };
11869
+ const contents = {};
11884
11870
  if (output["CNAME"] !== undefined) {
11885
11871
  contents.CNAME = (0, smithy_client_1.expectString)(output["CNAME"]);
11886
11872
  }
@@ -11904,11 +11890,7 @@ const deserializeAws_restXmlAliasList = (output, context) => {
11904
11890
  });
11905
11891
  };
11906
11892
  const deserializeAws_restXmlAllowedMethods = (output, context) => {
11907
- const contents = {
11908
- Quantity: undefined,
11909
- Items: undefined,
11910
- CachedMethods: undefined,
11911
- };
11893
+ const contents = {};
11912
11894
  if (output["Quantity"] !== undefined) {
11913
11895
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
11914
11896
  }
@@ -11931,27 +11913,7 @@ const deserializeAws_restXmlAwsAccountNumberList = (output, context) => {
11931
11913
  });
11932
11914
  };
11933
11915
  const deserializeAws_restXmlCacheBehavior = (output, context) => {
11934
- const contents = {
11935
- PathPattern: undefined,
11936
- TargetOriginId: undefined,
11937
- TrustedSigners: undefined,
11938
- TrustedKeyGroups: undefined,
11939
- ViewerProtocolPolicy: undefined,
11940
- AllowedMethods: undefined,
11941
- SmoothStreaming: undefined,
11942
- Compress: undefined,
11943
- LambdaFunctionAssociations: undefined,
11944
- FunctionAssociations: undefined,
11945
- FieldLevelEncryptionId: undefined,
11946
- RealtimeLogConfigArn: undefined,
11947
- CachePolicyId: undefined,
11948
- OriginRequestPolicyId: undefined,
11949
- ResponseHeadersPolicyId: undefined,
11950
- ForwardedValues: undefined,
11951
- MinTTL: undefined,
11952
- DefaultTTL: undefined,
11953
- MaxTTL: undefined,
11954
- };
11916
+ const contents = {};
11955
11917
  if (output["PathPattern"] !== undefined) {
11956
11918
  contents.PathPattern = (0, smithy_client_1.expectString)(output["PathPattern"]);
11957
11919
  }
@@ -12019,10 +11981,7 @@ const deserializeAws_restXmlCacheBehaviorList = (output, context) => {
12019
11981
  });
12020
11982
  };
12021
11983
  const deserializeAws_restXmlCacheBehaviors = (output, context) => {
12022
- const contents = {
12023
- Quantity: undefined,
12024
- Items: undefined,
12025
- };
11984
+ const contents = {};
12026
11985
  if (output["Quantity"] !== undefined) {
12027
11986
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12028
11987
  }
@@ -12035,10 +11994,7 @@ const deserializeAws_restXmlCacheBehaviors = (output, context) => {
12035
11994
  return contents;
12036
11995
  };
12037
11996
  const deserializeAws_restXmlCachedMethods = (output, context) => {
12038
- const contents = {
12039
- Quantity: undefined,
12040
- Items: undefined,
12041
- };
11997
+ const contents = {};
12042
11998
  if (output["Quantity"] !== undefined) {
12043
11999
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12044
12000
  }
@@ -12051,11 +12007,7 @@ const deserializeAws_restXmlCachedMethods = (output, context) => {
12051
12007
  return contents;
12052
12008
  };
12053
12009
  const deserializeAws_restXmlCachePolicy = (output, context) => {
12054
- const contents = {
12055
- Id: undefined,
12056
- LastModifiedTime: undefined,
12057
- CachePolicyConfig: undefined,
12058
- };
12010
+ const contents = {};
12059
12011
  if (output["Id"] !== undefined) {
12060
12012
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12061
12013
  }
@@ -12068,14 +12020,7 @@ const deserializeAws_restXmlCachePolicy = (output, context) => {
12068
12020
  return contents;
12069
12021
  };
12070
12022
  const deserializeAws_restXmlCachePolicyConfig = (output, context) => {
12071
- const contents = {
12072
- Comment: undefined,
12073
- Name: undefined,
12074
- DefaultTTL: undefined,
12075
- MaxTTL: undefined,
12076
- MinTTL: undefined,
12077
- ParametersInCacheKeyAndForwardedToOrigin: undefined,
12078
- };
12023
+ const contents = {};
12079
12024
  if (output["Comment"] !== undefined) {
12080
12025
  contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
12081
12026
  }
@@ -12097,10 +12042,7 @@ const deserializeAws_restXmlCachePolicyConfig = (output, context) => {
12097
12042
  return contents;
12098
12043
  };
12099
12044
  const deserializeAws_restXmlCachePolicyCookiesConfig = (output, context) => {
12100
- const contents = {
12101
- CookieBehavior: undefined,
12102
- Cookies: undefined,
12103
- };
12045
+ const contents = {};
12104
12046
  if (output["CookieBehavior"] !== undefined) {
12105
12047
  contents.CookieBehavior = (0, smithy_client_1.expectString)(output["CookieBehavior"]);
12106
12048
  }
@@ -12110,10 +12052,7 @@ const deserializeAws_restXmlCachePolicyCookiesConfig = (output, context) => {
12110
12052
  return contents;
12111
12053
  };
12112
12054
  const deserializeAws_restXmlCachePolicyHeadersConfig = (output, context) => {
12113
- const contents = {
12114
- HeaderBehavior: undefined,
12115
- Headers: undefined,
12116
- };
12055
+ const contents = {};
12117
12056
  if (output["HeaderBehavior"] !== undefined) {
12118
12057
  contents.HeaderBehavior = (0, smithy_client_1.expectString)(output["HeaderBehavior"]);
12119
12058
  }
@@ -12123,12 +12062,7 @@ const deserializeAws_restXmlCachePolicyHeadersConfig = (output, context) => {
12123
12062
  return contents;
12124
12063
  };
12125
12064
  const deserializeAws_restXmlCachePolicyList = (output, context) => {
12126
- const contents = {
12127
- NextMarker: undefined,
12128
- MaxItems: undefined,
12129
- Quantity: undefined,
12130
- Items: undefined,
12131
- };
12065
+ const contents = {};
12132
12066
  if (output["NextMarker"] !== undefined) {
12133
12067
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
12134
12068
  }
@@ -12147,10 +12081,7 @@ const deserializeAws_restXmlCachePolicyList = (output, context) => {
12147
12081
  return contents;
12148
12082
  };
12149
12083
  const deserializeAws_restXmlCachePolicyQueryStringsConfig = (output, context) => {
12150
- const contents = {
12151
- QueryStringBehavior: undefined,
12152
- QueryStrings: undefined,
12153
- };
12084
+ const contents = {};
12154
12085
  if (output["QueryStringBehavior"] !== undefined) {
12155
12086
  contents.QueryStringBehavior = (0, smithy_client_1.expectString)(output["QueryStringBehavior"]);
12156
12087
  }
@@ -12160,10 +12091,7 @@ const deserializeAws_restXmlCachePolicyQueryStringsConfig = (output, context) =>
12160
12091
  return contents;
12161
12092
  };
12162
12093
  const deserializeAws_restXmlCachePolicySummary = (output, context) => {
12163
- const contents = {
12164
- Type: undefined,
12165
- CachePolicy: undefined,
12166
- };
12094
+ const contents = {};
12167
12095
  if (output["Type"] !== undefined) {
12168
12096
  contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
12169
12097
  }
@@ -12180,11 +12108,7 @@ const deserializeAws_restXmlCachePolicySummaryList = (output, context) => {
12180
12108
  });
12181
12109
  };
12182
12110
  const deserializeAws_restXmlCloudFrontOriginAccessIdentity = (output, context) => {
12183
- const contents = {
12184
- Id: undefined,
12185
- S3CanonicalUserId: undefined,
12186
- CloudFrontOriginAccessIdentityConfig: undefined,
12187
- };
12111
+ const contents = {};
12188
12112
  if (output["Id"] !== undefined) {
12189
12113
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12190
12114
  }
@@ -12197,10 +12121,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentity = (output, context) =
12197
12121
  return contents;
12198
12122
  };
12199
12123
  const deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig = (output, context) => {
12200
- const contents = {
12201
- CallerReference: undefined,
12202
- Comment: undefined,
12203
- };
12124
+ const contents = {};
12204
12125
  if (output["CallerReference"] !== undefined) {
12205
12126
  contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
12206
12127
  }
@@ -12210,14 +12131,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityConfig = (output, cont
12210
12131
  return contents;
12211
12132
  };
12212
12133
  const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, context) => {
12213
- const contents = {
12214
- Marker: undefined,
12215
- NextMarker: undefined,
12216
- MaxItems: undefined,
12217
- IsTruncated: undefined,
12218
- Quantity: undefined,
12219
- Items: undefined,
12220
- };
12134
+ const contents = {};
12221
12135
  if (output["Marker"] !== undefined) {
12222
12136
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12223
12137
  }
@@ -12242,11 +12156,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, contex
12242
12156
  return contents;
12243
12157
  };
12244
12158
  const deserializeAws_restXmlCloudFrontOriginAccessIdentitySummary = (output, context) => {
12245
- const contents = {
12246
- Id: undefined,
12247
- S3CanonicalUserId: undefined,
12248
- Comment: undefined,
12249
- };
12159
+ const contents = {};
12250
12160
  if (output["Id"] !== undefined) {
12251
12161
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12252
12162
  }
@@ -12266,11 +12176,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList = (output,
12266
12176
  });
12267
12177
  };
12268
12178
  const deserializeAws_restXmlConflictingAlias = (output, context) => {
12269
- const contents = {
12270
- Alias: undefined,
12271
- DistributionId: undefined,
12272
- AccountId: undefined,
12273
- };
12179
+ const contents = {};
12274
12180
  if (output["Alias"] !== undefined) {
12275
12181
  contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
12276
12182
  }
@@ -12290,12 +12196,7 @@ const deserializeAws_restXmlConflictingAliases = (output, context) => {
12290
12196
  });
12291
12197
  };
12292
12198
  const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
12293
- const contents = {
12294
- NextMarker: undefined,
12295
- MaxItems: undefined,
12296
- Quantity: undefined,
12297
- Items: undefined,
12298
- };
12199
+ const contents = {};
12299
12200
  if (output["NextMarker"] !== undefined) {
12300
12201
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
12301
12202
  }
@@ -12314,11 +12215,7 @@ const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
12314
12215
  return contents;
12315
12216
  };
12316
12217
  const deserializeAws_restXmlContentTypeProfile = (output, context) => {
12317
- const contents = {
12318
- Format: undefined,
12319
- ProfileId: undefined,
12320
- ContentType: undefined,
12321
- };
12218
+ const contents = {};
12322
12219
  if (output["Format"] !== undefined) {
12323
12220
  contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
12324
12221
  }
@@ -12331,10 +12228,7 @@ const deserializeAws_restXmlContentTypeProfile = (output, context) => {
12331
12228
  return contents;
12332
12229
  };
12333
12230
  const deserializeAws_restXmlContentTypeProfileConfig = (output, context) => {
12334
- const contents = {
12335
- ForwardWhenContentTypeIsUnknown: undefined,
12336
- ContentTypeProfiles: undefined,
12337
- };
12231
+ const contents = {};
12338
12232
  if (output["ForwardWhenContentTypeIsUnknown"] !== undefined) {
12339
12233
  contents.ForwardWhenContentTypeIsUnknown = (0, smithy_client_1.parseBoolean)(output["ForwardWhenContentTypeIsUnknown"]);
12340
12234
  }
@@ -12351,10 +12245,7 @@ const deserializeAws_restXmlContentTypeProfileList = (output, context) => {
12351
12245
  });
12352
12246
  };
12353
12247
  const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
12354
- const contents = {
12355
- Quantity: undefined,
12356
- Items: undefined,
12357
- };
12248
+ const contents = {};
12358
12249
  if (output["Quantity"] !== undefined) {
12359
12250
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12360
12251
  }
@@ -12367,11 +12258,7 @@ const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
12367
12258
  return contents;
12368
12259
  };
12369
12260
  const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
12370
- const contents = {
12371
- Id: undefined,
12372
- LastModifiedTime: undefined,
12373
- ContinuousDeploymentPolicyConfig: undefined,
12374
- };
12261
+ const contents = {};
12375
12262
  if (output["Id"] !== undefined) {
12376
12263
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12377
12264
  }
@@ -12384,11 +12271,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicy = (output, context) => {
12384
12271
  return contents;
12385
12272
  };
12386
12273
  const deserializeAws_restXmlContinuousDeploymentPolicyConfig = (output, context) => {
12387
- const contents = {
12388
- StagingDistributionDnsNames: undefined,
12389
- Enabled: undefined,
12390
- TrafficConfig: undefined,
12391
- };
12274
+ const contents = {};
12392
12275
  if (output["StagingDistributionDnsNames"] !== undefined) {
12393
12276
  contents.StagingDistributionDnsNames = deserializeAws_restXmlStagingDistributionDnsNames(output["StagingDistributionDnsNames"], context);
12394
12277
  }
@@ -12401,12 +12284,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicyConfig = (output, context)
12401
12284
  return contents;
12402
12285
  };
12403
12286
  const deserializeAws_restXmlContinuousDeploymentPolicyList = (output, context) => {
12404
- const contents = {
12405
- NextMarker: undefined,
12406
- MaxItems: undefined,
12407
- Quantity: undefined,
12408
- Items: undefined,
12409
- };
12287
+ const contents = {};
12410
12288
  if (output["NextMarker"] !== undefined) {
12411
12289
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
12412
12290
  }
@@ -12425,9 +12303,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicyList = (output, context) =
12425
12303
  return contents;
12426
12304
  };
12427
12305
  const deserializeAws_restXmlContinuousDeploymentPolicySummary = (output, context) => {
12428
- const contents = {
12429
- ContinuousDeploymentPolicy: undefined,
12430
- };
12306
+ const contents = {};
12431
12307
  if (output["ContinuousDeploymentPolicy"] !== undefined) {
12432
12308
  contents.ContinuousDeploymentPolicy = deserializeAws_restXmlContinuousDeploymentPolicy(output["ContinuousDeploymentPolicy"], context);
12433
12309
  }
@@ -12441,10 +12317,7 @@ const deserializeAws_restXmlContinuousDeploymentPolicySummaryList = (output, con
12441
12317
  });
12442
12318
  };
12443
12319
  const deserializeAws_restXmlContinuousDeploymentSingleHeaderConfig = (output, context) => {
12444
- const contents = {
12445
- Header: undefined,
12446
- Value: undefined,
12447
- };
12320
+ const contents = {};
12448
12321
  if (output["Header"] !== undefined) {
12449
12322
  contents.Header = (0, smithy_client_1.expectString)(output["Header"]);
12450
12323
  }
@@ -12454,10 +12327,7 @@ const deserializeAws_restXmlContinuousDeploymentSingleHeaderConfig = (output, co
12454
12327
  return contents;
12455
12328
  };
12456
12329
  const deserializeAws_restXmlContinuousDeploymentSingleWeightConfig = (output, context) => {
12457
- const contents = {
12458
- Weight: undefined,
12459
- SessionStickinessConfig: undefined,
12460
- };
12330
+ const contents = {};
12461
12331
  if (output["Weight"] !== undefined) {
12462
12332
  contents.Weight = (0, smithy_client_1.strictParseFloat)(output["Weight"]);
12463
12333
  }
@@ -12474,10 +12344,7 @@ const deserializeAws_restXmlCookieNameList = (output, context) => {
12474
12344
  });
12475
12345
  };
12476
12346
  const deserializeAws_restXmlCookieNames = (output, context) => {
12477
- const contents = {
12478
- Quantity: undefined,
12479
- Items: undefined,
12480
- };
12347
+ const contents = {};
12481
12348
  if (output["Quantity"] !== undefined) {
12482
12349
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12483
12350
  }
@@ -12490,10 +12357,7 @@ const deserializeAws_restXmlCookieNames = (output, context) => {
12490
12357
  return contents;
12491
12358
  };
12492
12359
  const deserializeAws_restXmlCookiePreference = (output, context) => {
12493
- const contents = {
12494
- Forward: undefined,
12495
- WhitelistedNames: undefined,
12496
- };
12360
+ const contents = {};
12497
12361
  if (output["Forward"] !== undefined) {
12498
12362
  contents.Forward = (0, smithy_client_1.expectString)(output["Forward"]);
12499
12363
  }
@@ -12503,12 +12367,7 @@ const deserializeAws_restXmlCookiePreference = (output, context) => {
12503
12367
  return contents;
12504
12368
  };
12505
12369
  const deserializeAws_restXmlCustomErrorResponse = (output, context) => {
12506
- const contents = {
12507
- ErrorCode: undefined,
12508
- ResponsePagePath: undefined,
12509
- ResponseCode: undefined,
12510
- ErrorCachingMinTTL: undefined,
12511
- };
12370
+ const contents = {};
12512
12371
  if (output["ErrorCode"] !== undefined) {
12513
12372
  contents.ErrorCode = (0, smithy_client_1.strictParseInt32)(output["ErrorCode"]);
12514
12373
  }
@@ -12531,10 +12390,7 @@ const deserializeAws_restXmlCustomErrorResponseList = (output, context) => {
12531
12390
  });
12532
12391
  };
12533
12392
  const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
12534
- const contents = {
12535
- Quantity: undefined,
12536
- Items: undefined,
12537
- };
12393
+ const contents = {};
12538
12394
  if (output["Quantity"] !== undefined) {
12539
12395
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12540
12396
  }
@@ -12547,10 +12403,7 @@ const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
12547
12403
  return contents;
12548
12404
  };
12549
12405
  const deserializeAws_restXmlCustomHeaders = (output, context) => {
12550
- const contents = {
12551
- Quantity: undefined,
12552
- Items: undefined,
12553
- };
12406
+ const contents = {};
12554
12407
  if (output["Quantity"] !== undefined) {
12555
12408
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12556
12409
  }
@@ -12563,14 +12416,7 @@ const deserializeAws_restXmlCustomHeaders = (output, context) => {
12563
12416
  return contents;
12564
12417
  };
12565
12418
  const deserializeAws_restXmlCustomOriginConfig = (output, context) => {
12566
- const contents = {
12567
- HTTPPort: undefined,
12568
- HTTPSPort: undefined,
12569
- OriginProtocolPolicy: undefined,
12570
- OriginSslProtocols: undefined,
12571
- OriginReadTimeout: undefined,
12572
- OriginKeepaliveTimeout: undefined,
12573
- };
12419
+ const contents = {};
12574
12420
  if (output["HTTPPort"] !== undefined) {
12575
12421
  contents.HTTPPort = (0, smithy_client_1.strictParseInt32)(output["HTTPPort"]);
12576
12422
  }
@@ -12592,26 +12438,7 @@ const deserializeAws_restXmlCustomOriginConfig = (output, context) => {
12592
12438
  return contents;
12593
12439
  };
12594
12440
  const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
12595
- const contents = {
12596
- TargetOriginId: undefined,
12597
- TrustedSigners: undefined,
12598
- TrustedKeyGroups: undefined,
12599
- ViewerProtocolPolicy: undefined,
12600
- AllowedMethods: undefined,
12601
- SmoothStreaming: undefined,
12602
- Compress: undefined,
12603
- LambdaFunctionAssociations: undefined,
12604
- FunctionAssociations: undefined,
12605
- FieldLevelEncryptionId: undefined,
12606
- RealtimeLogConfigArn: undefined,
12607
- CachePolicyId: undefined,
12608
- OriginRequestPolicyId: undefined,
12609
- ResponseHeadersPolicyId: undefined,
12610
- ForwardedValues: undefined,
12611
- MinTTL: undefined,
12612
- DefaultTTL: undefined,
12613
- MaxTTL: undefined,
12614
- };
12441
+ const contents = {};
12615
12442
  if (output["TargetOriginId"] !== undefined) {
12616
12443
  contents.TargetOriginId = (0, smithy_client_1.expectString)(output["TargetOriginId"]);
12617
12444
  }
@@ -12669,18 +12496,7 @@ const deserializeAws_restXmlDefaultCacheBehavior = (output, context) => {
12669
12496
  return contents;
12670
12497
  };
12671
12498
  const deserializeAws_restXmlDistribution = (output, context) => {
12672
- const contents = {
12673
- Id: undefined,
12674
- ARN: undefined,
12675
- Status: undefined,
12676
- LastModifiedTime: undefined,
12677
- InProgressInvalidationBatches: undefined,
12678
- DomainName: undefined,
12679
- ActiveTrustedSigners: undefined,
12680
- ActiveTrustedKeyGroups: undefined,
12681
- DistributionConfig: undefined,
12682
- AliasICPRecordals: undefined,
12683
- };
12499
+ const contents = {};
12684
12500
  if (output["Id"] !== undefined) {
12685
12501
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12686
12502
  }
@@ -12718,27 +12534,7 @@ const deserializeAws_restXmlDistribution = (output, context) => {
12718
12534
  return contents;
12719
12535
  };
12720
12536
  const deserializeAws_restXmlDistributionConfig = (output, context) => {
12721
- const contents = {
12722
- CallerReference: undefined,
12723
- Aliases: undefined,
12724
- DefaultRootObject: undefined,
12725
- Origins: undefined,
12726
- OriginGroups: undefined,
12727
- DefaultCacheBehavior: undefined,
12728
- CacheBehaviors: undefined,
12729
- CustomErrorResponses: undefined,
12730
- Comment: undefined,
12731
- Logging: undefined,
12732
- PriceClass: undefined,
12733
- Enabled: undefined,
12734
- ViewerCertificate: undefined,
12735
- Restrictions: undefined,
12736
- WebACLId: undefined,
12737
- HttpVersion: undefined,
12738
- IsIPV6Enabled: undefined,
12739
- ContinuousDeploymentPolicyId: undefined,
12740
- Staging: undefined,
12741
- };
12537
+ const contents = {};
12742
12538
  if (output["CallerReference"] !== undefined) {
12743
12539
  contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
12744
12540
  }
@@ -12799,14 +12595,7 @@ const deserializeAws_restXmlDistributionConfig = (output, context) => {
12799
12595
  return contents;
12800
12596
  };
12801
12597
  const deserializeAws_restXmlDistributionIdList = (output, context) => {
12802
- const contents = {
12803
- Marker: undefined,
12804
- NextMarker: undefined,
12805
- MaxItems: undefined,
12806
- IsTruncated: undefined,
12807
- Quantity: undefined,
12808
- Items: undefined,
12809
- };
12598
+ const contents = {};
12810
12599
  if (output["Marker"] !== undefined) {
12811
12600
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12812
12601
  }
@@ -12838,14 +12627,7 @@ const deserializeAws_restXmlDistributionIdListSummary = (output, context) => {
12838
12627
  });
12839
12628
  };
12840
12629
  const deserializeAws_restXmlDistributionList = (output, context) => {
12841
- const contents = {
12842
- Marker: undefined,
12843
- NextMarker: undefined,
12844
- MaxItems: undefined,
12845
- IsTruncated: undefined,
12846
- Quantity: undefined,
12847
- Items: undefined,
12848
- };
12630
+ const contents = {};
12849
12631
  if (output["Marker"] !== undefined) {
12850
12632
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12851
12633
  }
@@ -12870,29 +12652,7 @@ const deserializeAws_restXmlDistributionList = (output, context) => {
12870
12652
  return contents;
12871
12653
  };
12872
12654
  const deserializeAws_restXmlDistributionSummary = (output, context) => {
12873
- const contents = {
12874
- Id: undefined,
12875
- ARN: undefined,
12876
- Status: undefined,
12877
- LastModifiedTime: undefined,
12878
- DomainName: undefined,
12879
- Aliases: undefined,
12880
- Origins: undefined,
12881
- OriginGroups: undefined,
12882
- DefaultCacheBehavior: undefined,
12883
- CacheBehaviors: undefined,
12884
- CustomErrorResponses: undefined,
12885
- Comment: undefined,
12886
- PriceClass: undefined,
12887
- Enabled: undefined,
12888
- ViewerCertificate: undefined,
12889
- Restrictions: undefined,
12890
- WebACLId: undefined,
12891
- HttpVersion: undefined,
12892
- IsIPV6Enabled: undefined,
12893
- AliasICPRecordals: undefined,
12894
- Staging: undefined,
12895
- };
12655
+ const contents = {};
12896
12656
  if (output["Id"] !== undefined) {
12897
12657
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
12898
12658
  }
@@ -12970,10 +12730,7 @@ const deserializeAws_restXmlDistributionSummaryList = (output, context) => {
12970
12730
  });
12971
12731
  };
12972
12732
  const deserializeAws_restXmlEncryptionEntities = (output, context) => {
12973
- const contents = {
12974
- Quantity: undefined,
12975
- Items: undefined,
12976
- };
12733
+ const contents = {};
12977
12734
  if (output["Quantity"] !== undefined) {
12978
12735
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
12979
12736
  }
@@ -12986,11 +12743,7 @@ const deserializeAws_restXmlEncryptionEntities = (output, context) => {
12986
12743
  return contents;
12987
12744
  };
12988
12745
  const deserializeAws_restXmlEncryptionEntity = (output, context) => {
12989
- const contents = {
12990
- PublicKeyId: undefined,
12991
- ProviderId: undefined,
12992
- FieldPatterns: undefined,
12993
- };
12746
+ const contents = {};
12994
12747
  if (output["PublicKeyId"] !== undefined) {
12995
12748
  contents.PublicKeyId = (0, smithy_client_1.expectString)(output["PublicKeyId"]);
12996
12749
  }
@@ -13010,10 +12763,7 @@ const deserializeAws_restXmlEncryptionEntityList = (output, context) => {
13010
12763
  });
13011
12764
  };
13012
12765
  const deserializeAws_restXmlEndPoint = (output, context) => {
13013
- const contents = {
13014
- StreamType: undefined,
13015
- KinesisStreamConfig: undefined,
13016
- };
12766
+ const contents = {};
13017
12767
  if (output["StreamType"] !== undefined) {
13018
12768
  contents.StreamType = (0, smithy_client_1.expectString)(output["StreamType"]);
13019
12769
  }
@@ -13030,11 +12780,7 @@ const deserializeAws_restXmlEndPointList = (output, context) => {
13030
12780
  });
13031
12781
  };
13032
12782
  const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
13033
- const contents = {
13034
- Id: undefined,
13035
- LastModifiedTime: undefined,
13036
- FieldLevelEncryptionConfig: undefined,
13037
- };
12783
+ const contents = {};
13038
12784
  if (output["Id"] !== undefined) {
13039
12785
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13040
12786
  }
@@ -13047,12 +12793,7 @@ const deserializeAws_restXmlFieldLevelEncryption = (output, context) => {
13047
12793
  return contents;
13048
12794
  };
13049
12795
  const deserializeAws_restXmlFieldLevelEncryptionConfig = (output, context) => {
13050
- const contents = {
13051
- CallerReference: undefined,
13052
- Comment: undefined,
13053
- QueryArgProfileConfig: undefined,
13054
- ContentTypeProfileConfig: undefined,
13055
- };
12796
+ const contents = {};
13056
12797
  if (output["CallerReference"] !== undefined) {
13057
12798
  contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
13058
12799
  }
@@ -13068,12 +12809,7 @@ const deserializeAws_restXmlFieldLevelEncryptionConfig = (output, context) => {
13068
12809
  return contents;
13069
12810
  };
13070
12811
  const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
13071
- const contents = {
13072
- NextMarker: undefined,
13073
- MaxItems: undefined,
13074
- Quantity: undefined,
13075
- Items: undefined,
13076
- };
12812
+ const contents = {};
13077
12813
  if (output["NextMarker"] !== undefined) {
13078
12814
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
13079
12815
  }
@@ -13092,11 +12828,7 @@ const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
13092
12828
  return contents;
13093
12829
  };
13094
12830
  const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
13095
- const contents = {
13096
- Id: undefined,
13097
- LastModifiedTime: undefined,
13098
- FieldLevelEncryptionProfileConfig: undefined,
13099
- };
12831
+ const contents = {};
13100
12832
  if (output["Id"] !== undefined) {
13101
12833
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13102
12834
  }
@@ -13109,12 +12841,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfile = (output, context) => {
13109
12841
  return contents;
13110
12842
  };
13111
12843
  const deserializeAws_restXmlFieldLevelEncryptionProfileConfig = (output, context) => {
13112
- const contents = {
13113
- Name: undefined,
13114
- CallerReference: undefined,
13115
- Comment: undefined,
13116
- EncryptionEntities: undefined,
13117
- };
12844
+ const contents = {};
13118
12845
  if (output["Name"] !== undefined) {
13119
12846
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
13120
12847
  }
@@ -13130,12 +12857,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileConfig = (output, context
13130
12857
  return contents;
13131
12858
  };
13132
12859
  const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context) => {
13133
- const contents = {
13134
- NextMarker: undefined,
13135
- MaxItems: undefined,
13136
- Quantity: undefined,
13137
- Items: undefined,
13138
- };
12860
+ const contents = {};
13139
12861
  if (output["NextMarker"] !== undefined) {
13140
12862
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
13141
12863
  }
@@ -13154,13 +12876,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context)
13154
12876
  return contents;
13155
12877
  };
13156
12878
  const deserializeAws_restXmlFieldLevelEncryptionProfileSummary = (output, context) => {
13157
- const contents = {
13158
- Id: undefined,
13159
- LastModifiedTime: undefined,
13160
- Name: undefined,
13161
- EncryptionEntities: undefined,
13162
- Comment: undefined,
13163
- };
12879
+ const contents = {};
13164
12880
  if (output["Id"] !== undefined) {
13165
12881
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13166
12882
  }
@@ -13186,13 +12902,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList = (output, co
13186
12902
  });
13187
12903
  };
13188
12904
  const deserializeAws_restXmlFieldLevelEncryptionSummary = (output, context) => {
13189
- const contents = {
13190
- Id: undefined,
13191
- LastModifiedTime: undefined,
13192
- Comment: undefined,
13193
- QueryArgProfileConfig: undefined,
13194
- ContentTypeProfileConfig: undefined,
13195
- };
12905
+ const contents = {};
13196
12906
  if (output["Id"] !== undefined) {
13197
12907
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13198
12908
  }
@@ -13232,10 +12942,7 @@ const deserializeAws_restXmlFieldPatternList = (output, context) => {
13232
12942
  });
13233
12943
  };
13234
12944
  const deserializeAws_restXmlFieldPatterns = (output, context) => {
13235
- const contents = {
13236
- Quantity: undefined,
13237
- Items: undefined,
13238
- };
12945
+ const contents = {};
13239
12946
  if (output["Quantity"] !== undefined) {
13240
12947
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13241
12948
  }
@@ -13248,12 +12955,7 @@ const deserializeAws_restXmlFieldPatterns = (output, context) => {
13248
12955
  return contents;
13249
12956
  };
13250
12957
  const deserializeAws_restXmlForwardedValues = (output, context) => {
13251
- const contents = {
13252
- QueryString: undefined,
13253
- Cookies: undefined,
13254
- Headers: undefined,
13255
- QueryStringCacheKeys: undefined,
13256
- };
12958
+ const contents = {};
13257
12959
  if (output["QueryString"] !== undefined) {
13258
12960
  contents.QueryString = (0, smithy_client_1.parseBoolean)(output["QueryString"]);
13259
12961
  }
@@ -13269,10 +12971,7 @@ const deserializeAws_restXmlForwardedValues = (output, context) => {
13269
12971
  return contents;
13270
12972
  };
13271
12973
  const deserializeAws_restXmlFunctionAssociation = (output, context) => {
13272
- const contents = {
13273
- FunctionARN: undefined,
13274
- EventType: undefined,
13275
- };
12974
+ const contents = {};
13276
12975
  if (output["FunctionARN"] !== undefined) {
13277
12976
  contents.FunctionARN = (0, smithy_client_1.expectString)(output["FunctionARN"]);
13278
12977
  }
@@ -13289,10 +12988,7 @@ const deserializeAws_restXmlFunctionAssociationList = (output, context) => {
13289
12988
  });
13290
12989
  };
13291
12990
  const deserializeAws_restXmlFunctionAssociations = (output, context) => {
13292
- const contents = {
13293
- Quantity: undefined,
13294
- Items: undefined,
13295
- };
12991
+ const contents = {};
13296
12992
  if (output["Quantity"] !== undefined) {
13297
12993
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13298
12994
  }
@@ -13305,10 +13001,7 @@ const deserializeAws_restXmlFunctionAssociations = (output, context) => {
13305
13001
  return contents;
13306
13002
  };
13307
13003
  const deserializeAws_restXmlFunctionConfig = (output, context) => {
13308
- const contents = {
13309
- Comment: undefined,
13310
- Runtime: undefined,
13311
- };
13004
+ const contents = {};
13312
13005
  if (output["Comment"] !== undefined) {
13313
13006
  contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
13314
13007
  }
@@ -13325,12 +13018,7 @@ const deserializeAws_restXmlFunctionExecutionLogList = (output, context) => {
13325
13018
  });
13326
13019
  };
13327
13020
  const deserializeAws_restXmlFunctionList = (output, context) => {
13328
- const contents = {
13329
- NextMarker: undefined,
13330
- MaxItems: undefined,
13331
- Quantity: undefined,
13332
- Items: undefined,
13333
- };
13021
+ const contents = {};
13334
13022
  if (output["NextMarker"] !== undefined) {
13335
13023
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
13336
13024
  }
@@ -13349,12 +13037,7 @@ const deserializeAws_restXmlFunctionList = (output, context) => {
13349
13037
  return contents;
13350
13038
  };
13351
13039
  const deserializeAws_restXmlFunctionMetadata = (output, context) => {
13352
- const contents = {
13353
- FunctionARN: undefined,
13354
- Stage: undefined,
13355
- CreatedTime: undefined,
13356
- LastModifiedTime: undefined,
13357
- };
13040
+ const contents = {};
13358
13041
  if (output["FunctionARN"] !== undefined) {
13359
13042
  contents.FunctionARN = (0, smithy_client_1.expectString)(output["FunctionARN"]);
13360
13043
  }
@@ -13370,12 +13053,7 @@ const deserializeAws_restXmlFunctionMetadata = (output, context) => {
13370
13053
  return contents;
13371
13054
  };
13372
13055
  const deserializeAws_restXmlFunctionSummary = (output, context) => {
13373
- const contents = {
13374
- Name: undefined,
13375
- Status: undefined,
13376
- FunctionConfig: undefined,
13377
- FunctionMetadata: undefined,
13378
- };
13056
+ const contents = {};
13379
13057
  if (output["Name"] !== undefined) {
13380
13058
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
13381
13059
  }
@@ -13398,11 +13076,7 @@ const deserializeAws_restXmlFunctionSummaryList = (output, context) => {
13398
13076
  });
13399
13077
  };
13400
13078
  const deserializeAws_restXmlGeoRestriction = (output, context) => {
13401
- const contents = {
13402
- RestrictionType: undefined,
13403
- Quantity: undefined,
13404
- Items: undefined,
13405
- };
13079
+ const contents = {};
13406
13080
  if (output["RestrictionType"] !== undefined) {
13407
13081
  contents.RestrictionType = (0, smithy_client_1.expectString)(output["RestrictionType"]);
13408
13082
  }
@@ -13425,10 +13099,7 @@ const deserializeAws_restXmlHeaderList = (output, context) => {
13425
13099
  });
13426
13100
  };
13427
13101
  const deserializeAws_restXmlHeaders = (output, context) => {
13428
- const contents = {
13429
- Quantity: undefined,
13430
- Items: undefined,
13431
- };
13102
+ const contents = {};
13432
13103
  if (output["Quantity"] !== undefined) {
13433
13104
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13434
13105
  }
@@ -13441,12 +13112,7 @@ const deserializeAws_restXmlHeaders = (output, context) => {
13441
13112
  return contents;
13442
13113
  };
13443
13114
  const deserializeAws_restXmlInvalidation = (output, context) => {
13444
- const contents = {
13445
- Id: undefined,
13446
- Status: undefined,
13447
- CreateTime: undefined,
13448
- InvalidationBatch: undefined,
13449
- };
13115
+ const contents = {};
13450
13116
  if (output["Id"] !== undefined) {
13451
13117
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13452
13118
  }
@@ -13462,10 +13128,7 @@ const deserializeAws_restXmlInvalidation = (output, context) => {
13462
13128
  return contents;
13463
13129
  };
13464
13130
  const deserializeAws_restXmlInvalidationBatch = (output, context) => {
13465
- const contents = {
13466
- Paths: undefined,
13467
- CallerReference: undefined,
13468
- };
13131
+ const contents = {};
13469
13132
  if (output["Paths"] !== undefined) {
13470
13133
  contents.Paths = deserializeAws_restXmlPaths(output["Paths"], context);
13471
13134
  }
@@ -13475,14 +13138,7 @@ const deserializeAws_restXmlInvalidationBatch = (output, context) => {
13475
13138
  return contents;
13476
13139
  };
13477
13140
  const deserializeAws_restXmlInvalidationList = (output, context) => {
13478
- const contents = {
13479
- Marker: undefined,
13480
- NextMarker: undefined,
13481
- MaxItems: undefined,
13482
- IsTruncated: undefined,
13483
- Quantity: undefined,
13484
- Items: undefined,
13485
- };
13141
+ const contents = {};
13486
13142
  if (output["Marker"] !== undefined) {
13487
13143
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
13488
13144
  }
@@ -13507,11 +13163,7 @@ const deserializeAws_restXmlInvalidationList = (output, context) => {
13507
13163
  return contents;
13508
13164
  };
13509
13165
  const deserializeAws_restXmlInvalidationSummary = (output, context) => {
13510
- const contents = {
13511
- Id: undefined,
13512
- CreateTime: undefined,
13513
- Status: undefined,
13514
- };
13166
+ const contents = {};
13515
13167
  if (output["Id"] !== undefined) {
13516
13168
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13517
13169
  }
@@ -13531,11 +13183,7 @@ const deserializeAws_restXmlInvalidationSummaryList = (output, context) => {
13531
13183
  });
13532
13184
  };
13533
13185
  const deserializeAws_restXmlKeyGroup = (output, context) => {
13534
- const contents = {
13535
- Id: undefined,
13536
- LastModifiedTime: undefined,
13537
- KeyGroupConfig: undefined,
13538
- };
13186
+ const contents = {};
13539
13187
  if (output["Id"] !== undefined) {
13540
13188
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13541
13189
  }
@@ -13548,11 +13196,7 @@ const deserializeAws_restXmlKeyGroup = (output, context) => {
13548
13196
  return contents;
13549
13197
  };
13550
13198
  const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
13551
- const contents = {
13552
- Name: undefined,
13553
- Items: undefined,
13554
- Comment: undefined,
13555
- };
13199
+ const contents = {};
13556
13200
  if (output["Name"] !== undefined) {
13557
13201
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
13558
13202
  }
@@ -13568,12 +13212,7 @@ const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
13568
13212
  return contents;
13569
13213
  };
13570
13214
  const deserializeAws_restXmlKeyGroupList = (output, context) => {
13571
- const contents = {
13572
- NextMarker: undefined,
13573
- MaxItems: undefined,
13574
- Quantity: undefined,
13575
- Items: undefined,
13576
- };
13215
+ const contents = {};
13577
13216
  if (output["NextMarker"] !== undefined) {
13578
13217
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
13579
13218
  }
@@ -13592,9 +13231,7 @@ const deserializeAws_restXmlKeyGroupList = (output, context) => {
13592
13231
  return contents;
13593
13232
  };
13594
13233
  const deserializeAws_restXmlKeyGroupSummary = (output, context) => {
13595
- const contents = {
13596
- KeyGroup: undefined,
13597
- };
13234
+ const contents = {};
13598
13235
  if (output["KeyGroup"] !== undefined) {
13599
13236
  contents.KeyGroup = deserializeAws_restXmlKeyGroup(output["KeyGroup"], context);
13600
13237
  }
@@ -13615,10 +13252,7 @@ const deserializeAws_restXmlKeyPairIdList = (output, context) => {
13615
13252
  });
13616
13253
  };
13617
13254
  const deserializeAws_restXmlKeyPairIds = (output, context) => {
13618
- const contents = {
13619
- Quantity: undefined,
13620
- Items: undefined,
13621
- };
13255
+ const contents = {};
13622
13256
  if (output["Quantity"] !== undefined) {
13623
13257
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13624
13258
  }
@@ -13631,10 +13265,7 @@ const deserializeAws_restXmlKeyPairIds = (output, context) => {
13631
13265
  return contents;
13632
13266
  };
13633
13267
  const deserializeAws_restXmlKGKeyPairIds = (output, context) => {
13634
- const contents = {
13635
- KeyGroupId: undefined,
13636
- KeyPairIds: undefined,
13637
- };
13268
+ const contents = {};
13638
13269
  if (output["KeyGroupId"] !== undefined) {
13639
13270
  contents.KeyGroupId = (0, smithy_client_1.expectString)(output["KeyGroupId"]);
13640
13271
  }
@@ -13651,10 +13282,7 @@ const deserializeAws_restXmlKGKeyPairIdsList = (output, context) => {
13651
13282
  });
13652
13283
  };
13653
13284
  const deserializeAws_restXmlKinesisStreamConfig = (output, context) => {
13654
- const contents = {
13655
- RoleARN: undefined,
13656
- StreamARN: undefined,
13657
- };
13285
+ const contents = {};
13658
13286
  if (output["RoleARN"] !== undefined) {
13659
13287
  contents.RoleARN = (0, smithy_client_1.expectString)(output["RoleARN"]);
13660
13288
  }
@@ -13664,11 +13292,7 @@ const deserializeAws_restXmlKinesisStreamConfig = (output, context) => {
13664
13292
  return contents;
13665
13293
  };
13666
13294
  const deserializeAws_restXmlLambdaFunctionAssociation = (output, context) => {
13667
- const contents = {
13668
- LambdaFunctionARN: undefined,
13669
- EventType: undefined,
13670
- IncludeBody: undefined,
13671
- };
13295
+ const contents = {};
13672
13296
  if (output["LambdaFunctionARN"] !== undefined) {
13673
13297
  contents.LambdaFunctionARN = (0, smithy_client_1.expectString)(output["LambdaFunctionARN"]);
13674
13298
  }
@@ -13688,10 +13312,7 @@ const deserializeAws_restXmlLambdaFunctionAssociationList = (output, context) =>
13688
13312
  });
13689
13313
  };
13690
13314
  const deserializeAws_restXmlLambdaFunctionAssociations = (output, context) => {
13691
- const contents = {
13692
- Quantity: undefined,
13693
- Items: undefined,
13694
- };
13315
+ const contents = {};
13695
13316
  if (output["Quantity"] !== undefined) {
13696
13317
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13697
13318
  }
@@ -13711,12 +13332,7 @@ const deserializeAws_restXmlLocationList = (output, context) => {
13711
13332
  });
13712
13333
  };
13713
13334
  const deserializeAws_restXmlLoggingConfig = (output, context) => {
13714
- const contents = {
13715
- Enabled: undefined,
13716
- IncludeCookies: undefined,
13717
- Bucket: undefined,
13718
- Prefix: undefined,
13719
- };
13335
+ const contents = {};
13720
13336
  if (output["Enabled"] !== undefined) {
13721
13337
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
13722
13338
  }
@@ -13739,27 +13355,14 @@ const deserializeAws_restXmlMethodsList = (output, context) => {
13739
13355
  });
13740
13356
  };
13741
13357
  const deserializeAws_restXmlMonitoringSubscription = (output, context) => {
13742
- const contents = {
13743
- RealtimeMetricsSubscriptionConfig: undefined,
13744
- };
13358
+ const contents = {};
13745
13359
  if (output["RealtimeMetricsSubscriptionConfig"] !== undefined) {
13746
13360
  contents.RealtimeMetricsSubscriptionConfig = deserializeAws_restXmlRealtimeMetricsSubscriptionConfig(output["RealtimeMetricsSubscriptionConfig"], context);
13747
13361
  }
13748
13362
  return contents;
13749
13363
  };
13750
13364
  const deserializeAws_restXmlOrigin = (output, context) => {
13751
- const contents = {
13752
- Id: undefined,
13753
- DomainName: undefined,
13754
- OriginPath: undefined,
13755
- CustomHeaders: undefined,
13756
- S3OriginConfig: undefined,
13757
- CustomOriginConfig: undefined,
13758
- ConnectionAttempts: undefined,
13759
- ConnectionTimeout: undefined,
13760
- OriginShield: undefined,
13761
- OriginAccessControlId: undefined,
13762
- };
13365
+ const contents = {};
13763
13366
  if (output["Id"] !== undefined) {
13764
13367
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13765
13368
  }
@@ -13793,10 +13396,7 @@ const deserializeAws_restXmlOrigin = (output, context) => {
13793
13396
  return contents;
13794
13397
  };
13795
13398
  const deserializeAws_restXmlOriginAccessControl = (output, context) => {
13796
- const contents = {
13797
- Id: undefined,
13798
- OriginAccessControlConfig: undefined,
13799
- };
13399
+ const contents = {};
13800
13400
  if (output["Id"] !== undefined) {
13801
13401
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13802
13402
  }
@@ -13806,13 +13406,7 @@ const deserializeAws_restXmlOriginAccessControl = (output, context) => {
13806
13406
  return contents;
13807
13407
  };
13808
13408
  const deserializeAws_restXmlOriginAccessControlConfig = (output, context) => {
13809
- const contents = {
13810
- Name: undefined,
13811
- Description: undefined,
13812
- SigningProtocol: undefined,
13813
- SigningBehavior: undefined,
13814
- OriginAccessControlOriginType: undefined,
13815
- };
13409
+ const contents = {};
13816
13410
  if (output["Name"] !== undefined) {
13817
13411
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
13818
13412
  }
@@ -13831,14 +13425,7 @@ const deserializeAws_restXmlOriginAccessControlConfig = (output, context) => {
13831
13425
  return contents;
13832
13426
  };
13833
13427
  const deserializeAws_restXmlOriginAccessControlList = (output, context) => {
13834
- const contents = {
13835
- Marker: undefined,
13836
- NextMarker: undefined,
13837
- MaxItems: undefined,
13838
- IsTruncated: undefined,
13839
- Quantity: undefined,
13840
- Items: undefined,
13841
- };
13428
+ const contents = {};
13842
13429
  if (output["Marker"] !== undefined) {
13843
13430
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
13844
13431
  }
@@ -13863,14 +13450,7 @@ const deserializeAws_restXmlOriginAccessControlList = (output, context) => {
13863
13450
  return contents;
13864
13451
  };
13865
13452
  const deserializeAws_restXmlOriginAccessControlSummary = (output, context) => {
13866
- const contents = {
13867
- Id: undefined,
13868
- Description: undefined,
13869
- Name: undefined,
13870
- SigningProtocol: undefined,
13871
- SigningBehavior: undefined,
13872
- OriginAccessControlOriginType: undefined,
13873
- };
13453
+ const contents = {};
13874
13454
  if (output["Id"] !== undefined) {
13875
13455
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13876
13456
  }
@@ -13899,10 +13479,7 @@ const deserializeAws_restXmlOriginAccessControlSummaryList = (output, context) =
13899
13479
  });
13900
13480
  };
13901
13481
  const deserializeAws_restXmlOriginCustomHeader = (output, context) => {
13902
- const contents = {
13903
- HeaderName: undefined,
13904
- HeaderValue: undefined,
13905
- };
13482
+ const contents = {};
13906
13483
  if (output["HeaderName"] !== undefined) {
13907
13484
  contents.HeaderName = (0, smithy_client_1.expectString)(output["HeaderName"]);
13908
13485
  }
@@ -13919,11 +13496,7 @@ const deserializeAws_restXmlOriginCustomHeadersList = (output, context) => {
13919
13496
  });
13920
13497
  };
13921
13498
  const deserializeAws_restXmlOriginGroup = (output, context) => {
13922
- const contents = {
13923
- Id: undefined,
13924
- FailoverCriteria: undefined,
13925
- Members: undefined,
13926
- };
13499
+ const contents = {};
13927
13500
  if (output["Id"] !== undefined) {
13928
13501
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
13929
13502
  }
@@ -13936,9 +13509,7 @@ const deserializeAws_restXmlOriginGroup = (output, context) => {
13936
13509
  return contents;
13937
13510
  };
13938
13511
  const deserializeAws_restXmlOriginGroupFailoverCriteria = (output, context) => {
13939
- const contents = {
13940
- StatusCodes: undefined,
13941
- };
13512
+ const contents = {};
13942
13513
  if (output["StatusCodes"] !== undefined) {
13943
13514
  contents.StatusCodes = deserializeAws_restXmlStatusCodes(output["StatusCodes"], context);
13944
13515
  }
@@ -13952,9 +13523,7 @@ const deserializeAws_restXmlOriginGroupList = (output, context) => {
13952
13523
  });
13953
13524
  };
13954
13525
  const deserializeAws_restXmlOriginGroupMember = (output, context) => {
13955
- const contents = {
13956
- OriginId: undefined,
13957
- };
13526
+ const contents = {};
13958
13527
  if (output["OriginId"] !== undefined) {
13959
13528
  contents.OriginId = (0, smithy_client_1.expectString)(output["OriginId"]);
13960
13529
  }
@@ -13968,10 +13537,7 @@ const deserializeAws_restXmlOriginGroupMemberList = (output, context) => {
13968
13537
  });
13969
13538
  };
13970
13539
  const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
13971
- const contents = {
13972
- Quantity: undefined,
13973
- Items: undefined,
13974
- };
13540
+ const contents = {};
13975
13541
  if (output["Quantity"] !== undefined) {
13976
13542
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13977
13543
  }
@@ -13984,10 +13550,7 @@ const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
13984
13550
  return contents;
13985
13551
  };
13986
13552
  const deserializeAws_restXmlOriginGroups = (output, context) => {
13987
- const contents = {
13988
- Quantity: undefined,
13989
- Items: undefined,
13990
- };
13553
+ const contents = {};
13991
13554
  if (output["Quantity"] !== undefined) {
13992
13555
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
13993
13556
  }
@@ -14007,11 +13570,7 @@ const deserializeAws_restXmlOriginList = (output, context) => {
14007
13570
  });
14008
13571
  };
14009
13572
  const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
14010
- const contents = {
14011
- Id: undefined,
14012
- LastModifiedTime: undefined,
14013
- OriginRequestPolicyConfig: undefined,
14014
- };
13573
+ const contents = {};
14015
13574
  if (output["Id"] !== undefined) {
14016
13575
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
14017
13576
  }
@@ -14024,13 +13583,7 @@ const deserializeAws_restXmlOriginRequestPolicy = (output, context) => {
14024
13583
  return contents;
14025
13584
  };
14026
13585
  const deserializeAws_restXmlOriginRequestPolicyConfig = (output, context) => {
14027
- const contents = {
14028
- Comment: undefined,
14029
- Name: undefined,
14030
- HeadersConfig: undefined,
14031
- CookiesConfig: undefined,
14032
- QueryStringsConfig: undefined,
14033
- };
13586
+ const contents = {};
14034
13587
  if (output["Comment"] !== undefined) {
14035
13588
  contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
14036
13589
  }
@@ -14049,10 +13602,7 @@ const deserializeAws_restXmlOriginRequestPolicyConfig = (output, context) => {
14049
13602
  return contents;
14050
13603
  };
14051
13604
  const deserializeAws_restXmlOriginRequestPolicyCookiesConfig = (output, context) => {
14052
- const contents = {
14053
- CookieBehavior: undefined,
14054
- Cookies: undefined,
14055
- };
13605
+ const contents = {};
14056
13606
  if (output["CookieBehavior"] !== undefined) {
14057
13607
  contents.CookieBehavior = (0, smithy_client_1.expectString)(output["CookieBehavior"]);
14058
13608
  }
@@ -14062,10 +13612,7 @@ const deserializeAws_restXmlOriginRequestPolicyCookiesConfig = (output, context)
14062
13612
  return contents;
14063
13613
  };
14064
13614
  const deserializeAws_restXmlOriginRequestPolicyHeadersConfig = (output, context) => {
14065
- const contents = {
14066
- HeaderBehavior: undefined,
14067
- Headers: undefined,
14068
- };
13615
+ const contents = {};
14069
13616
  if (output["HeaderBehavior"] !== undefined) {
14070
13617
  contents.HeaderBehavior = (0, smithy_client_1.expectString)(output["HeaderBehavior"]);
14071
13618
  }
@@ -14075,12 +13622,7 @@ const deserializeAws_restXmlOriginRequestPolicyHeadersConfig = (output, context)
14075
13622
  return contents;
14076
13623
  };
14077
13624
  const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
14078
- const contents = {
14079
- NextMarker: undefined,
14080
- MaxItems: undefined,
14081
- Quantity: undefined,
14082
- Items: undefined,
14083
- };
13625
+ const contents = {};
14084
13626
  if (output["NextMarker"] !== undefined) {
14085
13627
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
14086
13628
  }
@@ -14099,10 +13641,7 @@ const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
14099
13641
  return contents;
14100
13642
  };
14101
13643
  const deserializeAws_restXmlOriginRequestPolicyQueryStringsConfig = (output, context) => {
14102
- const contents = {
14103
- QueryStringBehavior: undefined,
14104
- QueryStrings: undefined,
14105
- };
13644
+ const contents = {};
14106
13645
  if (output["QueryStringBehavior"] !== undefined) {
14107
13646
  contents.QueryStringBehavior = (0, smithy_client_1.expectString)(output["QueryStringBehavior"]);
14108
13647
  }
@@ -14112,10 +13651,7 @@ const deserializeAws_restXmlOriginRequestPolicyQueryStringsConfig = (output, con
14112
13651
  return contents;
14113
13652
  };
14114
13653
  const deserializeAws_restXmlOriginRequestPolicySummary = (output, context) => {
14115
- const contents = {
14116
- Type: undefined,
14117
- OriginRequestPolicy: undefined,
14118
- };
13654
+ const contents = {};
14119
13655
  if (output["Type"] !== undefined) {
14120
13656
  contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
14121
13657
  }
@@ -14132,10 +13668,7 @@ const deserializeAws_restXmlOriginRequestPolicySummaryList = (output, context) =
14132
13668
  });
14133
13669
  };
14134
13670
  const deserializeAws_restXmlOrigins = (output, context) => {
14135
- const contents = {
14136
- Quantity: undefined,
14137
- Items: undefined,
14138
- };
13671
+ const contents = {};
14139
13672
  if (output["Quantity"] !== undefined) {
14140
13673
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14141
13674
  }
@@ -14148,10 +13681,7 @@ const deserializeAws_restXmlOrigins = (output, context) => {
14148
13681
  return contents;
14149
13682
  };
14150
13683
  const deserializeAws_restXmlOriginShield = (output, context) => {
14151
- const contents = {
14152
- Enabled: undefined,
14153
- OriginShieldRegion: undefined,
14154
- };
13684
+ const contents = {};
14155
13685
  if (output["Enabled"] !== undefined) {
14156
13686
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
14157
13687
  }
@@ -14161,10 +13691,7 @@ const deserializeAws_restXmlOriginShield = (output, context) => {
14161
13691
  return contents;
14162
13692
  };
14163
13693
  const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
14164
- const contents = {
14165
- Quantity: undefined,
14166
- Items: undefined,
14167
- };
13694
+ const contents = {};
14168
13695
  if (output["Quantity"] !== undefined) {
14169
13696
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14170
13697
  }
@@ -14177,13 +13704,7 @@ const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
14177
13704
  return contents;
14178
13705
  };
14179
13706
  const deserializeAws_restXmlParametersInCacheKeyAndForwardedToOrigin = (output, context) => {
14180
- const contents = {
14181
- EnableAcceptEncodingGzip: undefined,
14182
- EnableAcceptEncodingBrotli: undefined,
14183
- HeadersConfig: undefined,
14184
- CookiesConfig: undefined,
14185
- QueryStringsConfig: undefined,
14186
- };
13707
+ const contents = {};
14187
13708
  if (output["EnableAcceptEncodingGzip"] !== undefined) {
14188
13709
  contents.EnableAcceptEncodingGzip = (0, smithy_client_1.parseBoolean)(output["EnableAcceptEncodingGzip"]);
14189
13710
  }
@@ -14209,10 +13730,7 @@ const deserializeAws_restXmlPathList = (output, context) => {
14209
13730
  });
14210
13731
  };
14211
13732
  const deserializeAws_restXmlPaths = (output, context) => {
14212
- const contents = {
14213
- Quantity: undefined,
14214
- Items: undefined,
14215
- };
13733
+ const contents = {};
14216
13734
  if (output["Quantity"] !== undefined) {
14217
13735
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14218
13736
  }
@@ -14225,11 +13743,7 @@ const deserializeAws_restXmlPaths = (output, context) => {
14225
13743
  return contents;
14226
13744
  };
14227
13745
  const deserializeAws_restXmlPublicKey = (output, context) => {
14228
- const contents = {
14229
- Id: undefined,
14230
- CreatedTime: undefined,
14231
- PublicKeyConfig: undefined,
14232
- };
13746
+ const contents = {};
14233
13747
  if (output["Id"] !== undefined) {
14234
13748
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
14235
13749
  }
@@ -14242,12 +13756,7 @@ const deserializeAws_restXmlPublicKey = (output, context) => {
14242
13756
  return contents;
14243
13757
  };
14244
13758
  const deserializeAws_restXmlPublicKeyConfig = (output, context) => {
14245
- const contents = {
14246
- CallerReference: undefined,
14247
- Name: undefined,
14248
- EncodedKey: undefined,
14249
- Comment: undefined,
14250
- };
13759
+ const contents = {};
14251
13760
  if (output["CallerReference"] !== undefined) {
14252
13761
  contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
14253
13762
  }
@@ -14270,12 +13779,7 @@ const deserializeAws_restXmlPublicKeyIdList = (output, context) => {
14270
13779
  });
14271
13780
  };
14272
13781
  const deserializeAws_restXmlPublicKeyList = (output, context) => {
14273
- const contents = {
14274
- NextMarker: undefined,
14275
- MaxItems: undefined,
14276
- Quantity: undefined,
14277
- Items: undefined,
14278
- };
13782
+ const contents = {};
14279
13783
  if (output["NextMarker"] !== undefined) {
14280
13784
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
14281
13785
  }
@@ -14294,13 +13798,7 @@ const deserializeAws_restXmlPublicKeyList = (output, context) => {
14294
13798
  return contents;
14295
13799
  };
14296
13800
  const deserializeAws_restXmlPublicKeySummary = (output, context) => {
14297
- const contents = {
14298
- Id: undefined,
14299
- Name: undefined,
14300
- CreatedTime: undefined,
14301
- EncodedKey: undefined,
14302
- Comment: undefined,
14303
- };
13801
+ const contents = {};
14304
13802
  if (output["Id"] !== undefined) {
14305
13803
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
14306
13804
  }
@@ -14326,10 +13824,7 @@ const deserializeAws_restXmlPublicKeySummaryList = (output, context) => {
14326
13824
  });
14327
13825
  };
14328
13826
  const deserializeAws_restXmlQueryArgProfile = (output, context) => {
14329
- const contents = {
14330
- QueryArg: undefined,
14331
- ProfileId: undefined,
14332
- };
13827
+ const contents = {};
14333
13828
  if (output["QueryArg"] !== undefined) {
14334
13829
  contents.QueryArg = (0, smithy_client_1.expectString)(output["QueryArg"]);
14335
13830
  }
@@ -14339,10 +13834,7 @@ const deserializeAws_restXmlQueryArgProfile = (output, context) => {
14339
13834
  return contents;
14340
13835
  };
14341
13836
  const deserializeAws_restXmlQueryArgProfileConfig = (output, context) => {
14342
- const contents = {
14343
- ForwardWhenQueryArgProfileIsUnknown: undefined,
14344
- QueryArgProfiles: undefined,
14345
- };
13837
+ const contents = {};
14346
13838
  if (output["ForwardWhenQueryArgProfileIsUnknown"] !== undefined) {
14347
13839
  contents.ForwardWhenQueryArgProfileIsUnknown = (0, smithy_client_1.parseBoolean)(output["ForwardWhenQueryArgProfileIsUnknown"]);
14348
13840
  }
@@ -14359,10 +13851,7 @@ const deserializeAws_restXmlQueryArgProfileList = (output, context) => {
14359
13851
  });
14360
13852
  };
14361
13853
  const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
14362
- const contents = {
14363
- Quantity: undefined,
14364
- Items: undefined,
14365
- };
13854
+ const contents = {};
14366
13855
  if (output["Quantity"] !== undefined) {
14367
13856
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14368
13857
  }
@@ -14375,10 +13864,7 @@ const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
14375
13864
  return contents;
14376
13865
  };
14377
13866
  const deserializeAws_restXmlQueryStringCacheKeys = (output, context) => {
14378
- const contents = {
14379
- Quantity: undefined,
14380
- Items: undefined,
14381
- };
13867
+ const contents = {};
14382
13868
  if (output["Quantity"] !== undefined) {
14383
13869
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14384
13870
  }
@@ -14398,10 +13884,7 @@ const deserializeAws_restXmlQueryStringCacheKeysList = (output, context) => {
14398
13884
  });
14399
13885
  };
14400
13886
  const deserializeAws_restXmlQueryStringNames = (output, context) => {
14401
- const contents = {
14402
- Quantity: undefined,
14403
- Items: undefined,
14404
- };
13887
+ const contents = {};
14405
13888
  if (output["Quantity"] !== undefined) {
14406
13889
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14407
13890
  }
@@ -14421,13 +13904,7 @@ const deserializeAws_restXmlQueryStringNamesList = (output, context) => {
14421
13904
  });
14422
13905
  };
14423
13906
  const deserializeAws_restXmlRealtimeLogConfig = (output, context) => {
14424
- const contents = {
14425
- ARN: undefined,
14426
- Name: undefined,
14427
- SamplingRate: undefined,
14428
- EndPoints: undefined,
14429
- Fields: undefined,
14430
- };
13907
+ const contents = {};
14431
13908
  if (output["ARN"] !== undefined) {
14432
13909
  contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
14433
13910
  }
@@ -14459,13 +13936,7 @@ const deserializeAws_restXmlRealtimeLogConfigList = (output, context) => {
14459
13936
  });
14460
13937
  };
14461
13938
  const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
14462
- const contents = {
14463
- MaxItems: undefined,
14464
- Items: undefined,
14465
- IsTruncated: undefined,
14466
- Marker: undefined,
14467
- NextMarker: undefined,
14468
- };
13939
+ const contents = {};
14469
13940
  if (output["MaxItems"] !== undefined) {
14470
13941
  contents.MaxItems = (0, smithy_client_1.strictParseInt32)(output["MaxItems"]);
14471
13942
  }
@@ -14487,20 +13958,14 @@ const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
14487
13958
  return contents;
14488
13959
  };
14489
13960
  const deserializeAws_restXmlRealtimeMetricsSubscriptionConfig = (output, context) => {
14490
- const contents = {
14491
- RealtimeMetricsSubscriptionStatus: undefined,
14492
- };
13961
+ const contents = {};
14493
13962
  if (output["RealtimeMetricsSubscriptionStatus"] !== undefined) {
14494
13963
  contents.RealtimeMetricsSubscriptionStatus = (0, smithy_client_1.expectString)(output["RealtimeMetricsSubscriptionStatus"]);
14495
13964
  }
14496
13965
  return contents;
14497
13966
  };
14498
13967
  const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
14499
- const contents = {
14500
- Id: undefined,
14501
- LastModifiedTime: undefined,
14502
- ResponseHeadersPolicyConfig: undefined,
14503
- };
13968
+ const contents = {};
14504
13969
  if (output["Id"] !== undefined) {
14505
13970
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
14506
13971
  }
@@ -14513,10 +13978,7 @@ const deserializeAws_restXmlResponseHeadersPolicy = (output, context) => {
14513
13978
  return contents;
14514
13979
  };
14515
13980
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = (output, context) => {
14516
- const contents = {
14517
- Quantity: undefined,
14518
- Items: undefined,
14519
- };
13981
+ const contents = {};
14520
13982
  if (output["Quantity"] !== undefined) {
14521
13983
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14522
13984
  }
@@ -14529,10 +13991,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = (ou
14529
13991
  return contents;
14530
13992
  };
14531
13993
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = (output, context) => {
14532
- const contents = {
14533
- Quantity: undefined,
14534
- Items: undefined,
14535
- };
13994
+ const contents = {};
14536
13995
  if (output["Quantity"] !== undefined) {
14537
13996
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14538
13997
  }
@@ -14545,10 +14004,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = (ou
14545
14004
  return contents;
14546
14005
  };
14547
14006
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = (output, context) => {
14548
- const contents = {
14549
- Quantity: undefined,
14550
- Items: undefined,
14551
- };
14007
+ const contents = {};
14552
14008
  if (output["Quantity"] !== undefined) {
14553
14009
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14554
14010
  }
@@ -14561,10 +14017,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = (ou
14561
14017
  return contents;
14562
14018
  };
14563
14019
  const deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = (output, context) => {
14564
- const contents = {
14565
- Quantity: undefined,
14566
- Items: undefined,
14567
- };
14020
+ const contents = {};
14568
14021
  if (output["Quantity"] !== undefined) {
14569
14022
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14570
14023
  }
@@ -14577,15 +14030,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = (o
14577
14030
  return contents;
14578
14031
  };
14579
14032
  const deserializeAws_restXmlResponseHeadersPolicyConfig = (output, context) => {
14580
- const contents = {
14581
- Comment: undefined,
14582
- Name: undefined,
14583
- CorsConfig: undefined,
14584
- SecurityHeadersConfig: undefined,
14585
- ServerTimingHeadersConfig: undefined,
14586
- CustomHeadersConfig: undefined,
14587
- RemoveHeadersConfig: undefined,
14588
- };
14033
+ const contents = {};
14589
14034
  if (output["Comment"] !== undefined) {
14590
14035
  contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
14591
14036
  }
@@ -14610,10 +14055,7 @@ const deserializeAws_restXmlResponseHeadersPolicyConfig = (output, context) => {
14610
14055
  return contents;
14611
14056
  };
14612
14057
  const deserializeAws_restXmlResponseHeadersPolicyContentSecurityPolicy = (output, context) => {
14613
- const contents = {
14614
- Override: undefined,
14615
- ContentSecurityPolicy: undefined,
14616
- };
14058
+ const contents = {};
14617
14059
  if (output["Override"] !== undefined) {
14618
14060
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14619
14061
  }
@@ -14623,24 +14065,14 @@ const deserializeAws_restXmlResponseHeadersPolicyContentSecurityPolicy = (output
14623
14065
  return contents;
14624
14066
  };
14625
14067
  const deserializeAws_restXmlResponseHeadersPolicyContentTypeOptions = (output, context) => {
14626
- const contents = {
14627
- Override: undefined,
14628
- };
14068
+ const contents = {};
14629
14069
  if (output["Override"] !== undefined) {
14630
14070
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14631
14071
  }
14632
14072
  return contents;
14633
14073
  };
14634
14074
  const deserializeAws_restXmlResponseHeadersPolicyCorsConfig = (output, context) => {
14635
- const contents = {
14636
- AccessControlAllowOrigins: undefined,
14637
- AccessControlAllowHeaders: undefined,
14638
- AccessControlAllowMethods: undefined,
14639
- AccessControlAllowCredentials: undefined,
14640
- AccessControlExposeHeaders: undefined,
14641
- AccessControlMaxAgeSec: undefined,
14642
- OriginOverride: undefined,
14643
- };
14075
+ const contents = {};
14644
14076
  if (output["AccessControlAllowOrigins"] !== undefined) {
14645
14077
  contents.AccessControlAllowOrigins = deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins(output["AccessControlAllowOrigins"], context);
14646
14078
  }
@@ -14665,11 +14097,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCorsConfig = (output, context)
14665
14097
  return contents;
14666
14098
  };
14667
14099
  const deserializeAws_restXmlResponseHeadersPolicyCustomHeader = (output, context) => {
14668
- const contents = {
14669
- Header: undefined,
14670
- Value: undefined,
14671
- Override: undefined,
14672
- };
14100
+ const contents = {};
14673
14101
  if (output["Header"] !== undefined) {
14674
14102
  contents.Header = (0, smithy_client_1.expectString)(output["Header"]);
14675
14103
  }
@@ -14689,10 +14117,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCustomHeaderList = (output, con
14689
14117
  });
14690
14118
  };
14691
14119
  const deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = (output, context) => {
14692
- const contents = {
14693
- Quantity: undefined,
14694
- Items: undefined,
14695
- };
14120
+ const contents = {};
14696
14121
  if (output["Quantity"] !== undefined) {
14697
14122
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14698
14123
  }
@@ -14705,10 +14130,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = (output,
14705
14130
  return contents;
14706
14131
  };
14707
14132
  const deserializeAws_restXmlResponseHeadersPolicyFrameOptions = (output, context) => {
14708
- const contents = {
14709
- Override: undefined,
14710
- FrameOption: undefined,
14711
- };
14133
+ const contents = {};
14712
14134
  if (output["Override"] !== undefined) {
14713
14135
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14714
14136
  }
@@ -14718,12 +14140,7 @@ const deserializeAws_restXmlResponseHeadersPolicyFrameOptions = (output, context
14718
14140
  return contents;
14719
14141
  };
14720
14142
  const deserializeAws_restXmlResponseHeadersPolicyList = (output, context) => {
14721
- const contents = {
14722
- NextMarker: undefined,
14723
- MaxItems: undefined,
14724
- Quantity: undefined,
14725
- Items: undefined,
14726
- };
14143
+ const contents = {};
14727
14144
  if (output["NextMarker"] !== undefined) {
14728
14145
  contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
14729
14146
  }
@@ -14742,10 +14159,7 @@ const deserializeAws_restXmlResponseHeadersPolicyList = (output, context) => {
14742
14159
  return contents;
14743
14160
  };
14744
14161
  const deserializeAws_restXmlResponseHeadersPolicyReferrerPolicy = (output, context) => {
14745
- const contents = {
14746
- Override: undefined,
14747
- ReferrerPolicy: undefined,
14748
- };
14162
+ const contents = {};
14749
14163
  if (output["Override"] !== undefined) {
14750
14164
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14751
14165
  }
@@ -14755,9 +14169,7 @@ const deserializeAws_restXmlResponseHeadersPolicyReferrerPolicy = (output, conte
14755
14169
  return contents;
14756
14170
  };
14757
14171
  const deserializeAws_restXmlResponseHeadersPolicyRemoveHeader = (output, context) => {
14758
- const contents = {
14759
- Header: undefined,
14760
- };
14172
+ const contents = {};
14761
14173
  if (output["Header"] !== undefined) {
14762
14174
  contents.Header = (0, smithy_client_1.expectString)(output["Header"]);
14763
14175
  }
@@ -14771,10 +14183,7 @@ const deserializeAws_restXmlResponseHeadersPolicyRemoveHeaderList = (output, con
14771
14183
  });
14772
14184
  };
14773
14185
  const deserializeAws_restXmlResponseHeadersPolicyRemoveHeadersConfig = (output, context) => {
14774
- const contents = {
14775
- Quantity: undefined,
14776
- Items: undefined,
14777
- };
14186
+ const contents = {};
14778
14187
  if (output["Quantity"] !== undefined) {
14779
14188
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14780
14189
  }
@@ -14787,14 +14196,7 @@ const deserializeAws_restXmlResponseHeadersPolicyRemoveHeadersConfig = (output,
14787
14196
  return contents;
14788
14197
  };
14789
14198
  const deserializeAws_restXmlResponseHeadersPolicySecurityHeadersConfig = (output, context) => {
14790
- const contents = {
14791
- XSSProtection: undefined,
14792
- FrameOptions: undefined,
14793
- ReferrerPolicy: undefined,
14794
- ContentSecurityPolicy: undefined,
14795
- ContentTypeOptions: undefined,
14796
- StrictTransportSecurity: undefined,
14797
- };
14199
+ const contents = {};
14798
14200
  if (output["XSSProtection"] !== undefined) {
14799
14201
  contents.XSSProtection = deserializeAws_restXmlResponseHeadersPolicyXSSProtection(output["XSSProtection"], context);
14800
14202
  }
@@ -14816,10 +14218,7 @@ const deserializeAws_restXmlResponseHeadersPolicySecurityHeadersConfig = (output
14816
14218
  return contents;
14817
14219
  };
14818
14220
  const deserializeAws_restXmlResponseHeadersPolicyServerTimingHeadersConfig = (output, context) => {
14819
- const contents = {
14820
- Enabled: undefined,
14821
- SamplingRate: undefined,
14822
- };
14221
+ const contents = {};
14823
14222
  if (output["Enabled"] !== undefined) {
14824
14223
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
14825
14224
  }
@@ -14829,12 +14228,7 @@ const deserializeAws_restXmlResponseHeadersPolicyServerTimingHeadersConfig = (ou
14829
14228
  return contents;
14830
14229
  };
14831
14230
  const deserializeAws_restXmlResponseHeadersPolicyStrictTransportSecurity = (output, context) => {
14832
- const contents = {
14833
- Override: undefined,
14834
- IncludeSubdomains: undefined,
14835
- Preload: undefined,
14836
- AccessControlMaxAgeSec: undefined,
14837
- };
14231
+ const contents = {};
14838
14232
  if (output["Override"] !== undefined) {
14839
14233
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14840
14234
  }
@@ -14850,10 +14244,7 @@ const deserializeAws_restXmlResponseHeadersPolicyStrictTransportSecurity = (outp
14850
14244
  return contents;
14851
14245
  };
14852
14246
  const deserializeAws_restXmlResponseHeadersPolicySummary = (output, context) => {
14853
- const contents = {
14854
- Type: undefined,
14855
- ResponseHeadersPolicy: undefined,
14856
- };
14247
+ const contents = {};
14857
14248
  if (output["Type"] !== undefined) {
14858
14249
  contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
14859
14250
  }
@@ -14870,12 +14261,7 @@ const deserializeAws_restXmlResponseHeadersPolicySummaryList = (output, context)
14870
14261
  });
14871
14262
  };
14872
14263
  const deserializeAws_restXmlResponseHeadersPolicyXSSProtection = (output, context) => {
14873
- const contents = {
14874
- Override: undefined,
14875
- Protection: undefined,
14876
- ModeBlock: undefined,
14877
- ReportUri: undefined,
14878
- };
14264
+ const contents = {};
14879
14265
  if (output["Override"] !== undefined) {
14880
14266
  contents.Override = (0, smithy_client_1.parseBoolean)(output["Override"]);
14881
14267
  }
@@ -14891,19 +14277,14 @@ const deserializeAws_restXmlResponseHeadersPolicyXSSProtection = (output, contex
14891
14277
  return contents;
14892
14278
  };
14893
14279
  const deserializeAws_restXmlRestrictions = (output, context) => {
14894
- const contents = {
14895
- GeoRestriction: undefined,
14896
- };
14280
+ const contents = {};
14897
14281
  if (output["GeoRestriction"] !== undefined) {
14898
14282
  contents.GeoRestriction = deserializeAws_restXmlGeoRestriction(output["GeoRestriction"], context);
14899
14283
  }
14900
14284
  return contents;
14901
14285
  };
14902
14286
  const deserializeAws_restXmlS3Origin = (output, context) => {
14903
- const contents = {
14904
- DomainName: undefined,
14905
- OriginAccessIdentity: undefined,
14906
- };
14287
+ const contents = {};
14907
14288
  if (output["DomainName"] !== undefined) {
14908
14289
  contents.DomainName = (0, smithy_client_1.expectString)(output["DomainName"]);
14909
14290
  }
@@ -14913,19 +14294,14 @@ const deserializeAws_restXmlS3Origin = (output, context) => {
14913
14294
  return contents;
14914
14295
  };
14915
14296
  const deserializeAws_restXmlS3OriginConfig = (output, context) => {
14916
- const contents = {
14917
- OriginAccessIdentity: undefined,
14918
- };
14297
+ const contents = {};
14919
14298
  if (output["OriginAccessIdentity"] !== undefined) {
14920
14299
  contents.OriginAccessIdentity = (0, smithy_client_1.expectString)(output["OriginAccessIdentity"]);
14921
14300
  }
14922
14301
  return contents;
14923
14302
  };
14924
14303
  const deserializeAws_restXmlSessionStickinessConfig = (output, context) => {
14925
- const contents = {
14926
- IdleTTL: undefined,
14927
- MaximumTTL: undefined,
14928
- };
14304
+ const contents = {};
14929
14305
  if (output["IdleTTL"] !== undefined) {
14930
14306
  contents.IdleTTL = (0, smithy_client_1.strictParseInt32)(output["IdleTTL"]);
14931
14307
  }
@@ -14935,10 +14311,7 @@ const deserializeAws_restXmlSessionStickinessConfig = (output, context) => {
14935
14311
  return contents;
14936
14312
  };
14937
14313
  const deserializeAws_restXmlSigner = (output, context) => {
14938
- const contents = {
14939
- AwsAccountNumber: undefined,
14940
- KeyPairIds: undefined,
14941
- };
14314
+ const contents = {};
14942
14315
  if (output["AwsAccountNumber"] !== undefined) {
14943
14316
  contents.AwsAccountNumber = (0, smithy_client_1.expectString)(output["AwsAccountNumber"]);
14944
14317
  }
@@ -14969,10 +14342,7 @@ const deserializeAws_restXmlStagingDistributionDnsNameList = (output, context) =
14969
14342
  });
14970
14343
  };
14971
14344
  const deserializeAws_restXmlStagingDistributionDnsNames = (output, context) => {
14972
- const contents = {
14973
- Quantity: undefined,
14974
- Items: undefined,
14975
- };
14345
+ const contents = {};
14976
14346
  if (output["Quantity"] !== undefined) {
14977
14347
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
14978
14348
  }
@@ -14992,10 +14362,7 @@ const deserializeAws_restXmlStatusCodeList = (output, context) => {
14992
14362
  });
14993
14363
  };
14994
14364
  const deserializeAws_restXmlStatusCodes = (output, context) => {
14995
- const contents = {
14996
- Quantity: undefined,
14997
- Items: undefined,
14998
- };
14365
+ const contents = {};
14999
14366
  if (output["Quantity"] !== undefined) {
15000
14367
  contents.Quantity = (0, smithy_client_1.strictParseInt32)(output["Quantity"]);
15001
14368
  }
@@ -15008,15 +14375,7 @@ const deserializeAws_restXmlStatusCodes = (output, context) => {
15008
14375
  return contents;
15009
14376
  };
15010
14377
  const deserializeAws_restXmlStreamingDistribution = (output, context) => {
15011
- const contents = {
15012
- Id: undefined,
15013
- ARN: undefined,
15014
- Status: undefined,
15015
- LastModifiedTime: undefined,
15016
- DomainName: undefined,
15017
- ActiveTrustedSigners: undefined,
15018
- StreamingDistributionConfig: undefined,
15019
- };
14378
+ const contents = {};
15020
14379
  if (output["Id"] !== undefined) {
15021
14380
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
15022
14381
  }
@@ -15041,16 +14400,7 @@ const deserializeAws_restXmlStreamingDistribution = (output, context) => {
15041
14400
  return contents;
15042
14401
  };
15043
14402
  const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
15044
- const contents = {
15045
- CallerReference: undefined,
15046
- S3Origin: undefined,
15047
- Aliases: undefined,
15048
- Comment: undefined,
15049
- Logging: undefined,
15050
- TrustedSigners: undefined,
15051
- PriceClass: undefined,
15052
- Enabled: undefined,
15053
- };
14403
+ const contents = {};
15054
14404
  if (output["CallerReference"] !== undefined) {
15055
14405
  contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
15056
14406
  }
@@ -15078,14 +14428,7 @@ const deserializeAws_restXmlStreamingDistributionConfig = (output, context) => {
15078
14428
  return contents;
15079
14429
  };
15080
14430
  const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
15081
- const contents = {
15082
- Marker: undefined,
15083
- NextMarker: undefined,
15084
- MaxItems: undefined,
15085
- IsTruncated: undefined,
15086
- Quantity: undefined,
15087
- Items: undefined,
15088
- };
14431
+ const contents = {};
15089
14432
  if (output["Marker"] !== undefined) {
15090
14433
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
15091
14434
  }
@@ -15110,19 +14453,7 @@ const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
15110
14453
  return contents;
15111
14454
  };
15112
14455
  const deserializeAws_restXmlStreamingDistributionSummary = (output, context) => {
15113
- const contents = {
15114
- Id: undefined,
15115
- ARN: undefined,
15116
- Status: undefined,
15117
- LastModifiedTime: undefined,
15118
- DomainName: undefined,
15119
- S3Origin: undefined,
15120
- Aliases: undefined,
15121
- TrustedSigners: undefined,
15122
- Comment: undefined,
15123
- PriceClass: undefined,
15124
- Enabled: undefined,
15125
- };
14456
+ const contents = {};
15126
14457
  if (output["Id"] !== undefined) {
15127
14458
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
15128
14459
  }
@@ -15166,11 +14497,7 @@ const deserializeAws_restXmlStreamingDistributionSummaryList = (output, context)
15166
14497
  });
15167
14498
  };
15168
14499
  const deserializeAws_restXmlStreamingLoggingConfig = (output, context) => {
15169
- const contents = {
15170
- Enabled: undefined,
15171
- Bucket: undefined,
15172
- Prefix: undefined,
15173
- };
14500
+ const contents = {};
15174
14501
  if (output["Enabled"] !== undefined) {
15175
14502
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
15176
14503
  }
@@ -15183,10 +14510,7 @@ const deserializeAws_restXmlStreamingLoggingConfig = (output, context) => {
15183
14510
  return contents;
15184
14511
  };
15185
14512
  const deserializeAws_restXmlTag = (output, context) => {
15186
- const contents = {
15187
- Key: undefined,
15188
- Value: undefined,
15189
- };
14513
+ const contents = {};
15190
14514
  if (output["Key"] !== undefined) {
15191
14515
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
15192
14516
  }
@@ -15203,9 +14527,7 @@ const deserializeAws_restXmlTagList = (output, context) => {
15203
14527
  });
15204
14528
  };
15205
14529
  const deserializeAws_restXmlTags = (output, context) => {
15206
- const contents = {
15207
- Items: undefined,
15208
- };
14530
+ const contents = {};
15209
14531
  if (output.Items === "") {
15210
14532
  contents.Items = [];
15211
14533
  }
@@ -15215,13 +14537,7 @@ const deserializeAws_restXmlTags = (output, context) => {
15215
14537
  return contents;
15216
14538
  };
15217
14539
  const deserializeAws_restXmlTestResult = (output, context) => {
15218
- const contents = {
15219
- FunctionSummary: undefined,
15220
- ComputeUtilization: undefined,
15221
- FunctionExecutionLogs: undefined,
15222
- FunctionErrorMessage: undefined,
15223
- FunctionOutput: undefined,
15224
- };
14540
+ const contents = {};
15225
14541
  if (output["FunctionSummary"] !== undefined) {
15226
14542
  contents.FunctionSummary = deserializeAws_restXmlFunctionSummary(output["FunctionSummary"], context);
15227
14543
  }
@@ -15243,11 +14559,7 @@ const deserializeAws_restXmlTestResult = (output, context) => {
15243
14559
  return contents;
15244
14560
  };
15245
14561
  const deserializeAws_restXmlTrafficConfig = (output, context) => {
15246
- const contents = {
15247
- SingleWeightConfig: undefined,
15248
- SingleHeaderConfig: undefined,
15249
- Type: undefined,
15250
- };
14562
+ const contents = {};
15251
14563
  if (output["SingleWeightConfig"] !== undefined) {
15252
14564
  contents.SingleWeightConfig = deserializeAws_restXmlContinuousDeploymentSingleWeightConfig(output["SingleWeightConfig"], context);
15253
14565
  }
@@ -15267,11 +14579,7 @@ const deserializeAws_restXmlTrustedKeyGroupIdList = (output, context) => {
15267
14579
  });
15268
14580
  };
15269
14581
  const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
15270
- const contents = {
15271
- Enabled: undefined,
15272
- Quantity: undefined,
15273
- Items: undefined,
15274
- };
14582
+ const contents = {};
15275
14583
  if (output["Enabled"] !== undefined) {
15276
14584
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
15277
14585
  }
@@ -15287,11 +14595,7 @@ const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
15287
14595
  return contents;
15288
14596
  };
15289
14597
  const deserializeAws_restXmlTrustedSigners = (output, context) => {
15290
- const contents = {
15291
- Enabled: undefined,
15292
- Quantity: undefined,
15293
- Items: undefined,
15294
- };
14598
+ const contents = {};
15295
14599
  if (output["Enabled"] !== undefined) {
15296
14600
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
15297
14601
  }
@@ -15307,15 +14611,7 @@ const deserializeAws_restXmlTrustedSigners = (output, context) => {
15307
14611
  return contents;
15308
14612
  };
15309
14613
  const deserializeAws_restXmlViewerCertificate = (output, context) => {
15310
- const contents = {
15311
- CloudFrontDefaultCertificate: undefined,
15312
- IAMCertificateId: undefined,
15313
- ACMCertificateArn: undefined,
15314
- SSLSupportMethod: undefined,
15315
- MinimumProtocolVersion: undefined,
15316
- Certificate: undefined,
15317
- CertificateSource: undefined,
15318
- };
14614
+ const contents = {};
15319
14615
  if (output["CloudFrontDefaultCertificate"] !== undefined) {
15320
14616
  contents.CloudFrontDefaultCertificate = (0, smithy_client_1.parseBoolean)(output["CloudFrontDefaultCertificate"]);
15321
14617
  }