@aws-sdk/client-cloudfront 3.525.0 → 3.529.1
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/dist-cjs/index.js +94 -136
- package/dist-es/protocols/Aws_restXml.js +2 -42
- package/package.json +4 -5
package/dist-cjs/index.js
CHANGED
|
@@ -514,10 +514,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
514
514
|
var import_types = require("@smithy/types");
|
|
515
515
|
|
|
516
516
|
// src/protocols/Aws_restXml.ts
|
|
517
|
+
var import_core2 = require("@aws-sdk/core");
|
|
517
518
|
var import_xml_builder = require("@aws-sdk/xml-builder");
|
|
518
519
|
|
|
519
520
|
|
|
520
|
-
var import_fast_xml_parser = require("fast-xml-parser");
|
|
521
521
|
|
|
522
522
|
// src/models/CloudFrontServiceException.ts
|
|
523
523
|
|
|
@@ -5083,7 +5083,7 @@ var de_CopyDistributionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5083
5083
|
[_L]: [, output.headers[_lo]],
|
|
5084
5084
|
[_ET]: [, output.headers[_e]]
|
|
5085
5085
|
});
|
|
5086
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5086
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5087
5087
|
contents.Distribution = de_Distribution(data, context);
|
|
5088
5088
|
return contents;
|
|
5089
5089
|
}, "de_CopyDistributionCommand");
|
|
@@ -5096,7 +5096,7 @@ var de_CreateCachePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5096
5096
|
[_L]: [, output.headers[_lo]],
|
|
5097
5097
|
[_ET]: [, output.headers[_e]]
|
|
5098
5098
|
});
|
|
5099
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5099
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5100
5100
|
contents.CachePolicy = de_CachePolicy(data, context);
|
|
5101
5101
|
return contents;
|
|
5102
5102
|
}, "de_CreateCachePolicyCommand");
|
|
@@ -5109,7 +5109,7 @@ var de_CreateCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(asyn
|
|
|
5109
5109
|
[_L]: [, output.headers[_lo]],
|
|
5110
5110
|
[_ET]: [, output.headers[_e]]
|
|
5111
5111
|
});
|
|
5112
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5112
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5113
5113
|
contents.CloudFrontOriginAccessIdentity = de_CloudFrontOriginAccessIdentity(data, context);
|
|
5114
5114
|
return contents;
|
|
5115
5115
|
}, "de_CreateCloudFrontOriginAccessIdentityCommand");
|
|
@@ -5122,7 +5122,7 @@ var de_CreateContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (o
|
|
|
5122
5122
|
[_L]: [, output.headers[_lo]],
|
|
5123
5123
|
[_ET]: [, output.headers[_e]]
|
|
5124
5124
|
});
|
|
5125
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5125
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5126
5126
|
contents.ContinuousDeploymentPolicy = de_ContinuousDeploymentPolicy(data, context);
|
|
5127
5127
|
return contents;
|
|
5128
5128
|
}, "de_CreateContinuousDeploymentPolicyCommand");
|
|
@@ -5135,7 +5135,7 @@ var de_CreateDistributionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5135
5135
|
[_L]: [, output.headers[_lo]],
|
|
5136
5136
|
[_ET]: [, output.headers[_e]]
|
|
5137
5137
|
});
|
|
5138
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5138
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5139
5139
|
contents.Distribution = de_Distribution(data, context);
|
|
5140
5140
|
return contents;
|
|
5141
5141
|
}, "de_CreateDistributionCommand");
|
|
@@ -5148,7 +5148,7 @@ var de_CreateDistributionWithTagsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5148
5148
|
[_L]: [, output.headers[_lo]],
|
|
5149
5149
|
[_ET]: [, output.headers[_e]]
|
|
5150
5150
|
});
|
|
5151
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5151
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5152
5152
|
contents.Distribution = de_Distribution(data, context);
|
|
5153
5153
|
return contents;
|
|
5154
5154
|
}, "de_CreateDistributionWithTagsCommand");
|
|
@@ -5161,7 +5161,7 @@ var de_CreateFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (o
|
|
|
5161
5161
|
[_L]: [, output.headers[_lo]],
|
|
5162
5162
|
[_ET]: [, output.headers[_e]]
|
|
5163
5163
|
});
|
|
5164
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5164
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5165
5165
|
contents.FieldLevelEncryption = de_FieldLevelEncryption(data, context);
|
|
5166
5166
|
return contents;
|
|
5167
5167
|
}, "de_CreateFieldLevelEncryptionConfigCommand");
|
|
@@ -5174,7 +5174,7 @@ var de_CreateFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (
|
|
|
5174
5174
|
[_L]: [, output.headers[_lo]],
|
|
5175
5175
|
[_ET]: [, output.headers[_e]]
|
|
5176
5176
|
});
|
|
5177
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5177
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5178
5178
|
contents.FieldLevelEncryptionProfile = de_FieldLevelEncryptionProfile(data, context);
|
|
5179
5179
|
return contents;
|
|
5180
5180
|
}, "de_CreateFieldLevelEncryptionProfileCommand");
|
|
@@ -5187,7 +5187,7 @@ var de_CreateFunctionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5187
5187
|
[_L]: [, output.headers[_lo]],
|
|
5188
5188
|
[_ET]: [, output.headers[_e]]
|
|
5189
5189
|
});
|
|
5190
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5190
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5191
5191
|
contents.FunctionSummary = de_FunctionSummary(data, context);
|
|
5192
5192
|
return contents;
|
|
5193
5193
|
}, "de_CreateFunctionCommand");
|
|
@@ -5199,7 +5199,7 @@ var de_CreateInvalidationCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5199
5199
|
$metadata: deserializeMetadata(output),
|
|
5200
5200
|
[_L]: [, output.headers[_lo]]
|
|
5201
5201
|
});
|
|
5202
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5202
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5203
5203
|
contents.Invalidation = de_Invalidation(data, context);
|
|
5204
5204
|
return contents;
|
|
5205
5205
|
}, "de_CreateInvalidationCommand");
|
|
@@ -5212,7 +5212,7 @@ var de_CreateKeyGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5212
5212
|
[_L]: [, output.headers[_lo]],
|
|
5213
5213
|
[_ET]: [, output.headers[_e]]
|
|
5214
5214
|
});
|
|
5215
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5215
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5216
5216
|
contents.KeyGroup = de_KeyGroup(data, context);
|
|
5217
5217
|
return contents;
|
|
5218
5218
|
}, "de_CreateKeyGroupCommand");
|
|
@@ -5225,7 +5225,7 @@ var de_CreateKeyValueStoreCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5225
5225
|
[_ET]: [, output.headers[_e]],
|
|
5226
5226
|
[_L]: [, output.headers[_lo]]
|
|
5227
5227
|
});
|
|
5228
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5228
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5229
5229
|
contents.KeyValueStore = de_KeyValueStore(data, context);
|
|
5230
5230
|
return contents;
|
|
5231
5231
|
}, "de_CreateKeyValueStoreCommand");
|
|
@@ -5236,7 +5236,7 @@ var de_CreateMonitoringSubscriptionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5236
5236
|
const contents = (0, import_smithy_client.map)({
|
|
5237
5237
|
$metadata: deserializeMetadata(output)
|
|
5238
5238
|
});
|
|
5239
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5239
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5240
5240
|
contents.MonitoringSubscription = de_MonitoringSubscription(data, context);
|
|
5241
5241
|
return contents;
|
|
5242
5242
|
}, "de_CreateMonitoringSubscriptionCommand");
|
|
@@ -5249,7 +5249,7 @@ var de_CreateOriginAccessControlCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5249
5249
|
[_L]: [, output.headers[_lo]],
|
|
5250
5250
|
[_ET]: [, output.headers[_e]]
|
|
5251
5251
|
});
|
|
5252
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5252
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5253
5253
|
contents.OriginAccessControl = de_OriginAccessControl(data, context);
|
|
5254
5254
|
return contents;
|
|
5255
5255
|
}, "de_CreateOriginAccessControlCommand");
|
|
@@ -5262,7 +5262,7 @@ var de_CreateOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5262
5262
|
[_L]: [, output.headers[_lo]],
|
|
5263
5263
|
[_ET]: [, output.headers[_e]]
|
|
5264
5264
|
});
|
|
5265
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5265
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5266
5266
|
contents.OriginRequestPolicy = de_OriginRequestPolicy(data, context);
|
|
5267
5267
|
return contents;
|
|
5268
5268
|
}, "de_CreateOriginRequestPolicyCommand");
|
|
@@ -5275,7 +5275,7 @@ var de_CreatePublicKeyCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
5275
5275
|
[_L]: [, output.headers[_lo]],
|
|
5276
5276
|
[_ET]: [, output.headers[_e]]
|
|
5277
5277
|
});
|
|
5278
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5278
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5279
5279
|
contents.PublicKey = de_PublicKey(data, context);
|
|
5280
5280
|
return contents;
|
|
5281
5281
|
}, "de_CreatePublicKeyCommand");
|
|
@@ -5286,7 +5286,7 @@ var de_CreateRealtimeLogConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5286
5286
|
const contents = (0, import_smithy_client.map)({
|
|
5287
5287
|
$metadata: deserializeMetadata(output)
|
|
5288
5288
|
});
|
|
5289
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
5289
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
5290
5290
|
if (data[_RLC] != null) {
|
|
5291
5291
|
contents[_RLC] = de_RealtimeLogConfig(data[_RLC], context);
|
|
5292
5292
|
}
|
|
@@ -5301,7 +5301,7 @@ var de_CreateResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (output
|
|
|
5301
5301
|
[_L]: [, output.headers[_lo]],
|
|
5302
5302
|
[_ET]: [, output.headers[_e]]
|
|
5303
5303
|
});
|
|
5304
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5304
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5305
5305
|
contents.ResponseHeadersPolicy = de_ResponseHeadersPolicy(data, context);
|
|
5306
5306
|
return contents;
|
|
5307
5307
|
}, "de_CreateResponseHeadersPolicyCommand");
|
|
@@ -5314,7 +5314,7 @@ var de_CreateStreamingDistributionCommand = /* @__PURE__ */ __name(async (output
|
|
|
5314
5314
|
[_L]: [, output.headers[_lo]],
|
|
5315
5315
|
[_ET]: [, output.headers[_e]]
|
|
5316
5316
|
});
|
|
5317
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5317
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5318
5318
|
contents.StreamingDistribution = de_StreamingDistribution(data, context);
|
|
5319
5319
|
return contents;
|
|
5320
5320
|
}, "de_CreateStreamingDistributionCommand");
|
|
@@ -5327,7 +5327,7 @@ var de_CreateStreamingDistributionWithTagsCommand = /* @__PURE__ */ __name(async
|
|
|
5327
5327
|
[_L]: [, output.headers[_lo]],
|
|
5328
5328
|
[_ET]: [, output.headers[_e]]
|
|
5329
5329
|
});
|
|
5330
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5330
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5331
5331
|
contents.StreamingDistribution = de_StreamingDistribution(data, context);
|
|
5332
5332
|
return contents;
|
|
5333
5333
|
}, "de_CreateStreamingDistributionWithTagsCommand");
|
|
@@ -5499,7 +5499,7 @@ var de_DescribeFunctionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5499
5499
|
$metadata: deserializeMetadata(output),
|
|
5500
5500
|
[_ET]: [, output.headers[_e]]
|
|
5501
5501
|
});
|
|
5502
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5502
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5503
5503
|
contents.FunctionSummary = de_FunctionSummary(data, context);
|
|
5504
5504
|
return contents;
|
|
5505
5505
|
}, "de_DescribeFunctionCommand");
|
|
@@ -5511,7 +5511,7 @@ var de_DescribeKeyValueStoreCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5511
5511
|
$metadata: deserializeMetadata(output),
|
|
5512
5512
|
[_ET]: [, output.headers[_e]]
|
|
5513
5513
|
});
|
|
5514
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5514
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5515
5515
|
contents.KeyValueStore = de_KeyValueStore(data, context);
|
|
5516
5516
|
return contents;
|
|
5517
5517
|
}, "de_DescribeKeyValueStoreCommand");
|
|
@@ -5523,7 +5523,7 @@ var de_GetCachePolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5523
5523
|
$metadata: deserializeMetadata(output),
|
|
5524
5524
|
[_ET]: [, output.headers[_e]]
|
|
5525
5525
|
});
|
|
5526
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5526
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5527
5527
|
contents.CachePolicy = de_CachePolicy(data, context);
|
|
5528
5528
|
return contents;
|
|
5529
5529
|
}, "de_GetCachePolicyCommand");
|
|
@@ -5535,7 +5535,7 @@ var de_GetCachePolicyConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
5535
5535
|
$metadata: deserializeMetadata(output),
|
|
5536
5536
|
[_ET]: [, output.headers[_e]]
|
|
5537
5537
|
});
|
|
5538
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5538
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5539
5539
|
contents.CachePolicyConfig = de_CachePolicyConfig(data, context);
|
|
5540
5540
|
return contents;
|
|
5541
5541
|
}, "de_GetCachePolicyConfigCommand");
|
|
@@ -5547,7 +5547,7 @@ var de_GetCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(async (
|
|
|
5547
5547
|
$metadata: deserializeMetadata(output),
|
|
5548
5548
|
[_ET]: [, output.headers[_e]]
|
|
5549
5549
|
});
|
|
5550
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5550
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5551
5551
|
contents.CloudFrontOriginAccessIdentity = de_CloudFrontOriginAccessIdentity(data, context);
|
|
5552
5552
|
return contents;
|
|
5553
5553
|
}, "de_GetCloudFrontOriginAccessIdentityCommand");
|
|
@@ -5559,7 +5559,7 @@ var de_GetCloudFrontOriginAccessIdentityConfigCommand = /* @__PURE__ */ __name(a
|
|
|
5559
5559
|
$metadata: deserializeMetadata(output),
|
|
5560
5560
|
[_ET]: [, output.headers[_e]]
|
|
5561
5561
|
});
|
|
5562
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5562
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5563
5563
|
contents.CloudFrontOriginAccessIdentityConfig = de_CloudFrontOriginAccessIdentityConfig(data, context);
|
|
5564
5564
|
return contents;
|
|
5565
5565
|
}, "de_GetCloudFrontOriginAccessIdentityConfigCommand");
|
|
@@ -5571,7 +5571,7 @@ var de_GetContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (outp
|
|
|
5571
5571
|
$metadata: deserializeMetadata(output),
|
|
5572
5572
|
[_ET]: [, output.headers[_e]]
|
|
5573
5573
|
});
|
|
5574
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5574
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5575
5575
|
contents.ContinuousDeploymentPolicy = de_ContinuousDeploymentPolicy(data, context);
|
|
5576
5576
|
return contents;
|
|
5577
5577
|
}, "de_GetContinuousDeploymentPolicyCommand");
|
|
@@ -5583,7 +5583,7 @@ var de_GetContinuousDeploymentPolicyConfigCommand = /* @__PURE__ */ __name(async
|
|
|
5583
5583
|
$metadata: deserializeMetadata(output),
|
|
5584
5584
|
[_ET]: [, output.headers[_e]]
|
|
5585
5585
|
});
|
|
5586
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5586
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5587
5587
|
contents.ContinuousDeploymentPolicyConfig = de_ContinuousDeploymentPolicyConfig(data, context);
|
|
5588
5588
|
return contents;
|
|
5589
5589
|
}, "de_GetContinuousDeploymentPolicyConfigCommand");
|
|
@@ -5595,7 +5595,7 @@ var de_GetDistributionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
5595
5595
|
$metadata: deserializeMetadata(output),
|
|
5596
5596
|
[_ET]: [, output.headers[_e]]
|
|
5597
5597
|
});
|
|
5598
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5598
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5599
5599
|
contents.Distribution = de_Distribution(data, context);
|
|
5600
5600
|
return contents;
|
|
5601
5601
|
}, "de_GetDistributionCommand");
|
|
@@ -5607,7 +5607,7 @@ var de_GetDistributionConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5607
5607
|
$metadata: deserializeMetadata(output),
|
|
5608
5608
|
[_ET]: [, output.headers[_e]]
|
|
5609
5609
|
});
|
|
5610
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5610
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5611
5611
|
contents.DistributionConfig = de_DistributionConfig(data, context);
|
|
5612
5612
|
return contents;
|
|
5613
5613
|
}, "de_GetDistributionConfigCommand");
|
|
@@ -5619,7 +5619,7 @@ var de_GetFieldLevelEncryptionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5619
5619
|
$metadata: deserializeMetadata(output),
|
|
5620
5620
|
[_ET]: [, output.headers[_e]]
|
|
5621
5621
|
});
|
|
5622
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5622
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5623
5623
|
contents.FieldLevelEncryption = de_FieldLevelEncryption(data, context);
|
|
5624
5624
|
return contents;
|
|
5625
5625
|
}, "de_GetFieldLevelEncryptionCommand");
|
|
@@ -5631,7 +5631,7 @@ var de_GetFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (outp
|
|
|
5631
5631
|
$metadata: deserializeMetadata(output),
|
|
5632
5632
|
[_ET]: [, output.headers[_e]]
|
|
5633
5633
|
});
|
|
5634
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5634
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5635
5635
|
contents.FieldLevelEncryptionConfig = de_FieldLevelEncryptionConfig(data, context);
|
|
5636
5636
|
return contents;
|
|
5637
5637
|
}, "de_GetFieldLevelEncryptionConfigCommand");
|
|
@@ -5643,7 +5643,7 @@ var de_GetFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (out
|
|
|
5643
5643
|
$metadata: deserializeMetadata(output),
|
|
5644
5644
|
[_ET]: [, output.headers[_e]]
|
|
5645
5645
|
});
|
|
5646
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5646
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5647
5647
|
contents.FieldLevelEncryptionProfile = de_FieldLevelEncryptionProfile(data, context);
|
|
5648
5648
|
return contents;
|
|
5649
5649
|
}, "de_GetFieldLevelEncryptionProfileCommand");
|
|
@@ -5655,7 +5655,7 @@ var de_GetFieldLevelEncryptionProfileConfigCommand = /* @__PURE__ */ __name(asyn
|
|
|
5655
5655
|
$metadata: deserializeMetadata(output),
|
|
5656
5656
|
[_ET]: [, output.headers[_e]]
|
|
5657
5657
|
});
|
|
5658
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5658
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5659
5659
|
contents.FieldLevelEncryptionProfileConfig = de_FieldLevelEncryptionProfileConfig(data, context);
|
|
5660
5660
|
return contents;
|
|
5661
5661
|
}, "de_GetFieldLevelEncryptionProfileConfigCommand");
|
|
@@ -5679,7 +5679,7 @@ var de_GetInvalidationCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
5679
5679
|
const contents = (0, import_smithy_client.map)({
|
|
5680
5680
|
$metadata: deserializeMetadata(output)
|
|
5681
5681
|
});
|
|
5682
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5682
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5683
5683
|
contents.Invalidation = de_Invalidation(data, context);
|
|
5684
5684
|
return contents;
|
|
5685
5685
|
}, "de_GetInvalidationCommand");
|
|
@@ -5691,7 +5691,7 @@ var de_GetKeyGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5691
5691
|
$metadata: deserializeMetadata(output),
|
|
5692
5692
|
[_ET]: [, output.headers[_e]]
|
|
5693
5693
|
});
|
|
5694
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5694
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5695
5695
|
contents.KeyGroup = de_KeyGroup(data, context);
|
|
5696
5696
|
return contents;
|
|
5697
5697
|
}, "de_GetKeyGroupCommand");
|
|
@@ -5703,7 +5703,7 @@ var de_GetKeyGroupConfigCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5703
5703
|
$metadata: deserializeMetadata(output),
|
|
5704
5704
|
[_ET]: [, output.headers[_e]]
|
|
5705
5705
|
});
|
|
5706
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5706
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5707
5707
|
contents.KeyGroupConfig = de_KeyGroupConfig(data, context);
|
|
5708
5708
|
return contents;
|
|
5709
5709
|
}, "de_GetKeyGroupConfigCommand");
|
|
@@ -5714,7 +5714,7 @@ var de_GetMonitoringSubscriptionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5714
5714
|
const contents = (0, import_smithy_client.map)({
|
|
5715
5715
|
$metadata: deserializeMetadata(output)
|
|
5716
5716
|
});
|
|
5717
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5717
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5718
5718
|
contents.MonitoringSubscription = de_MonitoringSubscription(data, context);
|
|
5719
5719
|
return contents;
|
|
5720
5720
|
}, "de_GetMonitoringSubscriptionCommand");
|
|
@@ -5726,7 +5726,7 @@ var de_GetOriginAccessControlCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
5726
5726
|
$metadata: deserializeMetadata(output),
|
|
5727
5727
|
[_ET]: [, output.headers[_e]]
|
|
5728
5728
|
});
|
|
5729
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5729
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5730
5730
|
contents.OriginAccessControl = de_OriginAccessControl(data, context);
|
|
5731
5731
|
return contents;
|
|
5732
5732
|
}, "de_GetOriginAccessControlCommand");
|
|
@@ -5738,7 +5738,7 @@ var de_GetOriginAccessControlConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5738
5738
|
$metadata: deserializeMetadata(output),
|
|
5739
5739
|
[_ET]: [, output.headers[_e]]
|
|
5740
5740
|
});
|
|
5741
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5741
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5742
5742
|
contents.OriginAccessControlConfig = de_OriginAccessControlConfig(data, context);
|
|
5743
5743
|
return contents;
|
|
5744
5744
|
}, "de_GetOriginAccessControlConfigCommand");
|
|
@@ -5750,7 +5750,7 @@ var de_GetOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
5750
5750
|
$metadata: deserializeMetadata(output),
|
|
5751
5751
|
[_ET]: [, output.headers[_e]]
|
|
5752
5752
|
});
|
|
5753
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5753
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5754
5754
|
contents.OriginRequestPolicy = de_OriginRequestPolicy(data, context);
|
|
5755
5755
|
return contents;
|
|
5756
5756
|
}, "de_GetOriginRequestPolicyCommand");
|
|
@@ -5762,7 +5762,7 @@ var de_GetOriginRequestPolicyConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5762
5762
|
$metadata: deserializeMetadata(output),
|
|
5763
5763
|
[_ET]: [, output.headers[_e]]
|
|
5764
5764
|
});
|
|
5765
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5765
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5766
5766
|
contents.OriginRequestPolicyConfig = de_OriginRequestPolicyConfig(data, context);
|
|
5767
5767
|
return contents;
|
|
5768
5768
|
}, "de_GetOriginRequestPolicyConfigCommand");
|
|
@@ -5774,7 +5774,7 @@ var de_GetPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5774
5774
|
$metadata: deserializeMetadata(output),
|
|
5775
5775
|
[_ET]: [, output.headers[_e]]
|
|
5776
5776
|
});
|
|
5777
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5777
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5778
5778
|
contents.PublicKey = de_PublicKey(data, context);
|
|
5779
5779
|
return contents;
|
|
5780
5780
|
}, "de_GetPublicKeyCommand");
|
|
@@ -5786,7 +5786,7 @@ var de_GetPublicKeyConfigCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5786
5786
|
$metadata: deserializeMetadata(output),
|
|
5787
5787
|
[_ET]: [, output.headers[_e]]
|
|
5788
5788
|
});
|
|
5789
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5789
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5790
5790
|
contents.PublicKeyConfig = de_PublicKeyConfig(data, context);
|
|
5791
5791
|
return contents;
|
|
5792
5792
|
}, "de_GetPublicKeyConfigCommand");
|
|
@@ -5797,7 +5797,7 @@ var de_GetRealtimeLogConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
5797
5797
|
const contents = (0, import_smithy_client.map)({
|
|
5798
5798
|
$metadata: deserializeMetadata(output)
|
|
5799
5799
|
});
|
|
5800
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
5800
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
5801
5801
|
if (data[_RLC] != null) {
|
|
5802
5802
|
contents[_RLC] = de_RealtimeLogConfig(data[_RLC], context);
|
|
5803
5803
|
}
|
|
@@ -5811,7 +5811,7 @@ var de_GetResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5811
5811
|
$metadata: deserializeMetadata(output),
|
|
5812
5812
|
[_ET]: [, output.headers[_e]]
|
|
5813
5813
|
});
|
|
5814
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5814
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5815
5815
|
contents.ResponseHeadersPolicy = de_ResponseHeadersPolicy(data, context);
|
|
5816
5816
|
return contents;
|
|
5817
5817
|
}, "de_GetResponseHeadersPolicyCommand");
|
|
@@ -5823,7 +5823,7 @@ var de_GetResponseHeadersPolicyConfigCommand = /* @__PURE__ */ __name(async (out
|
|
|
5823
5823
|
$metadata: deserializeMetadata(output),
|
|
5824
5824
|
[_ET]: [, output.headers[_e]]
|
|
5825
5825
|
});
|
|
5826
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5826
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5827
5827
|
contents.ResponseHeadersPolicyConfig = de_ResponseHeadersPolicyConfig(data, context);
|
|
5828
5828
|
return contents;
|
|
5829
5829
|
}, "de_GetResponseHeadersPolicyConfigCommand");
|
|
@@ -5835,7 +5835,7 @@ var de_GetStreamingDistributionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5835
5835
|
$metadata: deserializeMetadata(output),
|
|
5836
5836
|
[_ET]: [, output.headers[_e]]
|
|
5837
5837
|
});
|
|
5838
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5838
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5839
5839
|
contents.StreamingDistribution = de_StreamingDistribution(data, context);
|
|
5840
5840
|
return contents;
|
|
5841
5841
|
}, "de_GetStreamingDistributionCommand");
|
|
@@ -5847,7 +5847,7 @@ var de_GetStreamingDistributionConfigCommand = /* @__PURE__ */ __name(async (out
|
|
|
5847
5847
|
$metadata: deserializeMetadata(output),
|
|
5848
5848
|
[_ET]: [, output.headers[_e]]
|
|
5849
5849
|
});
|
|
5850
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5850
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5851
5851
|
contents.StreamingDistributionConfig = de_StreamingDistributionConfig(data, context);
|
|
5852
5852
|
return contents;
|
|
5853
5853
|
}, "de_GetStreamingDistributionConfigCommand");
|
|
@@ -5858,7 +5858,7 @@ var de_ListCachePoliciesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5858
5858
|
const contents = (0, import_smithy_client.map)({
|
|
5859
5859
|
$metadata: deserializeMetadata(output)
|
|
5860
5860
|
});
|
|
5861
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5861
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5862
5862
|
contents.CachePolicyList = de_CachePolicyList(data, context);
|
|
5863
5863
|
return contents;
|
|
5864
5864
|
}, "de_ListCachePoliciesCommand");
|
|
@@ -5869,7 +5869,7 @@ var de_ListCloudFrontOriginAccessIdentitiesCommand = /* @__PURE__ */ __name(asyn
|
|
|
5869
5869
|
const contents = (0, import_smithy_client.map)({
|
|
5870
5870
|
$metadata: deserializeMetadata(output)
|
|
5871
5871
|
});
|
|
5872
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5872
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5873
5873
|
contents.CloudFrontOriginAccessIdentityList = de_CloudFrontOriginAccessIdentityList(data, context);
|
|
5874
5874
|
return contents;
|
|
5875
5875
|
}, "de_ListCloudFrontOriginAccessIdentitiesCommand");
|
|
@@ -5880,7 +5880,7 @@ var de_ListConflictingAliasesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
5880
5880
|
const contents = (0, import_smithy_client.map)({
|
|
5881
5881
|
$metadata: deserializeMetadata(output)
|
|
5882
5882
|
});
|
|
5883
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5883
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5884
5884
|
contents.ConflictingAliasesList = de_ConflictingAliasesList(data, context);
|
|
5885
5885
|
return contents;
|
|
5886
5886
|
}, "de_ListConflictingAliasesCommand");
|
|
@@ -5891,7 +5891,7 @@ var de_ListContinuousDeploymentPoliciesCommand = /* @__PURE__ */ __name(async (o
|
|
|
5891
5891
|
const contents = (0, import_smithy_client.map)({
|
|
5892
5892
|
$metadata: deserializeMetadata(output)
|
|
5893
5893
|
});
|
|
5894
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5894
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5895
5895
|
contents.ContinuousDeploymentPolicyList = de_ContinuousDeploymentPolicyList(data, context);
|
|
5896
5896
|
return contents;
|
|
5897
5897
|
}, "de_ListContinuousDeploymentPoliciesCommand");
|
|
@@ -5902,7 +5902,7 @@ var de_ListDistributionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5902
5902
|
const contents = (0, import_smithy_client.map)({
|
|
5903
5903
|
$metadata: deserializeMetadata(output)
|
|
5904
5904
|
});
|
|
5905
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5905
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5906
5906
|
contents.DistributionList = de_DistributionList(data, context);
|
|
5907
5907
|
return contents;
|
|
5908
5908
|
}, "de_ListDistributionsCommand");
|
|
@@ -5913,7 +5913,7 @@ var de_ListDistributionsByCachePolicyIdCommand = /* @__PURE__ */ __name(async (o
|
|
|
5913
5913
|
const contents = (0, import_smithy_client.map)({
|
|
5914
5914
|
$metadata: deserializeMetadata(output)
|
|
5915
5915
|
});
|
|
5916
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5916
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5917
5917
|
contents.DistributionIdList = de_DistributionIdList(data, context);
|
|
5918
5918
|
return contents;
|
|
5919
5919
|
}, "de_ListDistributionsByCachePolicyIdCommand");
|
|
@@ -5924,7 +5924,7 @@ var de_ListDistributionsByKeyGroupCommand = /* @__PURE__ */ __name(async (output
|
|
|
5924
5924
|
const contents = (0, import_smithy_client.map)({
|
|
5925
5925
|
$metadata: deserializeMetadata(output)
|
|
5926
5926
|
});
|
|
5927
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5927
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5928
5928
|
contents.DistributionIdList = de_DistributionIdList(data, context);
|
|
5929
5929
|
return contents;
|
|
5930
5930
|
}, "de_ListDistributionsByKeyGroupCommand");
|
|
@@ -5935,7 +5935,7 @@ var de_ListDistributionsByOriginRequestPolicyIdCommand = /* @__PURE__ */ __name(
|
|
|
5935
5935
|
const contents = (0, import_smithy_client.map)({
|
|
5936
5936
|
$metadata: deserializeMetadata(output)
|
|
5937
5937
|
});
|
|
5938
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5938
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5939
5939
|
contents.DistributionIdList = de_DistributionIdList(data, context);
|
|
5940
5940
|
return contents;
|
|
5941
5941
|
}, "de_ListDistributionsByOriginRequestPolicyIdCommand");
|
|
@@ -5946,7 +5946,7 @@ var de_ListDistributionsByRealtimeLogConfigCommand = /* @__PURE__ */ __name(asyn
|
|
|
5946
5946
|
const contents = (0, import_smithy_client.map)({
|
|
5947
5947
|
$metadata: deserializeMetadata(output)
|
|
5948
5948
|
});
|
|
5949
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5949
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5950
5950
|
contents.DistributionList = de_DistributionList(data, context);
|
|
5951
5951
|
return contents;
|
|
5952
5952
|
}, "de_ListDistributionsByRealtimeLogConfigCommand");
|
|
@@ -5957,7 +5957,7 @@ var de_ListDistributionsByResponseHeadersPolicyIdCommand = /* @__PURE__ */ __nam
|
|
|
5957
5957
|
const contents = (0, import_smithy_client.map)({
|
|
5958
5958
|
$metadata: deserializeMetadata(output)
|
|
5959
5959
|
});
|
|
5960
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5960
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5961
5961
|
contents.DistributionIdList = de_DistributionIdList(data, context);
|
|
5962
5962
|
return contents;
|
|
5963
5963
|
}, "de_ListDistributionsByResponseHeadersPolicyIdCommand");
|
|
@@ -5968,7 +5968,7 @@ var de_ListDistributionsByWebACLIdCommand = /* @__PURE__ */ __name(async (output
|
|
|
5968
5968
|
const contents = (0, import_smithy_client.map)({
|
|
5969
5969
|
$metadata: deserializeMetadata(output)
|
|
5970
5970
|
});
|
|
5971
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5971
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5972
5972
|
contents.DistributionList = de_DistributionList(data, context);
|
|
5973
5973
|
return contents;
|
|
5974
5974
|
}, "de_ListDistributionsByWebACLIdCommand");
|
|
@@ -5979,7 +5979,7 @@ var de_ListFieldLevelEncryptionConfigsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
5979
5979
|
const contents = (0, import_smithy_client.map)({
|
|
5980
5980
|
$metadata: deserializeMetadata(output)
|
|
5981
5981
|
});
|
|
5982
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5982
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5983
5983
|
contents.FieldLevelEncryptionList = de_FieldLevelEncryptionList(data, context);
|
|
5984
5984
|
return contents;
|
|
5985
5985
|
}, "de_ListFieldLevelEncryptionConfigsCommand");
|
|
@@ -5990,7 +5990,7 @@ var de_ListFieldLevelEncryptionProfilesCommand = /* @__PURE__ */ __name(async (o
|
|
|
5990
5990
|
const contents = (0, import_smithy_client.map)({
|
|
5991
5991
|
$metadata: deserializeMetadata(output)
|
|
5992
5992
|
});
|
|
5993
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
5993
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
5994
5994
|
contents.FieldLevelEncryptionProfileList = de_FieldLevelEncryptionProfileList(data, context);
|
|
5995
5995
|
return contents;
|
|
5996
5996
|
}, "de_ListFieldLevelEncryptionProfilesCommand");
|
|
@@ -6001,7 +6001,7 @@ var de_ListFunctionsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6001
6001
|
const contents = (0, import_smithy_client.map)({
|
|
6002
6002
|
$metadata: deserializeMetadata(output)
|
|
6003
6003
|
});
|
|
6004
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6004
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6005
6005
|
contents.FunctionList = de_FunctionList(data, context);
|
|
6006
6006
|
return contents;
|
|
6007
6007
|
}, "de_ListFunctionsCommand");
|
|
@@ -6012,7 +6012,7 @@ var de_ListInvalidationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
6012
6012
|
const contents = (0, import_smithy_client.map)({
|
|
6013
6013
|
$metadata: deserializeMetadata(output)
|
|
6014
6014
|
});
|
|
6015
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6015
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6016
6016
|
contents.InvalidationList = de_InvalidationList(data, context);
|
|
6017
6017
|
return contents;
|
|
6018
6018
|
}, "de_ListInvalidationsCommand");
|
|
@@ -6023,7 +6023,7 @@ var de_ListKeyGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6023
6023
|
const contents = (0, import_smithy_client.map)({
|
|
6024
6024
|
$metadata: deserializeMetadata(output)
|
|
6025
6025
|
});
|
|
6026
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6026
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6027
6027
|
contents.KeyGroupList = de_KeyGroupList(data, context);
|
|
6028
6028
|
return contents;
|
|
6029
6029
|
}, "de_ListKeyGroupsCommand");
|
|
@@ -6034,7 +6034,7 @@ var de_ListKeyValueStoresCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
6034
6034
|
const contents = (0, import_smithy_client.map)({
|
|
6035
6035
|
$metadata: deserializeMetadata(output)
|
|
6036
6036
|
});
|
|
6037
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6037
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6038
6038
|
contents.KeyValueStoreList = de_KeyValueStoreList(data, context);
|
|
6039
6039
|
return contents;
|
|
6040
6040
|
}, "de_ListKeyValueStoresCommand");
|
|
@@ -6045,7 +6045,7 @@ var de_ListOriginAccessControlsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
6045
6045
|
const contents = (0, import_smithy_client.map)({
|
|
6046
6046
|
$metadata: deserializeMetadata(output)
|
|
6047
6047
|
});
|
|
6048
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6048
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6049
6049
|
contents.OriginAccessControlList = de_OriginAccessControlList(data, context);
|
|
6050
6050
|
return contents;
|
|
6051
6051
|
}, "de_ListOriginAccessControlsCommand");
|
|
@@ -6056,7 +6056,7 @@ var de_ListOriginRequestPoliciesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6056
6056
|
const contents = (0, import_smithy_client.map)({
|
|
6057
6057
|
$metadata: deserializeMetadata(output)
|
|
6058
6058
|
});
|
|
6059
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6059
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6060
6060
|
contents.OriginRequestPolicyList = de_OriginRequestPolicyList(data, context);
|
|
6061
6061
|
return contents;
|
|
6062
6062
|
}, "de_ListOriginRequestPoliciesCommand");
|
|
@@ -6067,7 +6067,7 @@ var de_ListPublicKeysCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6067
6067
|
const contents = (0, import_smithy_client.map)({
|
|
6068
6068
|
$metadata: deserializeMetadata(output)
|
|
6069
6069
|
});
|
|
6070
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6070
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6071
6071
|
contents.PublicKeyList = de_PublicKeyList(data, context);
|
|
6072
6072
|
return contents;
|
|
6073
6073
|
}, "de_ListPublicKeysCommand");
|
|
@@ -6078,7 +6078,7 @@ var de_ListRealtimeLogConfigsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
6078
6078
|
const contents = (0, import_smithy_client.map)({
|
|
6079
6079
|
$metadata: deserializeMetadata(output)
|
|
6080
6080
|
});
|
|
6081
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6081
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6082
6082
|
contents.RealtimeLogConfigs = de_RealtimeLogConfigs(data, context);
|
|
6083
6083
|
return contents;
|
|
6084
6084
|
}, "de_ListRealtimeLogConfigsCommand");
|
|
@@ -6089,7 +6089,7 @@ var de_ListResponseHeadersPoliciesCommand = /* @__PURE__ */ __name(async (output
|
|
|
6089
6089
|
const contents = (0, import_smithy_client.map)({
|
|
6090
6090
|
$metadata: deserializeMetadata(output)
|
|
6091
6091
|
});
|
|
6092
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6092
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6093
6093
|
contents.ResponseHeadersPolicyList = de_ResponseHeadersPolicyList(data, context);
|
|
6094
6094
|
return contents;
|
|
6095
6095
|
}, "de_ListResponseHeadersPoliciesCommand");
|
|
@@ -6100,7 +6100,7 @@ var de_ListStreamingDistributionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6100
6100
|
const contents = (0, import_smithy_client.map)({
|
|
6101
6101
|
$metadata: deserializeMetadata(output)
|
|
6102
6102
|
});
|
|
6103
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6103
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6104
6104
|
contents.StreamingDistributionList = de_StreamingDistributionList(data, context);
|
|
6105
6105
|
return contents;
|
|
6106
6106
|
}, "de_ListStreamingDistributionsCommand");
|
|
@@ -6111,7 +6111,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
6111
6111
|
const contents = (0, import_smithy_client.map)({
|
|
6112
6112
|
$metadata: deserializeMetadata(output)
|
|
6113
6113
|
});
|
|
6114
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6114
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6115
6115
|
contents.Tags = de_Tags(data, context);
|
|
6116
6116
|
return contents;
|
|
6117
6117
|
}, "de_ListTagsForResourceCommand");
|
|
@@ -6122,7 +6122,7 @@ var de_PublishFunctionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
6122
6122
|
const contents = (0, import_smithy_client.map)({
|
|
6123
6123
|
$metadata: deserializeMetadata(output)
|
|
6124
6124
|
});
|
|
6125
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6125
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6126
6126
|
contents.FunctionSummary = de_FunctionSummary(data, context);
|
|
6127
6127
|
return contents;
|
|
6128
6128
|
}, "de_PublishFunctionCommand");
|
|
@@ -6143,7 +6143,7 @@ var de_TestFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6143
6143
|
const contents = (0, import_smithy_client.map)({
|
|
6144
6144
|
$metadata: deserializeMetadata(output)
|
|
6145
6145
|
});
|
|
6146
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6146
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6147
6147
|
contents.TestResult = de_TestResult(data, context);
|
|
6148
6148
|
return contents;
|
|
6149
6149
|
}, "de_TestFunctionCommand");
|
|
@@ -6165,7 +6165,7 @@ var de_UpdateCachePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
6165
6165
|
$metadata: deserializeMetadata(output),
|
|
6166
6166
|
[_ET]: [, output.headers[_e]]
|
|
6167
6167
|
});
|
|
6168
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6168
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6169
6169
|
contents.CachePolicy = de_CachePolicy(data, context);
|
|
6170
6170
|
return contents;
|
|
6171
6171
|
}, "de_UpdateCachePolicyCommand");
|
|
@@ -6177,7 +6177,7 @@ var de_UpdateCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(asyn
|
|
|
6177
6177
|
$metadata: deserializeMetadata(output),
|
|
6178
6178
|
[_ET]: [, output.headers[_e]]
|
|
6179
6179
|
});
|
|
6180
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6180
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6181
6181
|
contents.CloudFrontOriginAccessIdentity = de_CloudFrontOriginAccessIdentity(data, context);
|
|
6182
6182
|
return contents;
|
|
6183
6183
|
}, "de_UpdateCloudFrontOriginAccessIdentityCommand");
|
|
@@ -6189,7 +6189,7 @@ var de_UpdateContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (o
|
|
|
6189
6189
|
$metadata: deserializeMetadata(output),
|
|
6190
6190
|
[_ET]: [, output.headers[_e]]
|
|
6191
6191
|
});
|
|
6192
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6192
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6193
6193
|
contents.ContinuousDeploymentPolicy = de_ContinuousDeploymentPolicy(data, context);
|
|
6194
6194
|
return contents;
|
|
6195
6195
|
}, "de_UpdateContinuousDeploymentPolicyCommand");
|
|
@@ -6201,7 +6201,7 @@ var de_UpdateDistributionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
6201
6201
|
$metadata: deserializeMetadata(output),
|
|
6202
6202
|
[_ET]: [, output.headers[_e]]
|
|
6203
6203
|
});
|
|
6204
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6204
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6205
6205
|
contents.Distribution = de_Distribution(data, context);
|
|
6206
6206
|
return contents;
|
|
6207
6207
|
}, "de_UpdateDistributionCommand");
|
|
@@ -6213,7 +6213,7 @@ var de_UpdateDistributionWithStagingConfigCommand = /* @__PURE__ */ __name(async
|
|
|
6213
6213
|
$metadata: deserializeMetadata(output),
|
|
6214
6214
|
[_ET]: [, output.headers[_e]]
|
|
6215
6215
|
});
|
|
6216
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6216
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6217
6217
|
contents.Distribution = de_Distribution(data, context);
|
|
6218
6218
|
return contents;
|
|
6219
6219
|
}, "de_UpdateDistributionWithStagingConfigCommand");
|
|
@@ -6225,7 +6225,7 @@ var de_UpdateFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (o
|
|
|
6225
6225
|
$metadata: deserializeMetadata(output),
|
|
6226
6226
|
[_ET]: [, output.headers[_e]]
|
|
6227
6227
|
});
|
|
6228
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6228
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6229
6229
|
contents.FieldLevelEncryption = de_FieldLevelEncryption(data, context);
|
|
6230
6230
|
return contents;
|
|
6231
6231
|
}, "de_UpdateFieldLevelEncryptionConfigCommand");
|
|
@@ -6237,7 +6237,7 @@ var de_UpdateFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (
|
|
|
6237
6237
|
$metadata: deserializeMetadata(output),
|
|
6238
6238
|
[_ET]: [, output.headers[_e]]
|
|
6239
6239
|
});
|
|
6240
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6240
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6241
6241
|
contents.FieldLevelEncryptionProfile = de_FieldLevelEncryptionProfile(data, context);
|
|
6242
6242
|
return contents;
|
|
6243
6243
|
}, "de_UpdateFieldLevelEncryptionProfileCommand");
|
|
@@ -6249,7 +6249,7 @@ var de_UpdateFunctionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6249
6249
|
$metadata: deserializeMetadata(output),
|
|
6250
6250
|
[_ET]: [, output.headers[_et]]
|
|
6251
6251
|
});
|
|
6252
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6252
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6253
6253
|
contents.FunctionSummary = de_FunctionSummary(data, context);
|
|
6254
6254
|
return contents;
|
|
6255
6255
|
}, "de_UpdateFunctionCommand");
|
|
@@ -6261,7 +6261,7 @@ var de_UpdateKeyGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6261
6261
|
$metadata: deserializeMetadata(output),
|
|
6262
6262
|
[_ET]: [, output.headers[_e]]
|
|
6263
6263
|
});
|
|
6264
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6264
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6265
6265
|
contents.KeyGroup = de_KeyGroup(data, context);
|
|
6266
6266
|
return contents;
|
|
6267
6267
|
}, "de_UpdateKeyGroupCommand");
|
|
@@ -6273,7 +6273,7 @@ var de_UpdateKeyValueStoreCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
6273
6273
|
$metadata: deserializeMetadata(output),
|
|
6274
6274
|
[_ET]: [, output.headers[_e]]
|
|
6275
6275
|
});
|
|
6276
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6276
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6277
6277
|
contents.KeyValueStore = de_KeyValueStore(data, context);
|
|
6278
6278
|
return contents;
|
|
6279
6279
|
}, "de_UpdateKeyValueStoreCommand");
|
|
@@ -6285,7 +6285,7 @@ var de_UpdateOriginAccessControlCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6285
6285
|
$metadata: deserializeMetadata(output),
|
|
6286
6286
|
[_ET]: [, output.headers[_e]]
|
|
6287
6287
|
});
|
|
6288
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6288
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6289
6289
|
contents.OriginAccessControl = de_OriginAccessControl(data, context);
|
|
6290
6290
|
return contents;
|
|
6291
6291
|
}, "de_UpdateOriginAccessControlCommand");
|
|
@@ -6297,7 +6297,7 @@ var de_UpdateOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6297
6297
|
$metadata: deserializeMetadata(output),
|
|
6298
6298
|
[_ET]: [, output.headers[_e]]
|
|
6299
6299
|
});
|
|
6300
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6300
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6301
6301
|
contents.OriginRequestPolicy = de_OriginRequestPolicy(data, context);
|
|
6302
6302
|
return contents;
|
|
6303
6303
|
}, "de_UpdateOriginRequestPolicyCommand");
|
|
@@ -6309,7 +6309,7 @@ var de_UpdatePublicKeyCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
6309
6309
|
$metadata: deserializeMetadata(output),
|
|
6310
6310
|
[_ET]: [, output.headers[_e]]
|
|
6311
6311
|
});
|
|
6312
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6312
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6313
6313
|
contents.PublicKey = de_PublicKey(data, context);
|
|
6314
6314
|
return contents;
|
|
6315
6315
|
}, "de_UpdatePublicKeyCommand");
|
|
@@ -6320,7 +6320,7 @@ var de_UpdateRealtimeLogConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
6320
6320
|
const contents = (0, import_smithy_client.map)({
|
|
6321
6321
|
$metadata: deserializeMetadata(output)
|
|
6322
6322
|
});
|
|
6323
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
6323
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
6324
6324
|
if (data[_RLC] != null) {
|
|
6325
6325
|
contents[_RLC] = de_RealtimeLogConfig(data[_RLC], context);
|
|
6326
6326
|
}
|
|
@@ -6334,7 +6334,7 @@ var de_UpdateResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (output
|
|
|
6334
6334
|
$metadata: deserializeMetadata(output),
|
|
6335
6335
|
[_ET]: [, output.headers[_e]]
|
|
6336
6336
|
});
|
|
6337
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6337
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6338
6338
|
contents.ResponseHeadersPolicy = de_ResponseHeadersPolicy(data, context);
|
|
6339
6339
|
return contents;
|
|
6340
6340
|
}, "de_UpdateResponseHeadersPolicyCommand");
|
|
@@ -6346,16 +6346,16 @@ var de_UpdateStreamingDistributionCommand = /* @__PURE__ */ __name(async (output
|
|
|
6346
6346
|
$metadata: deserializeMetadata(output),
|
|
6347
6347
|
[_ET]: [, output.headers[_e]]
|
|
6348
6348
|
});
|
|
6349
|
-
const data = (0, import_smithy_client.expectObject)(await
|
|
6349
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context));
|
|
6350
6350
|
contents.StreamingDistribution = de_StreamingDistribution(data, context);
|
|
6351
6351
|
return contents;
|
|
6352
6352
|
}, "de_UpdateStreamingDistributionCommand");
|
|
6353
6353
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6354
6354
|
const parsedOutput = {
|
|
6355
6355
|
...output,
|
|
6356
|
-
body: await
|
|
6356
|
+
body: await (0, import_core2.parseXmlErrorBody)(output.body, context)
|
|
6357
6357
|
};
|
|
6358
|
-
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
6358
|
+
const errorCode = (0, import_core2.loadRestXmlErrorCode)(output, parsedOutput.body);
|
|
6359
6359
|
switch (errorCode) {
|
|
6360
6360
|
case "AccessDenied":
|
|
6361
6361
|
case "com.amazonaws.cloudfront#AccessDenied":
|
|
@@ -12871,7 +12871,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
12871
12871
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
12872
12872
|
cfId: output.headers["x-amz-cf-id"]
|
|
12873
12873
|
}), "deserializeMetadata");
|
|
12874
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
12875
12874
|
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
12876
12875
|
var _A = "Alias";
|
|
12877
12876
|
var _AAN = "AwsAccountNumber";
|
|
@@ -13237,47 +13236,6 @@ var _s = "staging";
|
|
|
13237
13236
|
var _sST = "sensitiveStringType";
|
|
13238
13237
|
var _st = "string";
|
|
13239
13238
|
var _ve = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
13240
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
13241
|
-
if (encoded.length) {
|
|
13242
|
-
const parser = new import_fast_xml_parser.XMLParser({
|
|
13243
|
-
attributeNamePrefix: "",
|
|
13244
|
-
htmlEntities: true,
|
|
13245
|
-
ignoreAttributes: false,
|
|
13246
|
-
ignoreDeclaration: true,
|
|
13247
|
-
parseTagValue: false,
|
|
13248
|
-
trimValues: false,
|
|
13249
|
-
tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
13250
|
-
});
|
|
13251
|
-
parser.addEntity("#xD", "\r");
|
|
13252
|
-
parser.addEntity("#10", "\n");
|
|
13253
|
-
const parsedObj = parser.parse(encoded);
|
|
13254
|
-
const textNodeName = "#text";
|
|
13255
|
-
const key = Object.keys(parsedObj)[0];
|
|
13256
|
-
const parsedObjToReturn = parsedObj[key];
|
|
13257
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
13258
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
13259
|
-
delete parsedObjToReturn[textNodeName];
|
|
13260
|
-
}
|
|
13261
|
-
return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
|
|
13262
|
-
}
|
|
13263
|
-
return {};
|
|
13264
|
-
}), "parseBody");
|
|
13265
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
13266
|
-
const value = await parseBody(errorBody, context);
|
|
13267
|
-
if (value.Error) {
|
|
13268
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
13269
|
-
}
|
|
13270
|
-
return value;
|
|
13271
|
-
}, "parseErrorBody");
|
|
13272
|
-
var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
13273
|
-
var _a;
|
|
13274
|
-
if (((_a = data.Error) == null ? void 0 : _a.Code) !== void 0) {
|
|
13275
|
-
return data.Error.Code;
|
|
13276
|
-
}
|
|
13277
|
-
if (output.statusCode == 404) {
|
|
13278
|
-
return "NotFound";
|
|
13279
|
-
}
|
|
13280
|
-
}, "loadRestXmlErrorCode");
|
|
13281
13239
|
|
|
13282
13240
|
// src/commands/AssociateAliasCommand.ts
|
|
13283
13241
|
var _AssociateAliasCommand = class _AssociateAliasCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { loadRestXmlErrorCode, parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
|
|
2
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
4
|
-
import { XMLParser } from "fast-xml-parser";
|
|
4
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
import { CloudFrontServiceException as __BaseException } from "../models/CloudFrontServiceException";
|
|
6
6
|
import { AccessDenied, BatchTooLarge, CachePolicyAlreadyExists, CachePolicyInUse, CannotChangeImmutablePublicKeyFields, CannotDeleteEntityWhileInUse, CloudFrontOriginAccessIdentityAlreadyExists, CNAMEAlreadyExists, ContinuousDeploymentPolicyAlreadyExists, ContinuousDeploymentPolicyInUse, DistributionAlreadyExists, EntityAlreadyExists, EntityLimitExceeded, EntitySizeLimitExceeded, FieldLevelEncryptionConfigAlreadyExists, FieldLevelEncryptionProfileAlreadyExists, FieldLevelEncryptionProfileSizeExceeded, FunctionAlreadyExists, FunctionSizeLimitExceeded, IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, IllegalOriginAccessConfiguration, IllegalUpdate, InconsistentQuantities, InvalidArgument, InvalidDefaultRootObject, InvalidDomainNameForOriginAccessControl, InvalidErrorCode, InvalidForwardCookies, InvalidFunctionAssociation, InvalidGeoRestrictionParameter, InvalidHeadersForS3Origin, InvalidIfMatchVersion, InvalidLambdaFunctionAssociation, InvalidLocationCode, InvalidMinimumProtocolVersion, InvalidOrigin, InvalidOriginAccessControl, InvalidOriginAccessIdentity, InvalidOriginKeepaliveTimeout, InvalidOriginReadTimeout, InvalidProtocolSettings, InvalidQueryStringParameters, InvalidRelativePath, InvalidRequiredProtocol, InvalidResponseCode, InvalidTagging, InvalidTTLOrder, InvalidViewerCertificate, InvalidWebACLId, KeyGroupAlreadyExists, MissingBody, MonitoringSubscriptionAlreadyExists, NoSuchCachePolicy, NoSuchContinuousDeploymentPolicy, NoSuchDistribution, NoSuchFieldLevelEncryptionConfig, NoSuchFieldLevelEncryptionProfile, NoSuchOrigin, NoSuchOriginRequestPolicy, NoSuchPublicKey, NoSuchRealtimeLogConfig, NoSuchResponseHeadersPolicy, OriginAccessControlAlreadyExists, OriginRequestPolicyAlreadyExists, PreconditionFailed, PublicKeyAlreadyExists, QueryArgProfileEmpty, RealtimeLogConfigAlreadyExists, RealtimeLogConfigOwnerMismatch, StagingDistributionInUse, TooManyCacheBehaviors, TooManyCachePolicies, TooManyCertificates, TooManyCloudFrontOriginAccessIdentities, TooManyContinuousDeploymentPolicies, TooManyCookieNamesInWhiteList, TooManyCookiesInCachePolicy, TooManyCookiesInOriginRequestPolicy, TooManyDistributionCNAMEs, TooManyDistributions, TooManyDistributionsAssociatedToCachePolicy, TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, TooManyDistributionsAssociatedToKeyGroup, TooManyDistributionsAssociatedToOriginAccessControl, TooManyDistributionsAssociatedToOriginRequestPolicy, TooManyDistributionsAssociatedToResponseHeadersPolicy, TooManyDistributionsWithFunctionAssociations, TooManyDistributionsWithLambdaAssociations, TooManyDistributionsWithSingleFunctionARN, TooManyFieldLevelEncryptionConfigs, TooManyFieldLevelEncryptionContentTypeProfiles, TooManyFieldLevelEncryptionEncryptionEntities, TooManyFieldLevelEncryptionFieldPatterns, TooManyFieldLevelEncryptionProfiles, TooManyFieldLevelEncryptionQueryArgProfiles, TooManyFunctionAssociations, TooManyFunctions, TooManyHeadersInCachePolicy, TooManyHeadersInForwardedValues, TooManyHeadersInOriginRequestPolicy, TooManyInvalidationsInProgress, TooManyKeyGroups, TooManyKeyGroupsAssociatedToDistribution, TooManyLambdaFunctionAssociations, TooManyOriginAccessControls, TooManyOriginCustomHeaders, TooManyOriginGroupsPerDistribution, TooManyOriginRequestPolicies, TooManyOrigins, TooManyPublicKeys, TooManyPublicKeysInKeyGroup, TooManyQueryStringParameters, TooManyQueryStringsInCachePolicy, TooManyQueryStringsInOriginRequestPolicy, TooManyRealtimeLogConfigs, TooManyTrustedSigners, TrustedKeyGroupDoesNotExist, TrustedSignerDoesNotExist, UnsupportedOperation, } from "../models/models_0";
|
|
7
7
|
import { CloudFrontOriginAccessIdentityInUse, DistributionNotDisabled, EntityNotFound, FieldLevelEncryptionConfigInUse, FieldLevelEncryptionProfileInUse, FunctionInUse, IllegalDelete, NoSuchCloudFrontOriginAccessIdentity, NoSuchFunctionExists, NoSuchInvalidation, NoSuchMonitoringSubscription, NoSuchOriginAccessControl, NoSuchResource, NoSuchStreamingDistribution, OriginAccessControlInUse, OriginRequestPolicyInUse, PublicKeyInUse, RealtimeLogConfigInUse, ResourceInUse, ResponseHeadersPolicyAlreadyExists, ResponseHeadersPolicyInUse, StreamingDistributionAlreadyExists, StreamingDistributionNotDisabled, TestFunctionFailed, TooLongCSPInResponseHeadersPolicy, TooManyCustomHeadersInResponseHeadersPolicy, TooManyRemoveHeadersInResponseHeadersPolicy, TooManyResponseHeadersPolicies, TooManyStreamingDistributionCNAMEs, TooManyStreamingDistributions, } from "../models/models_1";
|
|
@@ -9986,43 +9986,3 @@ const _s = "staging";
|
|
|
9986
9986
|
const _sST = "sensitiveStringType";
|
|
9987
9987
|
const _st = "string";
|
|
9988
9988
|
const _ve = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
9989
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9990
|
-
if (encoded.length) {
|
|
9991
|
-
const parser = new XMLParser({
|
|
9992
|
-
attributeNamePrefix: "",
|
|
9993
|
-
htmlEntities: true,
|
|
9994
|
-
ignoreAttributes: false,
|
|
9995
|
-
ignoreDeclaration: true,
|
|
9996
|
-
parseTagValue: false,
|
|
9997
|
-
trimValues: false,
|
|
9998
|
-
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
9999
|
-
});
|
|
10000
|
-
parser.addEntity("#xD", "\r");
|
|
10001
|
-
parser.addEntity("#10", "\n");
|
|
10002
|
-
const parsedObj = parser.parse(encoded);
|
|
10003
|
-
const textNodeName = "#text";
|
|
10004
|
-
const key = Object.keys(parsedObj)[0];
|
|
10005
|
-
const parsedObjToReturn = parsedObj[key];
|
|
10006
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
10007
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
10008
|
-
delete parsedObjToReturn[textNodeName];
|
|
10009
|
-
}
|
|
10010
|
-
return __getValueFromTextNode(parsedObjToReturn);
|
|
10011
|
-
}
|
|
10012
|
-
return {};
|
|
10013
|
-
});
|
|
10014
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
10015
|
-
const value = await parseBody(errorBody, context);
|
|
10016
|
-
if (value.Error) {
|
|
10017
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
10018
|
-
}
|
|
10019
|
-
return value;
|
|
10020
|
-
};
|
|
10021
|
-
const loadRestXmlErrorCode = (output, data) => {
|
|
10022
|
-
if (data.Error?.Code !== undefined) {
|
|
10023
|
-
return data.Error.Code;
|
|
10024
|
-
}
|
|
10025
|
-
if (output.statusCode == 404) {
|
|
10026
|
-
return "NotFound";
|
|
10027
|
-
}
|
|
10028
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"@smithy/util-stream": "^2.1.3",
|
|
61
61
|
"@smithy/util-utf8": "^2.1.1",
|
|
62
62
|
"@smithy/util-waiter": "^2.1.3",
|
|
63
|
-
"fast-xml-parser": "4.2.5",
|
|
64
63
|
"tslib": "^2.5.0"
|
|
65
64
|
},
|
|
66
65
|
"devDependencies": {
|