@aws-sdk/client-cloudfront 3.213.0 → 3.215.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/dist-cjs/CloudFront.js +105 -0
- package/dist-cjs/commands/CopyDistributionCommand.js +46 -0
- package/dist-cjs/commands/CreateContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetContinuousDeploymentPolicyConfigCommand.js +46 -0
- package/dist-cjs/commands/ListContinuousDeploymentPoliciesCommand.js +46 -0
- package/dist-cjs/commands/UpdateContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/ruleset.js +11 -11
- package/dist-cjs/models/models_0.js +405 -297
- package/dist-cjs/models/models_1.js +146 -4
- package/dist-cjs/protocols/Aws_restXml.js +895 -16
- package/dist-es/CloudFront.js +105 -0
- package/dist-es/commands/CopyDistributionCommand.js +42 -0
- package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/CreateStreamingDistributionCommand.js +1 -1
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +1 -1
- package/dist-es/commands/DeleteCachePolicyCommand.js +1 -1
- package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +42 -0
- package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +42 -0
- package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/ruleset.js +11 -11
- package/dist-es/models/models_0.js +366 -257
- package/dist-es/models/models_1.js +117 -0
- package/dist-es/protocols/Aws_restXml.js +876 -12
- package/dist-types/CloudFront.d.ts +114 -76
- package/dist-types/CloudFrontClient.d.ts +9 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +43 -0
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +46 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +1 -13
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +40 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +38 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +37 -0
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +57 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +20 -63
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +824 -784
- package/dist-types/models/models_1.d.ts +458 -2
- package/dist-types/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CloudFront.d.ts +125 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CopyDistributionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +376 -338
- package/dist-types/ts3.4/models/models_1.d.ts +196 -4
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +29 -29
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { CloudFrontClient } from "./CloudFrontClient";
|
|
3
3
|
import { AssociateAliasCommandInput, AssociateAliasCommandOutput } from "./commands/AssociateAliasCommand";
|
|
4
|
+
import { CopyDistributionCommandInput, CopyDistributionCommandOutput } from "./commands/CopyDistributionCommand";
|
|
4
5
|
import { CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput } from "./commands/CreateCachePolicyCommand";
|
|
5
6
|
import { CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/CreateCloudFrontOriginAccessIdentityCommand";
|
|
7
|
+
import { CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput } from "./commands/CreateContinuousDeploymentPolicyCommand";
|
|
6
8
|
import { CreateDistributionCommandInput, CreateDistributionCommandOutput } from "./commands/CreateDistributionCommand";
|
|
7
9
|
import { CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput } from "./commands/CreateDistributionWithTagsCommand";
|
|
8
10
|
import { CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput } from "./commands/CreateFieldLevelEncryptionConfigCommand";
|
|
@@ -20,6 +22,7 @@ import { CreateStreamingDistributionCommandInput, CreateStreamingDistributionCom
|
|
|
20
22
|
import { CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput } from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
21
23
|
import { DeleteCachePolicyCommandInput, DeleteCachePolicyCommandOutput } from "./commands/DeleteCachePolicyCommand";
|
|
22
24
|
import { DeleteCloudFrontOriginAccessIdentityCommandInput, DeleteCloudFrontOriginAccessIdentityCommandOutput } from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
|
|
25
|
+
import { DeleteContinuousDeploymentPolicyCommandInput, DeleteContinuousDeploymentPolicyCommandOutput } from "./commands/DeleteContinuousDeploymentPolicyCommand";
|
|
23
26
|
import { DeleteDistributionCommandInput, DeleteDistributionCommandOutput } from "./commands/DeleteDistributionCommand";
|
|
24
27
|
import { DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptionConfigCommandOutput } from "./commands/DeleteFieldLevelEncryptionConfigCommand";
|
|
25
28
|
import { DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput } from "./commands/DeleteFieldLevelEncryptionProfileCommand";
|
|
@@ -37,6 +40,8 @@ import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./comma
|
|
|
37
40
|
import { GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput } from "./commands/GetCachePolicyConfigCommand";
|
|
38
41
|
import { GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
|
|
39
42
|
import { GetCloudFrontOriginAccessIdentityConfigCommandInput, GetCloudFrontOriginAccessIdentityConfigCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityConfigCommand";
|
|
43
|
+
import { GetContinuousDeploymentPolicyCommandInput, GetContinuousDeploymentPolicyCommandOutput } from "./commands/GetContinuousDeploymentPolicyCommand";
|
|
44
|
+
import { GetContinuousDeploymentPolicyConfigCommandInput, GetContinuousDeploymentPolicyConfigCommandOutput } from "./commands/GetContinuousDeploymentPolicyConfigCommand";
|
|
40
45
|
import { GetDistributionCommandInput, GetDistributionCommandOutput } from "./commands/GetDistributionCommand";
|
|
41
46
|
import { GetDistributionConfigCommandInput, GetDistributionConfigCommandOutput } from "./commands/GetDistributionConfigCommand";
|
|
42
47
|
import { GetFieldLevelEncryptionCommandInput, GetFieldLevelEncryptionCommandOutput } from "./commands/GetFieldLevelEncryptionCommand";
|
|
@@ -62,6 +67,7 @@ import { GetStreamingDistributionConfigCommandInput, GetStreamingDistributionCon
|
|
|
62
67
|
import { ListCachePoliciesCommandInput, ListCachePoliciesCommandOutput } from "./commands/ListCachePoliciesCommand";
|
|
63
68
|
import { ListCloudFrontOriginAccessIdentitiesCommandInput, ListCloudFrontOriginAccessIdentitiesCommandOutput } from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
|
|
64
69
|
import { ListConflictingAliasesCommandInput, ListConflictingAliasesCommandOutput } from "./commands/ListConflictingAliasesCommand";
|
|
70
|
+
import { ListContinuousDeploymentPoliciesCommandInput, ListContinuousDeploymentPoliciesCommandOutput } from "./commands/ListContinuousDeploymentPoliciesCommand";
|
|
65
71
|
import { ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCachePolicyIdCommandOutput } from "./commands/ListDistributionsByCachePolicyIdCommand";
|
|
66
72
|
import { ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput } from "./commands/ListDistributionsByKeyGroupCommand";
|
|
67
73
|
import { ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
@@ -87,6 +93,7 @@ import { TestFunctionCommandInput, TestFunctionCommandOutput } from "./commands/
|
|
|
87
93
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
88
94
|
import { UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput } from "./commands/UpdateCachePolicyCommand";
|
|
89
95
|
import { UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
96
|
+
import { UpdateContinuousDeploymentPolicyCommandInput, UpdateContinuousDeploymentPolicyCommandOutput } from "./commands/UpdateContinuousDeploymentPolicyCommand";
|
|
90
97
|
import { UpdateDistributionCommandInput, UpdateDistributionCommandOutput } from "./commands/UpdateDistributionCommand";
|
|
91
98
|
import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput } from "./commands/UpdateFieldLevelEncryptionConfigCommand";
|
|
92
99
|
import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
|
|
@@ -121,6 +128,18 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
121
128
|
associateAlias(args: AssociateAliasCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAliasCommandOutput>;
|
|
122
129
|
associateAlias(args: AssociateAliasCommandInput, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
|
|
123
130
|
associateAlias(args: AssociateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* <p>Creates a staging distribution using the configuration of the provided primary distribution.
|
|
133
|
+
* A staging distribution is a copy of an existing distribution (called the primary
|
|
134
|
+
* distribution) that you can use in a continuous deployment workflow.</p>
|
|
135
|
+
* <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to
|
|
136
|
+
* modify the staging distribution’s configuration. Then you can use
|
|
137
|
+
* <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the
|
|
138
|
+
* staging distribution.</p>
|
|
139
|
+
*/
|
|
140
|
+
copyDistribution(args: CopyDistributionCommandInput, options?: __HttpHandlerOptions): Promise<CopyDistributionCommandOutput>;
|
|
141
|
+
copyDistribution(args: CopyDistributionCommandInput, cb: (err: any, data?: CopyDistributionCommandOutput) => void): void;
|
|
142
|
+
copyDistribution(args: CopyDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyDistributionCommandOutput) => void): void;
|
|
124
143
|
/**
|
|
125
144
|
* <p>Creates a cache policy.</p>
|
|
126
145
|
* <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
|
|
@@ -157,19 +176,22 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
157
176
|
createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
158
177
|
createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
159
178
|
/**
|
|
160
|
-
* <p>Creates a
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
179
|
+
* <p>Creates a continuous deployment policy that distributes traffic for a custom domain name to
|
|
180
|
+
* two different CloudFront distributions.</p>
|
|
181
|
+
* <p>To use a continuous deployment policy, first use
|
|
182
|
+
* <code>CopyDistribution</code> to create a staging distribution, then use
|
|
183
|
+
* <code>UpdateDistribution</code> to modify the staging distribution’s
|
|
184
|
+
* configuration.</p>
|
|
185
|
+
* <p>After you create and update a staging distribution, you can use a continuous deployment
|
|
186
|
+
* policy to incrementally move traffic to the staging distribution. This workflow enables
|
|
187
|
+
* you to test changes to a distribution’s configuration before moving all of your domain’s
|
|
188
|
+
* production traffic to the new configuration.</p>
|
|
189
|
+
*/
|
|
190
|
+
createContinuousDeploymentPolicy(args: CreateContinuousDeploymentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateContinuousDeploymentPolicyCommandOutput>;
|
|
191
|
+
createContinuousDeploymentPolicy(args: CreateContinuousDeploymentPolicyCommandInput, cb: (err: any, data?: CreateContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
192
|
+
createContinuousDeploymentPolicy(args: CreateContinuousDeploymentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
193
|
+
/**
|
|
194
|
+
* <p>Creates a CloudFront distribution.</p>
|
|
173
195
|
*/
|
|
174
196
|
createDistribution(args: CreateDistributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDistributionCommandOutput>;
|
|
175
197
|
createDistribution(args: CreateDistributionCommandInput, cb: (err: any, data?: CreateDistributionCommandOutput) => void): void;
|
|
@@ -340,6 +362,15 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
340
362
|
deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCloudFrontOriginAccessIdentityCommandOutput>;
|
|
341
363
|
deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
342
364
|
deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
365
|
+
/**
|
|
366
|
+
* <p>Deletes a continuous deployment policy.</p>
|
|
367
|
+
* <p>You cannot delete a continuous deployment policy that’s attached to a primary
|
|
368
|
+
* distribution. First update your distribution to remove the continuous deployment policy,
|
|
369
|
+
* then you can delete the policy.</p>
|
|
370
|
+
*/
|
|
371
|
+
deleteContinuousDeploymentPolicy(args: DeleteContinuousDeploymentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContinuousDeploymentPolicyCommandOutput>;
|
|
372
|
+
deleteContinuousDeploymentPolicy(args: DeleteContinuousDeploymentPolicyCommandInput, cb: (err: any, data?: DeleteContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
373
|
+
deleteContinuousDeploymentPolicy(args: DeleteContinuousDeploymentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
343
374
|
/**
|
|
344
375
|
* <p>Delete a distribution. </p>
|
|
345
376
|
*/
|
|
@@ -544,6 +575,19 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
544
575
|
getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCloudFrontOriginAccessIdentityConfigCommandOutput>;
|
|
545
576
|
getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void): void;
|
|
546
577
|
getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void): void;
|
|
578
|
+
/**
|
|
579
|
+
* <p>Gets a continuous deployment policy, including metadata (the policy’s identifier and
|
|
580
|
+
* the date and time when the policy was last modified).</p>
|
|
581
|
+
*/
|
|
582
|
+
getContinuousDeploymentPolicy(args: GetContinuousDeploymentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetContinuousDeploymentPolicyCommandOutput>;
|
|
583
|
+
getContinuousDeploymentPolicy(args: GetContinuousDeploymentPolicyCommandInput, cb: (err: any, data?: GetContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
584
|
+
getContinuousDeploymentPolicy(args: GetContinuousDeploymentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
585
|
+
/**
|
|
586
|
+
* <p>Gets configuration information about a continuous deployment policy.</p>
|
|
587
|
+
*/
|
|
588
|
+
getContinuousDeploymentPolicyConfig(args: GetContinuousDeploymentPolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetContinuousDeploymentPolicyConfigCommandOutput>;
|
|
589
|
+
getContinuousDeploymentPolicyConfig(args: GetContinuousDeploymentPolicyConfigCommandInput, cb: (err: any, data?: GetContinuousDeploymentPolicyConfigCommandOutput) => void): void;
|
|
590
|
+
getContinuousDeploymentPolicyConfig(args: GetContinuousDeploymentPolicyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContinuousDeploymentPolicyConfigCommandOutput) => void): void;
|
|
547
591
|
/**
|
|
548
592
|
* <p>Get the information about a distribution.</p>
|
|
549
593
|
*/
|
|
@@ -772,6 +816,17 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
772
816
|
listConflictingAliases(args: ListConflictingAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListConflictingAliasesCommandOutput>;
|
|
773
817
|
listConflictingAliases(args: ListConflictingAliasesCommandInput, cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void): void;
|
|
774
818
|
listConflictingAliases(args: ListConflictingAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void): void;
|
|
819
|
+
/**
|
|
820
|
+
* <p>Gets a list of the continuous deployment policies in your Amazon Web Services account.</p>
|
|
821
|
+
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
822
|
+
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
823
|
+
* default maximum, the response is paginated. To get the next page of items, send a
|
|
824
|
+
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
825
|
+
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
826
|
+
*/
|
|
827
|
+
listContinuousDeploymentPolicies(args: ListContinuousDeploymentPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListContinuousDeploymentPoliciesCommandOutput>;
|
|
828
|
+
listContinuousDeploymentPolicies(args: ListContinuousDeploymentPoliciesCommandInput, cb: (err: any, data?: ListContinuousDeploymentPoliciesCommandOutput) => void): void;
|
|
829
|
+
listContinuousDeploymentPolicies(args: ListContinuousDeploymentPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContinuousDeploymentPoliciesCommandOutput) => void): void;
|
|
775
830
|
/**
|
|
776
831
|
* <p>List CloudFront distributions.</p>
|
|
777
832
|
*/
|
|
@@ -1026,83 +1081,66 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
1026
1081
|
updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
1027
1082
|
updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
|
|
1028
1083
|
/**
|
|
1029
|
-
* <p>Updates
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
1032
|
-
*
|
|
1033
|
-
*
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1036
|
-
*
|
|
1037
|
-
*
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1040
|
-
*
|
|
1041
|
-
*
|
|
1084
|
+
* <p>Updates a continuous deployment policy. You can update a continuous deployment policy to
|
|
1085
|
+
* enable or disable it, to change the percentage of traffic that it sends to the staging
|
|
1086
|
+
* distribution, or to change the staging distribution that it sends traffic to.</p>
|
|
1087
|
+
* <p>When you update a continuous deployment policy configuration, all the fields are
|
|
1088
|
+
* updated with the values that are provided in the request. You cannot update some fields
|
|
1089
|
+
* independent of others. To update a continuous deployment policy configuration:</p>
|
|
1090
|
+
* <ol>
|
|
1091
|
+
* <li>
|
|
1092
|
+
* <p>Use <code>GetContinuousDeploymentPolicyConfig</code> to get the current
|
|
1093
|
+
* configuration.</p>
|
|
1094
|
+
* </li>
|
|
1095
|
+
* <li>
|
|
1096
|
+
* <p>Locally modify the fields in the continuous deployment policy configuration
|
|
1097
|
+
* that you want to update.</p>
|
|
1098
|
+
* </li>
|
|
1099
|
+
* <li>
|
|
1100
|
+
* <p>Use <code>UpdateContinuousDeploymentPolicy</code>, providing the entire
|
|
1101
|
+
* continuous deployment policy configuration, including the fields that you
|
|
1102
|
+
* modified and those that you didn’t.</p>
|
|
1103
|
+
* </li>
|
|
1104
|
+
* </ol>
|
|
1105
|
+
*/
|
|
1106
|
+
updateContinuousDeploymentPolicy(args: UpdateContinuousDeploymentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContinuousDeploymentPolicyCommandOutput>;
|
|
1107
|
+
updateContinuousDeploymentPolicy(args: UpdateContinuousDeploymentPolicyCommandInput, cb: (err: any, data?: UpdateContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
1108
|
+
updateContinuousDeploymentPolicy(args: UpdateContinuousDeploymentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContinuousDeploymentPolicyCommandOutput) => void): void;
|
|
1109
|
+
/**
|
|
1110
|
+
* <p>Updates the configuration for a CloudFront distribution.</p>
|
|
1111
|
+
* <p>The update process includes getting the current distribution configuration, updating it to
|
|
1112
|
+
* make your changes, and then submitting an <code>UpdateDistribution</code> request to
|
|
1113
|
+
* make the updates.</p>
|
|
1042
1114
|
*
|
|
1043
1115
|
* <p>
|
|
1044
1116
|
* <b>To update a web distribution using the CloudFront API</b>
|
|
1045
1117
|
* </p>
|
|
1046
1118
|
* <ol>
|
|
1047
1119
|
* <li>
|
|
1048
|
-
* <p>
|
|
1049
|
-
*
|
|
1050
|
-
* request to get the current configuration and an <code>Etag</code> header
|
|
1051
|
-
* for the distribution.</p>
|
|
1052
|
-
* <note>
|
|
1053
|
-
* <p>If you update the distribution again, you must get a new <code>Etag</code> header.</p>
|
|
1054
|
-
* </note>
|
|
1120
|
+
* <p>Use <code>GetDistributionConfig</code> to get the current configuration, including the version
|
|
1121
|
+
* identifier (<code>ETag</code>).</p>
|
|
1055
1122
|
* </li>
|
|
1056
1123
|
* <li>
|
|
1057
|
-
* <p>Update the
|
|
1058
|
-
*
|
|
1059
|
-
* <important>
|
|
1060
|
-
* <p>When you edit the XML file, be aware of the following:</p>
|
|
1061
|
-
* <ul>
|
|
1062
|
-
* <li>
|
|
1063
|
-
* <p>You must strip out the ETag parameter that is returned.</p>
|
|
1064
|
-
* </li>
|
|
1065
|
-
* <li>
|
|
1066
|
-
* <p>Additional fields are required when you update a distribution. There may be fields included in the
|
|
1067
|
-
* XML file for features that you haven't configured for your distribution. This is expected and required to
|
|
1068
|
-
* successfully update the distribution.</p>
|
|
1069
|
-
* </li>
|
|
1070
|
-
* <li>
|
|
1071
|
-
* <p>You can't change the value of <code>CallerReference</code>. If you try to change this value, CloudFront returns an
|
|
1072
|
-
* <code>IllegalUpdate</code> error. </p>
|
|
1073
|
-
* </li>
|
|
1074
|
-
* <li>
|
|
1075
|
-
* <p>The new configuration replaces the existing configuration; the values that you specify in an
|
|
1076
|
-
* <code>UpdateDistribution</code> request are not merged into your existing configuration. When you add, delete, or
|
|
1077
|
-
* replace values in an element that allows multiple values (for example, <code>CNAME</code>), you must specify all of the
|
|
1078
|
-
* values that you want to appear in the updated distribution. In addition,
|
|
1079
|
-
* you must update the corresponding <code>Quantity</code> element.</p>
|
|
1080
|
-
* </li>
|
|
1081
|
-
* </ul>
|
|
1082
|
-
* </important>
|
|
1083
|
-
* </li>
|
|
1084
|
-
* <li>
|
|
1085
|
-
* <p>Submit an <code>UpdateDistribution</code> request to update the configuration for your distribution:</p>
|
|
1124
|
+
* <p>Update the distribution configuration that was returned in the response. Note the following
|
|
1125
|
+
* important requirements and restrictions:</p>
|
|
1086
1126
|
* <ul>
|
|
1087
1127
|
* <li>
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1128
|
+
* <p>You must rename the <code>ETag</code> field to <code>IfMatch</code>,
|
|
1129
|
+
* leaving the value unchanged. (Set the value of <code>IfMatch</code> to
|
|
1130
|
+
* the value of <code>ETag</code>, then remove the <code>ETag</code>
|
|
1131
|
+
* field.)</p>
|
|
1132
|
+
* </li>
|
|
1091
1133
|
* <li>
|
|
1092
|
-
*
|
|
1093
|
-
*
|
|
1094
|
-
* </li>
|
|
1134
|
+
* <p>You can’t change the value of <code>CallerReference</code>.</p>
|
|
1135
|
+
* </li>
|
|
1095
1136
|
* </ul>
|
|
1096
1137
|
* </li>
|
|
1097
1138
|
* <li>
|
|
1098
|
-
* <p>
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
|
|
1104
|
-
* request to confirm that your changes have propagated.
|
|
1105
|
-
* When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p>
|
|
1139
|
+
* <p>Submit an <code>UpdateDistribution</code> request, providing the distribution configuration.
|
|
1140
|
+
* The new configuration replaces the existing configuration. The values that you
|
|
1141
|
+
* specify in an <code>UpdateDistribution</code> request are not merged into your
|
|
1142
|
+
* existing configuration. Make sure to include all fields: the ones that you
|
|
1143
|
+
* modified and also the ones that you didn’t.</p>
|
|
1106
1144
|
* </li>
|
|
1107
1145
|
* </ol>
|
|
1108
1146
|
*/
|
|
@@ -8,8 +8,10 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AssociateAliasCommandInput, AssociateAliasCommandOutput } from "./commands/AssociateAliasCommand";
|
|
11
|
+
import { CopyDistributionCommandInput, CopyDistributionCommandOutput } from "./commands/CopyDistributionCommand";
|
|
11
12
|
import { CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput } from "./commands/CreateCachePolicyCommand";
|
|
12
13
|
import { CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/CreateCloudFrontOriginAccessIdentityCommand";
|
|
14
|
+
import { CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput } from "./commands/CreateContinuousDeploymentPolicyCommand";
|
|
13
15
|
import { CreateDistributionCommandInput, CreateDistributionCommandOutput } from "./commands/CreateDistributionCommand";
|
|
14
16
|
import { CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput } from "./commands/CreateDistributionWithTagsCommand";
|
|
15
17
|
import { CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput } from "./commands/CreateFieldLevelEncryptionConfigCommand";
|
|
@@ -27,6 +29,7 @@ import { CreateStreamingDistributionCommandInput, CreateStreamingDistributionCom
|
|
|
27
29
|
import { CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput } from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
28
30
|
import { DeleteCachePolicyCommandInput, DeleteCachePolicyCommandOutput } from "./commands/DeleteCachePolicyCommand";
|
|
29
31
|
import { DeleteCloudFrontOriginAccessIdentityCommandInput, DeleteCloudFrontOriginAccessIdentityCommandOutput } from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
|
|
32
|
+
import { DeleteContinuousDeploymentPolicyCommandInput, DeleteContinuousDeploymentPolicyCommandOutput } from "./commands/DeleteContinuousDeploymentPolicyCommand";
|
|
30
33
|
import { DeleteDistributionCommandInput, DeleteDistributionCommandOutput } from "./commands/DeleteDistributionCommand";
|
|
31
34
|
import { DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptionConfigCommandOutput } from "./commands/DeleteFieldLevelEncryptionConfigCommand";
|
|
32
35
|
import { DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput } from "./commands/DeleteFieldLevelEncryptionProfileCommand";
|
|
@@ -44,6 +47,8 @@ import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./comma
|
|
|
44
47
|
import { GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput } from "./commands/GetCachePolicyConfigCommand";
|
|
45
48
|
import { GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
|
|
46
49
|
import { GetCloudFrontOriginAccessIdentityConfigCommandInput, GetCloudFrontOriginAccessIdentityConfigCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityConfigCommand";
|
|
50
|
+
import { GetContinuousDeploymentPolicyCommandInput, GetContinuousDeploymentPolicyCommandOutput } from "./commands/GetContinuousDeploymentPolicyCommand";
|
|
51
|
+
import { GetContinuousDeploymentPolicyConfigCommandInput, GetContinuousDeploymentPolicyConfigCommandOutput } from "./commands/GetContinuousDeploymentPolicyConfigCommand";
|
|
47
52
|
import { GetDistributionCommandInput, GetDistributionCommandOutput } from "./commands/GetDistributionCommand";
|
|
48
53
|
import { GetDistributionConfigCommandInput, GetDistributionConfigCommandOutput } from "./commands/GetDistributionConfigCommand";
|
|
49
54
|
import { GetFieldLevelEncryptionCommandInput, GetFieldLevelEncryptionCommandOutput } from "./commands/GetFieldLevelEncryptionCommand";
|
|
@@ -69,6 +74,7 @@ import { GetStreamingDistributionConfigCommandInput, GetStreamingDistributionCon
|
|
|
69
74
|
import { ListCachePoliciesCommandInput, ListCachePoliciesCommandOutput } from "./commands/ListCachePoliciesCommand";
|
|
70
75
|
import { ListCloudFrontOriginAccessIdentitiesCommandInput, ListCloudFrontOriginAccessIdentitiesCommandOutput } from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
|
|
71
76
|
import { ListConflictingAliasesCommandInput, ListConflictingAliasesCommandOutput } from "./commands/ListConflictingAliasesCommand";
|
|
77
|
+
import { ListContinuousDeploymentPoliciesCommandInput, ListContinuousDeploymentPoliciesCommandOutput } from "./commands/ListContinuousDeploymentPoliciesCommand";
|
|
72
78
|
import { ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCachePolicyIdCommandOutput } from "./commands/ListDistributionsByCachePolicyIdCommand";
|
|
73
79
|
import { ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput } from "./commands/ListDistributionsByKeyGroupCommand";
|
|
74
80
|
import { ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
@@ -94,6 +100,7 @@ import { TestFunctionCommandInput, TestFunctionCommandOutput } from "./commands/
|
|
|
94
100
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
95
101
|
import { UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput } from "./commands/UpdateCachePolicyCommand";
|
|
96
102
|
import { UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
103
|
+
import { UpdateContinuousDeploymentPolicyCommandInput, UpdateContinuousDeploymentPolicyCommandOutput } from "./commands/UpdateContinuousDeploymentPolicyCommand";
|
|
97
104
|
import { UpdateDistributionCommandInput, UpdateDistributionCommandOutput } from "./commands/UpdateDistributionCommand";
|
|
98
105
|
import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput } from "./commands/UpdateFieldLevelEncryptionConfigCommand";
|
|
99
106
|
import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
|
|
@@ -106,8 +113,8 @@ import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutp
|
|
|
106
113
|
import { UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput } from "./commands/UpdateResponseHeadersPolicyCommand";
|
|
107
114
|
import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
|
|
108
115
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
109
|
-
export declare type ServiceInputTypes = AssociateAliasCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateDistributionCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
|
|
110
|
-
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateDistributionCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
116
|
+
export declare type ServiceInputTypes = AssociateAliasCommandInput | CopyDistributionCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateContinuousDeploymentPolicyCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteContinuousDeploymentPolicyCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetContinuousDeploymentPolicyCommandInput | GetContinuousDeploymentPolicyConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListContinuousDeploymentPoliciesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateContinuousDeploymentPolicyCommandInput | UpdateDistributionCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
|
|
117
|
+
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CopyDistributionCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateContinuousDeploymentPolicyCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteContinuousDeploymentPolicyCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetContinuousDeploymentPolicyCommandOutput | GetContinuousDeploymentPolicyConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListContinuousDeploymentPoliciesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateContinuousDeploymentPolicyCommandOutput | UpdateDistributionCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
111
118
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
112
119
|
/**
|
|
113
120
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
+
import { CopyDistributionRequest, CopyDistributionResult } from "../models/models_0";
|
|
6
|
+
export interface CopyDistributionCommandInput extends CopyDistributionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CopyDistributionCommandOutput extends CopyDistributionResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a staging distribution using the configuration of the provided primary distribution.
|
|
12
|
+
* A staging distribution is a copy of an existing distribution (called the primary
|
|
13
|
+
* distribution) that you can use in a continuous deployment workflow.</p>
|
|
14
|
+
* <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to
|
|
15
|
+
* modify the staging distribution’s configuration. Then you can use
|
|
16
|
+
* <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the
|
|
17
|
+
* staging distribution.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { CloudFrontClient, CopyDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
+
* // const { CloudFrontClient, CopyDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
+
* const client = new CloudFrontClient(config);
|
|
24
|
+
* const command = new CopyDistributionCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link CopyDistributionCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link CopyDistributionCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class CopyDistributionCommand extends $Command<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
|
+
readonly input: CopyDistributionCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
36
|
+
constructor(input: CopyDistributionCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyDistributionCommandInput, CopyDistributionCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
+
import { CreateContinuousDeploymentPolicyRequest, CreateContinuousDeploymentPolicyResult } from "../models/models_0";
|
|
6
|
+
export interface CreateContinuousDeploymentPolicyCommandInput extends CreateContinuousDeploymentPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateContinuousDeploymentPolicyResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a continuous deployment policy that distributes traffic for a custom domain name to
|
|
12
|
+
* two different CloudFront distributions.</p>
|
|
13
|
+
* <p>To use a continuous deployment policy, first use
|
|
14
|
+
* <code>CopyDistribution</code> to create a staging distribution, then use
|
|
15
|
+
* <code>UpdateDistribution</code> to modify the staging distribution’s
|
|
16
|
+
* configuration.</p>
|
|
17
|
+
* <p>After you create and update a staging distribution, you can use a continuous deployment
|
|
18
|
+
* policy to incrementally move traffic to the staging distribution. This workflow enables
|
|
19
|
+
* you to test changes to a distribution’s configuration before moving all of your domain’s
|
|
20
|
+
* production traffic to the new configuration.</p>
|
|
21
|
+
* @example
|
|
22
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
+
* ```javascript
|
|
24
|
+
* import { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
25
|
+
* // const { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
26
|
+
* const client = new CloudFrontClient(config);
|
|
27
|
+
* const command = new CreateContinuousDeploymentPolicyCommand(input);
|
|
28
|
+
* const response = await client.send(command);
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link CreateContinuousDeploymentPolicyCommandInput} for command's `input` shape.
|
|
32
|
+
* @see {@link CreateContinuousDeploymentPolicyCommandOutput} for command's `response` shape.
|
|
33
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare class CreateContinuousDeploymentPolicyCommand extends $Command<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
37
|
+
readonly input: CreateContinuousDeploymentPolicyCommandInput;
|
|
38
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
constructor(input: CreateContinuousDeploymentPolicyCommandInput);
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput>;
|
|
44
|
+
private serialize;
|
|
45
|
+
private deserialize;
|
|
46
|
+
}
|
|
@@ -8,19 +8,7 @@ export interface CreateDistributionCommandInput extends CreateDistributionReques
|
|
|
8
8
|
export interface CreateDistributionCommandOutput extends CreateDistributionResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a
|
|
12
|
-
* want content to be delivered from, and the details about how to track and manage content delivery. Send a <code>POST</code> request to the
|
|
13
|
-
* <code>/<i>CloudFront API version</i>/distribution</code>/<code>distribution ID</code> resource.</p>
|
|
14
|
-
* <important>
|
|
15
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
16
|
-
* When you update your distribution by using
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>,
|
|
18
|
-
* follow the steps included
|
|
19
|
-
* in the documentation to get the current configuration
|
|
20
|
-
* and then make your updates. This helps to make sure that you include all of the required fields. To view a summary,
|
|
21
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
22
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
23
|
-
* </important>
|
|
11
|
+
* <p>Creates a CloudFront distribution.</p>
|
|
24
12
|
* @example
|
|
25
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
14
|
* ```javascript
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
-
import { CreateStreamingDistributionRequest, CreateStreamingDistributionResult } from "../models/
|
|
5
|
+
import { CreateStreamingDistributionRequest, CreateStreamingDistributionResult } from "../models/models_1";
|
|
6
6
|
export interface CreateStreamingDistributionCommandInput extends CreateStreamingDistributionRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface CreateStreamingDistributionCommandOutput extends CreateStreamingDistributionResult, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
-
import { CreateStreamingDistributionWithTagsRequest, CreateStreamingDistributionWithTagsResult } from "../models/
|
|
5
|
+
import { CreateStreamingDistributionWithTagsRequest, CreateStreamingDistributionWithTagsResult } from "../models/models_1";
|
|
6
6
|
export interface CreateStreamingDistributionWithTagsCommandInput extends CreateStreamingDistributionWithTagsRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface CreateStreamingDistributionWithTagsCommandOutput extends CreateStreamingDistributionWithTagsResult, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
-
import { DeleteCachePolicyRequest } from "../models/
|
|
5
|
+
import { DeleteCachePolicyRequest } from "../models/models_1";
|
|
6
6
|
export interface DeleteCachePolicyCommandInput extends DeleteCachePolicyRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DeleteCachePolicyCommandOutput extends __MetadataBearer {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
+
import { DeleteContinuousDeploymentPolicyRequest } from "../models/models_1";
|
|
6
|
+
export interface DeleteContinuousDeploymentPolicyCommandInput extends DeleteContinuousDeploymentPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteContinuousDeploymentPolicyCommandOutput extends __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a continuous deployment policy.</p>
|
|
12
|
+
* <p>You cannot delete a continuous deployment policy that’s attached to a primary
|
|
13
|
+
* distribution. First update your distribution to remove the continuous deployment policy,
|
|
14
|
+
* then you can delete the policy.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { CloudFrontClient, DeleteContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
19
|
+
* // const { CloudFrontClient, DeleteContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
20
|
+
* const client = new CloudFrontClient(config);
|
|
21
|
+
* const command = new DeleteContinuousDeploymentPolicyCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteContinuousDeploymentPolicyCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteContinuousDeploymentPolicyCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteContinuousDeploymentPolicyCommand extends $Command<DeleteContinuousDeploymentPolicyCommandInput, DeleteContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteContinuousDeploymentPolicyCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: DeleteContinuousDeploymentPolicyCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContinuousDeploymentPolicyCommandInput, DeleteContinuousDeploymentPolicyCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|