@aws-sdk/client-cloudfront 3.213.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 +1 -1
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudFrontClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontClient";
14
+ import {
15
+ GetContinuousDeploymentPolicyRequest,
16
+ GetContinuousDeploymentPolicyResult,
17
+ } from "../models/models_1";
18
+ export interface GetContinuousDeploymentPolicyCommandInput
19
+ extends GetContinuousDeploymentPolicyRequest {}
20
+ export interface GetContinuousDeploymentPolicyCommandOutput
21
+ extends GetContinuousDeploymentPolicyResult,
22
+ __MetadataBearer {}
23
+ export declare class GetContinuousDeploymentPolicyCommand extends $Command<
24
+ GetContinuousDeploymentPolicyCommandInput,
25
+ GetContinuousDeploymentPolicyCommandOutput,
26
+ CloudFrontClientResolvedConfig
27
+ > {
28
+ readonly input: GetContinuousDeploymentPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetContinuousDeploymentPolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudFrontClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetContinuousDeploymentPolicyCommandInput,
37
+ GetContinuousDeploymentPolicyCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudFrontClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontClient";
14
+ import {
15
+ GetContinuousDeploymentPolicyConfigRequest,
16
+ GetContinuousDeploymentPolicyConfigResult,
17
+ } from "../models/models_1";
18
+ export interface GetContinuousDeploymentPolicyConfigCommandInput
19
+ extends GetContinuousDeploymentPolicyConfigRequest {}
20
+ export interface GetContinuousDeploymentPolicyConfigCommandOutput
21
+ extends GetContinuousDeploymentPolicyConfigResult,
22
+ __MetadataBearer {}
23
+ export declare class GetContinuousDeploymentPolicyConfigCommand extends $Command<
24
+ GetContinuousDeploymentPolicyConfigCommandInput,
25
+ GetContinuousDeploymentPolicyConfigCommandOutput,
26
+ CloudFrontClientResolvedConfig
27
+ > {
28
+ readonly input: GetContinuousDeploymentPolicyConfigCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetContinuousDeploymentPolicyConfigCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudFrontClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetContinuousDeploymentPolicyConfigCommandInput,
37
+ GetContinuousDeploymentPolicyConfigCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudFrontClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontClient";
14
+ import {
15
+ ListContinuousDeploymentPoliciesRequest,
16
+ ListContinuousDeploymentPoliciesResult,
17
+ } from "../models/models_1";
18
+ export interface ListContinuousDeploymentPoliciesCommandInput
19
+ extends ListContinuousDeploymentPoliciesRequest {}
20
+ export interface ListContinuousDeploymentPoliciesCommandOutput
21
+ extends ListContinuousDeploymentPoliciesResult,
22
+ __MetadataBearer {}
23
+ export declare class ListContinuousDeploymentPoliciesCommand extends $Command<
24
+ ListContinuousDeploymentPoliciesCommandInput,
25
+ ListContinuousDeploymentPoliciesCommandOutput,
26
+ CloudFrontClientResolvedConfig
27
+ > {
28
+ readonly input: ListContinuousDeploymentPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListContinuousDeploymentPoliciesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudFrontClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListContinuousDeploymentPoliciesCommandInput,
37
+ ListContinuousDeploymentPoliciesCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudFrontClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontClient";
14
+ import {
15
+ UpdateContinuousDeploymentPolicyRequest,
16
+ UpdateContinuousDeploymentPolicyResult,
17
+ } from "../models/models_1";
18
+ export interface UpdateContinuousDeploymentPolicyCommandInput
19
+ extends UpdateContinuousDeploymentPolicyRequest {}
20
+ export interface UpdateContinuousDeploymentPolicyCommandOutput
21
+ extends UpdateContinuousDeploymentPolicyResult,
22
+ __MetadataBearer {}
23
+ export declare class UpdateContinuousDeploymentPolicyCommand extends $Command<
24
+ UpdateContinuousDeploymentPolicyCommandInput,
25
+ UpdateContinuousDeploymentPolicyCommandOutput,
26
+ CloudFrontClientResolvedConfig
27
+ > {
28
+ readonly input: UpdateContinuousDeploymentPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateContinuousDeploymentPolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudFrontClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ UpdateContinuousDeploymentPolicyCommandInput,
37
+ UpdateContinuousDeploymentPolicyCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,6 +1,8 @@
1
1
  export * from "./AssociateAliasCommand";
2
+ export * from "./CopyDistributionCommand";
2
3
  export * from "./CreateCachePolicyCommand";
3
4
  export * from "./CreateCloudFrontOriginAccessIdentityCommand";
5
+ export * from "./CreateContinuousDeploymentPolicyCommand";
4
6
  export * from "./CreateDistributionCommand";
5
7
  export * from "./CreateDistributionWithTagsCommand";
6
8
  export * from "./CreateFieldLevelEncryptionConfigCommand";
@@ -18,6 +20,7 @@ export * from "./CreateStreamingDistributionCommand";
18
20
  export * from "./CreateStreamingDistributionWithTagsCommand";
19
21
  export * from "./DeleteCachePolicyCommand";
20
22
  export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
23
+ export * from "./DeleteContinuousDeploymentPolicyCommand";
21
24
  export * from "./DeleteDistributionCommand";
22
25
  export * from "./DeleteFieldLevelEncryptionConfigCommand";
23
26
  export * from "./DeleteFieldLevelEncryptionProfileCommand";
@@ -35,6 +38,8 @@ export * from "./GetCachePolicyCommand";
35
38
  export * from "./GetCachePolicyConfigCommand";
36
39
  export * from "./GetCloudFrontOriginAccessIdentityCommand";
37
40
  export * from "./GetCloudFrontOriginAccessIdentityConfigCommand";
41
+ export * from "./GetContinuousDeploymentPolicyCommand";
42
+ export * from "./GetContinuousDeploymentPolicyConfigCommand";
38
43
  export * from "./GetDistributionCommand";
39
44
  export * from "./GetDistributionConfigCommand";
40
45
  export * from "./GetFieldLevelEncryptionCommand";
@@ -60,6 +65,7 @@ export * from "./GetStreamingDistributionConfigCommand";
60
65
  export * from "./ListCachePoliciesCommand";
61
66
  export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
62
67
  export * from "./ListConflictingAliasesCommand";
68
+ export * from "./ListContinuousDeploymentPoliciesCommand";
63
69
  export * from "./ListDistributionsByCachePolicyIdCommand";
64
70
  export * from "./ListDistributionsByKeyGroupCommand";
65
71
  export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
@@ -85,6 +91,7 @@ export * from "./TestFunctionCommand";
85
91
  export * from "./UntagResourceCommand";
86
92
  export * from "./UpdateCachePolicyCommand";
87
93
  export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
94
+ export * from "./UpdateContinuousDeploymentPolicyCommand";
88
95
  export * from "./UpdateDistributionCommand";
89
96
  export * from "./UpdateFieldLevelEncryptionConfigCommand";
90
97
  export * from "./UpdateFieldLevelEncryptionProfileCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;