@aws-sdk/client-cloudfront 3.212.0 → 3.214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist-cjs/CloudFront.js +105 -0
  2. package/dist-cjs/commands/CopyDistributionCommand.js +46 -0
  3. package/dist-cjs/commands/CreateContinuousDeploymentPolicyCommand.js +46 -0
  4. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteCachePolicyCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteContinuousDeploymentPolicyCommand.js +46 -0
  8. package/dist-cjs/commands/GetContinuousDeploymentPolicyCommand.js +46 -0
  9. package/dist-cjs/commands/GetContinuousDeploymentPolicyConfigCommand.js +46 -0
  10. package/dist-cjs/commands/ListContinuousDeploymentPoliciesCommand.js +46 -0
  11. package/dist-cjs/commands/UpdateContinuousDeploymentPolicyCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +7 -0
  13. package/dist-cjs/endpoint/ruleset.js +11 -11
  14. package/dist-cjs/models/models_0.js +405 -297
  15. package/dist-cjs/models/models_1.js +146 -4
  16. package/dist-cjs/protocols/Aws_restXml.js +895 -16
  17. package/dist-es/CloudFront.js +105 -0
  18. package/dist-es/commands/CopyDistributionCommand.js +42 -0
  19. package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +42 -0
  20. package/dist-es/commands/CreateStreamingDistributionCommand.js +1 -1
  21. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +1 -1
  22. package/dist-es/commands/DeleteCachePolicyCommand.js +1 -1
  23. package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +42 -0
  24. package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +42 -0
  25. package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +42 -0
  26. package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +42 -0
  27. package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +42 -0
  28. package/dist-es/commands/index.js +7 -0
  29. package/dist-es/endpoint/ruleset.js +11 -11
  30. package/dist-es/models/models_0.js +366 -257
  31. package/dist-es/models/models_1.js +117 -0
  32. package/dist-es/protocols/Aws_restXml.js +876 -12
  33. package/dist-types/CloudFront.d.ts +114 -76
  34. package/dist-types/CloudFrontClient.d.ts +9 -2
  35. package/dist-types/commands/CopyDistributionCommand.d.ts +43 -0
  36. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +46 -0
  37. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -13
  38. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +40 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +38 -0
  43. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +37 -0
  44. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +42 -0
  45. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +57 -0
  46. package/dist-types/commands/UpdateDistributionCommand.d.ts +20 -63
  47. package/dist-types/commands/index.d.ts +7 -0
  48. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  49. package/dist-types/models/models_0.d.ts +824 -784
  50. package/dist-types/models/models_1.d.ts +458 -2
  51. package/dist-types/protocols/Aws_restXml.d.ts +21 -0
  52. package/dist-types/ts3.4/CloudFront.d.ts +125 -0
  53. package/dist-types/ts3.4/CloudFrontClient.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/CopyDistributionCommand.d.ts +37 -0
  55. package/dist-types/ts3.4/commands/CreateContinuousDeploymentPolicyCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +37 -0
  60. package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyCommand.d.ts +41 -0
  61. package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +41 -0
  62. package/dist-types/ts3.4/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
  63. package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +41 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  65. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  66. package/dist-types/ts3.4/models/models_0.d.ts +376 -338
  67. package/dist-types/ts3.4/models/models_1.d.ts +196 -4
  68. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +84 -0
  69. package/package.json +2 -2
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CloudFront = void 0;
4
4
  const CloudFrontClient_1 = require("./CloudFrontClient");
5
5
  const AssociateAliasCommand_1 = require("./commands/AssociateAliasCommand");
6
+ const CopyDistributionCommand_1 = require("./commands/CopyDistributionCommand");
6
7
  const CreateCachePolicyCommand_1 = require("./commands/CreateCachePolicyCommand");
7
8
  const CreateCloudFrontOriginAccessIdentityCommand_1 = require("./commands/CreateCloudFrontOriginAccessIdentityCommand");
