@aws-sdk/client-cloudfront 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/CloudFrontClient.js +13 -13
- package/dist-cjs/commands/AssociateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/CreateDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
- package/dist-cjs/commands/CreateInvalidationCommand.js +3 -3
- package/dist-cjs/commands/CreateKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreatePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteDistributionCommand.js +3 -3
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetInvalidationCommand.js +3 -3
- package/dist-cjs/commands/GetKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +3 -3
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/ListCachePoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -3
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsCommand.js +3 -3
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListInvalidationsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PublishFunctionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestFunctionCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/UpdateDistributionCommand.js +3 -3
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionCommand.js +3 -3
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +893 -893
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForDistributionDeployed.js +3 -3
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +3 -3
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +3 -3
- package/dist-es/CloudFront.js +92 -92
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +4 -4
- package/dist-es/pagination/ListDistributionsPaginator.js +4 -4
- package/dist-es/pagination/ListInvalidationsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +92 -92
- package/dist-types/CloudFrontClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudFrontClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +36 -36
|
@@ -15,7 +15,7 @@ export var serializeAws_restXmlAssociateAliasCommand = function (input, context)
|
|
|
15
15
|
case 1:
|
|
16
16
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
17
17
|
headers = {};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
19
19
|
"/2020-05-31/distribution/{TargetDistributionId}/associate-alias";
|
|
20
20
|
if (input.TargetDistributionId !== undefined) {
|
|
21
21
|
labelValue = input.TargetDistributionId;
|
|
@@ -51,7 +51,7 @@ export var serializeAws_restXmlCreateCachePolicyCommand = function (input, conte
|
|
|
51
51
|
headers = {
|
|
52
52
|
"content-type": "application/xml",
|
|
53
53
|
};
|
|
54
|
-
resolvedPath = ""
|
|
54
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy";
|
|
55
55
|
if (input.CachePolicyConfig !== undefined) {
|
|
56
56
|
body = serializeAws_restXmlCachePolicyConfig(input.CachePolicyConfig, context);
|
|
57
57
|
}
|
|
@@ -83,7 +83,7 @@ export var serializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand = fun
|
|
|
83
83
|
headers = {
|
|
84
84
|
"content-type": "application/xml",
|
|
85
85
|
};
|
|
86
|
-
resolvedPath = ""
|
|
86
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
87
87
|
"/2020-05-31/origin-access-identity/cloudfront";
|
|
88
88
|
if (input.CloudFrontOriginAccessIdentityConfig !== undefined) {
|
|
89
89
|
body = serializeAws_restXmlCloudFrontOriginAccessIdentityConfig(input.CloudFrontOriginAccessIdentityConfig, context);
|
|
@@ -116,7 +116,7 @@ export var serializeAws_restXmlCreateDistributionCommand = function (input, cont
|
|
|
116
116
|
headers = {
|
|
117
117
|
"content-type": "application/xml",
|
|
118
118
|
};
|
|
119
|
-
resolvedPath = ""
|
|
119
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution";
|
|
120
120
|
if (input.DistributionConfig !== undefined) {
|
|
121
121
|
body = serializeAws_restXmlDistributionConfig(input.DistributionConfig, context);
|
|
122
122
|
}
|
|
@@ -148,7 +148,7 @@ export var serializeAws_restXmlCreateDistributionWithTagsCommand = function (inp
|
|
|
148
148
|
headers = {
|
|
149
149
|
"content-type": "application/xml",
|
|
150
150
|
};
|
|
151
|
-
resolvedPath = ""
|
|
151
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution";
|
|
152
152
|
query = {
|
|
153
153
|
WithTags: "",
|
|
154
154
|
};
|
|
@@ -184,7 +184,7 @@ export var serializeAws_restXmlCreateFieldLevelEncryptionConfigCommand = functio
|
|
|
184
184
|
headers = {
|
|
185
185
|
"content-type": "application/xml",
|
|
186
186
|
};
|
|
187
|
-
resolvedPath = ""
|
|
187
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/field-level-encryption";
|
|
188
188
|
if (input.FieldLevelEncryptionConfig !== undefined) {
|
|
189
189
|
body = serializeAws_restXmlFieldLevelEncryptionConfig(input.FieldLevelEncryptionConfig, context);
|
|
190
190
|
}
|
|
@@ -216,7 +216,7 @@ export var serializeAws_restXmlCreateFieldLevelEncryptionProfileCommand = functi
|
|
|
216
216
|
headers = {
|
|
217
217
|
"content-type": "application/xml",
|
|
218
218
|
};
|
|
219
|
-
resolvedPath = ""
|
|
219
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
220
220
|
"/2020-05-31/field-level-encryption-profile";
|
|
221
221
|
if (input.FieldLevelEncryptionProfileConfig !== undefined) {
|
|
222
222
|
body = serializeAws_restXmlFieldLevelEncryptionProfileConfig(input.FieldLevelEncryptionProfileConfig, context);
|
|
@@ -249,7 +249,7 @@ export var serializeAws_restXmlCreateFunctionCommand = function (input, context)
|
|
|
249
249
|
headers = {
|
|
250
250
|
"content-type": "application/xml",
|
|
251
251
|
};
|
|
252
|
-
resolvedPath = ""
|
|
252
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function";
|
|
253
253
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
254
254
|
bodyNode = new __XmlNode("CreateFunctionRequest");
|
|
255
255
|
bodyNode.addAttribute("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
|
|
@@ -290,7 +290,7 @@ export var serializeAws_restXmlCreateInvalidationCommand = function (input, cont
|
|
|
290
290
|
headers = {
|
|
291
291
|
"content-type": "application/xml",
|
|
292
292
|
};
|
|
293
|
-
resolvedPath = ""
|
|
293
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
294
294
|
"/2020-05-31/distribution/{DistributionId}/invalidation";
|
|
295
295
|
if (input.DistributionId !== undefined) {
|
|
296
296
|
labelValue = input.DistributionId;
|
|
@@ -333,7 +333,7 @@ export var serializeAws_restXmlCreateKeyGroupCommand = function (input, context)
|
|
|
333
333
|
headers = {
|
|
334
334
|
"content-type": "application/xml",
|
|
335
335
|
};
|
|
336
|
-
resolvedPath = ""
|
|
336
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group";
|
|
337
337
|
if (input.KeyGroupConfig !== undefined) {
|
|
338
338
|
body = serializeAws_restXmlKeyGroupConfig(input.KeyGroupConfig, context);
|
|
339
339
|
}
|
|
@@ -365,7 +365,7 @@ export var serializeAws_restXmlCreateMonitoringSubscriptionCommand = function (i
|
|
|
365
365
|
headers = {
|
|
366
366
|
"content-type": "application/xml",
|
|
367
367
|
};
|
|
368
|
-
resolvedPath = ""
|
|
368
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
369
369
|
"/2020-05-31/distributions/{DistributionId}/monitoring-subscription";
|
|
370
370
|
if (input.DistributionId !== undefined) {
|
|
371
371
|
labelValue = input.DistributionId;
|
|
@@ -408,7 +408,7 @@ export var serializeAws_restXmlCreateOriginRequestPolicyCommand = function (inpu
|
|
|
408
408
|
headers = {
|
|
409
409
|
"content-type": "application/xml",
|
|
410
410
|
};
|
|
411
|
-
resolvedPath = ""
|
|
411
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/origin-request-policy";
|
|
412
412
|
if (input.OriginRequestPolicyConfig !== undefined) {
|
|
413
413
|
body = serializeAws_restXmlOriginRequestPolicyConfig(input.OriginRequestPolicyConfig, context);
|
|
414
414
|
}
|
|
@@ -440,7 +440,7 @@ export var serializeAws_restXmlCreatePublicKeyCommand = function (input, context
|
|
|
440
440
|
headers = {
|
|
441
441
|
"content-type": "application/xml",
|
|
442
442
|
};
|
|
443
|
-
resolvedPath = ""
|
|
443
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key";
|
|
444
444
|
if (input.PublicKeyConfig !== undefined) {
|
|
445
445
|
body = serializeAws_restXmlPublicKeyConfig(input.PublicKeyConfig, context);
|
|
446
446
|
}
|
|
@@ -472,7 +472,7 @@ export var serializeAws_restXmlCreateRealtimeLogConfigCommand = function (input,
|
|
|
472
472
|
headers = {
|
|
473
473
|
"content-type": "application/xml",
|
|
474
474
|
};
|
|
475
|
-
resolvedPath = ""
|
|
475
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/realtime-log-config";
|
|
476
476
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
477
477
|
bodyNode = new __XmlNode("CreateRealtimeLogConfigRequest");
|
|
478
478
|
bodyNode.addAttribute("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
|
|
@@ -523,7 +523,7 @@ export var serializeAws_restXmlCreateResponseHeadersPolicyCommand = function (in
|
|
|
523
523
|
headers = {
|
|
524
524
|
"content-type": "application/xml",
|
|
525
525
|
};
|
|
526
|
-
resolvedPath = ""
|
|
526
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/response-headers-policy";
|
|
527
527
|
if (input.ResponseHeadersPolicyConfig !== undefined) {
|
|
528
528
|
body = serializeAws_restXmlResponseHeadersPolicyConfig(input.ResponseHeadersPolicyConfig, context);
|
|
529
529
|
}
|
|
@@ -555,7 +555,7 @@ export var serializeAws_restXmlCreateStreamingDistributionCommand = function (in
|
|
|
555
555
|
headers = {
|
|
556
556
|
"content-type": "application/xml",
|
|
557
557
|
};
|
|
558
|
-
resolvedPath = ""
|
|
558
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/streaming-distribution";
|
|
559
559
|
if (input.StreamingDistributionConfig !== undefined) {
|
|
560
560
|
body = serializeAws_restXmlStreamingDistributionConfig(input.StreamingDistributionConfig, context);
|
|
561
561
|
}
|
|
@@ -587,7 +587,7 @@ export var serializeAws_restXmlCreateStreamingDistributionWithTagsCommand = func
|
|
|
587
587
|
headers = {
|
|
588
588
|
"content-type": "application/xml",
|
|
589
589
|
};
|
|
590
|
-
resolvedPath = ""
|
|
590
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/streaming-distribution";
|
|
591
591
|
query = {
|
|
592
592
|
WithTags: "",
|
|
593
593
|
};
|
|
@@ -621,7 +621,7 @@ export var serializeAws_restXmlDeleteCachePolicyCommand = function (input, conte
|
|
|
621
621
|
case 1:
|
|
622
622
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
623
623
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
624
|
-
resolvedPath = ""
|
|
624
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy/{Id}";
|
|
625
625
|
if (input.Id !== undefined) {
|
|
626
626
|
labelValue = input.Id;
|
|
627
627
|
if (labelValue.length <= 0) {
|
|
@@ -652,7 +652,7 @@ export var serializeAws_restXmlDeleteCloudFrontOriginAccessIdentityCommand = fun
|
|
|
652
652
|
case 1:
|
|
653
653
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
654
654
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
655
|
-
resolvedPath = ""
|
|
655
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
656
656
|
"/2020-05-31/origin-access-identity/cloudfront/{Id}";
|
|
657
657
|
if (input.Id !== undefined) {
|
|
658
658
|
labelValue = input.Id;
|
|
@@ -684,7 +684,7 @@ export var serializeAws_restXmlDeleteDistributionCommand = function (input, cont
|
|
|
684
684
|
case 1:
|
|
685
685
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
686
686
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
687
|
-
resolvedPath = ""
|
|
687
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution/{Id}";
|
|
688
688
|
if (input.Id !== undefined) {
|
|
689
689
|
labelValue = input.Id;
|
|
690
690
|
if (labelValue.length <= 0) {
|
|
@@ -715,7 +715,7 @@ export var serializeAws_restXmlDeleteFieldLevelEncryptionConfigCommand = functio
|
|
|
715
715
|
case 1:
|
|
716
716
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
717
717
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
718
|
-
resolvedPath = ""
|
|
718
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/field-level-encryption/{Id}";
|
|
719
719
|
if (input.Id !== undefined) {
|
|
720
720
|
labelValue = input.Id;
|
|
721
721
|
if (labelValue.length <= 0) {
|
|
@@ -746,7 +746,7 @@ export var serializeAws_restXmlDeleteFieldLevelEncryptionProfileCommand = functi
|
|
|
746
746
|
case 1:
|
|
747
747
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
748
748
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
749
|
-
resolvedPath = ""
|
|
749
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
750
750
|
"/2020-05-31/field-level-encryption-profile/{Id}";
|
|
751
751
|
if (input.Id !== undefined) {
|
|
752
752
|
labelValue = input.Id;
|
|
@@ -778,7 +778,7 @@ export var serializeAws_restXmlDeleteFunctionCommand = function (input, context)
|
|
|
778
778
|
case 1:
|
|
779
779
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
780
780
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
781
|
-
resolvedPath = ""
|
|
781
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}";
|
|
782
782
|
if (input.Name !== undefined) {
|
|
783
783
|
labelValue = input.Name;
|
|
784
784
|
if (labelValue.length <= 0) {
|
|
@@ -809,7 +809,7 @@ export var serializeAws_restXmlDeleteKeyGroupCommand = function (input, context)
|
|
|
809
809
|
case 1:
|
|
810
810
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
811
811
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
812
|
-
resolvedPath = ""
|
|
812
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group/{Id}";
|
|
813
813
|
if (input.Id !== undefined) {
|
|
814
814
|
labelValue = input.Id;
|
|
815
815
|
if (labelValue.length <= 0) {
|
|
@@ -840,7 +840,7 @@ export var serializeAws_restXmlDeleteMonitoringSubscriptionCommand = function (i
|
|
|
840
840
|
case 1:
|
|
841
841
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
842
842
|
headers = {};
|
|
843
|
-
resolvedPath = ""
|
|
843
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
844
844
|
"/2020-05-31/distributions/{DistributionId}/monitoring-subscription";
|
|
845
845
|
if (input.DistributionId !== undefined) {
|
|
846
846
|
labelValue = input.DistributionId;
|
|
@@ -872,7 +872,7 @@ export var serializeAws_restXmlDeleteOriginRequestPolicyCommand = function (inpu
|
|
|
872
872
|
case 1:
|
|
873
873
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
874
874
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
875
|
-
resolvedPath = ""
|
|
875
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/origin-request-policy/{Id}";
|
|
876
876
|
if (input.Id !== undefined) {
|
|
877
877
|
labelValue = input.Id;
|
|
878
878
|
if (labelValue.length <= 0) {
|
|
@@ -903,7 +903,7 @@ export var serializeAws_restXmlDeletePublicKeyCommand = function (input, context
|
|
|
903
903
|
case 1:
|
|
904
904
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
905
905
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
906
|
-
resolvedPath = ""
|
|
906
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key/{Id}";
|
|
907
907
|
if (input.Id !== undefined) {
|
|
908
908
|
labelValue = input.Id;
|
|
909
909
|
if (labelValue.length <= 0) {
|
|
@@ -936,7 +936,7 @@ export var serializeAws_restXmlDeleteRealtimeLogConfigCommand = function (input,
|
|
|
936
936
|
headers = {
|
|
937
937
|
"content-type": "application/xml",
|
|
938
938
|
};
|
|
939
|
-
resolvedPath = ""
|
|
939
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/delete-realtime-log-config";
|
|
940
940
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
941
941
|
bodyNode = new __XmlNode("DeleteRealtimeLogConfigRequest");
|
|
942
942
|
bodyNode.addAttribute("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
|
|
@@ -969,7 +969,7 @@ export var serializeAws_restXmlDeleteResponseHeadersPolicyCommand = function (in
|
|
|
969
969
|
case 1:
|
|
970
970
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
971
971
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
972
|
-
resolvedPath = ""
|
|
972
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/response-headers-policy/{Id}";
|
|
973
973
|
if (input.Id !== undefined) {
|
|
974
974
|
labelValue = input.Id;
|
|
975
975
|
if (labelValue.length <= 0) {
|
|
@@ -1000,7 +1000,7 @@ export var serializeAws_restXmlDeleteStreamingDistributionCommand = function (in
|
|
|
1000
1000
|
case 1:
|
|
1001
1001
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1002
1002
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
1003
|
-
resolvedPath = ""
|
|
1003
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/streaming-distribution/{Id}";
|
|
1004
1004
|
if (input.Id !== undefined) {
|
|
1005
1005
|
labelValue = input.Id;
|
|
1006
1006
|
if (labelValue.length <= 0) {
|
|
@@ -1031,7 +1031,7 @@ export var serializeAws_restXmlDescribeFunctionCommand = function (input, contex
|
|
|
1031
1031
|
case 1:
|
|
1032
1032
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1033
1033
|
headers = {};
|
|
1034
|
-
resolvedPath = ""
|
|
1034
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}/describe";
|
|
1035
1035
|
if (input.Name !== undefined) {
|
|
1036
1036
|
labelValue = input.Name;
|
|
1037
1037
|
if (labelValue.length <= 0) {
|
|
@@ -1064,7 +1064,7 @@ export var serializeAws_restXmlGetCachePolicyCommand = function (input, context)
|
|
|
1064
1064
|
case 1:
|
|
1065
1065
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1066
1066
|
headers = {};
|
|
1067
|
-
resolvedPath = ""
|
|
1067
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy/{Id}";
|
|
1068
1068
|
if (input.Id !== undefined) {
|
|
1069
1069
|
labelValue = input.Id;
|
|
1070
1070
|
if (labelValue.length <= 0) {
|
|
@@ -1095,7 +1095,7 @@ export var serializeAws_restXmlGetCachePolicyConfigCommand = function (input, co
|
|
|
1095
1095
|
case 1:
|
|
1096
1096
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1097
1097
|
headers = {};
|
|
1098
|
-
resolvedPath = ""
|
|
1098
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy/{Id}/config";
|
|
1099
1099
|
if (input.Id !== undefined) {
|
|
1100
1100
|
labelValue = input.Id;
|
|
1101
1101
|
if (labelValue.length <= 0) {
|
|
@@ -1126,7 +1126,7 @@ export var serializeAws_restXmlGetCloudFrontOriginAccessIdentityCommand = functi
|
|
|
1126
1126
|
case 1:
|
|
1127
1127
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1128
1128
|
headers = {};
|
|
1129
|
-
resolvedPath = ""
|
|
1129
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1130
1130
|
"/2020-05-31/origin-access-identity/cloudfront/{Id}";
|
|
1131
1131
|
if (input.Id !== undefined) {
|
|
1132
1132
|
labelValue = input.Id;
|
|
@@ -1158,7 +1158,7 @@ export var serializeAws_restXmlGetCloudFrontOriginAccessIdentityConfigCommand =
|
|
|
1158
1158
|
case 1:
|
|
1159
1159
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1160
1160
|
headers = {};
|
|
1161
|
-
resolvedPath = ""
|
|
1161
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1162
1162
|
"/2020-05-31/origin-access-identity/cloudfront/{Id}/config";
|
|
1163
1163
|
if (input.Id !== undefined) {
|
|
1164
1164
|
labelValue = input.Id;
|
|
@@ -1190,7 +1190,7 @@ export var serializeAws_restXmlGetDistributionCommand = function (input, context
|
|
|
1190
1190
|
case 1:
|
|
1191
1191
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1192
1192
|
headers = {};
|
|
1193
|
-
resolvedPath = ""
|
|
1193
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution/{Id}";
|
|
1194
1194
|
if (input.Id !== undefined) {
|
|
1195
1195
|
labelValue = input.Id;
|
|
1196
1196
|
if (labelValue.length <= 0) {
|
|
@@ -1221,7 +1221,7 @@ export var serializeAws_restXmlGetDistributionConfigCommand = function (input, c
|
|
|
1221
1221
|
case 1:
|
|
1222
1222
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1223
1223
|
headers = {};
|
|
1224
|
-
resolvedPath = ""
|
|
1224
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution/{Id}/config";
|
|
1225
1225
|
if (input.Id !== undefined) {
|
|
1226
1226
|
labelValue = input.Id;
|
|
1227
1227
|
if (labelValue.length <= 0) {
|
|
@@ -1252,7 +1252,7 @@ export var serializeAws_restXmlGetFieldLevelEncryptionCommand = function (input,
|
|
|
1252
1252
|
case 1:
|
|
1253
1253
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1254
1254
|
headers = {};
|
|
1255
|
-
resolvedPath = ""
|
|
1255
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/field-level-encryption/{Id}";
|
|
1256
1256
|
if (input.Id !== undefined) {
|
|
1257
1257
|
labelValue = input.Id;
|
|
1258
1258
|
if (labelValue.length <= 0) {
|
|
@@ -1283,7 +1283,7 @@ export var serializeAws_restXmlGetFieldLevelEncryptionConfigCommand = function (
|
|
|
1283
1283
|
case 1:
|
|
1284
1284
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1285
1285
|
headers = {};
|
|
1286
|
-
resolvedPath = ""
|
|
1286
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1287
1287
|
"/2020-05-31/field-level-encryption/{Id}/config";
|
|
1288
1288
|
if (input.Id !== undefined) {
|
|
1289
1289
|
labelValue = input.Id;
|
|
@@ -1315,7 +1315,7 @@ export var serializeAws_restXmlGetFieldLevelEncryptionProfileCommand = function
|
|
|
1315
1315
|
case 1:
|
|
1316
1316
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1317
1317
|
headers = {};
|
|
1318
|
-
resolvedPath = ""
|
|
1318
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1319
1319
|
"/2020-05-31/field-level-encryption-profile/{Id}";
|
|
1320
1320
|
if (input.Id !== undefined) {
|
|
1321
1321
|
labelValue = input.Id;
|
|
@@ -1347,7 +1347,7 @@ export var serializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand = fun
|
|
|
1347
1347
|
case 1:
|
|
1348
1348
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1349
1349
|
headers = {};
|
|
1350
|
-
resolvedPath = ""
|
|
1350
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1351
1351
|
"/2020-05-31/field-level-encryption-profile/{Id}/config";
|
|
1352
1352
|
if (input.Id !== undefined) {
|
|
1353
1353
|
labelValue = input.Id;
|
|
@@ -1379,7 +1379,7 @@ export var serializeAws_restXmlGetFunctionCommand = function (input, context) {
|
|
|
1379
1379
|
case 1:
|
|
1380
1380
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1381
1381
|
headers = {};
|
|
1382
|
-
resolvedPath = ""
|
|
1382
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}";
|
|
1383
1383
|
if (input.Name !== undefined) {
|
|
1384
1384
|
labelValue = input.Name;
|
|
1385
1385
|
if (labelValue.length <= 0) {
|
|
@@ -1412,7 +1412,7 @@ export var serializeAws_restXmlGetInvalidationCommand = function (input, context
|
|
|
1412
1412
|
case 1:
|
|
1413
1413
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1414
1414
|
headers = {};
|
|
1415
|
-
resolvedPath = ""
|
|
1415
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1416
1416
|
"/2020-05-31/distribution/{DistributionId}/invalidation/{Id}";
|
|
1417
1417
|
if (input.DistributionId !== undefined) {
|
|
1418
1418
|
labelValue = input.DistributionId;
|
|
@@ -1454,7 +1454,7 @@ export var serializeAws_restXmlGetKeyGroupCommand = function (input, context) {
|
|
|
1454
1454
|
case 1:
|
|
1455
1455
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1456
1456
|
headers = {};
|
|
1457
|
-
resolvedPath = ""
|
|
1457
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group/{Id}";
|
|
1458
1458
|
if (input.Id !== undefined) {
|
|
1459
1459
|
labelValue = input.Id;
|
|
1460
1460
|
if (labelValue.length <= 0) {
|
|
@@ -1485,7 +1485,7 @@ export var serializeAws_restXmlGetKeyGroupConfigCommand = function (input, conte
|
|
|
1485
1485
|
case 1:
|
|
1486
1486
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1487
1487
|
headers = {};
|
|
1488
|
-
resolvedPath = ""
|
|
1488
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group/{Id}/config";
|
|
1489
1489
|
if (input.Id !== undefined) {
|
|
1490
1490
|
labelValue = input.Id;
|
|
1491
1491
|
if (labelValue.length <= 0) {
|
|
@@ -1516,7 +1516,7 @@ export var serializeAws_restXmlGetMonitoringSubscriptionCommand = function (inpu
|
|
|
1516
1516
|
case 1:
|
|
1517
1517
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1518
1518
|
headers = {};
|
|
1519
|
-
resolvedPath = ""
|
|
1519
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1520
1520
|
"/2020-05-31/distributions/{DistributionId}/monitoring-subscription";
|
|
1521
1521
|
if (input.DistributionId !== undefined) {
|
|
1522
1522
|
labelValue = input.DistributionId;
|
|
@@ -1548,7 +1548,7 @@ export var serializeAws_restXmlGetOriginRequestPolicyCommand = function (input,
|
|
|
1548
1548
|
case 1:
|
|
1549
1549
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1550
1550
|
headers = {};
|
|
1551
|
-
resolvedPath = ""
|
|
1551
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/origin-request-policy/{Id}";
|
|
1552
1552
|
if (input.Id !== undefined) {
|
|
1553
1553
|
labelValue = input.Id;
|
|
1554
1554
|
if (labelValue.length <= 0) {
|
|
@@ -1579,7 +1579,7 @@ export var serializeAws_restXmlGetOriginRequestPolicyConfigCommand = function (i
|
|
|
1579
1579
|
case 1:
|
|
1580
1580
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1581
1581
|
headers = {};
|
|
1582
|
-
resolvedPath = ""
|
|
1582
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1583
1583
|
"/2020-05-31/origin-request-policy/{Id}/config";
|
|
1584
1584
|
if (input.Id !== undefined) {
|
|
1585
1585
|
labelValue = input.Id;
|
|
@@ -1611,7 +1611,7 @@ export var serializeAws_restXmlGetPublicKeyCommand = function (input, context) {
|
|
|
1611
1611
|
case 1:
|
|
1612
1612
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1613
1613
|
headers = {};
|
|
1614
|
-
resolvedPath = ""
|
|
1614
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key/{Id}";
|
|
1615
1615
|
if (input.Id !== undefined) {
|
|
1616
1616
|
labelValue = input.Id;
|
|
1617
1617
|
if (labelValue.length <= 0) {
|
|
@@ -1642,7 +1642,7 @@ export var serializeAws_restXmlGetPublicKeyConfigCommand = function (input, cont
|
|
|
1642
1642
|
case 1:
|
|
1643
1643
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1644
1644
|
headers = {};
|
|
1645
|
-
resolvedPath = ""
|
|
1645
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key/{Id}/config";
|
|
1646
1646
|
if (input.Id !== undefined) {
|
|
1647
1647
|
labelValue = input.Id;
|
|
1648
1648
|
if (labelValue.length <= 0) {
|
|
@@ -1675,7 +1675,7 @@ export var serializeAws_restXmlGetRealtimeLogConfigCommand = function (input, co
|
|
|
1675
1675
|
headers = {
|
|
1676
1676
|
"content-type": "application/xml",
|
|
1677
1677
|
};
|
|
1678
|
-
resolvedPath = ""
|
|
1678
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/get-realtime-log-config";
|
|
1679
1679
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
1680
1680
|
bodyNode = new __XmlNode("GetRealtimeLogConfigRequest");
|
|
1681
1681
|
bodyNode.addAttribute("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
|
|
@@ -1708,7 +1708,7 @@ export var serializeAws_restXmlGetResponseHeadersPolicyCommand = function (input
|
|
|
1708
1708
|
case 1:
|
|
1709
1709
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1710
1710
|
headers = {};
|
|
1711
|
-
resolvedPath = ""
|
|
1711
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/response-headers-policy/{Id}";
|
|
1712
1712
|
if (input.Id !== undefined) {
|
|
1713
1713
|
labelValue = input.Id;
|
|
1714
1714
|
if (labelValue.length <= 0) {
|
|
@@ -1739,7 +1739,7 @@ export var serializeAws_restXmlGetResponseHeadersPolicyConfigCommand = function
|
|
|
1739
1739
|
case 1:
|
|
1740
1740
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1741
1741
|
headers = {};
|
|
1742
|
-
resolvedPath = ""
|
|
1742
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1743
1743
|
"/2020-05-31/response-headers-policy/{Id}/config";
|
|
1744
1744
|
if (input.Id !== undefined) {
|
|
1745
1745
|
labelValue = input.Id;
|
|
@@ -1771,7 +1771,7 @@ export var serializeAws_restXmlGetStreamingDistributionCommand = function (input
|
|
|
1771
1771
|
case 1:
|
|
1772
1772
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1773
1773
|
headers = {};
|
|
1774
|
-
resolvedPath = ""
|
|
1774
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/streaming-distribution/{Id}";
|
|
1775
1775
|
if (input.Id !== undefined) {
|
|
1776
1776
|
labelValue = input.Id;
|
|
1777
1777
|
if (labelValue.length <= 0) {
|
|
@@ -1802,7 +1802,7 @@ export var serializeAws_restXmlGetStreamingDistributionConfigCommand = function
|
|
|
1802
1802
|
case 1:
|
|
1803
1803
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1804
1804
|
headers = {};
|
|
1805
|
-
resolvedPath = ""
|
|
1805
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1806
1806
|
"/2020-05-31/streaming-distribution/{Id}/config";
|
|
1807
1807
|
if (input.Id !== undefined) {
|
|
1808
1808
|
labelValue = input.Id;
|
|
@@ -1834,7 +1834,7 @@ export var serializeAws_restXmlListCachePoliciesCommand = function (input, conte
|
|
|
1834
1834
|
case 1:
|
|
1835
1835
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1836
1836
|
headers = {};
|
|
1837
|
-
resolvedPath = ""
|
|
1837
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy";
|
|
1838
1838
|
query = __assign(__assign(__assign({}, (input.Type !== undefined && { Type: input.Type })), (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
1839
1839
|
return [2, new __HttpRequest({
|
|
1840
1840
|
protocol: protocol,
|
|
@@ -1857,7 +1857,7 @@ export var serializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand = fun
|
|
|
1857
1857
|
case 1:
|
|
1858
1858
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1859
1859
|
headers = {};
|
|
1860
|
-
resolvedPath = ""
|
|
1860
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1861
1861
|
"/2020-05-31/origin-access-identity/cloudfront";
|
|
1862
1862
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
1863
1863
|
return [2, new __HttpRequest({
|
|
@@ -1881,7 +1881,7 @@ export var serializeAws_restXmlListConflictingAliasesCommand = function (input,
|
|
|
1881
1881
|
case 1:
|
|
1882
1882
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1883
1883
|
headers = {};
|
|
1884
|
-
resolvedPath = ""
|
|
1884
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/conflicting-alias";
|
|
1885
1885
|
query = __assign(__assign(__assign(__assign({}, (input.DistributionId !== undefined && { DistributionId: input.DistributionId })), (input.Alias !== undefined && { Alias: input.Alias })), (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
1886
1886
|
return [2, new __HttpRequest({
|
|
1887
1887
|
protocol: protocol,
|
|
@@ -1904,7 +1904,7 @@ export var serializeAws_restXmlListDistributionsCommand = function (input, conte
|
|
|
1904
1904
|
case 1:
|
|
1905
1905
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1906
1906
|
headers = {};
|
|
1907
|
-
resolvedPath = ""
|
|
1907
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution";
|
|
1908
1908
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
1909
1909
|
return [2, new __HttpRequest({
|
|
1910
1910
|
protocol: protocol,
|
|
@@ -1927,7 +1927,7 @@ export var serializeAws_restXmlListDistributionsByCachePolicyIdCommand = functio
|
|
|
1927
1927
|
case 1:
|
|
1928
1928
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1929
1929
|
headers = {};
|
|
1930
|
-
resolvedPath = ""
|
|
1930
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1931
1931
|
"/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}";
|
|
1932
1932
|
if (input.CachePolicyId !== undefined) {
|
|
1933
1933
|
labelValue = input.CachePolicyId;
|
|
@@ -1961,7 +1961,7 @@ export var serializeAws_restXmlListDistributionsByKeyGroupCommand = function (in
|
|
|
1961
1961
|
case 1:
|
|
1962
1962
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1963
1963
|
headers = {};
|
|
1964
|
-
resolvedPath = ""
|
|
1964
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1965
1965
|
"/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}";
|
|
1966
1966
|
if (input.KeyGroupId !== undefined) {
|
|
1967
1967
|
labelValue = input.KeyGroupId;
|
|
@@ -1995,7 +1995,7 @@ export var serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand =
|
|
|
1995
1995
|
case 1:
|
|
1996
1996
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1997
1997
|
headers = {};
|
|
1998
|
-
resolvedPath = ""
|
|
1998
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1999
1999
|
"/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}";
|
|
2000
2000
|
if (input.OriginRequestPolicyId !== undefined) {
|
|
2001
2001
|
labelValue = input.OriginRequestPolicyId;
|
|
@@ -2031,7 +2031,7 @@ export var serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand = fun
|
|
|
2031
2031
|
headers = {
|
|
2032
2032
|
"content-type": "application/xml",
|
|
2033
2033
|
};
|
|
2034
|
-
resolvedPath = ""
|
|
2034
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2035
2035
|
"/2020-05-31/distributionsByRealtimeLogConfig";
|
|
2036
2036
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2037
2037
|
bodyNode = new __XmlNode("ListDistributionsByRealtimeLogConfigRequest");
|
|
@@ -2077,7 +2077,7 @@ export var serializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand
|
|
|
2077
2077
|
case 1:
|
|
2078
2078
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2079
2079
|
headers = {};
|
|
2080
|
-
resolvedPath = ""
|
|
2080
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2081
2081
|
"/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}";
|
|
2082
2082
|
if (input.ResponseHeadersPolicyId !== undefined) {
|
|
2083
2083
|
labelValue = input.ResponseHeadersPolicyId;
|
|
@@ -2111,7 +2111,7 @@ export var serializeAws_restXmlListDistributionsByWebACLIdCommand = function (in
|
|
|
2111
2111
|
case 1:
|
|
2112
2112
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2113
2113
|
headers = {};
|
|
2114
|
-
resolvedPath = ""
|
|
2114
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2115
2115
|
"/2020-05-31/distributionsByWebACLId/{WebACLId}";
|
|
2116
2116
|
if (input.WebACLId !== undefined) {
|
|
2117
2117
|
labelValue = input.WebACLId;
|
|
@@ -2145,7 +2145,7 @@ export var serializeAws_restXmlListFieldLevelEncryptionConfigsCommand = function
|
|
|
2145
2145
|
case 1:
|
|
2146
2146
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2147
2147
|
headers = {};
|
|
2148
|
-
resolvedPath = ""
|
|
2148
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/field-level-encryption";
|
|
2149
2149
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2150
2150
|
return [2, new __HttpRequest({
|
|
2151
2151
|
protocol: protocol,
|
|
@@ -2168,7 +2168,7 @@ export var serializeAws_restXmlListFieldLevelEncryptionProfilesCommand = functio
|
|
|
2168
2168
|
case 1:
|
|
2169
2169
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2170
2170
|
headers = {};
|
|
2171
|
-
resolvedPath = ""
|
|
2171
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2172
2172
|
"/2020-05-31/field-level-encryption-profile";
|
|
2173
2173
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2174
2174
|
return [2, new __HttpRequest({
|
|
@@ -2192,7 +2192,7 @@ export var serializeAws_restXmlListFunctionsCommand = function (input, context)
|
|
|
2192
2192
|
case 1:
|
|
2193
2193
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2194
2194
|
headers = {};
|
|
2195
|
-
resolvedPath = ""
|
|
2195
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function";
|
|
2196
2196
|
query = __assign(__assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() })), (input.Stage !== undefined && { Stage: input.Stage }));
|
|
2197
2197
|
return [2, new __HttpRequest({
|
|
2198
2198
|
protocol: protocol,
|
|
@@ -2215,7 +2215,7 @@ export var serializeAws_restXmlListInvalidationsCommand = function (input, conte
|
|
|
2215
2215
|
case 1:
|
|
2216
2216
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2217
2217
|
headers = {};
|
|
2218
|
-
resolvedPath = ""
|
|
2218
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2219
2219
|
"/2020-05-31/distribution/{DistributionId}/invalidation";
|
|
2220
2220
|
if (input.DistributionId !== undefined) {
|
|
2221
2221
|
labelValue = input.DistributionId;
|
|
@@ -2249,7 +2249,7 @@ export var serializeAws_restXmlListKeyGroupsCommand = function (input, context)
|
|
|
2249
2249
|
case 1:
|
|
2250
2250
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2251
2251
|
headers = {};
|
|
2252
|
-
resolvedPath = ""
|
|
2252
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group";
|
|
2253
2253
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2254
2254
|
return [2, new __HttpRequest({
|
|
2255
2255
|
protocol: protocol,
|
|
@@ -2272,7 +2272,7 @@ export var serializeAws_restXmlListOriginRequestPoliciesCommand = function (inpu
|
|
|
2272
2272
|
case 1:
|
|
2273
2273
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2274
2274
|
headers = {};
|
|
2275
|
-
resolvedPath = ""
|
|
2275
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/origin-request-policy";
|
|
2276
2276
|
query = __assign(__assign(__assign({}, (input.Type !== undefined && { Type: input.Type })), (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2277
2277
|
return [2, new __HttpRequest({
|
|
2278
2278
|
protocol: protocol,
|
|
@@ -2295,7 +2295,7 @@ export var serializeAws_restXmlListPublicKeysCommand = function (input, context)
|
|
|
2295
2295
|
case 1:
|
|
2296
2296
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2297
2297
|
headers = {};
|
|
2298
|
-
resolvedPath = ""
|
|
2298
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key";
|
|
2299
2299
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2300
2300
|
return [2, new __HttpRequest({
|
|
2301
2301
|
protocol: protocol,
|
|
@@ -2318,7 +2318,7 @@ export var serializeAws_restXmlListRealtimeLogConfigsCommand = function (input,
|
|
|
2318
2318
|
case 1:
|
|
2319
2319
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2320
2320
|
headers = {};
|
|
2321
|
-
resolvedPath = ""
|
|
2321
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/realtime-log-config";
|
|
2322
2322
|
query = __assign(__assign({}, (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() })), (input.Marker !== undefined && { Marker: input.Marker }));
|
|
2323
2323
|
return [2, new __HttpRequest({
|
|
2324
2324
|
protocol: protocol,
|
|
@@ -2341,7 +2341,7 @@ export var serializeAws_restXmlListResponseHeadersPoliciesCommand = function (in
|
|
|
2341
2341
|
case 1:
|
|
2342
2342
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2343
2343
|
headers = {};
|
|
2344
|
-
resolvedPath = ""
|
|
2344
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/response-headers-policy";
|
|
2345
2345
|
query = __assign(__assign(__assign({}, (input.Type !== undefined && { Type: input.Type })), (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2346
2346
|
return [2, new __HttpRequest({
|
|
2347
2347
|
protocol: protocol,
|
|
@@ -2364,7 +2364,7 @@ export var serializeAws_restXmlListStreamingDistributionsCommand = function (inp
|
|
|
2364
2364
|
case 1:
|
|
2365
2365
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2366
2366
|
headers = {};
|
|
2367
|
-
resolvedPath = ""
|
|
2367
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/streaming-distribution";
|
|
2368
2368
|
query = __assign(__assign({}, (input.Marker !== undefined && { Marker: input.Marker })), (input.MaxItems !== undefined && { MaxItems: input.MaxItems.toString() }));
|
|
2369
2369
|
return [2, new __HttpRequest({
|
|
2370
2370
|
protocol: protocol,
|
|
@@ -2387,7 +2387,7 @@ export var serializeAws_restXmlListTagsForResourceCommand = function (input, con
|
|
|
2387
2387
|
case 1:
|
|
2388
2388
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2389
2389
|
headers = {};
|
|
2390
|
-
resolvedPath = ""
|
|
2390
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/tagging";
|
|
2391
2391
|
query = __assign({}, (input.Resource !== undefined && { Resource: input.Resource }));
|
|
2392
2392
|
return [2, new __HttpRequest({
|
|
2393
2393
|
protocol: protocol,
|
|
@@ -2410,7 +2410,7 @@ export var serializeAws_restXmlPublishFunctionCommand = function (input, context
|
|
|
2410
2410
|
case 1:
|
|
2411
2411
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2412
2412
|
headers = __assign({}, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2413
|
-
resolvedPath = ""
|
|
2413
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}/publish";
|
|
2414
2414
|
if (input.Name !== undefined) {
|
|
2415
2415
|
labelValue = input.Name;
|
|
2416
2416
|
if (labelValue.length <= 0) {
|
|
@@ -2443,7 +2443,7 @@ export var serializeAws_restXmlTagResourceCommand = function (input, context) {
|
|
|
2443
2443
|
headers = {
|
|
2444
2444
|
"content-type": "application/xml",
|
|
2445
2445
|
};
|
|
2446
|
-
resolvedPath = ""
|
|
2446
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/tagging";
|
|
2447
2447
|
query = __assign({ Operation: "Tag" }, (input.Resource !== undefined && { Resource: input.Resource }));
|
|
2448
2448
|
if (input.Tags !== undefined) {
|
|
2449
2449
|
body = serializeAws_restXmlTags(input.Tags, context);
|
|
@@ -2475,7 +2475,7 @@ export var serializeAws_restXmlTestFunctionCommand = function (input, context) {
|
|
|
2475
2475
|
case 1:
|
|
2476
2476
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2477
2477
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2478
|
-
resolvedPath = ""
|
|
2478
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}/test";
|
|
2479
2479
|
if (input.Name !== undefined) {
|
|
2480
2480
|
labelValue = input.Name;
|
|
2481
2481
|
if (labelValue.length <= 0) {
|
|
@@ -2522,7 +2522,7 @@ export var serializeAws_restXmlUntagResourceCommand = function (input, context)
|
|
|
2522
2522
|
headers = {
|
|
2523
2523
|
"content-type": "application/xml",
|
|
2524
2524
|
};
|
|
2525
|
-
resolvedPath = ""
|
|
2525
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/tagging";
|
|
2526
2526
|
query = __assign({ Operation: "Untag" }, (input.Resource !== undefined && { Resource: input.Resource }));
|
|
2527
2527
|
if (input.TagKeys !== undefined) {
|
|
2528
2528
|
body = serializeAws_restXmlTagKeys(input.TagKeys, context);
|
|
@@ -2554,7 +2554,7 @@ export var serializeAws_restXmlUpdateCachePolicyCommand = function (input, conte
|
|
|
2554
2554
|
case 1:
|
|
2555
2555
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2556
2556
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2557
|
-
resolvedPath = ""
|
|
2557
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/cache-policy/{Id}";
|
|
2558
2558
|
if (input.Id !== undefined) {
|
|
2559
2559
|
labelValue = input.Id;
|
|
2560
2560
|
if (labelValue.length <= 0) {
|
|
@@ -2594,7 +2594,7 @@ export var serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand = fun
|
|
|
2594
2594
|
case 1:
|
|
2595
2595
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2596
2596
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2597
|
-
resolvedPath = ""
|
|
2597
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2598
2598
|
"/2020-05-31/origin-access-identity/cloudfront/{Id}/config";
|
|
2599
2599
|
if (input.Id !== undefined) {
|
|
2600
2600
|
labelValue = input.Id;
|
|
@@ -2635,7 +2635,7 @@ export var serializeAws_restXmlUpdateDistributionCommand = function (input, cont
|
|
|
2635
2635
|
case 1:
|
|
2636
2636
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2637
2637
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2638
|
-
resolvedPath = ""
|
|
2638
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/distribution/{Id}/config";
|
|
2639
2639
|
if (input.Id !== undefined) {
|
|
2640
2640
|
labelValue = input.Id;
|
|
2641
2641
|
if (labelValue.length <= 0) {
|
|
@@ -2675,7 +2675,7 @@ export var serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand = functio
|
|
|
2675
2675
|
case 1:
|
|
2676
2676
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2677
2677
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2678
|
-
resolvedPath = ""
|
|
2678
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2679
2679
|
"/2020-05-31/field-level-encryption/{Id}/config";
|
|
2680
2680
|
if (input.Id !== undefined) {
|
|
2681
2681
|
labelValue = input.Id;
|
|
@@ -2716,7 +2716,7 @@ export var serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand = functi
|
|
|
2716
2716
|
case 1:
|
|
2717
2717
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2718
2718
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2719
|
-
resolvedPath = ""
|
|
2719
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2720
2720
|
"/2020-05-31/field-level-encryption-profile/{Id}/config";
|
|
2721
2721
|
if (input.Id !== undefined) {
|
|
2722
2722
|
labelValue = input.Id;
|
|
@@ -2757,7 +2757,7 @@ export var serializeAws_restXmlUpdateFunctionCommand = function (input, context)
|
|
|
2757
2757
|
case 1:
|
|
2758
2758
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2759
2759
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2760
|
-
resolvedPath = ""
|
|
2760
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/function/{Name}";
|
|
2761
2761
|
if (input.Name !== undefined) {
|
|
2762
2762
|
labelValue = input.Name;
|
|
2763
2763
|
if (labelValue.length <= 0) {
|
|
@@ -2802,7 +2802,7 @@ export var serializeAws_restXmlUpdateKeyGroupCommand = function (input, context)
|
|
|
2802
2802
|
case 1:
|
|
2803
2803
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2804
2804
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2805
|
-
resolvedPath = ""
|
|
2805
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/key-group/{Id}";
|
|
2806
2806
|
if (input.Id !== undefined) {
|
|
2807
2807
|
labelValue = input.Id;
|
|
2808
2808
|
if (labelValue.length <= 0) {
|
|
@@ -2842,7 +2842,7 @@ export var serializeAws_restXmlUpdateOriginRequestPolicyCommand = function (inpu
|
|
|
2842
2842
|
case 1:
|
|
2843
2843
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2844
2844
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2845
|
-
resolvedPath = ""
|
|
2845
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/origin-request-policy/{Id}";
|
|
2846
2846
|
if (input.Id !== undefined) {
|
|
2847
2847
|
labelValue = input.Id;
|
|
2848
2848
|
if (labelValue.length <= 0) {
|
|
@@ -2882,7 +2882,7 @@ export var serializeAws_restXmlUpdatePublicKeyCommand = function (input, context
|
|
|
2882
2882
|
case 1:
|
|
2883
2883
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2884
2884
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2885
|
-
resolvedPath = ""
|
|
2885
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/public-key/{Id}/config";
|
|
2886
2886
|
if (input.Id !== undefined) {
|
|
2887
2887
|
labelValue = input.Id;
|
|
2888
2888
|
if (labelValue.length <= 0) {
|
|
@@ -2924,7 +2924,7 @@ export var serializeAws_restXmlUpdateRealtimeLogConfigCommand = function (input,
|
|
|
2924
2924
|
headers = {
|
|
2925
2925
|
"content-type": "application/xml",
|
|
2926
2926
|
};
|
|
2927
|
-
resolvedPath = ""
|
|
2927
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/realtime-log-config";
|
|
2928
2928
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2929
2929
|
bodyNode = new __XmlNode("UpdateRealtimeLogConfigRequest");
|
|
2930
2930
|
bodyNode.addAttribute("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
|
|
@@ -2977,7 +2977,7 @@ export var serializeAws_restXmlUpdateResponseHeadersPolicyCommand = function (in
|
|
|
2977
2977
|
case 1:
|
|
2978
2978
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2979
2979
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
2980
|
-
resolvedPath = ""
|
|
2980
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2020-05-31/response-headers-policy/{Id}";
|
|
2981
2981
|
if (input.Id !== undefined) {
|
|
2982
2982
|
labelValue = input.Id;
|
|
2983
2983
|
if (labelValue.length <= 0) {
|
|
@@ -3017,7 +3017,7 @@ export var serializeAws_restXmlUpdateStreamingDistributionCommand = function (in
|
|
|
3017
3017
|
case 1:
|
|
3018
3018
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3019
3019
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.IfMatch) && { "if-match": input.IfMatch }));
|
|
3020
|
-
resolvedPath = ""
|
|
3020
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3021
3021
|
"/2020-05-31/streaming-distribution/{Id}/config";
|
|
3022
3022
|
if (input.Id !== undefined) {
|
|
3023
3023
|
labelValue = input.Id;
|