@aws-sdk/client-cloudfront 3.36.1 → 3.40.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 +43 -0
- package/dist-cjs/CloudFront.js +105 -0
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeletePublicKeyCommand.js +2 -2
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +2 -2
- 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/GetResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +36 -0
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +36 -0
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +36 -0
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +95 -0
- package/dist-cjs/endpoints.js +84 -6
- package/dist-cjs/index.js +5 -95
- package/dist-cjs/models/models_0.js +174 -166
- package/dist-cjs/models/models_1.js +257 -3
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +1725 -120
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-es/CloudFront.js +105 -0
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +1 -1
- package/dist-es/commands/DeletePublicKeyCommand.js +1 -1
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +1 -1
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +1 -1
- package/dist-es/commands/DescribeFunctionCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyConfigCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -1
- package/dist-es/commands/GetDistributionCommand.js +1 -1
- package/dist-es/commands/GetDistributionConfigCommand.js +1 -1
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +1 -1
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +39 -0
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +39 -0
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +92 -0
- package/dist-es/endpoints.js +84 -6
- package/dist-es/index.js +5 -95
- package/dist-es/models/models_0.js +122 -109
- package/dist-es/models/models_1.js +169 -2
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restXml.js +2398 -664
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/CloudFront.d.ts +109 -3
- package/dist-types/CloudFrontClient.d.ts +17 -2
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +41 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
- package/dist-types/commands/index.d.ts +92 -0
- package/dist-types/index.d.ts +5 -95
- package/dist-types/models/models_0.d.ts +990 -676
- package/dist-types/models/models_1.d.ts +746 -51
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CloudFront.d.ts +35 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +13 -2
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/index.d.ts +5 -95
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_1.d.ts +418 -19
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,49 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
12
|
+
* **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudfront
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
32
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
6
49
|
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
50
|
|
|
8
51
|
|
package/dist-cjs/CloudFront.js
CHANGED
|
@@ -16,6 +16,7 @@ const CreateMonitoringSubscriptionCommand_1 = require("./commands/CreateMonitori
|
|
|
16
16
|
const CreateOriginRequestPolicyCommand_1 = require("./commands/CreateOriginRequestPolicyCommand");
|
|
17
17
|
const CreatePublicKeyCommand_1 = require("./commands/CreatePublicKeyCommand");
|
|
18
18
|
const CreateRealtimeLogConfigCommand_1 = require("./commands/CreateRealtimeLogConfigCommand");
|
|
19
|
+
const CreateResponseHeadersPolicyCommand_1 = require("./commands/CreateResponseHeadersPolicyCommand");
|
|
19
20
|
const CreateStreamingDistributionCommand_1 = require("./commands/CreateStreamingDistributionCommand");
|
|
20
21
|
const CreateStreamingDistributionWithTagsCommand_1 = require("./commands/CreateStreamingDistributionWithTagsCommand");
|
|
21
22
|
const DeleteCachePolicyCommand_1 = require("./commands/DeleteCachePolicyCommand");
|
|
@@ -29,6 +30,7 @@ const DeleteMonitoringSubscriptionCommand_1 = require("./commands/DeleteMonitori
|
|
|
29
30
|
const DeleteOriginRequestPolicyCommand_1 = require("./commands/DeleteOriginRequestPolicyCommand");
|
|
30
31
|
const DeletePublicKeyCommand_1 = require("./commands/DeletePublicKeyCommand");
|
|
31
32
|
const DeleteRealtimeLogConfigCommand_1 = require("./commands/DeleteRealtimeLogConfigCommand");
|
|
33
|
+
const DeleteResponseHeadersPolicyCommand_1 = require("./commands/DeleteResponseHeadersPolicyCommand");
|
|
32
34
|
const DeleteStreamingDistributionCommand_1 = require("./commands/DeleteStreamingDistributionCommand");
|
|
33
35
|
const DescribeFunctionCommand_1 = require("./commands/DescribeFunctionCommand");
|
|
34
36
|
const GetCachePolicyCommand_1 = require("./commands/GetCachePolicyCommand");
|
|
@@ -51,6 +53,8 @@ const GetOriginRequestPolicyConfigCommand_1 = require("./commands/GetOriginReque
|
|
|
51
53
|
const GetPublicKeyCommand_1 = require("./commands/GetPublicKeyCommand");
|
|
52
54
|
const GetPublicKeyConfigCommand_1 = require("./commands/GetPublicKeyConfigCommand");
|
|
53
55
|
const GetRealtimeLogConfigCommand_1 = require("./commands/GetRealtimeLogConfigCommand");
|
|
56
|
+
const GetResponseHeadersPolicyCommand_1 = require("./commands/GetResponseHeadersPolicyCommand");
|
|
57
|
+
const GetResponseHeadersPolicyConfigCommand_1 = require("./commands/GetResponseHeadersPolicyConfigCommand");
|
|
54
58
|
const GetStreamingDistributionCommand_1 = require("./commands/GetStreamingDistributionCommand");
|
|
55
59
|
const GetStreamingDistributionConfigCommand_1 = require("./commands/GetStreamingDistributionConfigCommand");
|
|
56
60
|
const ListCachePoliciesCommand_1 = require("./commands/ListCachePoliciesCommand");
|
|
@@ -60,6 +64,7 @@ const ListDistributionsByCachePolicyIdCommand_1 = require("./commands/ListDistri
|
|
|
60
64
|
const ListDistributionsByKeyGroupCommand_1 = require("./commands/ListDistributionsByKeyGroupCommand");
|
|
61
65
|
const ListDistributionsByOriginRequestPolicyIdCommand_1 = require("./commands/ListDistributionsByOriginRequestPolicyIdCommand");
|
|
62
66
|
const ListDistributionsByRealtimeLogConfigCommand_1 = require("./commands/ListDistributionsByRealtimeLogConfigCommand");
|
|
67
|
+
const ListDistributionsByResponseHeadersPolicyIdCommand_1 = require("./commands/ListDistributionsByResponseHeadersPolicyIdCommand");
|
|
63
68
|
const ListDistributionsByWebACLIdCommand_1 = require("./commands/ListDistributionsByWebACLIdCommand");
|
|
64
69
|
const ListDistributionsCommand_1 = require("./commands/ListDistributionsCommand");
|
|
65
70
|
const ListFieldLevelEncryptionConfigsCommand_1 = require("./commands/ListFieldLevelEncryptionConfigsCommand");
|
|
@@ -70,6 +75,7 @@ const ListKeyGroupsCommand_1 = require("./commands/ListKeyGroupsCommand");
|
|
|
70
75
|
const ListOriginRequestPoliciesCommand_1 = require("./commands/ListOriginRequestPoliciesCommand");
|
|
71
76
|
const ListPublicKeysCommand_1 = require("./commands/ListPublicKeysCommand");
|
|
72
77
|
const ListRealtimeLogConfigsCommand_1 = require("./commands/ListRealtimeLogConfigsCommand");
|
|
78
|
+
const ListResponseHeadersPoliciesCommand_1 = require("./commands/ListResponseHeadersPoliciesCommand");
|
|
73
79
|
const ListStreamingDistributionsCommand_1 = require("./commands/ListStreamingDistributionsCommand");
|
|
74
80
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
75
81
|
const PublishFunctionCommand_1 = require("./commands/PublishFunctionCommand");
|
|
@@ -86,6 +92,7 @@ const UpdateKeyGroupCommand_1 = require("./commands/UpdateKeyGroupCommand");
|
|
|
86
92
|
const UpdateOriginRequestPolicyCommand_1 = require("./commands/UpdateOriginRequestPolicyCommand");
|
|
87
93
|
const UpdatePublicKeyCommand_1 = require("./commands/UpdatePublicKeyCommand");
|
|
88
94
|
const UpdateRealtimeLogConfigCommand_1 = require("./commands/UpdateRealtimeLogConfigCommand");
|
|
95
|
+
const UpdateResponseHeadersPolicyCommand_1 = require("./commands/UpdateResponseHeadersPolicyCommand");
|
|
89
96
|
const UpdateStreamingDistributionCommand_1 = require("./commands/UpdateStreamingDistributionCommand");
|
|
90
97
|
class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
91
98
|
associateAlias(args, optionsOrCb, cb) {
|
|
@@ -284,6 +291,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
284
291
|
return this.send(command, optionsOrCb);
|
|
285
292
|
}
|
|
286
293
|
}
|
|
294
|
+
createResponseHeadersPolicy(args, optionsOrCb, cb) {
|
|
295
|
+
const command = new CreateResponseHeadersPolicyCommand_1.CreateResponseHeadersPolicyCommand(args);
|
|
296
|
+
if (typeof optionsOrCb === "function") {
|
|
297
|
+
this.send(command, optionsOrCb);
|
|
298
|
+
}
|
|
299
|
+
else if (typeof cb === "function") {
|
|
300
|
+
if (typeof optionsOrCb !== "object")
|
|
301
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
303
|
+
}
|
|
304
|
+
else {
|
|
305
|
+
return this.send(command, optionsOrCb);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
287
308
|
createStreamingDistribution(args, optionsOrCb, cb) {
|
|
288
309
|
const command = new CreateStreamingDistributionCommand_1.CreateStreamingDistributionCommand(args);
|
|
289
310
|
if (typeof optionsOrCb === "function") {
|
|
@@ -466,6 +487,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
466
487
|
return this.send(command, optionsOrCb);
|
|
467
488
|
}
|
|
468
489
|
}
|
|
490
|
+
deleteResponseHeadersPolicy(args, optionsOrCb, cb) {
|
|
491
|
+
const command = new DeleteResponseHeadersPolicyCommand_1.DeleteResponseHeadersPolicyCommand(args);
|
|
492
|
+
if (typeof optionsOrCb === "function") {
|
|
493
|
+
this.send(command, optionsOrCb);
|
|
494
|
+
}
|
|
495
|
+
else if (typeof cb === "function") {
|
|
496
|
+
if (typeof optionsOrCb !== "object")
|
|
497
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
498
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
return this.send(command, optionsOrCb);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
469
504
|
deleteStreamingDistribution(args, optionsOrCb, cb) {
|
|
470
505
|
const command = new DeleteStreamingDistributionCommand_1.DeleteStreamingDistributionCommand(args);
|
|
471
506
|
if (typeof optionsOrCb === "function") {
|
|
@@ -774,6 +809,34 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
774
809
|
return this.send(command, optionsOrCb);
|
|
775
810
|
}
|
|
776
811
|
}
|
|
812
|
+
getResponseHeadersPolicy(args, optionsOrCb, cb) {
|
|
813
|
+
const command = new GetResponseHeadersPolicyCommand_1.GetResponseHeadersPolicyCommand(args);
|
|
814
|
+
if (typeof optionsOrCb === "function") {
|
|
815
|
+
this.send(command, optionsOrCb);
|
|
816
|
+
}
|
|
817
|
+
else if (typeof cb === "function") {
|
|
818
|
+
if (typeof optionsOrCb !== "object")
|
|
819
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
820
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
821
|
+
}
|
|
822
|
+
else {
|
|
823
|
+
return this.send(command, optionsOrCb);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
getResponseHeadersPolicyConfig(args, optionsOrCb, cb) {
|
|
827
|
+
const command = new GetResponseHeadersPolicyConfigCommand_1.GetResponseHeadersPolicyConfigCommand(args);
|
|
828
|
+
if (typeof optionsOrCb === "function") {
|
|
829
|
+
this.send(command, optionsOrCb);
|
|
830
|
+
}
|
|
831
|
+
else if (typeof cb === "function") {
|
|
832
|
+
if (typeof optionsOrCb !== "object")
|
|
833
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
834
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
835
|
+
}
|
|
836
|
+
else {
|
|
837
|
+
return this.send(command, optionsOrCb);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
777
840
|
getStreamingDistribution(args, optionsOrCb, cb) {
|
|
778
841
|
const command = new GetStreamingDistributionCommand_1.GetStreamingDistributionCommand(args);
|
|
779
842
|
if (typeof optionsOrCb === "function") {
|
|
@@ -914,6 +977,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
914
977
|
return this.send(command, optionsOrCb);
|
|
915
978
|
}
|
|
916
979
|
}
|
|
980
|
+
listDistributionsByResponseHeadersPolicyId(args, optionsOrCb, cb) {
|
|
981
|
+
const command = new ListDistributionsByResponseHeadersPolicyIdCommand_1.ListDistributionsByResponseHeadersPolicyIdCommand(args);
|
|
982
|
+
if (typeof optionsOrCb === "function") {
|
|
983
|
+
this.send(command, optionsOrCb);
|
|
984
|
+
}
|
|
985
|
+
else if (typeof cb === "function") {
|
|
986
|
+
if (typeof optionsOrCb !== "object")
|
|
987
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
988
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
989
|
+
}
|
|
990
|
+
else {
|
|
991
|
+
return this.send(command, optionsOrCb);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
917
994
|
listDistributionsByWebACLId(args, optionsOrCb, cb) {
|
|
918
995
|
const command = new ListDistributionsByWebACLIdCommand_1.ListDistributionsByWebACLIdCommand(args);
|
|
919
996
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1040,6 +1117,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
1040
1117
|
return this.send(command, optionsOrCb);
|
|
1041
1118
|
}
|
|
1042
1119
|
}
|
|
1120
|
+
listResponseHeadersPolicies(args, optionsOrCb, cb) {
|
|
1121
|
+
const command = new ListResponseHeadersPoliciesCommand_1.ListResponseHeadersPoliciesCommand(args);
|
|
1122
|
+
if (typeof optionsOrCb === "function") {
|
|
1123
|
+
this.send(command, optionsOrCb);
|
|
1124
|
+
}
|
|
1125
|
+
else if (typeof cb === "function") {
|
|
1126
|
+
if (typeof optionsOrCb !== "object")
|
|
1127
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1128
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1129
|
+
}
|
|
1130
|
+
else {
|
|
1131
|
+
return this.send(command, optionsOrCb);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1043
1134
|
listStreamingDistributions(args, optionsOrCb, cb) {
|
|
1044
1135
|
const command = new ListStreamingDistributionsCommand_1.ListStreamingDistributionsCommand(args);
|
|
1045
1136
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1264,6 +1355,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
|
|
|
1264
1355
|
return this.send(command, optionsOrCb);
|
|
1265
1356
|
}
|
|
1266
1357
|
}
|
|
1358
|
+
updateResponseHeadersPolicy(args, optionsOrCb, cb) {
|
|
1359
|
+
const command = new UpdateResponseHeadersPolicyCommand_1.UpdateResponseHeadersPolicyCommand(args);
|
|
1360
|
+
if (typeof optionsOrCb === "function") {
|
|
1361
|
+
this.send(command, optionsOrCb);
|
|
1362
|
+
}
|
|
1363
|
+
else if (typeof cb === "function") {
|
|
1364
|
+
if (typeof optionsOrCb !== "object")
|
|
1365
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1366
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1367
|
+
}
|
|
1368
|
+
else {
|
|
1369
|
+
return this.send(command, optionsOrCb);
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1267
1372
|
updateStreamingDistribution(args, optionsOrCb, cb) {
|
|
1268
1373
|
const command = new UpdateStreamingDistributionCommand_1.UpdateStreamingDistributionCommand(args);
|
|
1269
1374
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateResponseHeadersPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class CreateResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "CreateResponseHeadersPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateResponseHeadersPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateResponseHeadersPolicyResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlCreateResponseHeadersPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlCreateResponseHeadersPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateResponseHeadersPolicyCommand = CreateResponseHeadersPolicyCommand;
|
|
@@ -4,6 +4,7 @@ exports.DeleteMonitoringSubscriptionCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
7
8
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
9
|
class DeleteMonitoringSubscriptionCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class DeleteMonitoringSubscriptionCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_0_1.DeleteMonitoringSubscriptionRequest.filterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_1_1.DeleteMonitoringSubscriptionResult.filterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteOriginRequestPolicyCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class DeleteOriginRequestPolicyCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class DeleteOriginRequestPolicyCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteOriginRequestPolicyRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeletePublicKeyCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class DeletePublicKeyCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class DeletePublicKeyCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeletePublicKeyRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteRealtimeLogConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class DeleteRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class DeleteRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteRealtimeLogConfigRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteResponseHeadersPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class DeleteResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "DeleteResponseHeadersPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteResponseHeadersPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlDeleteResponseHeadersPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlDeleteResponseHeadersPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteResponseHeadersPolicyCommand = DeleteResponseHeadersPolicyCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteStreamingDistributionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class DeleteStreamingDistributionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class DeleteStreamingDistributionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteStreamingDistributionRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeFunctionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class DescribeFunctionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class DescribeFunctionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DescribeFunctionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.DescribeFunctionResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetCachePolicyCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetCachePolicyCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetCachePolicyCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetCachePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetCachePolicyResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetCachePolicyConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetCachePolicyConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetCachePolicyConfigCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetCachePolicyConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetCachePolicyConfigResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetCloudFrontOriginAccessIdentityCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetCloudFrontOriginAccessIdentityRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetCloudFrontOriginAccessIdentityResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetCloudFrontOriginAccessIdentityConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetCloudFrontOriginAccessIdentityConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetCloudFrontOriginAccessIdentityConfigCommand extends smithy_client_1.Com
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetCloudFrontOriginAccessIdentityConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetCloudFrontOriginAccessIdentityConfigResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetDistributionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetDistributionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetDistributionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetDistributionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetDistributionResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetDistributionConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetDistributionConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetDistributionConfigCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetDistributionConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetDistributionConfigResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetFieldLevelEncryptionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
8
|
class GetFieldLevelEncryptionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class GetFieldLevelEncryptionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetFieldLevelEncryptionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetFieldLevelEncryptionResult.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResponseHeadersPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class GetResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "GetResponseHeadersPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetResponseHeadersPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetResponseHeadersPolicyResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlGetResponseHeadersPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlGetResponseHeadersPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetResponseHeadersPolicyCommand = GetResponseHeadersPolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResponseHeadersPolicyConfigCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class GetResponseHeadersPolicyConfigCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "GetResponseHeadersPolicyConfigCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.GetResponseHeadersPolicyConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.GetResponseHeadersPolicyConfigResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlGetResponseHeadersPolicyConfigCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlGetResponseHeadersPolicyConfigCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetResponseHeadersPolicyConfigCommand = GetResponseHeadersPolicyConfigCommand;
|