9
+ const CreateContinuousDeploymentPolicyCommand_1 = require("./commands/CreateContinuousDeploymentPolicyCommand");
8
10
  const CreateDistributionCommand_1 = require("./commands/CreateDistributionCommand");
9
11
  const CreateDistributionWithTagsCommand_1 = require("./commands/CreateDistributionWithTagsCommand");
10
12
  const CreateFieldLevelEncryptionConfigCommand_1 = require("./commands/CreateFieldLevelEncryptionConfigCommand");
@@ -22,6 +24,7 @@ const CreateStreamingDistributionCommand_1 = require("./commands/CreateStreaming
22
24
  const CreateStreamingDistributionWithTagsCommand_1 = require("./commands/CreateStreamingDistributionWithTagsCommand");
23
25
  const DeleteCachePolicyCommand_1 = require("./commands/DeleteCachePolicyCommand");
24
26
  const DeleteCloudFrontOriginAccessIdentityCommand_1 = require("./commands/DeleteCloudFrontOriginAccessIdentityCommand");
27
+ const DeleteContinuousDeploymentPolicyCommand_1 = require("./commands/DeleteContinuousDeploymentPolicyCommand");
25
28
  const DeleteDistributionCommand_1 = require("./commands/DeleteDistributionCommand");
26
29
  const DeleteFieldLevelEncryptionConfigCommand_1 = require("./commands/DeleteFieldLevelEncryptionConfigCommand");
27
30
  const DeleteFieldLevelEncryptionProfileCommand_1 = require("./commands/DeleteFieldLevelEncryptionProfileCommand");
@@ -39,6 +42,8 @@ const GetCachePolicyCommand_1 = require("./commands/GetCachePolicyCommand");
39
42
  const GetCachePolicyConfigCommand_1 = require("./commands/GetCachePolicyConfigCommand");
40
43
  const GetCloudFrontOriginAccessIdentityCommand_1 = require("./commands/GetCloudFrontOriginAccessIdentityCommand");
41
44
  const GetCloudFrontOriginAccessIdentityConfigCommand_1 = require("./commands/GetCloudFrontOriginAccessIdentityConfigCommand");
45
+ const GetContinuousDeploymentPolicyCommand_1 = require("./commands/GetContinuousDeploymentPolicyCommand");
46
+ const GetContinuousDeploymentPolicyConfigCommand_1 = require("./commands/GetContinuousDeploymentPolicyConfigCommand");
42
47
  const GetDistributionCommand_1 = require("./commands/GetDistributionCommand");
43
48
  const GetDistributionConfigCommand_1 = require("./commands/GetDistributionConfigCommand");
44
49
  const GetFieldLevelEncryptionCommand_1 = require("./commands/GetFieldLevelEncryptionCommand");
@@ -64,6 +69,7 @@ const GetStreamingDistributionConfigCommand_1 = require("./commands/GetStreaming
64
69
  const ListCachePoliciesCommand_1 = require("./commands/ListCachePoliciesCommand");
65
70
  const ListCloudFrontOriginAccessIdentitiesCommand_1 = require("./commands/ListCloudFrontOriginAccessIdentitiesCommand");
66
71
  const ListConflictingAliasesCommand_1 = require("./commands/ListConflictingAliasesCommand");
72
+ const ListContinuousDeploymentPoliciesCommand_1 = require("./commands/ListContinuousDeploymentPoliciesCommand");
67
73
  const ListDistributionsByCachePolicyIdCommand_1 = require("./commands/ListDistributionsByCachePolicyIdCommand");
68
74
  const ListDistributionsByKeyGroupCommand_1 = require("./commands/ListDistributionsByKeyGroupCommand");
69
75
  const ListDistributionsByOriginRequestPolicyIdCommand_1 = require("./commands/ListDistributionsByOriginRequestPolicyIdCommand");
@@ -89,6 +95,7 @@ const TestFunctionCommand_1 = require("./commands/TestFunctionCommand");
89
95
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
90
96
  const UpdateCachePolicyCommand_1 = require("./commands/UpdateCachePolicyCommand");
91
97
  const UpdateCloudFrontOriginAccessIdentityCommand_1 = require("./commands/UpdateCloudFrontOriginAccessIdentityCommand");
98
+ const UpdateContinuousDeploymentPolicyCommand_1 = require("./commands/UpdateContinuousDeploymentPolicyCommand");
92
99
  const UpdateDistributionCommand_1 = require("./commands/UpdateDistributionCommand");
93
100
  const UpdateFieldLevelEncryptionConfigCommand_1 = require("./commands/UpdateFieldLevelEncryptionConfigCommand");
94
101
  const UpdateFieldLevelEncryptionProfileCommand_1 = require("./commands/UpdateFieldLevelEncryptionProfileCommand");
@@ -115,6 +122,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
115
122
  return this.send(command, optionsOrCb);
116
123
  }
117
124
  }
