@aws-sdk/client-cloudfront 3.100.0 → 3.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudfront
9
+
10
+
11
+
12
+
13
+
14
+ # [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-cloudfront
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class CloudFrontClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -11349,7 +11349,7 @@ const deserializeAws_restXmlActiveTrustedKeyGroups = (output, context) => {
11349
11349
  if (output.Items === "") {
11350
11350
  contents.Items = [];
11351
11351
  }
11352
- if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
11352
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
11353
11353
  contents.Items = deserializeAws_restXmlKGKeyPairIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["KeyGroup"]), context);
11354
11354
  }
11355
11355
  return contents;
@@ -11369,7 +11369,7 @@ const deserializeAws_restXmlActiveTrustedSigners = (output, context) => {
11369
11369
  if (output.Items === "") {
11370
11370
  contents.Items = [];
11371
11371
  }
11372
- if (output["Items"] !== undefined && output["Items"]["Signer"] !== undefined) {
11372
+ else if (output["Items"] !== undefined && output["Items"]["Signer"] !== undefined) {
11373
11373
  contents.Items = deserializeAws_restXmlSignerList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Signer"]), context);
11374
11374
  }
11375
11375
  return contents;
@@ -11385,7 +11385,7 @@ const deserializeAws_restXmlAliases = (output, context) => {
11385
11385
  if (output.Items === "") {
11386
11386
  contents.Items = [];
11387
11387
  }
11388
- if (output["Items"] !== undefined && output["Items"]["CNAME"] !== undefined) {
11388
+ else if (output["Items"] !== undefined && output["Items"]["CNAME"] !== undefined) {
11389
11389
  contents.Items = deserializeAws_restXmlAliasList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["CNAME"]), context);
11390
11390
  }
11391
11391
  return contents;
@@ -11435,7 +11435,7 @@ const deserializeAws_restXmlAllowedMethods = (output, context) => {
11435
11435
  if (output.Items === "") {
11436
11436
  contents.Items = [];
11437
11437
  }
11438
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
11438
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
11439
11439
  contents.Items = deserializeAws_restXmlMethodsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Method"]), context);
11440
11440
  }
11441
11441
  if (output["CachedMethods"] !== undefined) {
@@ -11555,7 +11555,7 @@ const deserializeAws_restXmlCacheBehaviors = (output, context) => {
11555
11555
  if (output.Items === "") {
11556
11556
  contents.Items = [];
11557
11557
  }
11558
- if (output["Items"] !== undefined && output["Items"]["CacheBehavior"] !== undefined) {
11558
+ else if (output["Items"] !== undefined && output["Items"]["CacheBehavior"] !== undefined) {
11559
11559
  contents.Items = deserializeAws_restXmlCacheBehaviorList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["CacheBehavior"]), context);
11560
11560
  }
11561
11561
  return contents;
@@ -11571,7 +11571,7 @@ const deserializeAws_restXmlCachedMethods = (output, context) => {
11571
11571
  if (output.Items === "") {
11572
11572
  contents.Items = [];
11573
11573
  }
11574
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
11574
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
11575
11575
  contents.Items = deserializeAws_restXmlMethodsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Method"]), context);
11576
11576
  }
11577
11577
  return contents;
@@ -11667,7 +11667,7 @@ const deserializeAws_restXmlCachePolicyList = (output, context) => {
11667
11667
  if (output.Items === "") {
11668
11668
  contents.Items = [];
11669
11669
  }
11670
- if (output["Items"] !== undefined && output["Items"]["CachePolicySummary"] !== undefined) {
11670
+ else if (output["Items"] !== undefined && output["Items"]["CachePolicySummary"] !== undefined) {
11671
11671
  contents.Items = deserializeAws_restXmlCachePolicySummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["CachePolicySummary"]), context);
11672
11672
  }
11673
11673
  return contents;
@@ -11765,7 +11765,7 @@ const deserializeAws_restXmlCloudFrontOriginAccessIdentityList = (output, contex
11765
11765
  if (output.Items === "") {
11766
11766
  contents.Items = [];
11767
11767
  }
11768
- if (output["Items"] !== undefined && output["Items"]["CloudFrontOriginAccessIdentitySummary"] !== undefined) {
11768
+ else if (output["Items"] !== undefined && output["Items"]["CloudFrontOriginAccessIdentitySummary"] !== undefined) {
11769
11769
  contents.Items = deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["CloudFrontOriginAccessIdentitySummary"]), context);
11770
11770
  }
11771
11771
  return contents;
@@ -11843,7 +11843,7 @@ const deserializeAws_restXmlConflictingAliasesList = (output, context) => {
11843
11843
  if (output.Items === "") {
11844
11844
  contents.Items = [];
11845
11845
  }
11846
- if (output["Items"] !== undefined && output["Items"]["ConflictingAlias"] !== undefined) {
11846
+ else if (output["Items"] !== undefined && output["Items"]["ConflictingAlias"] !== undefined) {
11847
11847
  contents.Items = deserializeAws_restXmlConflictingAliases((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["ConflictingAlias"]), context);
11848
11848
  }
11849
11849
  return contents;
@@ -11899,7 +11899,7 @@ const deserializeAws_restXmlContentTypeProfiles = (output, context) => {
11899
11899
  if (output.Items === "") {
11900
11900
  contents.Items = [];
11901
11901
  }
11902
- if (output["Items"] !== undefined && output["Items"]["ContentTypeProfile"] !== undefined) {
11902
+ else if (output["Items"] !== undefined && output["Items"]["ContentTypeProfile"] !== undefined) {
11903
11903
  contents.Items = deserializeAws_restXmlContentTypeProfileList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["ContentTypeProfile"]), context);
11904
11904
  }
11905
11905
  return contents;
@@ -11925,7 +11925,7 @@ const deserializeAws_restXmlCookieNames = (output, context) => {
11925
11925
  if (output.Items === "") {
11926
11926
  contents.Items = [];
11927
11927
  }
11928
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
11928
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
11929
11929
  contents.Items = deserializeAws_restXmlCookieNameList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Name"]), context);
11930
11930
  }
11931
11931
  return contents;
@@ -11985,7 +11985,7 @@ const deserializeAws_restXmlCustomErrorResponses = (output, context) => {
11985
11985
  if (output.Items === "") {
11986
11986
  contents.Items = [];
11987
11987
  }
11988
- if (output["Items"] !== undefined && output["Items"]["CustomErrorResponse"] !== undefined) {
11988
+ else if (output["Items"] !== undefined && output["Items"]["CustomErrorResponse"] !== undefined) {
11989
11989
  contents.Items = deserializeAws_restXmlCustomErrorResponseList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["CustomErrorResponse"]), context);
11990
11990
  }
11991
11991
  return contents;
@@ -12001,7 +12001,7 @@ const deserializeAws_restXmlCustomHeaders = (output, context) => {
12001
12001
  if (output.Items === "") {
12002
12002
  contents.Items = [];
12003
12003
  }
12004
- if (output["Items"] !== undefined && output["Items"]["OriginCustomHeader"] !== undefined) {
12004
+ else if (output["Items"] !== undefined && output["Items"]["OriginCustomHeader"] !== undefined) {
12005
12005
  contents.Items = deserializeAws_restXmlOriginCustomHeadersList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["OriginCustomHeader"]), context);
12006
12006
  }
12007
12007
  return contents;
@@ -12155,7 +12155,8 @@ const deserializeAws_restXmlDistribution = (output, context) => {
12155
12155
  if (output.AliasICPRecordals === "") {
12156
12156
  contents.AliasICPRecordals = [];
12157
12157
  }
12158
- if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
12158
+ else if (output["AliasICPRecordals"] !== undefined &&
12159
+ output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
12159
12160
  contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals((0, smithy_client_1.getArrayIfSingleItem)(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
12160
12161
  }
12161
12162
  return contents;
@@ -12260,7 +12261,7 @@ const deserializeAws_restXmlDistributionIdList = (output, context) => {
12260
12261
  if (output.Items === "") {
12261
12262
  contents.Items = [];
12262
12263
  }
12263
- if (output["Items"] !== undefined && output["Items"]["DistributionId"] !== undefined) {
12264
+ else if (output["Items"] !== undefined && output["Items"]["DistributionId"] !== undefined) {
12264
12265
  contents.Items = deserializeAws_restXmlDistributionIdListSummary((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["DistributionId"]), context);
12265
12266
  }
12266
12267
  return contents;
@@ -12302,7 +12303,7 @@ const deserializeAws_restXmlDistributionList = (output, context) => {
12302
12303
  if (output.Items === "") {
12303
12304
  contents.Items = [];
12304
12305
  }
12305
- if (output["Items"] !== undefined && output["Items"]["DistributionSummary"] !== undefined) {
12306
+ else if (output["Items"] !== undefined && output["Items"]["DistributionSummary"] !== undefined) {
12306
12307
  contents.Items = deserializeAws_restXmlDistributionSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["DistributionSummary"]), context);
12307
12308
  }
12308
12309
  return contents;
@@ -12390,7 +12391,8 @@ const deserializeAws_restXmlDistributionSummary = (output, context) => {
12390
12391
  if (output.AliasICPRecordals === "") {
12391
12392
  contents.AliasICPRecordals = [];
12392
12393
  }
12393
- if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
12394
+ else if (output["AliasICPRecordals"] !== undefined &&
12395
+ output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
12394
12396
  contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals((0, smithy_client_1.getArrayIfSingleItem)(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
12395
12397
  }
12396
12398
  return contents;
@@ -12416,7 +12418,7 @@ const deserializeAws_restXmlEncryptionEntities = (output, context) => {
12416
12418
  if (output.Items === "") {
12417
12419
  contents.Items = [];
12418
12420
  }
12419
- if (output["Items"] !== undefined && output["Items"]["EncryptionEntity"] !== undefined) {
12421
+ else if (output["Items"] !== undefined && output["Items"]["EncryptionEntity"] !== undefined) {
12420
12422
  contents.Items = deserializeAws_restXmlEncryptionEntityList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["EncryptionEntity"]), context);
12421
12423
  }
12422
12424
  return contents;
@@ -12528,7 +12530,7 @@ const deserializeAws_restXmlFieldLevelEncryptionList = (output, context) => {
12528
12530
  if (output.Items === "") {
12529
12531
  contents.Items = [];
12530
12532
  }
12531
- if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionSummary"] !== undefined) {
12533
+ else if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionSummary"] !== undefined) {
12532
12534
  contents.Items = deserializeAws_restXmlFieldLevelEncryptionSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["FieldLevelEncryptionSummary"]), context);
12533
12535
  }
12534
12536
  return contents;
@@ -12590,7 +12592,7 @@ const deserializeAws_restXmlFieldLevelEncryptionProfileList = (output, context)
12590
12592
  if (output.Items === "") {
12591
12593
  contents.Items = [];
12592
12594
  }
12593
- if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionProfileSummary"] !== undefined) {
12595
+ else if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionProfileSummary"] !== undefined) {
12594
12596
  contents.Items = deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["FieldLevelEncryptionProfileSummary"]), context);
12595
12597
  }
12596
12598
  return contents;
@@ -12696,7 +12698,7 @@ const deserializeAws_restXmlFieldPatterns = (output, context) => {
12696
12698
  if (output.Items === "") {
12697
12699
  contents.Items = [];
12698
12700
  }
12699
- if (output["Items"] !== undefined && output["Items"]["FieldPattern"] !== undefined) {
12701
+ else if (output["Items"] !== undefined && output["Items"]["FieldPattern"] !== undefined) {
12700
12702
  contents.Items = deserializeAws_restXmlFieldPatternList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["FieldPattern"]), context);
12701
12703
  }
12702
12704
  return contents;
@@ -12756,7 +12758,7 @@ const deserializeAws_restXmlFunctionAssociations = (output, context) => {
12756
12758
  if (output.Items === "") {
12757
12759
  contents.Items = [];
12758
12760
  }
12759
- if (output["Items"] !== undefined && output["Items"]["FunctionAssociation"] !== undefined) {
12761
+ else if (output["Items"] !== undefined && output["Items"]["FunctionAssociation"] !== undefined) {
12760
12762
  contents.Items = deserializeAws_restXmlFunctionAssociationList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["FunctionAssociation"]), context);
12761
12763
  }
12762
12764
  return contents;
@@ -12803,7 +12805,7 @@ const deserializeAws_restXmlFunctionList = (output, context) => {
12803
12805
  if (output.Items === "") {
12804
12806
  contents.Items = [];
12805
12807
  }
12806
- if (output["Items"] !== undefined && output["Items"]["FunctionSummary"] !== undefined) {
12808
+ else if (output["Items"] !== undefined && output["Items"]["FunctionSummary"] !== undefined) {
12807
12809
  contents.Items = deserializeAws_restXmlFunctionSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["FunctionSummary"]), context);
12808
12810
  }
12809
12811
  return contents;
@@ -12875,7 +12877,7 @@ const deserializeAws_restXmlGeoRestriction = (output, context) => {
12875
12877
  if (output.Items === "") {
12876
12878
  contents.Items = [];
12877
12879
  }
12878
- if (output["Items"] !== undefined && output["Items"]["Location"] !== undefined) {
12880
+ else if (output["Items"] !== undefined && output["Items"]["Location"] !== undefined) {
12879
12881
  contents.Items = deserializeAws_restXmlLocationList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Location"]), context);
12880
12882
  }
12881
12883
  return contents;
@@ -12901,7 +12903,7 @@ const deserializeAws_restXmlHeaders = (output, context) => {
12901
12903
  if (output.Items === "") {
12902
12904
  contents.Items = [];
12903
12905
  }
12904
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
12906
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
12905
12907
  contents.Items = deserializeAws_restXmlHeaderList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Name"]), context);
12906
12908
  }
12907
12909
  return contents;
@@ -12967,7 +12969,7 @@ const deserializeAws_restXmlInvalidationList = (output, context) => {
12967
12969
  if (output.Items === "") {
12968
12970
  contents.Items = [];
12969
12971
  }
12970
- if (output["Items"] !== undefined && output["Items"]["InvalidationSummary"] !== undefined) {
12972
+ else if (output["Items"] !== undefined && output["Items"]["InvalidationSummary"] !== undefined) {
12971
12973
  contents.Items = deserializeAws_restXmlInvalidationSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["InvalidationSummary"]), context);
12972
12974
  }
12973
12975
  return contents;
@@ -13028,7 +13030,7 @@ const deserializeAws_restXmlKeyGroupConfig = (output, context) => {
13028
13030
  if (output.Items === "") {
13029
13031
  contents.Items = [];
13030
13032
  }
13031
- if (output["Items"] !== undefined && output["Items"]["PublicKey"] !== undefined) {
13033
+ else if (output["Items"] !== undefined && output["Items"]["PublicKey"] !== undefined) {
13032
13034
  contents.Items = deserializeAws_restXmlPublicKeyIdList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["PublicKey"]), context);
13033
13035
  }
13034
13036
  if (output["Comment"] !== undefined) {
@@ -13055,7 +13057,7 @@ const deserializeAws_restXmlKeyGroupList = (output, context) => {
13055
13057
  if (output.Items === "") {
13056
13058
  contents.Items = [];
13057
13059
  }
13058
- if (output["Items"] !== undefined && output["Items"]["KeyGroupSummary"] !== undefined) {
13060
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroupSummary"] !== undefined) {
13059
13061
  contents.Items = deserializeAws_restXmlKeyGroupSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["KeyGroupSummary"]), context);
13060
13062
  }
13061
13063
  return contents;
@@ -13100,7 +13102,7 @@ const deserializeAws_restXmlKeyPairIds = (output, context) => {
13100
13102
  if (output.Items === "") {
13101
13103
  contents.Items = [];
13102
13104
  }
13103
- if (output["Items"] !== undefined && output["Items"]["KeyPairId"] !== undefined) {
13105
+ else if (output["Items"] !== undefined && output["Items"]["KeyPairId"] !== undefined) {
13104
13106
  contents.Items = deserializeAws_restXmlKeyPairIdList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["KeyPairId"]), context);
13105
13107
  }
13106
13108
  return contents;
@@ -13179,7 +13181,7 @@ const deserializeAws_restXmlLambdaFunctionAssociations = (output, context) => {
13179
13181
  if (output.Items === "") {
13180
13182
  contents.Items = [];
13181
13183
  }
13182
- if (output["Items"] !== undefined && output["Items"]["LambdaFunctionAssociation"] !== undefined) {
13184
+ else if (output["Items"] !== undefined && output["Items"]["LambdaFunctionAssociation"] !== undefined) {
13183
13185
  contents.Items = deserializeAws_restXmlLambdaFunctionAssociationList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["LambdaFunctionAssociation"]), context);
13184
13186
  }
13185
13187
  return contents;
@@ -13364,7 +13366,7 @@ const deserializeAws_restXmlOriginGroupMembers = (output, context) => {
13364
13366
  if (output.Items === "") {
13365
13367
  contents.Items = [];
13366
13368
  }
13367
- if (output["Items"] !== undefined && output["Items"]["OriginGroupMember"] !== undefined) {
13369
+ else if (output["Items"] !== undefined && output["Items"]["OriginGroupMember"] !== undefined) {
13368
13370
  contents.Items = deserializeAws_restXmlOriginGroupMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["OriginGroupMember"]), context);
13369
13371
  }
13370
13372
  return contents;
@@ -13380,7 +13382,7 @@ const deserializeAws_restXmlOriginGroups = (output, context) => {
13380
13382
  if (output.Items === "") {
13381
13383
  contents.Items = [];
13382
13384
  }
13383
- if (output["Items"] !== undefined && output["Items"]["OriginGroup"] !== undefined) {
13385
+ else if (output["Items"] !== undefined && output["Items"]["OriginGroup"] !== undefined) {
13384
13386
  contents.Items = deserializeAws_restXmlOriginGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["OriginGroup"]), context);
13385
13387
  }
13386
13388
  return contents;
@@ -13482,7 +13484,7 @@ const deserializeAws_restXmlOriginRequestPolicyList = (output, context) => {
13482
13484
  if (output.Items === "") {
13483
13485
  contents.Items = [];
13484
13486
  }
13485
- if (output["Items"] !== undefined && output["Items"]["OriginRequestPolicySummary"] !== undefined) {
13487
+ else if (output["Items"] !== undefined && output["Items"]["OriginRequestPolicySummary"] !== undefined) {
13486
13488
  contents.Items = deserializeAws_restXmlOriginRequestPolicySummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["OriginRequestPolicySummary"]), context);
13487
13489
  }
13488
13490
  return contents;
@@ -13534,7 +13536,7 @@ const deserializeAws_restXmlOrigins = (output, context) => {
13534
13536
  if (output.Items === "") {
13535
13537
  contents.Items = [];
13536
13538
  }
13537
- if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
13539
+ else if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
13538
13540
  contents.Items = deserializeAws_restXmlOriginList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Origin"]), context);
13539
13541
  }
13540
13542
  return contents;
@@ -13563,7 +13565,7 @@ const deserializeAws_restXmlOriginSslProtocols = (output, context) => {
13563
13565
  if (output.Items === "") {
13564
13566
  contents.Items = [];
13565
13567
  }
13566
- if (output["Items"] !== undefined && output["Items"]["SslProtocol"] !== undefined) {
13568
+ else if (output["Items"] !== undefined && output["Items"]["SslProtocol"] !== undefined) {
13567
13569
  contents.Items = deserializeAws_restXmlSslProtocolsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["SslProtocol"]), context);
13568
13570
  }
13569
13571
  return contents;
@@ -13614,7 +13616,7 @@ const deserializeAws_restXmlPaths = (output, context) => {
13614
13616
  if (output.Items === "") {
13615
13617
  contents.Items = [];
13616
13618
  }
13617
- if (output["Items"] !== undefined && output["Items"]["Path"] !== undefined) {
13619
+ else if (output["Items"] !== undefined && output["Items"]["Path"] !== undefined) {
13618
13620
  contents.Items = deserializeAws_restXmlPathList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Path"]), context);
13619
13621
  }
13620
13622
  return contents;
@@ -13686,7 +13688,7 @@ const deserializeAws_restXmlPublicKeyList = (output, context) => {
13686
13688
  if (output.Items === "") {
13687
13689
  contents.Items = [];
13688
13690
  }
13689
- if (output["Items"] !== undefined && output["Items"]["PublicKeySummary"] !== undefined) {
13691
+ else if (output["Items"] !== undefined && output["Items"]["PublicKeySummary"] !== undefined) {
13690
13692
  contents.Items = deserializeAws_restXmlPublicKeySummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["PublicKeySummary"]), context);
13691
13693
  }
13692
13694
  return contents;
@@ -13773,7 +13775,7 @@ const deserializeAws_restXmlQueryArgProfiles = (output, context) => {
13773
13775
  if (output.Items === "") {
13774
13776
  contents.Items = [];
13775
13777
  }
13776
- if (output["Items"] !== undefined && output["Items"]["QueryArgProfile"] !== undefined) {
13778
+ else if (output["Items"] !== undefined && output["Items"]["QueryArgProfile"] !== undefined) {
13777
13779
  contents.Items = deserializeAws_restXmlQueryArgProfileList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["QueryArgProfile"]), context);
13778
13780
  }
13779
13781
  return contents;
@@ -13789,7 +13791,7 @@ const deserializeAws_restXmlQueryStringCacheKeys = (output, context) => {
13789
13791
  if (output.Items === "") {
13790
13792
  contents.Items = [];
13791
13793
  }
13792
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
13794
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
13793
13795
  contents.Items = deserializeAws_restXmlQueryStringCacheKeysList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Name"]), context);
13794
13796
  }
13795
13797
  return contents;
@@ -13815,7 +13817,7 @@ const deserializeAws_restXmlQueryStringNames = (output, context) => {
13815
13817
  if (output.Items === "") {
13816
13818
  contents.Items = [];
13817
13819
  }
13818
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
13820
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
13819
13821
  contents.Items = deserializeAws_restXmlQueryStringNamesList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Name"]), context);
13820
13822
  }
13821
13823
  return contents;
@@ -13850,13 +13852,13 @@ const deserializeAws_restXmlRealtimeLogConfig = (output, context) => {
13850
13852
  if (output.EndPoints === "") {
13851
13853
  contents.EndPoints = [];
13852
13854
  }
13853
- if (output["EndPoints"] !== undefined && output["EndPoints"]["member"] !== undefined) {
13855
+ else if (output["EndPoints"] !== undefined && output["EndPoints"]["member"] !== undefined) {
13854
13856
  contents.EndPoints = deserializeAws_restXmlEndPointList((0, smithy_client_1.getArrayIfSingleItem)(output["EndPoints"]["member"]), context);
13855
13857
  }
13856
13858
  if (output.Fields === "") {
13857
13859
  contents.Fields = [];
13858
13860
  }
13859
- if (output["Fields"] !== undefined && output["Fields"]["Field"] !== undefined) {
13861
+ else if (output["Fields"] !== undefined && output["Fields"]["Field"] !== undefined) {
13860
13862
  contents.Fields = deserializeAws_restXmlFieldList((0, smithy_client_1.getArrayIfSingleItem)(output["Fields"]["Field"]), context);
13861
13863
  }
13862
13864
  return contents;
@@ -13885,7 +13887,7 @@ const deserializeAws_restXmlRealtimeLogConfigs = (output, context) => {
13885
13887
  if (output.Items === "") {
13886
13888
  contents.Items = [];
13887
13889
  }
13888
- if (output["Items"] !== undefined && output["Items"]["member"] !== undefined) {
13890
+ else if (output["Items"] !== undefined && output["Items"]["member"] !== undefined) {
13889
13891
  contents.Items = deserializeAws_restXmlRealtimeLogConfigList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["member"]), context);
13890
13892
  }
13891
13893
  if (output["IsTruncated"] !== undefined) {
@@ -13936,7 +13938,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = (ou
13936
13938
  if (output.Items === "") {
13937
13939
  contents.Items = [];
13938
13940
  }
13939
- if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
13941
+ else if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
13940
13942
  contents.Items = deserializeAws_restXmlAccessControlAllowHeadersList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Header"]), context);
13941
13943
  }
13942
13944
  return contents;
@@ -13952,7 +13954,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = (ou
13952
13954
  if (output.Items === "") {
13953
13955
  contents.Items = [];
13954
13956
  }
13955
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13957
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13956
13958
  contents.Items = deserializeAws_restXmlAccessControlAllowMethodsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Method"]), context);
13957
13959
  }
13958
13960
  return contents;
@@ -13968,7 +13970,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = (ou
13968
13970
  if (output.Items === "") {
13969
13971
  contents.Items = [];
13970
13972
  }
13971
- if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
13973
+ else if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
13972
13974
  contents.Items = deserializeAws_restXmlAccessControlAllowOriginsList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Origin"]), context);
13973
13975
  }
13974
13976
  return contents;
@@ -13984,7 +13986,7 @@ const deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = (o
13984
13986
  if (output.Items === "") {
13985
13987
  contents.Items = [];
13986
13988
  }
13987
- if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
13989
+ else if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
13988
13990
  contents.Items = deserializeAws_restXmlAccessControlExposeHeadersList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Header"]), context);
13989
13991
  }
13990
13992
  return contents;
@@ -14111,7 +14113,7 @@ const deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = (output,
14111
14113
  if (output.Items === "") {
14112
14114
  contents.Items = [];
14113
14115
  }
14114
- if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicyCustomHeader"] !== undefined) {
14116
+ else if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicyCustomHeader"] !== undefined) {
14115
14117
  contents.Items = deserializeAws_restXmlResponseHeadersPolicyCustomHeaderList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["ResponseHeadersPolicyCustomHeader"]), context);
14116
14118
  }
14117
14119
  return contents;
@@ -14148,7 +14150,7 @@ const deserializeAws_restXmlResponseHeadersPolicyList = (output, context) => {
14148
14150
  if (output.Items === "") {
14149
14151
  contents.Items = [];
14150
14152
  }
14151
- if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicySummary"] !== undefined) {
14153
+ else if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicySummary"] !== undefined) {
14152
14154
  contents.Items = deserializeAws_restXmlResponseHeadersPolicySummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["ResponseHeadersPolicySummary"]), context);
14153
14155
  }
14154
14156
  return contents;
@@ -14358,7 +14360,7 @@ const deserializeAws_restXmlStatusCodes = (output, context) => {
14358
14360
  if (output.Items === "") {
14359
14361
  contents.Items = [];
14360
14362
  }
14361
- if (output["Items"] !== undefined && output["Items"]["StatusCode"] !== undefined) {
14363
+ else if (output["Items"] !== undefined && output["Items"]["StatusCode"] !== undefined) {
14362
14364
  contents.Items = deserializeAws_restXmlStatusCodeList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["StatusCode"]), context);
14363
14365
  }
14364
14366
  return contents;
@@ -14460,7 +14462,7 @@ const deserializeAws_restXmlStreamingDistributionList = (output, context) => {
14460
14462
  if (output.Items === "") {
14461
14463
  contents.Items = [];
14462
14464
  }
14463
- if (output["Items"] !== undefined && output["Items"]["StreamingDistributionSummary"] !== undefined) {
14465
+ else if (output["Items"] !== undefined && output["Items"]["StreamingDistributionSummary"] !== undefined) {
14464
14466
  contents.Items = deserializeAws_restXmlStreamingDistributionSummaryList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["StreamingDistributionSummary"]), context);
14465
14467
  }
14466
14468
  return contents;
@@ -14571,7 +14573,7 @@ const deserializeAws_restXmlTags = (output, context) => {
14571
14573
  if (output.Items === "") {
14572
14574
  contents.Items = [];
14573
14575
  }
14574
- if (output["Items"] !== undefined && output["Items"]["Tag"] !== undefined) {
14576
+ else if (output["Items"] !== undefined && output["Items"]["Tag"] !== undefined) {
14575
14577
  contents.Items = deserializeAws_restXmlTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["Tag"]), context);
14576
14578
  }
14577
14579
  return contents;
@@ -14593,7 +14595,7 @@ const deserializeAws_restXmlTestResult = (output, context) => {
14593
14595
  if (output.FunctionExecutionLogs === "") {
14594
14596
  contents.FunctionExecutionLogs = [];
14595
14597
  }
14596
- if (output["FunctionExecutionLogs"] !== undefined && output["FunctionExecutionLogs"]["member"] !== undefined) {
14598
+ else if (output["FunctionExecutionLogs"] !== undefined && output["FunctionExecutionLogs"]["member"] !== undefined) {
14597
14599
  contents.FunctionExecutionLogs = deserializeAws_restXmlFunctionExecutionLogList((0, smithy_client_1.getArrayIfSingleItem)(output["FunctionExecutionLogs"]["member"]), context);
14598
14600
  }
14599
14601
  if (output["FunctionErrorMessage"] !== undefined) {
@@ -14629,7 +14631,7 @@ const deserializeAws_restXmlTrustedKeyGroups = (output, context) => {
14629
14631
  if (output.Items === "") {
14630
14632
  contents.Items = [];
14631
14633
  }
14632
- if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
14634
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
14633
14635
  contents.Items = deserializeAws_restXmlTrustedKeyGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["KeyGroup"]), context);
14634
14636
  }
14635
14637
  return contents;
@@ -14649,7 +14651,7 @@ const deserializeAws_restXmlTrustedSigners = (output, context) => {
14649
14651
  if (output.Items === "") {
14650
14652
  contents.Items = [];
14651
14653
  }
14652
- if (output["Items"] !== undefined && output["Items"]["AwsAccountNumber"] !== undefined) {
14654
+ else if (output["Items"] !== undefined && output["Items"]["AwsAccountNumber"] !== undefined) {
14653
14655
  contents.Items = deserializeAws_restXmlAwsAccountNumberList((0, smithy_client_1.getArrayIfSingleItem)(output["Items"]["AwsAccountNumber"]), context);
14654
14656
  }
14655
14657
  return contents;
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var CloudFrontClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -13744,7 +13744,7 @@ var deserializeAws_restXmlActiveTrustedKeyGroups = function (output, context) {
13744
13744
  if (output.Items === "") {
13745
13745
  contents.Items = [];
13746
13746
  }
13747
- if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
13747
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
13748
13748
  contents.Items = deserializeAws_restXmlKGKeyPairIdsList(__getArrayIfSingleItem(output["Items"]["KeyGroup"]), context);
13749
13749
  }
13750
13750
  return contents;
@@ -13764,7 +13764,7 @@ var deserializeAws_restXmlActiveTrustedSigners = function (output, context) {
13764
13764
  if (output.Items === "") {
13765
13765
  contents.Items = [];
13766
13766
  }
13767
- if (output["Items"] !== undefined && output["Items"]["Signer"] !== undefined) {
13767
+ else if (output["Items"] !== undefined && output["Items"]["Signer"] !== undefined) {
13768
13768
  contents.Items = deserializeAws_restXmlSignerList(__getArrayIfSingleItem(output["Items"]["Signer"]), context);
13769
13769
  }
13770
13770
  return contents;
@@ -13780,7 +13780,7 @@ var deserializeAws_restXmlAliases = function (output, context) {
13780
13780
  if (output.Items === "") {
13781
13781
  contents.Items = [];
13782
13782
  }
13783
- if (output["Items"] !== undefined && output["Items"]["CNAME"] !== undefined) {
13783
+ else if (output["Items"] !== undefined && output["Items"]["CNAME"] !== undefined) {
13784
13784
  contents.Items = deserializeAws_restXmlAliasList(__getArrayIfSingleItem(output["Items"]["CNAME"]), context);
13785
13785
  }
13786
13786
  return contents;
@@ -13830,7 +13830,7 @@ var deserializeAws_restXmlAllowedMethods = function (output, context) {
13830
13830
  if (output.Items === "") {
13831
13831
  contents.Items = [];
13832
13832
  }
13833
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13833
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13834
13834
  contents.Items = deserializeAws_restXmlMethodsList(__getArrayIfSingleItem(output["Items"]["Method"]), context);
13835
13835
  }
13836
13836
  if (output["CachedMethods"] !== undefined) {
@@ -13950,7 +13950,7 @@ var deserializeAws_restXmlCacheBehaviors = function (output, context) {
13950
13950
  if (output.Items === "") {
13951
13951
  contents.Items = [];
13952
13952
  }
13953
- if (output["Items"] !== undefined && output["Items"]["CacheBehavior"] !== undefined) {
13953
+ else if (output["Items"] !== undefined && output["Items"]["CacheBehavior"] !== undefined) {
13954
13954
  contents.Items = deserializeAws_restXmlCacheBehaviorList(__getArrayIfSingleItem(output["Items"]["CacheBehavior"]), context);
13955
13955
  }
13956
13956
  return contents;
@@ -13966,7 +13966,7 @@ var deserializeAws_restXmlCachedMethods = function (output, context) {
13966
13966
  if (output.Items === "") {
13967
13967
  contents.Items = [];
13968
13968
  }
13969
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13969
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
13970
13970
  contents.Items = deserializeAws_restXmlMethodsList(__getArrayIfSingleItem(output["Items"]["Method"]), context);
13971
13971
  }
13972
13972
  return contents;
@@ -14062,7 +14062,7 @@ var deserializeAws_restXmlCachePolicyList = function (output, context) {
14062
14062
  if (output.Items === "") {
14063
14063
  contents.Items = [];
14064
14064
  }
14065
- if (output["Items"] !== undefined && output["Items"]["CachePolicySummary"] !== undefined) {
14065
+ else if (output["Items"] !== undefined && output["Items"]["CachePolicySummary"] !== undefined) {
14066
14066
  contents.Items = deserializeAws_restXmlCachePolicySummaryList(__getArrayIfSingleItem(output["Items"]["CachePolicySummary"]), context);
14067
14067
  }
14068
14068
  return contents;
@@ -14160,7 +14160,7 @@ var deserializeAws_restXmlCloudFrontOriginAccessIdentityList = function (output,
14160
14160
  if (output.Items === "") {
14161
14161
  contents.Items = [];
14162
14162
  }
14163
- if (output["Items"] !== undefined && output["Items"]["CloudFrontOriginAccessIdentitySummary"] !== undefined) {
14163
+ else if (output["Items"] !== undefined && output["Items"]["CloudFrontOriginAccessIdentitySummary"] !== undefined) {
14164
14164
  contents.Items = deserializeAws_restXmlCloudFrontOriginAccessIdentitySummaryList(__getArrayIfSingleItem(output["Items"]["CloudFrontOriginAccessIdentitySummary"]), context);
14165
14165
  }
14166
14166
  return contents;
@@ -14238,7 +14238,7 @@ var deserializeAws_restXmlConflictingAliasesList = function (output, context) {
14238
14238
  if (output.Items === "") {
14239
14239
  contents.Items = [];
14240
14240
  }
14241
- if (output["Items"] !== undefined && output["Items"]["ConflictingAlias"] !== undefined) {
14241
+ else if (output["Items"] !== undefined && output["Items"]["ConflictingAlias"] !== undefined) {
14242
14242
  contents.Items = deserializeAws_restXmlConflictingAliases(__getArrayIfSingleItem(output["Items"]["ConflictingAlias"]), context);
14243
14243
  }
14244
14244
  return contents;
@@ -14294,7 +14294,7 @@ var deserializeAws_restXmlContentTypeProfiles = function (output, context) {
14294
14294
  if (output.Items === "") {
14295
14295
  contents.Items = [];
14296
14296
  }
14297
- if (output["Items"] !== undefined && output["Items"]["ContentTypeProfile"] !== undefined) {
14297
+ else if (output["Items"] !== undefined && output["Items"]["ContentTypeProfile"] !== undefined) {
14298
14298
  contents.Items = deserializeAws_restXmlContentTypeProfileList(__getArrayIfSingleItem(output["Items"]["ContentTypeProfile"]), context);
14299
14299
  }
14300
14300
  return contents;
@@ -14320,7 +14320,7 @@ var deserializeAws_restXmlCookieNames = function (output, context) {
14320
14320
  if (output.Items === "") {
14321
14321
  contents.Items = [];
14322
14322
  }
14323
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
14323
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
14324
14324
  contents.Items = deserializeAws_restXmlCookieNameList(__getArrayIfSingleItem(output["Items"]["Name"]), context);
14325
14325
  }
14326
14326
  return contents;
@@ -14380,7 +14380,7 @@ var deserializeAws_restXmlCustomErrorResponses = function (output, context) {
14380
14380
  if (output.Items === "") {
14381
14381
  contents.Items = [];
14382
14382
  }
14383
- if (output["Items"] !== undefined && output["Items"]["CustomErrorResponse"] !== undefined) {
14383
+ else if (output["Items"] !== undefined && output["Items"]["CustomErrorResponse"] !== undefined) {
14384
14384
  contents.Items = deserializeAws_restXmlCustomErrorResponseList(__getArrayIfSingleItem(output["Items"]["CustomErrorResponse"]), context);
14385
14385
  }
14386
14386
  return contents;
@@ -14396,7 +14396,7 @@ var deserializeAws_restXmlCustomHeaders = function (output, context) {
14396
14396
  if (output.Items === "") {
14397
14397
  contents.Items = [];
14398
14398
  }
14399
- if (output["Items"] !== undefined && output["Items"]["OriginCustomHeader"] !== undefined) {
14399
+ else if (output["Items"] !== undefined && output["Items"]["OriginCustomHeader"] !== undefined) {
14400
14400
  contents.Items = deserializeAws_restXmlOriginCustomHeadersList(__getArrayIfSingleItem(output["Items"]["OriginCustomHeader"]), context);
14401
14401
  }
14402
14402
  return contents;
@@ -14550,7 +14550,8 @@ var deserializeAws_restXmlDistribution = function (output, context) {
14550
14550
  if (output.AliasICPRecordals === "") {
14551
14551
  contents.AliasICPRecordals = [];
14552
14552
  }
14553
- if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
14553
+ else if (output["AliasICPRecordals"] !== undefined &&
14554
+ output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
14554
14555
  contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(__getArrayIfSingleItem(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
14555
14556
  }
14556
14557
  return contents;
@@ -14655,7 +14656,7 @@ var deserializeAws_restXmlDistributionIdList = function (output, context) {
14655
14656
  if (output.Items === "") {
14656
14657
  contents.Items = [];
14657
14658
  }
14658
- if (output["Items"] !== undefined && output["Items"]["DistributionId"] !== undefined) {
14659
+ else if (output["Items"] !== undefined && output["Items"]["DistributionId"] !== undefined) {
14659
14660
  contents.Items = deserializeAws_restXmlDistributionIdListSummary(__getArrayIfSingleItem(output["Items"]["DistributionId"]), context);
14660
14661
  }
14661
14662
  return contents;
@@ -14697,7 +14698,7 @@ var deserializeAws_restXmlDistributionList = function (output, context) {
14697
14698
  if (output.Items === "") {
14698
14699
  contents.Items = [];
14699
14700
  }
14700
- if (output["Items"] !== undefined && output["Items"]["DistributionSummary"] !== undefined) {
14701
+ else if (output["Items"] !== undefined && output["Items"]["DistributionSummary"] !== undefined) {
14701
14702
  contents.Items = deserializeAws_restXmlDistributionSummaryList(__getArrayIfSingleItem(output["Items"]["DistributionSummary"]), context);
14702
14703
  }
14703
14704
  return contents;
@@ -14785,7 +14786,8 @@ var deserializeAws_restXmlDistributionSummary = function (output, context) {
14785
14786
  if (output.AliasICPRecordals === "") {
14786
14787
  contents.AliasICPRecordals = [];
14787
14788
  }
14788
- if (output["AliasICPRecordals"] !== undefined && output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
14789
+ else if (output["AliasICPRecordals"] !== undefined &&
14790
+ output["AliasICPRecordals"]["AliasICPRecordal"] !== undefined) {
14789
14791
  contents.AliasICPRecordals = deserializeAws_restXmlAliasICPRecordals(__getArrayIfSingleItem(output["AliasICPRecordals"]["AliasICPRecordal"]), context);
14790
14792
  }
14791
14793
  return contents;
@@ -14811,7 +14813,7 @@ var deserializeAws_restXmlEncryptionEntities = function (output, context) {
14811
14813
  if (output.Items === "") {
14812
14814
  contents.Items = [];
14813
14815
  }
14814
- if (output["Items"] !== undefined && output["Items"]["EncryptionEntity"] !== undefined) {
14816
+ else if (output["Items"] !== undefined && output["Items"]["EncryptionEntity"] !== undefined) {
14815
14817
  contents.Items = deserializeAws_restXmlEncryptionEntityList(__getArrayIfSingleItem(output["Items"]["EncryptionEntity"]), context);
14816
14818
  }
14817
14819
  return contents;
@@ -14923,7 +14925,7 @@ var deserializeAws_restXmlFieldLevelEncryptionList = function (output, context)
14923
14925
  if (output.Items === "") {
14924
14926
  contents.Items = [];
14925
14927
  }
14926
- if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionSummary"] !== undefined) {
14928
+ else if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionSummary"] !== undefined) {
14927
14929
  contents.Items = deserializeAws_restXmlFieldLevelEncryptionSummaryList(__getArrayIfSingleItem(output["Items"]["FieldLevelEncryptionSummary"]), context);
14928
14930
  }
14929
14931
  return contents;
@@ -14985,7 +14987,7 @@ var deserializeAws_restXmlFieldLevelEncryptionProfileList = function (output, co
14985
14987
  if (output.Items === "") {
14986
14988
  contents.Items = [];
14987
14989
  }
14988
- if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionProfileSummary"] !== undefined) {
14990
+ else if (output["Items"] !== undefined && output["Items"]["FieldLevelEncryptionProfileSummary"] !== undefined) {
14989
14991
  contents.Items = deserializeAws_restXmlFieldLevelEncryptionProfileSummaryList(__getArrayIfSingleItem(output["Items"]["FieldLevelEncryptionProfileSummary"]), context);
14990
14992
  }
14991
14993
  return contents;
@@ -15091,7 +15093,7 @@ var deserializeAws_restXmlFieldPatterns = function (output, context) {
15091
15093
  if (output.Items === "") {
15092
15094
  contents.Items = [];
15093
15095
  }
15094
- if (output["Items"] !== undefined && output["Items"]["FieldPattern"] !== undefined) {
15096
+ else if (output["Items"] !== undefined && output["Items"]["FieldPattern"] !== undefined) {
15095
15097
  contents.Items = deserializeAws_restXmlFieldPatternList(__getArrayIfSingleItem(output["Items"]["FieldPattern"]), context);
15096
15098
  }
15097
15099
  return contents;
@@ -15151,7 +15153,7 @@ var deserializeAws_restXmlFunctionAssociations = function (output, context) {
15151
15153
  if (output.Items === "") {
15152
15154
  contents.Items = [];
15153
15155
  }
15154
- if (output["Items"] !== undefined && output["Items"]["FunctionAssociation"] !== undefined) {
15156
+ else if (output["Items"] !== undefined && output["Items"]["FunctionAssociation"] !== undefined) {
15155
15157
  contents.Items = deserializeAws_restXmlFunctionAssociationList(__getArrayIfSingleItem(output["Items"]["FunctionAssociation"]), context);
15156
15158
  }
15157
15159
  return contents;
@@ -15198,7 +15200,7 @@ var deserializeAws_restXmlFunctionList = function (output, context) {
15198
15200
  if (output.Items === "") {
15199
15201
  contents.Items = [];
15200
15202
  }
15201
- if (output["Items"] !== undefined && output["Items"]["FunctionSummary"] !== undefined) {
15203
+ else if (output["Items"] !== undefined && output["Items"]["FunctionSummary"] !== undefined) {
15202
15204
  contents.Items = deserializeAws_restXmlFunctionSummaryList(__getArrayIfSingleItem(output["Items"]["FunctionSummary"]), context);
15203
15205
  }
15204
15206
  return contents;
@@ -15270,7 +15272,7 @@ var deserializeAws_restXmlGeoRestriction = function (output, context) {
15270
15272
  if (output.Items === "") {
15271
15273
  contents.Items = [];
15272
15274
  }
15273
- if (output["Items"] !== undefined && output["Items"]["Location"] !== undefined) {
15275
+ else if (output["Items"] !== undefined && output["Items"]["Location"] !== undefined) {
15274
15276
  contents.Items = deserializeAws_restXmlLocationList(__getArrayIfSingleItem(output["Items"]["Location"]), context);
15275
15277
  }
15276
15278
  return contents;
@@ -15296,7 +15298,7 @@ var deserializeAws_restXmlHeaders = function (output, context) {
15296
15298
  if (output.Items === "") {
15297
15299
  contents.Items = [];
15298
15300
  }
15299
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
15301
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
15300
15302
  contents.Items = deserializeAws_restXmlHeaderList(__getArrayIfSingleItem(output["Items"]["Name"]), context);
15301
15303
  }
15302
15304
  return contents;
@@ -15362,7 +15364,7 @@ var deserializeAws_restXmlInvalidationList = function (output, context) {
15362
15364
  if (output.Items === "") {
15363
15365
  contents.Items = [];
15364
15366
  }
15365
- if (output["Items"] !== undefined && output["Items"]["InvalidationSummary"] !== undefined) {
15367
+ else if (output["Items"] !== undefined && output["Items"]["InvalidationSummary"] !== undefined) {
15366
15368
  contents.Items = deserializeAws_restXmlInvalidationSummaryList(__getArrayIfSingleItem(output["Items"]["InvalidationSummary"]), context);
15367
15369
  }
15368
15370
  return contents;
@@ -15423,7 +15425,7 @@ var deserializeAws_restXmlKeyGroupConfig = function (output, context) {
15423
15425
  if (output.Items === "") {
15424
15426
  contents.Items = [];
15425
15427
  }
15426
- if (output["Items"] !== undefined && output["Items"]["PublicKey"] !== undefined) {
15428
+ else if (output["Items"] !== undefined && output["Items"]["PublicKey"] !== undefined) {
15427
15429
  contents.Items = deserializeAws_restXmlPublicKeyIdList(__getArrayIfSingleItem(output["Items"]["PublicKey"]), context);
15428
15430
  }
15429
15431
  if (output["Comment"] !== undefined) {
@@ -15450,7 +15452,7 @@ var deserializeAws_restXmlKeyGroupList = function (output, context) {
15450
15452
  if (output.Items === "") {
15451
15453
  contents.Items = [];
15452
15454
  }
15453
- if (output["Items"] !== undefined && output["Items"]["KeyGroupSummary"] !== undefined) {
15455
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroupSummary"] !== undefined) {
15454
15456
  contents.Items = deserializeAws_restXmlKeyGroupSummaryList(__getArrayIfSingleItem(output["Items"]["KeyGroupSummary"]), context);
15455
15457
  }
15456
15458
  return contents;
@@ -15495,7 +15497,7 @@ var deserializeAws_restXmlKeyPairIds = function (output, context) {
15495
15497
  if (output.Items === "") {
15496
15498
  contents.Items = [];
15497
15499
  }
15498
- if (output["Items"] !== undefined && output["Items"]["KeyPairId"] !== undefined) {
15500
+ else if (output["Items"] !== undefined && output["Items"]["KeyPairId"] !== undefined) {
15499
15501
  contents.Items = deserializeAws_restXmlKeyPairIdList(__getArrayIfSingleItem(output["Items"]["KeyPairId"]), context);
15500
15502
  }
15501
15503
  return contents;
@@ -15574,7 +15576,7 @@ var deserializeAws_restXmlLambdaFunctionAssociations = function (output, context
15574
15576
  if (output.Items === "") {
15575
15577
  contents.Items = [];
15576
15578
  }
15577
- if (output["Items"] !== undefined && output["Items"]["LambdaFunctionAssociation"] !== undefined) {
15579
+ else if (output["Items"] !== undefined && output["Items"]["LambdaFunctionAssociation"] !== undefined) {
15578
15580
  contents.Items = deserializeAws_restXmlLambdaFunctionAssociationList(__getArrayIfSingleItem(output["Items"]["LambdaFunctionAssociation"]), context);
15579
15581
  }
15580
15582
  return contents;
@@ -15759,7 +15761,7 @@ var deserializeAws_restXmlOriginGroupMembers = function (output, context) {
15759
15761
  if (output.Items === "") {
15760
15762
  contents.Items = [];
15761
15763
  }
15762
- if (output["Items"] !== undefined && output["Items"]["OriginGroupMember"] !== undefined) {
15764
+ else if (output["Items"] !== undefined && output["Items"]["OriginGroupMember"] !== undefined) {
15763
15765
  contents.Items = deserializeAws_restXmlOriginGroupMemberList(__getArrayIfSingleItem(output["Items"]["OriginGroupMember"]), context);
15764
15766
  }
15765
15767
  return contents;
@@ -15775,7 +15777,7 @@ var deserializeAws_restXmlOriginGroups = function (output, context) {
15775
15777
  if (output.Items === "") {
15776
15778
  contents.Items = [];
15777
15779
  }
15778
- if (output["Items"] !== undefined && output["Items"]["OriginGroup"] !== undefined) {
15780
+ else if (output["Items"] !== undefined && output["Items"]["OriginGroup"] !== undefined) {
15779
15781
  contents.Items = deserializeAws_restXmlOriginGroupList(__getArrayIfSingleItem(output["Items"]["OriginGroup"]), context);
15780
15782
  }
15781
15783
  return contents;
@@ -15877,7 +15879,7 @@ var deserializeAws_restXmlOriginRequestPolicyList = function (output, context) {
15877
15879
  if (output.Items === "") {
15878
15880
  contents.Items = [];
15879
15881
  }
15880
- if (output["Items"] !== undefined && output["Items"]["OriginRequestPolicySummary"] !== undefined) {
15882
+ else if (output["Items"] !== undefined && output["Items"]["OriginRequestPolicySummary"] !== undefined) {
15881
15883
  contents.Items = deserializeAws_restXmlOriginRequestPolicySummaryList(__getArrayIfSingleItem(output["Items"]["OriginRequestPolicySummary"]), context);
15882
15884
  }
15883
15885
  return contents;
@@ -15929,7 +15931,7 @@ var deserializeAws_restXmlOrigins = function (output, context) {
15929
15931
  if (output.Items === "") {
15930
15932
  contents.Items = [];
15931
15933
  }
15932
- if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
15934
+ else if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
15933
15935
  contents.Items = deserializeAws_restXmlOriginList(__getArrayIfSingleItem(output["Items"]["Origin"]), context);
15934
15936
  }
15935
15937
  return contents;
@@ -15958,7 +15960,7 @@ var deserializeAws_restXmlOriginSslProtocols = function (output, context) {
15958
15960
  if (output.Items === "") {
15959
15961
  contents.Items = [];
15960
15962
  }
15961
- if (output["Items"] !== undefined && output["Items"]["SslProtocol"] !== undefined) {
15963
+ else if (output["Items"] !== undefined && output["Items"]["SslProtocol"] !== undefined) {
15962
15964
  contents.Items = deserializeAws_restXmlSslProtocolsList(__getArrayIfSingleItem(output["Items"]["SslProtocol"]), context);
15963
15965
  }
15964
15966
  return contents;
@@ -16009,7 +16011,7 @@ var deserializeAws_restXmlPaths = function (output, context) {
16009
16011
  if (output.Items === "") {
16010
16012
  contents.Items = [];
16011
16013
  }
16012
- if (output["Items"] !== undefined && output["Items"]["Path"] !== undefined) {
16014
+ else if (output["Items"] !== undefined && output["Items"]["Path"] !== undefined) {
16013
16015
  contents.Items = deserializeAws_restXmlPathList(__getArrayIfSingleItem(output["Items"]["Path"]), context);
16014
16016
  }
16015
16017
  return contents;
@@ -16081,7 +16083,7 @@ var deserializeAws_restXmlPublicKeyList = function (output, context) {
16081
16083
  if (output.Items === "") {
16082
16084
  contents.Items = [];
16083
16085
  }
16084
- if (output["Items"] !== undefined && output["Items"]["PublicKeySummary"] !== undefined) {
16086
+ else if (output["Items"] !== undefined && output["Items"]["PublicKeySummary"] !== undefined) {
16085
16087
  contents.Items = deserializeAws_restXmlPublicKeySummaryList(__getArrayIfSingleItem(output["Items"]["PublicKeySummary"]), context);
16086
16088
  }
16087
16089
  return contents;
@@ -16168,7 +16170,7 @@ var deserializeAws_restXmlQueryArgProfiles = function (output, context) {
16168
16170
  if (output.Items === "") {
16169
16171
  contents.Items = [];
16170
16172
  }
16171
- if (output["Items"] !== undefined && output["Items"]["QueryArgProfile"] !== undefined) {
16173
+ else if (output["Items"] !== undefined && output["Items"]["QueryArgProfile"] !== undefined) {
16172
16174
  contents.Items = deserializeAws_restXmlQueryArgProfileList(__getArrayIfSingleItem(output["Items"]["QueryArgProfile"]), context);
16173
16175
  }
16174
16176
  return contents;
@@ -16184,7 +16186,7 @@ var deserializeAws_restXmlQueryStringCacheKeys = function (output, context) {
16184
16186
  if (output.Items === "") {
16185
16187
  contents.Items = [];
16186
16188
  }
16187
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
16189
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
16188
16190
  contents.Items = deserializeAws_restXmlQueryStringCacheKeysList(__getArrayIfSingleItem(output["Items"]["Name"]), context);
16189
16191
  }
16190
16192
  return contents;
@@ -16210,7 +16212,7 @@ var deserializeAws_restXmlQueryStringNames = function (output, context) {
16210
16212
  if (output.Items === "") {
16211
16213
  contents.Items = [];
16212
16214
  }
16213
- if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
16215
+ else if (output["Items"] !== undefined && output["Items"]["Name"] !== undefined) {
16214
16216
  contents.Items = deserializeAws_restXmlQueryStringNamesList(__getArrayIfSingleItem(output["Items"]["Name"]), context);
16215
16217
  }
16216
16218
  return contents;
@@ -16245,13 +16247,13 @@ var deserializeAws_restXmlRealtimeLogConfig = function (output, context) {
16245
16247
  if (output.EndPoints === "") {
16246
16248
  contents.EndPoints = [];
16247
16249
  }
16248
- if (output["EndPoints"] !== undefined && output["EndPoints"]["member"] !== undefined) {
16250
+ else if (output["EndPoints"] !== undefined && output["EndPoints"]["member"] !== undefined) {
16249
16251
  contents.EndPoints = deserializeAws_restXmlEndPointList(__getArrayIfSingleItem(output["EndPoints"]["member"]), context);
16250
16252
  }
16251
16253
  if (output.Fields === "") {
16252
16254
  contents.Fields = [];
16253
16255
  }
16254
- if (output["Fields"] !== undefined && output["Fields"]["Field"] !== undefined) {
16256
+ else if (output["Fields"] !== undefined && output["Fields"]["Field"] !== undefined) {
16255
16257
  contents.Fields = deserializeAws_restXmlFieldList(__getArrayIfSingleItem(output["Fields"]["Field"]), context);
16256
16258
  }
16257
16259
  return contents;
@@ -16280,7 +16282,7 @@ var deserializeAws_restXmlRealtimeLogConfigs = function (output, context) {
16280
16282
  if (output.Items === "") {
16281
16283
  contents.Items = [];
16282
16284
  }
16283
- if (output["Items"] !== undefined && output["Items"]["member"] !== undefined) {
16285
+ else if (output["Items"] !== undefined && output["Items"]["member"] !== undefined) {
16284
16286
  contents.Items = deserializeAws_restXmlRealtimeLogConfigList(__getArrayIfSingleItem(output["Items"]["member"]), context);
16285
16287
  }
16286
16288
  if (output["IsTruncated"] !== undefined) {
@@ -16331,7 +16333,7 @@ var deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowHeaders = funct
16331
16333
  if (output.Items === "") {
16332
16334
  contents.Items = [];
16333
16335
  }
16334
- if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
16336
+ else if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
16335
16337
  contents.Items = deserializeAws_restXmlAccessControlAllowHeadersList(__getArrayIfSingleItem(output["Items"]["Header"]), context);
16336
16338
  }
16337
16339
  return contents;
@@ -16347,7 +16349,7 @@ var deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowMethods = funct
16347
16349
  if (output.Items === "") {
16348
16350
  contents.Items = [];
16349
16351
  }
16350
- if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
16352
+ else if (output["Items"] !== undefined && output["Items"]["Method"] !== undefined) {
16351
16353
  contents.Items = deserializeAws_restXmlAccessControlAllowMethodsList(__getArrayIfSingleItem(output["Items"]["Method"]), context);
16352
16354
  }
16353
16355
  return contents;
@@ -16363,7 +16365,7 @@ var deserializeAws_restXmlResponseHeadersPolicyAccessControlAllowOrigins = funct
16363
16365
  if (output.Items === "") {
16364
16366
  contents.Items = [];
16365
16367
  }
16366
- if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
16368
+ else if (output["Items"] !== undefined && output["Items"]["Origin"] !== undefined) {
16367
16369
  contents.Items = deserializeAws_restXmlAccessControlAllowOriginsList(__getArrayIfSingleItem(output["Items"]["Origin"]), context);
16368
16370
  }
16369
16371
  return contents;
@@ -16379,7 +16381,7 @@ var deserializeAws_restXmlResponseHeadersPolicyAccessControlExposeHeaders = func
16379
16381
  if (output.Items === "") {
16380
16382
  contents.Items = [];
16381
16383
  }
16382
- if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
16384
+ else if (output["Items"] !== undefined && output["Items"]["Header"] !== undefined) {
16383
16385
  contents.Items = deserializeAws_restXmlAccessControlExposeHeadersList(__getArrayIfSingleItem(output["Items"]["Header"]), context);
16384
16386
  }
16385
16387
  return contents;
@@ -16506,7 +16508,7 @@ var deserializeAws_restXmlResponseHeadersPolicyCustomHeadersConfig = function (o
16506
16508
  if (output.Items === "") {
16507
16509
  contents.Items = [];
16508
16510
  }
16509
- if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicyCustomHeader"] !== undefined) {
16511
+ else if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicyCustomHeader"] !== undefined) {
16510
16512
  contents.Items = deserializeAws_restXmlResponseHeadersPolicyCustomHeaderList(__getArrayIfSingleItem(output["Items"]["ResponseHeadersPolicyCustomHeader"]), context);
16511
16513
  }
16512
16514
  return contents;
@@ -16543,7 +16545,7 @@ var deserializeAws_restXmlResponseHeadersPolicyList = function (output, context)
16543
16545
  if (output.Items === "") {
16544
16546
  contents.Items = [];
16545
16547
  }
16546
- if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicySummary"] !== undefined) {
16548
+ else if (output["Items"] !== undefined && output["Items"]["ResponseHeadersPolicySummary"] !== undefined) {
16547
16549
  contents.Items = deserializeAws_restXmlResponseHeadersPolicySummaryList(__getArrayIfSingleItem(output["Items"]["ResponseHeadersPolicySummary"]), context);
16548
16550
  }
16549
16551
  return contents;
@@ -16753,7 +16755,7 @@ var deserializeAws_restXmlStatusCodes = function (output, context) {
16753
16755
  if (output.Items === "") {
16754
16756
  contents.Items = [];
16755
16757
  }
16756
- if (output["Items"] !== undefined && output["Items"]["StatusCode"] !== undefined) {
16758
+ else if (output["Items"] !== undefined && output["Items"]["StatusCode"] !== undefined) {
16757
16759
  contents.Items = deserializeAws_restXmlStatusCodeList(__getArrayIfSingleItem(output["Items"]["StatusCode"]), context);
16758
16760
  }
16759
16761
  return contents;
@@ -16855,7 +16857,7 @@ var deserializeAws_restXmlStreamingDistributionList = function (output, context)
16855
16857
  if (output.Items === "") {
16856
16858
  contents.Items = [];
16857
16859
  }
16858
- if (output["Items"] !== undefined && output["Items"]["StreamingDistributionSummary"] !== undefined) {
16860
+ else if (output["Items"] !== undefined && output["Items"]["StreamingDistributionSummary"] !== undefined) {
16859
16861
  contents.Items = deserializeAws_restXmlStreamingDistributionSummaryList(__getArrayIfSingleItem(output["Items"]["StreamingDistributionSummary"]), context);
16860
16862
  }
16861
16863
  return contents;
@@ -16966,7 +16968,7 @@ var deserializeAws_restXmlTags = function (output, context) {
16966
16968
  if (output.Items === "") {
16967
16969
  contents.Items = [];
16968
16970
  }
16969
- if (output["Items"] !== undefined && output["Items"]["Tag"] !== undefined) {
16971
+ else if (output["Items"] !== undefined && output["Items"]["Tag"] !== undefined) {
16970
16972
  contents.Items = deserializeAws_restXmlTagList(__getArrayIfSingleItem(output["Items"]["Tag"]), context);
16971
16973
  }
16972
16974
  return contents;
@@ -16988,7 +16990,7 @@ var deserializeAws_restXmlTestResult = function (output, context) {
16988
16990
  if (output.FunctionExecutionLogs === "") {
16989
16991
  contents.FunctionExecutionLogs = [];
16990
16992
  }
16991
- if (output["FunctionExecutionLogs"] !== undefined && output["FunctionExecutionLogs"]["member"] !== undefined) {
16993
+ else if (output["FunctionExecutionLogs"] !== undefined && output["FunctionExecutionLogs"]["member"] !== undefined) {
16992
16994
  contents.FunctionExecutionLogs = deserializeAws_restXmlFunctionExecutionLogList(__getArrayIfSingleItem(output["FunctionExecutionLogs"]["member"]), context);
16993
16995
  }
16994
16996
  if (output["FunctionErrorMessage"] !== undefined) {
@@ -17024,7 +17026,7 @@ var deserializeAws_restXmlTrustedKeyGroups = function (output, context) {
17024
17026
  if (output.Items === "") {
17025
17027
  contents.Items = [];
17026
17028
  }
17027
- if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
17029
+ else if (output["Items"] !== undefined && output["Items"]["KeyGroup"] !== undefined) {
17028
17030
  contents.Items = deserializeAws_restXmlTrustedKeyGroupIdList(__getArrayIfSingleItem(output["Items"]["KeyGroup"]), context);
17029
17031
  }
17030
17032
  return contents;
@@ -17044,7 +17046,7 @@ var deserializeAws_restXmlTrustedSigners = function (output, context) {
17044
17046
  if (output.Items === "") {
17045
17047
  contents.Items = [];
17046
17048
  }
17047
- if (output["Items"] !== undefined && output["Items"]["AwsAccountNumber"] !== undefined) {
17049
+ else if (output["Items"] !== undefined && output["Items"]["AwsAccountNumber"] !== undefined) {
17048
17050
  contents.Items = deserializeAws_restXmlAwsAccountNumberList(__getArrayIfSingleItem(output["Items"]["AwsAccountNumber"]), context);
17049
17051
  }
17050
17052
  return contents;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.109.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,38 +18,39 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
51
- "@aws-sdk/util-waiter": "3.78.0",
52
- "@aws-sdk/xml-builder": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
52
+ "@aws-sdk/util-waiter": "3.109.0",
53
+ "@aws-sdk/xml-builder": "3.109.0",
53
54
  "entities": "2.2.0",
54
55
  "fast-xml-parser": "3.19.0",
55
56
  "tslib": "^2.3.1"