125
+ copyDistribution(args, optionsOrCb, cb) {
126
+ const command = new CopyDistributionCommand_1.CopyDistributionCommand(args);
127
+ if (typeof optionsOrCb === "function") {
128
+ this.send(command, optionsOrCb);
129
+ }
130
+ else if (typeof cb === "function") {
131
+ if (typeof optionsOrCb !== "object")
132
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
133
+ this.send(command, optionsOrCb || {}, cb);
134
+ }
135
+ else {
136
+ return this.send(command, optionsOrCb);
137
+ }
138
+ }
118
139
  createCachePolicy(args, optionsOrCb, cb) {
119
140
  const command = new CreateCachePolicyCommand_1.CreateCachePolicyCommand(args);
120
141
  if (typeof optionsOrCb === "function") {
@@ -143,6 +164,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
143
164
  return this.send(command, optionsOrCb);
144
165
  }
145
166
  }
167
+ createContinuousDeploymentPolicy(args, optionsOrCb, cb) {
168
+ const command = new CreateContinuousDeploymentPolicyCommand_1.CreateContinuousDeploymentPolicyCommand(args);
169
+ if (typeof optionsOrCb === "function") {
170
+ this.send(command, optionsOrCb);
171
+ }
172
+ else if (typeof cb === "function") {
173
+ if (typeof optionsOrCb !== "object")
174
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
175
+ this.send(command, optionsOrCb || {}, cb);
176
+ }
177
+ else {
178
+ return this.send(command, optionsOrCb);
179
+ }
180
+ }
146
181
  createDistribution(args, optionsOrCb, cb) {
147
182
  const command = new CreateDistributionCommand_1.CreateDistributionCommand(args);
148
183
  if (typeof optionsOrCb === "function") {
@@ -381,6 +416,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
381
416
  return this.send(command, optionsOrCb);
382
417
  }
383
418
  }
419
+ deleteContinuousDeploymentPolicy(args, optionsOrCb, cb) {
420
+ const command = new DeleteContinuousDeploymentPolicyCommand_1.DeleteContinuousDeploymentPolicyCommand(args);
421
+ if (typeof optionsOrCb === "function") {
422
+ this.send(command, optionsOrCb);
423
+ }
424
+ else if (typeof cb === "function") {
425
+ if (typeof optionsOrCb !== "object")
426
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
427
+ this.send(command, optionsOrCb || {}, cb);
428
+ }
429
+ else {
430
+ return this.send(command, optionsOrCb);
431
+ }
432
+ }
384
433
  deleteDistribution(args, optionsOrCb, cb) {
385
434
  const command = new DeleteDistributionCommand_1.DeleteDistributionCommand(args);
386
435
  if (typeof optionsOrCb === "function") {
@@ -619,6 +668,34 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
619
668
  return this.send(command, optionsOrCb);
620
669
  }
621
670
  }
671
+ getContinuousDeploymentPolicy(args, optionsOrCb, cb) {
672
+ const command = new GetContinuousDeploymentPolicyCommand_1.GetContinuousDeploymentPolicyCommand(args);
673
+ if (typeof optionsOrCb === "function") {
674
+ this.send(command, optionsOrCb);
675
+ }
676
+ else if (typeof cb === "function") {
677
+ if (typeof optionsOrCb !== "object")
678
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
679
+ this.send(command, optionsOrCb || {}, cb);
680
+ }
681
+ else {
682
+ return this.send(command, optionsOrCb);
683
+ }
684
+ }
685
+ getContinuousDeploymentPolicyConfig(args, optionsOrCb, cb) {
686
+ const command = new GetContinuousDeploymentPolicyConfigCommand_1.GetContinuousDeploymentPolicyConfigCommand(args);
687
+ if (typeof optionsOrCb === "function") {
688
+ this.send(command, optionsOrCb);
689
+ }
690
+ else if (typeof cb === "function") {
691
+ if (typeof optionsOrCb !== "object")
692
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
693
+ this.send(command, optionsOrCb || {}, cb);
694
+ }
695
+ else {
696
+ return this.send(command, optionsOrCb);
697
+ }
698
+ }
622
699
  getDistribution(args, optionsOrCb, cb) {
623
700
  const command = new GetDistributionCommand_1.GetDistributionCommand(args);
624
701
  if (typeof optionsOrCb === "function") {
@@ -969,6 +1046,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
969
1046
  return this.send(command, optionsOrCb);
970
1047
  }
971
1048
  }
1049
+ listContinuousDeploymentPolicies(args, optionsOrCb, cb) {
1050
+ const command = new ListContinuousDeploymentPoliciesCommand_1.ListContinuousDeploymentPoliciesCommand(args);
1051
+ if (typeof optionsOrCb === "function") {
1052
+ this.send(command, optionsOrCb);
1053
+ }
1054
+ else if (typeof cb === "function") {
1055
+ if (typeof optionsOrCb !== "object")
1056
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1057
+ this.send(command, optionsOrCb || {}, cb);
1058
+ }
1059
+ else {
1060
+ return this.send(command, optionsOrCb);
1061
+ }
1062
+ }
972
1063
  listDistributions(args, optionsOrCb, cb) {
973
1064
  const command = new ListDistributionsCommand_1.ListDistributionsCommand(args);
974
1065
  if (typeof optionsOrCb === "function") {
@@ -1319,6 +1410,20 @@ class CloudFront extends CloudFrontClient_1.CloudFrontClient {
1319
1410
  return this.send(command, optionsOrCb);
1320
1411
  }
1321
1412
  }
1413
+ updateContinuousDeploymentPolicy(args, optionsOrCb, cb) {
1414
+ const command = new UpdateContinuousDeploymentPolicyCommand_1.UpdateContinuousDeploymentPolicyCommand(args);
1415
+ if (typeof optionsOrCb === "function") {
1416
+ this.send(command, optionsOrCb);
1417
+ }
1418
+ else if (typeof cb === "function") {
1419
+ if (typeof optionsOrCb !== "object")
1420
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1421
+ this.send(command, optionsOrCb || {}, cb);
1422
+ }
1423
+ else {
1424
+ return this.send(command, optionsOrCb);
1425
+ }
1426
+ }
1322
1427
  updateDistribution(args, optionsOrCb, cb) {
1323
1428
  const command = new UpdateDistributionCommand_1.UpdateDistributionCommand(args);
1324
1429
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CopyDistributionCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class CopyDistributionCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CopyDistributionCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "CopyDistributionCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CopyDistributionRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CopyDistributionResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlCopyDistributionCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlCopyDistributionCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CopyDistributionCommand = CopyDistributionCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateContinuousDeploymentPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class CreateContinuousDeploymentPolicyCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateContinuousDeploymentPolicyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "CreateContinuousDeploymentPolicyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateContinuousDeploymentPolicyRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateContinuousDeploymentPolicyResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlCreateContinuousDeploymentPolicyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlCreateContinuousDeploymentPolicyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateContinuousDeploymentPolicyCommand = CreateContinuousDeploymentPolicyCommand;
@@ -4,7 +4,7 @@ exports.CreateStreamingDistributionCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
9
  class CreateStreamingDistributionCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class CreateStreamingDistributionCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.CreateStreamingDistributionRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.CreateStreamingDistributionResultFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.CreateStreamingDistributionRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.CreateStreamingDistributionResultFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.CreateStreamingDistributionWithTagsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
9
  class CreateStreamingDistributionWithTagsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class CreateStreamingDistributionWithTagsCommand extends smithy_client_1.Command
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.CreateStreamingDistributionWithTagsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.CreateStreamingDistributionWithTagsResultFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.CreateStreamingDistributionWithTagsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.CreateStreamingDistributionWithTagsResultFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.DeleteCachePolicyCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
9
  class DeleteCachePolicyCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,7 +30,7 @@ class DeleteCachePolicyCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteCachePolicyRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.DeleteCachePolicyRequestFilterSensitiveLog,
34
34
  outputFilterSensitiveLog: (output) => output,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteContinuousDeploymentPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class DeleteContinuousDeploymentPolicyCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteContinuousDeploymentPolicyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "DeleteContinuousDeploymentPolicyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.DeleteContinuousDeploymentPolicyRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (output) => output,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlDeleteContinuousDeploymentPolicyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlDeleteContinuousDeploymentPolicyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteContinuousDeploymentPolicyCommand = DeleteContinuousDeploymentPolicyCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetContinuousDeploymentPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class GetContinuousDeploymentPolicyCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetContinuousDeploymentPolicyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "GetContinuousDeploymentPolicyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.GetContinuousDeploymentPolicyRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.GetContinuousDeploymentPolicyResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlGetContinuousDeploymentPolicyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlGetContinuousDeploymentPolicyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetContinuousDeploymentPolicyCommand = GetContinuousDeploymentPolicyCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetContinuousDeploymentPolicyConfigCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class GetContinuousDeploymentPolicyConfigCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetContinuousDeploymentPolicyConfigCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "GetContinuousDeploymentPolicyConfigCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.GetContinuousDeploymentPolicyConfigRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.GetContinuousDeploymentPolicyConfigResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlGetContinuousDeploymentPolicyConfigCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlGetContinuousDeploymentPolicyConfigCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetContinuousDeploymentPolicyConfigCommand = GetContinuousDeploymentPolicyConfigCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListContinuousDeploymentPoliciesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class ListContinuousDeploymentPoliciesCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListContinuousDeploymentPoliciesCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "ListContinuousDeploymentPoliciesCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.ListContinuousDeploymentPoliciesRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.ListContinuousDeploymentPoliciesResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlListContinuousDeploymentPoliciesCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlListContinuousDeploymentPoliciesCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListContinuousDeploymentPoliciesCommand = ListContinuousDeploymentPoliciesCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateContinuousDeploymentPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
+ class UpdateContinuousDeploymentPolicyCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateContinuousDeploymentPolicyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CloudFrontClient";
28
+ const commandName = "UpdateContinuousDeploymentPolicyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.UpdateContinuousDeploymentPolicyRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.UpdateContinuousDeploymentPolicyResultFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restXml_1.serializeAws_restXmlUpdateContinuousDeploymentPolicyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restXml_1.deserializeAws_restXmlUpdateContinuousDeploymentPolicyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateContinuousDeploymentPolicyCommand = UpdateContinuousDeploymentPolicyCommand;
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateAliasCommand"), exports);
5
+ tslib_1.__exportStar(require("./CopyDistributionCommand"), exports);
5
6
  tslib_1.__exportStar(require("./CreateCachePolicyCommand"), exports);
6
7
  tslib_1.__exportStar(require("./CreateCloudFrontOriginAccessIdentityCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateContinuousDeploymentPolicyCommand"), exports);
7
9
  tslib_1.__exportStar(require("./CreateDistributionCommand"), exports);
8
10
  tslib_1.__exportStar(require("./CreateDistributionWithTagsCommand"), exports);
9
11
  tslib_1.__exportStar(require("./CreateFieldLevelEncryptionConfigCommand"), exports);
@@ -21,6 +23,7 @@ tslib_1.__exportStar(require("./CreateStreamingDistributionCommand"), exports);
21
23
  tslib_1.__exportStar(require("./CreateStreamingDistributionWithTagsCommand"), exports);
22
24
  tslib_1.__exportStar(require("./DeleteCachePolicyCommand"), exports);
23
25
  tslib_1.__exportStar(require("./DeleteCloudFrontOriginAccessIdentityCommand"), exports);
26
+ tslib_1.__exportStar(require("./DeleteContinuousDeploymentPolicyCommand"), exports);
24
27
  tslib_1.__exportStar(require("./DeleteDistributionCommand"), exports);
25
28
  tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionConfigCommand"), exports);
26
29
  tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionProfileCommand"), exports);
@@ -38,6 +41,8 @@ tslib_1.__exportStar(require("./GetCachePolicyCommand"), exports);
38
41
  tslib_1.__exportStar(require("./GetCachePolicyConfigCommand"), exports);
39
42
  tslib_1.__exportStar(require("./GetCloudFrontOriginAccessIdentityCommand"), exports);
40
43
  tslib_1.__exportStar(require("./GetCloudFrontOriginAccessIdentityConfigCommand"), exports);
44
+ tslib_1.__exportStar(require("./GetContinuousDeploymentPolicyCommand"), exports);
45
+ tslib_1.__exportStar(require("./GetContinuousDeploymentPolicyConfigCommand"), exports);
41
46
  tslib_1.__exportStar(require("./GetDistributionCommand"), exports);
42
47
  tslib_1.__exportStar(require("./GetDistributionConfigCommand"), exports);
43
48
  tslib_1.__exportStar(require("./GetFieldLevelEncryptionCommand"), exports);
@@ -63,6 +68,7 @@ tslib_1.__exportStar(require("./GetStreamingDistributionConfigCommand"), exports
63
68
  tslib_1.__exportStar(require("./ListCachePoliciesCommand"), exports);
64
69
  tslib_1.__exportStar(require("./ListCloudFrontOriginAccessIdentitiesCommand"), exports);
65
70
  tslib_1.__exportStar(require("./ListConflictingAliasesCommand"), exports);
71
+ tslib_1.__exportStar(require("./ListContinuousDeploymentPoliciesCommand"), exports);
66
72
  tslib_1.__exportStar(require("./ListDistributionsByCachePolicyIdCommand"), exports);
67
73
  tslib_1.__exportStar(require("./ListDistributionsByKeyGroupCommand"), exports);
68
74
  tslib_1.__exportStar(require("./ListDistributionsByOriginRequestPolicyIdCommand"), exports);
@@ -88,6 +94,7 @@ tslib_1.__exportStar(require("./TestFunctionCommand"), exports);
88
94
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
89
95
  tslib_1.__exportStar(require("./UpdateCachePolicyCommand"), exports);
90
96
  tslib_1.__exportStar(require("./UpdateCloudFrontOriginAccessIdentityCommand"), exports);
97
+ tslib_1.__exportStar(require("./UpdateContinuousDeploymentPolicyCommand"), exports);
91
98
  tslib_1.__exportStar(require("./UpdateDistributionCommand"), exports);
92
99
  tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionConfigCommand"), exports);
93
100
  tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionProfileCommand"), exports);