@aws-sdk/client-cloudfront 3.224.0 → 3.226.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 (81) hide show
  1. package/README.md +4 -3
  2. package/dist-cjs/CloudFront.js +15 -0
  3. package/dist-cjs/commands/UpdateDistributionWithStagingConfigCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +0 -9
  6. package/dist-cjs/models/models_0.js +61 -51
  7. package/dist-cjs/models/models_1.js +60 -5
  8. package/dist-cjs/protocols/Aws_restXml.js +351 -7
  9. package/dist-es/CloudFront.js +15 -0
  10. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +42 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/endpoint/ruleset.js +0 -9
  13. package/dist-es/models/models_0.js +52 -42
  14. package/dist-es/models/models_1.js +49 -0
  15. package/dist-es/protocols/Aws_restXml.js +344 -2
  16. package/dist-types/CloudFront.d.ts +252 -216
  17. package/dist-types/CloudFrontClient.d.ts +7 -5
  18. package/dist-types/commands/AssociateAliasCommand.d.ts +2 -2
  19. package/dist-types/commands/CopyDistributionCommand.d.ts +5 -5
  20. package/dist-types/commands/CreateCachePolicyCommand.d.ts +15 -13
  21. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +4 -3
  22. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +9 -10
  23. package/dist-types/commands/CreateFunctionCommand.d.ts +4 -4
  24. package/dist-types/commands/CreateKeyGroupCommand.d.ts +8 -7
  25. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -2
  26. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +4 -4
  27. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +12 -10
  28. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +4 -4
  30. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +5 -5
  33. package/dist-types/commands/DeleteFunctionCommand.d.ts +5 -5
  34. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +6 -6
  38. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -2
  39. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +22 -20
  40. package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -2
  41. package/dist-types/commands/GetCachePolicyCommand.d.ts +5 -5
  42. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -3
  43. package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -2
  44. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +2 -2
  46. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +6 -5
  47. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +5 -5
  48. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +3 -3
  49. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +2 -2
  50. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -2
  51. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +2 -1
  52. package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -2
  53. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +8 -8
  54. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -2
  55. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +4 -4
  56. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -1
  57. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -1
  58. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +5 -5
  59. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -2
  60. package/dist-types/commands/PublishFunctionCommand.d.ts +10 -9
  61. package/dist-types/commands/TestFunctionCommand.d.ts +9 -9
  62. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +4 -3
  63. package/dist-types/commands/UpdateDistributionCommand.d.ts +14 -13
  64. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +46 -0
  65. package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -3
  66. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -1
  68. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -1
  69. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  70. package/dist-types/commands/index.d.ts +1 -0
  71. package/dist-types/models/models_0.d.ts +1291 -1191
  72. package/dist-types/models/models_1.d.ts +488 -325
  73. package/dist-types/protocols/Aws_restXml.d.ts +3 -0
  74. package/dist-types/ts3.4/CloudFront.d.ts +23 -0
  75. package/dist-types/ts3.4/CloudFrontClient.d.ts +6 -0
  76. package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +41 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +46 -38
  79. package/dist-types/ts3.4/models/models_1.d.ts +54 -1
  80. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
  81. package/package.json +29 -29
@@ -95,6 +95,7 @@ import { UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput } from ".
95
95
  import { UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
96
96
  import { UpdateContinuousDeploymentPolicyCommandInput, UpdateContinuousDeploymentPolicyCommandOutput } from "./commands/UpdateContinuousDeploymentPolicyCommand";
97
97
  import { UpdateDistributionCommandInput, UpdateDistributionCommandOutput } from "./commands/UpdateDistributionCommand";
98
+ import { UpdateDistributionWithStagingConfigCommandInput, UpdateDistributionWithStagingConfigCommandOutput } from "./commands/UpdateDistributionWithStagingConfigCommand";
98
99
  import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput } from "./commands/UpdateFieldLevelEncryptionConfigCommand";
99
100
  import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
100
101
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
@@ -107,9 +108,10 @@ import { UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCom
107
108
  import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
108
109
  /**
109
110
  * <fullname>Amazon CloudFront</fullname>
110
- * <p>This is the <i>Amazon CloudFront API Reference</i>. This guide
111
- * is for developers who need detailed information about
112
- * CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <i>Amazon CloudFront Developer Guide</i>.</p>
111
+ * <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers
112
+ * who need detailed information about CloudFront API actions, data types, and errors. For
113
+ * detailed information about CloudFront features, see the
114
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
113
115
  */
114
116
  export declare class CloudFront extends CloudFrontClient {
115
117
  /**
@@ -122,18 +124,18 @@ export declare class CloudFront extends CloudFrontClient {
122
124
  * <p>To use this operation to associate an alias with a distribution, you provide the alias
123
125
  * and the ID of the target distribution for the alias. For more information, including how
124
126
  * to set up the target distribution, prerequisites that you must complete, and other
125
- * restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
126
- * in the <i>Amazon CloudFront Developer Guide</i>.</p>
127
+ * restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different
128
+ * distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
127
129
  */
128
130
  associateAlias(args: AssociateAliasCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAliasCommandOutput>;
129
131
  associateAlias(args: AssociateAliasCommandInput, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
130
132
  associateAlias(args: AssociateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
131
133
  /**
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
134
+ * <p>Creates a staging distribution using the configuration of the provided primary
135
+ * distribution. A staging distribution is a copy of an existing distribution (called the
136
+ * primary distribution) that you can use in a continuous deployment workflow.</p>
137
+ * <p>After you create a staging distribution, you can use <code>UpdateDistribution</code>
138
+ * to modify the staging distribution’s configuration. Then you can use
137
139
  * <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the
138
140
  * staging distribution.</p>
139
141
  */
@@ -142,50 +144,52 @@ export declare class CloudFront extends CloudFrontClient {
142
144
  copyDistribution(args: CopyDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyDistributionCommandOutput) => void): void;
143
145
  /**
144
146
  * <p>Creates a cache policy.</p>
145
- * <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
146
- * attached to a cache behavior, the cache policy determines the following:</p>
147
+ * <p>After you create a cache policy, you can attach it to one or more cache behaviors.
148
+ * When it’s attached to a cache behavior, the cache policy determines the
149
+ * following:</p>
147
150
  * <ul>
148
151
  * <li>
149
- * <p>The values that CloudFront includes in the <i>cache key</i>. These values can
150
- * include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
151
- * find an object in its cache that it can return to the viewer.</p>
152
+ * <p>The values that CloudFront includes in the <i>cache key</i>. These
153
+ * values can include HTTP headers, cookies, and URL query strings. CloudFront uses the
154
+ * cache key to find an object in its cache that it can return to the
155
+ * viewer.</p>
152
156
  * </li>
153
157
  * <li>
154
- * <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay
155
- * in the CloudFront cache.</p>
158
+ * <p>The default, minimum, and maximum time to live (TTL) values that you want
159
+ * objects to stay in the CloudFront cache.</p>
156
160
  * </li>
157
161
  * </ul>
158
- * <p>The headers, cookies, and query strings that are included in the cache key are automatically
159
- * included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t
160
- * find an object in its cache that matches the request’s cache key. If you want to send
161
- * values to the origin but <i>not</i> include them in the cache key, use
162
- * <code>OriginRequestPolicy</code>.</p>
162
+ * <p>The headers, cookies, and query strings that are included in the cache key are
163
+ * automatically included in requests that CloudFront sends to the origin. CloudFront sends a request
164
+ * when it can’t find an object in its cache that matches the request’s cache key. If you
165
+ * want to send values to the origin but <i>not</i> include them in the cache
166
+ * key, use <code>OriginRequestPolicy</code>.</p>
163
167
  * <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
164
- * <i>Amazon CloudFront Developer Guide</i>.</p>
168
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
165
169
  */
166
170
  createCachePolicy(args: CreateCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateCachePolicyCommandOutput>;
167
171
  createCachePolicy(args: CreateCachePolicyCommandInput, cb: (err: any, data?: CreateCachePolicyCommandOutput) => void): void;
168
172
  createCachePolicy(args: CreateCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCachePolicyCommandOutput) => void): void;
169
173
  /**
170
174
  * <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
171
- * use an origin access identity to require users to access your content using a CloudFront URL instead
172
- * of the Amazon S3 URL. For more information about how to use origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the
173
- * <i>Amazon CloudFront Developer Guide</i>.</p>
175
+ * use an origin access identity to require users to access your content using a CloudFront URL
176
+ * instead of the Amazon S3 URL. For more information about how to use origin access identities,
177
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private
178
+ * Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
174
179
  */
175
180
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFrontOriginAccessIdentityCommandOutput>;
176
181
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
177
182
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
178
183
  /**
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>
184
+ * <p>Creates a continuous deployment policy that distributes traffic for a custom domain
185
+ * name to two different CloudFront distributions.</p>
186
+ * <p>To use a continuous deployment policy, first use <code>CopyDistribution</code> to
187
+ * create a staging distribution, then use <code>UpdateDistribution</code> to modify the
188
+ * staging distribution’s configuration.</p>
189
+ * <p>After you create and update a staging distribution, you can use a continuous
190
+ * deployment policy to incrementally move traffic to the staging distribution. This
191
+ * workflow enables you to test changes to a distribution’s configuration before moving all
192
+ * of your domain’s production traffic to the new configuration.</p>
189
193
  */
190
194
  createContinuousDeploymentPolicy(args: CreateContinuousDeploymentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateContinuousDeploymentPolicyCommandOutput>;
191
195
  createContinuousDeploymentPolicy(args: CreateContinuousDeploymentPolicyCommandInput, cb: (err: any, data?: CreateContinuousDeploymentPolicyCommandOutput) => void): void;
@@ -219,11 +223,11 @@ export declare class CloudFront extends CloudFrontClient {
219
223
  * <p>To create a function, you provide the function code and some configuration information
220
224
  * about the function. The response contains an Amazon Resource Name (ARN) that uniquely
221
225
  * identifies the function.</p>
222
- * <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage, you
223
- * can test the function with <code>TestFunction</code>, and update it with
224
- * <code>UpdateFunction</code>.</p>
226
+ * <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage,
227
+ * you can test the function with <code>TestFunction</code>, and update it with
228
+ * <code>UpdateFunction</code>.</p>
225
229
  * <p>When you’re ready to use your function with a CloudFront distribution, use
226
- * <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
230
+ * <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
227
231
  * stage to <code>LIVE</code>. When it’s live, you can attach the function to a
228
232
  * distribution’s cache behavior, using the function’s ARN.</p>
229
233
  */
@@ -238,13 +242,14 @@ export declare class CloudFront extends CloudFrontClient {
238
242
  createInvalidation(args: CreateInvalidationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInvalidationCommandOutput) => void): void;
239
243
  /**
240
244
  * <p>Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront signed URLs and signed cookies</a>.</p>
241
- * <p>To create a key group, you must specify at least one public key for the key group. After you
242
- * create a key group, you can reference it from one or more cache behaviors. When you
243
- * reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies
244
- * for all requests that match the cache behavior. The URLs or cookies must be signed with
245
- * a private key whose corresponding public key is in the key group. The signed URL or
246
- * cookie contains information about which public key CloudFront should use to verify the
247
- * signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
245
+ * <p>To create a key group, you must specify at least one public key for the key group.
246
+ * After you create a key group, you can reference it from one or more cache behaviors.
247
+ * When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed
248
+ * cookies for all requests that match the cache behavior. The URLs or cookies must be
249
+ * signed with a private key whose corresponding public key is in the key group. The signed
250
+ * URL or cookie contains information about which public key CloudFront should use to verify the
251
+ * signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the
252
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
248
253
  */
249
254
  createKeyGroup(args: CreateKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyGroupCommandOutput>;
250
255
  createKeyGroup(args: CreateKeyGroupCommandInput, cb: (err: any, data?: CreateKeyGroupCommandOutput) => void): void;
@@ -252,50 +257,52 @@ export declare class CloudFront extends CloudFrontClient {
252
257
  /**
253
258
  * <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
254
259
  * additional metrics incur an additional cost.</p>
255
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in the
256
- * <i>Amazon CloudFront Developer Guide</i>.</p>
260
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in
261
+ * the <i>Amazon CloudFront Developer Guide</i>.</p>
257
262
  */
258
263
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateMonitoringSubscriptionCommandOutput>;
259
264
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void): void;
260
265
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void): void;
261
266
  /**
262
- * <p>Creates a new origin access control in CloudFront. After you create an origin access control, you
263
- * can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed)
264
- * requests to the origin.</p>
267
+ * <p>Creates a new origin access control in CloudFront. After you create an origin access
268
+ * control, you can add it to an origin in a CloudFront distribution so that CloudFront sends
269
+ * authenticated (signed) requests to the origin.</p>
265
270
  * <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket
266
271
  * so that viewers (users) can access the content in the bucket only through CloudFront.</p>
267
272
  * <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html">Restricting access to an Amazon S3 origin</a> in the
268
- * <i>Amazon CloudFront Developer Guide</i>.</p>
273
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
269
274
  */
270
275
  createOriginAccessControl(args: CreateOriginAccessControlCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginAccessControlCommandOutput>;
271
276
  createOriginAccessControl(args: CreateOriginAccessControlCommandInput, cb: (err: any, data?: CreateOriginAccessControlCommandOutput) => void): void;
272
277
  createOriginAccessControl(args: CreateOriginAccessControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOriginAccessControlCommandOutput) => void): void;
273
278
  /**
274
279
  * <p>Creates an origin request policy.</p>
275
- * <p>After you create an origin request policy, you can attach it to one or more cache behaviors.
276
- * When it’s attached to a cache behavior, the origin request policy determines the values
277
- * that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends
278
- * to the origin includes the following:</p>
280
+ * <p>After you create an origin request policy, you can attach it to one or more cache
281
+ * behaviors. When it’s attached to a cache behavior, the origin request policy determines
282
+ * the values that CloudFront includes in requests that it sends to the origin. Each request that
283
+ * CloudFront sends to the origin includes the following:</p>
279
284
  * <ul>
280
285
  * <li>
281
286
  * <p>The request body and the URL path (without the domain name) from the viewer
282
287
  * request.</p>
283
288
  * </li>
284
289
  * <li>
285
- * <p>The headers that CloudFront automatically includes in every origin request, including
286
- * <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p>
290
+ * <p>The headers that CloudFront automatically includes in every origin request,
291
+ * including <code>Host</code>, <code>User-Agent</code>, and
292
+ * <code>X-Amz-Cf-Id</code>.</p>
287
293
  * </li>
288
294
  * <li>
289
- * <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or
290
- * the origin request policy. These can include items from the viewer request and,
291
- * in the case of headers, additional ones that are added by CloudFront.</p>
295
+ * <p>All HTTP headers, cookies, and URL query strings that are specified in the
296
+ * cache policy or the origin request policy. These can include items from the
297
+ * viewer request and, in the case of headers, additional ones that are added by
298
+ * CloudFront.</p>
292
299
  * </li>
293
300
  * </ul>
294
301
  * <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
295
302
  * request. If you want to send values to the origin and also include them in the cache
296
303
  * key, use <code>CachePolicy</code>.</p>
297
304
  * <p>For more information about origin request policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">Controlling origin requests</a> in the
298
- * <i>Amazon CloudFront Developer Guide</i>.</p>
305
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
299
306
  */
300
307
  createOriginRequestPolicy(args: CreateOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginRequestPolicyCommandOutput>;
301
308
  createOriginRequestPolicy(args: CreateOriginRequestPolicyCommandInput, cb: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void): void;
@@ -310,7 +317,8 @@ export declare class CloudFront extends CloudFrontClient {
310
317
  * <p>Creates a real-time log configuration.</p>
311
318
  * <p>After you create a real-time log configuration, you can attach it to one or more cache
312
319
  * behaviors to send real-time log data to the specified Amazon Kinesis data stream.</p>
313
- * <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
320
+ * <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the
321
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
314
322
  */
315
323
  createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateRealtimeLogConfigCommandOutput>;
316
324
  createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void): void;
@@ -320,37 +328,37 @@ export declare class CloudFront extends CloudFrontClient {
320
328
  * <p>A response headers policy contains information about a set of HTTP response headers
321
329
  * and their values. To create a response headers policy, you provide some metadata about
322
330
  * the policy, and a set of configurations that specify the response headers.</p>
323
- * <p>After you create a response headers policy, you can use its ID to attach it to one or more
324
- * cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior, CloudFront
325
- * adds the headers in the policy to HTTP responses that it sends for requests that match
326
- * the cache behavior.</p>
331
+ * <p>After you create a response headers policy, you can use its ID to attach it to one or
332
+ * more cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior,
333
+ * CloudFront adds the headers in the policy to HTTP responses that it sends for requests that
334
+ * match the cache behavior.</p>
327
335
  */
328
336
  createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateResponseHeadersPolicyCommandOutput>;
329
337
  createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, cb: (err: any, data?: CreateResponseHeadersPolicyCommandOutput) => void): void;
330
338
  createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResponseHeadersPolicyCommandOutput) => void): void;
331
339
  /**
332
- * <p>This API is deprecated.
333
- * Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
334
- * For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
340
+ * <p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP)
341
+ * distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion
342
+ * forum.</p>
335
343
  */
336
344
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamingDistributionCommandOutput>;
337
345
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void): void;
338
346
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void): void;
339
347
  /**
340
- * <p>This API is deprecated.
341
- * Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
342
- * For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
348
+ * <p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP)
349
+ * distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion
350
+ * forum.</p>
343
351
  */
344
352
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamingDistributionWithTagsCommandOutput>;
345
353
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void): void;
346
354
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void): void;
347
355
  /**
348
356
  * <p>Deletes a cache policy.</p>
349
- * <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update your
350
- * distributions to remove the cache policy from all cache behaviors, then delete the cache
351
- * policy.</p>
352
- * <p>To delete a cache policy, you must provide the policy’s identifier and version. To get these
353
- * values, you can use <code>ListCachePolicies</code> or
357
+ * <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update
358
+ * your distributions to remove the cache policy from all cache behaviors, then delete the
359
+ * cache policy.</p>
360
+ * <p>To delete a cache policy, you must provide the policy’s identifier and version. To get
361
+ * these values, you can use <code>ListCachePolicies</code> or
354
362
  * <code>GetCachePolicy</code>.</p>
355
363
  */
356
364
  deleteCachePolicy(args: DeleteCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCachePolicyCommandOutput>;
@@ -391,12 +399,12 @@ export declare class CloudFront extends CloudFrontClient {
391
399
  deleteFieldLevelEncryptionProfile(args: DeleteFieldLevelEncryptionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void): void;
392
400
  /**
393
401
  * <p>Deletes a CloudFront function.</p>
394
- * <p>You cannot delete a function if it’s associated with a cache behavior. First, update your
395
- * distributions to remove the function association from all cache behaviors, then delete
396
- * the function.</p>
402
+ * <p>You cannot delete a function if it’s associated with a cache behavior. First, update
403
+ * your distributions to remove the function association from all cache behaviors, then
404
+ * delete the function.</p>
397
405
  * <p>To delete a function, you must provide the function’s name and version
398
- * (<code>ETag</code> value). To get these values, you can use <code>ListFunctions</code>
399
- * and <code>DescribeFunction</code>.</p>
406
+ * (<code>ETag</code> value). To get these values, you can use
407
+ * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
400
408
  */
401
409
  deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
402
410
  deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
@@ -408,34 +416,35 @@ export declare class CloudFront extends CloudFrontClient {
408
416
  * group.</p>
409
417
  * <p>To delete a key group, you must provide the key group’s identifier and version. To get
410
418
  * these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or
411
- * <code>GetKeyGroupConfig</code>.</p>
419
+ * <code>GetKeyGroupConfig</code>.</p>
412
420
  */
413
421
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyGroupCommandOutput>;
414
422
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
415
423
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
416
424
  /**
417
- * <p>Disables additional CloudWatch metrics for the specified CloudFront distribution.</p>
425
+ * <p>Disables additional CloudWatch metrics for the specified CloudFront
426
+ * distribution.</p>
418
427
  */
419
428
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMonitoringSubscriptionCommandOutput>;
420
429
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void): void;
421
430
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void): void;
422
431
  /**
423
432
  * <p>Deletes a CloudFront origin access control.</p>
424
- * <p>You cannot delete an origin access control if it's in use. First, update all distributions
425
- * to remove the origin access control from all origins, then delete the origin access
426
- * control.</p>
433
+ * <p>You cannot delete an origin access control if it's in use. First, update all
434
+ * distributions to remove the origin access control from all origins, then delete the
435
+ * origin access control.</p>
427
436
  */
428
437
  deleteOriginAccessControl(args: DeleteOriginAccessControlCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginAccessControlCommandOutput>;
429
438
  deleteOriginAccessControl(args: DeleteOriginAccessControlCommandInput, cb: (err: any, data?: DeleteOriginAccessControlCommandOutput) => void): void;
430
439
  deleteOriginAccessControl(args: DeleteOriginAccessControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginAccessControlCommandOutput) => void): void;
431
440
  /**
432
441
  * <p>Deletes an origin request policy.</p>
433
- * <p>You cannot delete an origin request policy if it’s attached to any cache behaviors. First
434
- * update your distributions to remove the origin request policy from all cache behaviors,
435
- * then delete the origin request policy.</p>
436
- * <p>To delete an origin request policy, you must provide the policy’s identifier and version. To
437
- * get the identifier, you can use <code>ListOriginRequestPolicies</code> or
438
- * <code>GetOriginRequestPolicy</code>.</p>
442
+ * <p>You cannot delete an origin request policy if it’s attached to any cache behaviors.
443
+ * First update your distributions to remove the origin request policy from all cache
444
+ * behaviors, then delete the origin request policy.</p>
445
+ * <p>To delete an origin request policy, you must provide the policy’s identifier and
446
+ * version. To get the identifier, you can use <code>ListOriginRequestPolicies</code> or
447
+ * <code>GetOriginRequestPolicy</code>.</p>
439
448
  */
440
449
  deleteOriginRequestPolicy(args: DeleteOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginRequestPolicyCommandOutput>;
441
450
  deleteOriginRequestPolicy(args: DeleteOriginRequestPolicyCommandInput, cb: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void): void;
@@ -451,8 +460,8 @@ export declare class CloudFront extends CloudFrontClient {
451
460
  * <p>You cannot delete a real-time log configuration if it’s attached to a cache behavior.
452
461
  * First update your distributions to remove the real-time log configuration from all cache
453
462
  * behaviors, then delete the real-time log configuration.</p>
454
- * <p>To delete a real-time log configuration, you can provide the configuration’s name or its
455
- * Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
463
+ * <p>To delete a real-time log configuration, you can provide the configuration’s name or
464
+ * its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
456
465
  * uses the name to identify the real-time log configuration to delete.</p>
457
466
  */
458
467
  deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRealtimeLogConfigCommandOutput>;
@@ -482,50 +491,52 @@ export declare class CloudFront extends CloudFrontClient {
482
491
  * <p>Disable the RTMP distribution.</p>
483
492
  * </li>
484
493
  * <li>
485
- * <p>Submit a <code>GET Streaming Distribution Config</code> request to get the current
486
- * configuration and the <code>Etag</code> header for the distribution. </p>
494
+ * <p>Submit a <code>GET Streaming Distribution Config</code> request to get the
495
+ * current configuration and the <code>Etag</code> header for the distribution.
496
+ * </p>
487
497
  * </li>
488
498
  * <li>
489
499
  * <p>Update the XML document that was returned in the response to your <code>GET
490
- * Streaming Distribution Config</code> request to change the value of <code>Enabled</code>
491
- * to <code>false</code>.</p>
500
+ * Streaming Distribution Config</code> request to change the value of
501
+ * <code>Enabled</code> to <code>false</code>.</p>
492
502
  * </li>
493
503
  * <li>
494
504
  * <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the
495
- * configuration for your distribution. In the request body, include the XML document that
496
- * you updated in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the
497
- * value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
498
- * Streaming Distribution Config</code> request in Step 2.</p>
505
+ * configuration for your distribution. In the request body, include the XML
506
+ * document that you updated in Step 3. Then set the value of the HTTP
507
+ * <code>If-Match</code> header to the value of the <code>ETag</code> header
508
+ * that CloudFront returned when you submitted the <code>GET Streaming Distribution
509
+ * Config</code> request in Step 2.</p>
499
510
  * </li>
500
511
  * <li>
501
- * <p>Review the response to the <code>PUT Streaming Distribution Config</code> request
502
- * to confirm that the distribution was successfully disabled.</p>
512
+ * <p>Review the response to the <code>PUT Streaming Distribution Config</code>
513
+ * request to confirm that the distribution was successfully disabled.</p>
503
514
  * </li>
504
515
  * <li>
505
- * <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm that
506
- * your changes have propagated. When propagation is complete, the value of
516
+ * <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm
517
+ * that your changes have propagated. When propagation is complete, the value of
507
518
  * <code>Status</code> is <code>Deployed</code>.</p>
508
519
  * </li>
509
520
  * <li>
510
- * <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the
511
- * HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
512
- * returned when you submitted the <code>GET Streaming Distribution Config</code> request in
513
- * Step 2.</p>
521
+ * <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of
522
+ * the HTTP <code>If-Match</code> header to the value of the <code>ETag</code>
523
+ * header that CloudFront returned when you submitted the <code>GET Streaming
524
+ * Distribution Config</code> request in Step 2.</p>
514
525
  * </li>
515
526
  * <li>
516
- * <p>Review the response to your <code>DELETE Streaming Distribution</code> request to
517
- * confirm that the distribution was successfully deleted.</p>
527
+ * <p>Review the response to your <code>DELETE Streaming Distribution</code> request
528
+ * to confirm that the distribution was successfully deleted.</p>
518
529
  * </li>
519
530
  * </ol>
520
- * <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a Distribution</a> in the
521
- * <i>Amazon CloudFront Developer Guide</i>.</p>
531
+ * <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a
532
+ * Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
522
533
  */
523
534
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamingDistributionCommandOutput>;
524
535
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void): void;
525
536
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void): void;
526
537
  /**
527
- * <p>Gets configuration information and metadata about a CloudFront function, but not the function’s
528
- * code. To get a function’s code, use <code>GetFunction</code>.</p>
538
+ * <p>Gets configuration information and metadata about a CloudFront function, but not the
539
+ * function’s code. To get a function’s code, use <code>GetFunction</code>.</p>
529
540
  * <p>To get configuration information and metadata about a function, you must provide the
530
541
  * function’s name and stage. To get these values, you can use
531
542
  * <code>ListFunctions</code>.</p>
@@ -543,22 +554,22 @@ export declare class CloudFront extends CloudFrontClient {
543
554
  * <p>The date and time when the policy was last modified.</p>
544
555
  * </li>
545
556
  * </ul>
546
- * <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy is
547
- * attached to a distribution’s cache behavior, you can get the policy’s identifier using
548
- * <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
549
- * not attached to a cache behavior, you can get the identifier using
550
- * <code>ListCachePolicies</code>.</p>
557
+ * <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy
558
+ * is attached to a distribution’s cache behavior, you can get the policy’s identifier
559
+ * using <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache
560
+ * policy is not attached to a cache behavior, you can get the identifier using
561
+ * <code>ListCachePolicies</code>.</p>
551
562
  */
552
563
  getCachePolicy(args: GetCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetCachePolicyCommandOutput>;
553
564
  getCachePolicy(args: GetCachePolicyCommandInput, cb: (err: any, data?: GetCachePolicyCommandOutput) => void): void;
554
565
  getCachePolicy(args: GetCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCachePolicyCommandOutput) => void): void;
555
566
  /**
556
567
  * <p>Gets a cache policy configuration.</p>
557
- * <p>To get a cache policy configuration, you must provide the policy’s identifier. If the cache
558
- * policy is attached to a distribution’s cache behavior, you can get the policy’s
568
+ * <p>To get a cache policy configuration, you must provide the policy’s identifier. If the
569
+ * cache policy is attached to a distribution’s cache behavior, you can get the policy’s
559
570
  * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
560
571
  * cache policy is not attached to a cache behavior, you can get the identifier using
561
- * <code>ListCachePolicies</code>.</p>
572
+ * <code>ListCachePolicies</code>.</p>
562
573
  */
563
574
  getCachePolicyConfig(args: GetCachePolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCachePolicyConfigCommandOutput>;
564
575
  getCachePolicyConfig(args: GetCachePolicyConfigCommandInput, cb: (err: any, data?: GetCachePolicyConfigCommandOutput) => void): void;
@@ -640,12 +651,13 @@ export declare class CloudFront extends CloudFrontClient {
640
651
  getInvalidation(args: GetInvalidationCommandInput, cb: (err: any, data?: GetInvalidationCommandOutput) => void): void;
641
652
  getInvalidation(args: GetInvalidationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvalidationCommandOutput) => void): void;
642
653
  /**
643
- * <p>Gets a key group, including the date and time when the key group was last modified.</p>
654
+ * <p>Gets a key group, including the date and time when the key group was last
655
+ * modified.</p>
644
656
  * <p>To get a key group, you must provide the key group’s identifier. If the key group is
645
657
  * referenced in a distribution’s cache behavior, you can get the key group’s identifier
646
658
  * using <code>ListDistributions</code> or <code>GetDistribution</code>. If the key group
647
659
  * is not referenced in a cache behavior, you can get the identifier using
648
- * <code>ListKeyGroups</code>.</p>
660
+ * <code>ListKeyGroups</code>.</p>
649
661
  */
650
662
  getKeyGroup(args: GetKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyGroupCommandOutput>;
651
663
  getKeyGroup(args: GetKeyGroupCommandInput, cb: (err: any, data?: GetKeyGroupCommandOutput) => void): void;
@@ -656,14 +668,14 @@ export declare class CloudFront extends CloudFrontClient {
656
668
  * key group is referenced in a distribution’s cache behavior, you can get the key group’s
657
669
  * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
658
670
  * key group is not referenced in a cache behavior, you can get the identifier using
659
- * <code>ListKeyGroups</code>.</p>
671
+ * <code>ListKeyGroups</code>.</p>
660
672
  */
661
673
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyGroupConfigCommandOutput>;
662
674
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void): void;
663
675
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void): void;
664
676
  /**
665
- * <p>Gets information about whether additional CloudWatch metrics are enabled for the specified
666
- * CloudFront distribution.</p>
677
+ * <p>Gets information about whether additional CloudWatch metrics are enabled for the
678
+ * specified CloudFront distribution.</p>
667
679
  */
668
680
  getMonitoringSubscription(args: GetMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetMonitoringSubscriptionCommandOutput>;
669
681
  getMonitoringSubscription(args: GetMonitoringSubscriptionCommandInput, cb: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void): void;
@@ -690,22 +702,23 @@ export declare class CloudFront extends CloudFrontClient {
690
702
  * <p>The date and time when the policy was last modified.</p>
691
703
  * </li>
692
704
  * </ul>
693
- * <p>To get an origin request policy, you must provide the policy’s identifier. If the origin
694
- * request policy is attached to a distribution’s cache behavior, you can get the policy’s
695
- * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
696
- * origin request policy is not attached to a cache behavior, you can get the identifier
697
- * using <code>ListOriginRequestPolicies</code>.</p>
705
+ * <p>To get an origin request policy, you must provide the policy’s identifier. If the
706
+ * origin request policy is attached to a distribution’s cache behavior, you can get the
707
+ * policy’s identifier using <code>ListDistributions</code> or
708
+ * <code>GetDistribution</code>. If the origin request policy is not attached to a cache
709
+ * behavior, you can get the identifier using
710
+ * <code>ListOriginRequestPolicies</code>.</p>
698
711
  */
699
712
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginRequestPolicyCommandOutput>;
700
713
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void): void;
701
714
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void): void;
702
715
  /**
703
716
  * <p>Gets an origin request policy configuration.</p>
704
- * <p>To get an origin request policy configuration, you must provide the policy’s identifier. If
705
- * the origin request policy is attached to a distribution’s cache behavior, you can get
706
- * the policy’s identifier using <code>ListDistributions</code> or
707
- * <code>GetDistribution</code>. If the origin request policy is not attached to a cache
708
- * behavior, you can get the identifier using
717
+ * <p>To get an origin request policy configuration, you must provide the policy’s
718
+ * identifier. If the origin request policy is attached to a distribution’s cache behavior,
719
+ * you can get the policy’s identifier using <code>ListDistributions</code> or
720
+ * <code>GetDistribution</code>. If the origin request policy is not attached to a
721
+ * cache behavior, you can get the identifier using
709
722
  * <code>ListOriginRequestPolicies</code>.</p>
710
723
  */
711
724
  getOriginRequestPolicyConfig(args: GetOriginRequestPolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginRequestPolicyConfigCommandOutput>;
@@ -725,16 +738,16 @@ export declare class CloudFront extends CloudFrontClient {
725
738
  getPublicKeyConfig(args: GetPublicKeyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicKeyConfigCommandOutput) => void): void;
726
739
  /**
727
740
  * <p>Gets a real-time log configuration.</p>
728
- * <p>To get a real-time log configuration, you can provide the configuration’s name or its Amazon
729
- * Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the
730
- * name to identify the real-time log configuration to get.</p>
741
+ * <p>To get a real-time log configuration, you can provide the configuration’s name or its
742
+ * Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
743
+ * uses the name to identify the real-time log configuration to get.</p>
731
744
  */
732
745
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetRealtimeLogConfigCommandOutput>;
733
746
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
734
747
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
735
748
  /**
736
- * <p>Gets a response headers policy, including metadata (the policy’s identifier and the date and
737
- * time when the policy was last modified).</p>
749
+ * <p>Gets a response headers policy, including metadata (the policy’s identifier and the
750
+ * date and time when the policy was last modified).</p>
738
751
  * <p>To get a response headers policy, you must provide the policy’s identifier. If the
739
752
  * response headers policy is attached to a distribution’s cache behavior, you can get the
740
753
  * policy’s identifier using <code>ListDistributions</code> or
@@ -750,15 +763,16 @@ export declare class CloudFront extends CloudFrontClient {
750
763
  * <p>To get a response headers policy configuration, you must provide the policy’s
751
764
  * identifier. If the response headers policy is attached to a distribution’s cache
752
765
  * behavior, you can get the policy’s identifier using <code>ListDistributions</code> or
753
- * <code>GetDistribution</code>. If the response headers policy is not attached to a
766
+ * <code>GetDistribution</code>. If the response headers policy is not attached to a
754
767
  * cache behavior, you can get the identifier using
755
- * <code>ListResponseHeadersPolicies</code>.</p>
768
+ * <code>ListResponseHeadersPolicies</code>.</p>
756
769
  */
757
770
  getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetResponseHeadersPolicyConfigCommandOutput>;
758
771
  getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, cb: (err: any, data?: GetResponseHeadersPolicyConfigCommandOutput) => void): void;
759
772
  getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResponseHeadersPolicyConfigCommandOutput) => void): void;
760
773
  /**
761
- * <p>Gets information about a specified RTMP distribution, including the distribution configuration.</p>
774
+ * <p>Gets information about a specified RTMP distribution, including the distribution
775
+ * configuration.</p>
762
776
  */
763
777
  getStreamingDistribution(args: GetStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamingDistributionCommandOutput>;
764
778
  getStreamingDistribution(args: GetStreamingDistributionCommandInput, cb: (err: any, data?: GetStreamingDistributionCommandOutput) => void): void;
@@ -771,8 +785,8 @@ export declare class CloudFront extends CloudFrontClient {
771
785
  getStreamingDistributionConfig(args: GetStreamingDistributionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void): void;
772
786
  /**
773
787
  * <p>Gets a list of cache policies.</p>
774
- * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
775
- * only the custom policies created in your Amazon Web Services account.</p>
788
+ * <p>You can optionally apply a filter to return only the managed policies created by
789
+ * Amazon Web Services, or only the custom policies created in your Amazon Web Services account.</p>
776
790
  * <p>You can optionally specify the maximum number of items to receive in the response. If
777
791
  * the total number of items in the list exceeds the maximum that you specify, or the
778
792
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -799,14 +813,14 @@ export declare class CloudFront extends CloudFrontClient {
799
813
  * input, the returned list can include <code>www.example.com</code> and the overlapping
800
814
  * wildcard alternate domain name (<code>*.example.com</code>), if they exist. If you
801
815
  * provide <code>*.example.com</code> as input, the returned list can include
802
- * <code>*.example.com</code> and any alternate domain names covered by that wildcard (for
803
- * example, <code>www.example.com</code>, <code>test.example.com</code>,
804
- * <code>dev.example.com</code>, and so on), if they exist.</p>
805
- * <p>To list conflicting aliases, you provide the alias to search and the ID of a distribution in
806
- * your account that has an attached SSL/TLS certificate that includes the provided alias.
807
- * For more information, including how to set up the distribution and certificate, see
808
- * <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
809
- * in the <i>Amazon CloudFront Developer Guide</i>.</p>
816
+ * <code>*.example.com</code> and any alternate domain names covered by that wildcard
817
+ * (for example, <code>www.example.com</code>, <code>test.example.com</code>,
818
+ * <code>dev.example.com</code>, and so on), if they exist.</p>
819
+ * <p>To list conflicting aliases, you provide the alias to search and the ID of a
820
+ * distribution in your account that has an attached SSL/TLS certificate that includes the
821
+ * provided alias. For more information, including how to set up the distribution and
822
+ * certificate, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different
823
+ * distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
810
824
  * <p>You can optionally specify the maximum number of items to receive in the response. If
811
825
  * the total number of items in the list exceeds the maximum that you specify, or the
812
826
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -846,8 +860,8 @@ export declare class CloudFront extends CloudFrontClient {
846
860
  listDistributionsByCachePolicyId(args: ListDistributionsByCachePolicyIdCommandInput, cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void): void;
847
861
  listDistributionsByCachePolicyId(args: ListDistributionsByCachePolicyIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void): void;
848
862
  /**
849
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that references
850
- * the specified key group.</p>
863
+ * <p>Gets a list of distribution IDs for distributions that have a cache behavior that
864
+ * references the specified key group.</p>
851
865
  * <p>You can optionally specify the maximum number of items to receive in the response. If
852
866
  * the total number of items in the list exceeds the maximum that you specify, or the
853
867
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -870,10 +884,10 @@ export declare class CloudFront extends CloudFrontClient {
870
884
  listDistributionsByOriginRequestPolicyId(args: ListDistributionsByOriginRequestPolicyIdCommandInput, cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void): void;
871
885
  listDistributionsByOriginRequestPolicyId(args: ListDistributionsByOriginRequestPolicyIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void): void;
872
886
  /**
873
- * <p>Gets a list of distributions that have a cache behavior that’s associated with the specified
874
- * real-time log configuration.</p>
875
- * <p>You can specify the real-time log configuration by its name or its Amazon Resource Name
876
- * (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
887
+ * <p>Gets a list of distributions that have a cache behavior that’s associated with the
888
+ * specified real-time log configuration.</p>
889
+ * <p>You can specify the real-time log configuration by its name or its Amazon Resource
890
+ * Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
877
891
  * identify the real-time log configuration to list distributions for.</p>
878
892
  * <p>You can optionally specify the maximum number of items to receive in the response. If
879
893
  * the total number of items in the list exceeds the maximum that you specify, or the
@@ -903,13 +917,15 @@ export declare class CloudFront extends CloudFrontClient {
903
917
  listDistributionsByWebACLId(args: ListDistributionsByWebACLIdCommandInput, cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void): void;
904
918
  listDistributionsByWebACLId(args: ListDistributionsByWebACLIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void): void;
905
919
  /**
906
- * <p>List all field-level encryption configurations that have been created in CloudFront for this account.</p>
920
+ * <p>List all field-level encryption configurations that have been created in CloudFront for this
921
+ * account.</p>
907
922
  */
908
923
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFieldLevelEncryptionConfigsCommandOutput>;
909
924
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void): void;
910
925
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void): void;
911
926
  /**
912
- * <p>Request a list of field-level encryption profiles that have been created in CloudFront for this account.</p>
927
+ * <p>Request a list of field-level encryption profiles that have been created in CloudFront for
928
+ * this account.</p>
913
929
  */
914
930
  listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListFieldLevelEncryptionProfilesCommandOutput>;
915
931
  listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void): void;
@@ -946,19 +962,19 @@ export declare class CloudFront extends CloudFrontClient {
946
962
  listKeyGroups(args: ListKeyGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyGroupsCommandOutput) => void): void;
947
963
  /**
948
964
  * <p>Gets the list of CloudFront origin access controls in this Amazon Web Services account.</p>
949
- * <p>You can optionally specify the maximum number of items to receive in the response. If the
950
- * total number of items in the list exceeds the maximum that you specify, or the default
951
- * maximum, the response is paginated. To get the next page of items, send another request
952
- * that specifies the <code>NextMarker</code> value from the current response as the
953
- * <code>Marker</code> value in the next request.</p>
965
+ * <p>You can optionally specify the maximum number of items to receive in the response. If
966
+ * the total number of items in the list exceeds the maximum that you specify, or the
967
+ * default maximum, the response is paginated. To get the next page of items, send another
968
+ * request that specifies the <code>NextMarker</code> value from the current response as
969
+ * the <code>Marker</code> value in the next request.</p>
954
970
  */
955
971
  listOriginAccessControls(args: ListOriginAccessControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginAccessControlsCommandOutput>;
956
972
  listOriginAccessControls(args: ListOriginAccessControlsCommandInput, cb: (err: any, data?: ListOriginAccessControlsCommandOutput) => void): void;
957
973
  listOriginAccessControls(args: ListOriginAccessControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginAccessControlsCommandOutput) => void): void;
958
974
  /**
959
975
  * <p>Gets a list of origin request policies.</p>
960
- * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
961
- * only the custom policies created in your Amazon Web Services account.</p>
976
+ * <p>You can optionally apply a filter to return only the managed policies created by
977
+ * Amazon Web Services, or only the custom policies created in your Amazon Web Services account.</p>
962
978
  * <p>You can optionally specify the maximum number of items to receive in the response. If
963
979
  * the total number of items in the list exceeds the maximum that you specify, or the
964
980
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -1011,15 +1027,16 @@ export declare class CloudFront extends CloudFrontClient {
1011
1027
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
1012
1028
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
1013
1029
  /**
1014
- * <p>Publishes a CloudFront function by copying the function code from the <code>DEVELOPMENT</code>
1015
- * stage to <code>LIVE</code>. This automatically updates all cache behaviors that are
1016
- * using this function to use the newly published copy in the <code>LIVE</code>
1017
- * stage.</p>
1018
- * <p>When a function is published to the <code>LIVE</code> stage, you can attach the function to
1019
- * a distribution’s cache behavior, using the function’s Amazon Resource Name (ARN).</p>
1020
- * <p>To publish a function, you must provide the function’s name and version (<code>ETag</code>
1021
- * value). To get these values, you can use <code>ListFunctions</code> and
1022
- * <code>DescribeFunction</code>.</p>
1030
+ * <p>Publishes a CloudFront function by copying the function code from the
1031
+ * <code>DEVELOPMENT</code> stage to <code>LIVE</code>. This automatically updates all
1032
+ * cache behaviors that are using this function to use the newly published copy in the
1033
+ * <code>LIVE</code> stage.</p>
1034
+ * <p>When a function is published to the <code>LIVE</code> stage, you can attach the
1035
+ * function to a distribution’s cache behavior, using the function’s Amazon Resource Name
1036
+ * (ARN).</p>
1037
+ * <p>To publish a function, you must provide the function’s name and version
1038
+ * (<code>ETag</code> value). To get these values, you can use
1039
+ * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
1023
1040
  */
1024
1041
  publishFunction(args: PublishFunctionCommandInput, options?: __HttpHandlerOptions): Promise<PublishFunctionCommandOutput>;
1025
1042
  publishFunction(args: PublishFunctionCommandInput, cb: (err: any, data?: PublishFunctionCommandOutput) => void): void;
@@ -1032,15 +1049,15 @@ export declare class CloudFront extends CloudFrontClient {
1032
1049
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1033
1050
  /**
1034
1051
  * <p>Tests a CloudFront function.</p>
1035
- * <p>To test a function, you provide an <i>event object</i> that represents an HTTP
1036
- * request or response that your CloudFront distribution could receive in production. CloudFront runs
1037
- * the function, passing it the event object that you provided, and returns the function’s
1038
- * result (the modified event object) in the response. The response also contains function
1039
- * logs and error messages, if any exist. For more information about testing functions, see
1040
- * <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function">Testing functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1041
- * <p>To test a function, you provide the function’s name and version (<code>ETag</code> value)
1042
- * along with the event object. To get the function’s name and version, you can use
1043
- * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
1052
+ * <p>To test a function, you provide an <i>event object</i> that represents
1053
+ * an HTTP request or response that your CloudFront distribution could receive in production.
1054
+ * CloudFront runs the function, passing it the event object that you provided, and returns the
1055
+ * function’s result (the modified event object) in the response. The response also
1056
+ * contains function logs and error messages, if any exist. For more information about
1057
+ * testing functions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function">Testing functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1058
+ * <p>To test a function, you provide the function’s name and version (<code>ETag</code>
1059
+ * value) along with the event object. To get the function’s name and version, you can use
1060
+ * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
1044
1061
  */
1045
1062
  testFunction(args: TestFunctionCommandInput, options?: __HttpHandlerOptions): Promise<TestFunctionCommandOutput>;
1046
1063
  testFunction(args: TestFunctionCommandInput, cb: (err: any, data?: TestFunctionCommandOutput) => void): void;
@@ -1081,9 +1098,10 @@ export declare class CloudFront extends CloudFrontClient {
1081
1098
  updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
1082
1099
  updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
1083
1100
  /**
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>
1101
+ * <p>Updates a continuous deployment policy. You can update a continuous deployment policy
1102
+ * to enable or disable it, to change the percentage of traffic that it sends to the
1103
+ * staging distribution, or to change the staging distribution that it sends traffic
1104
+ * to.</p>
1087
1105
  * <p>When you update a continuous deployment policy configuration, all the fields are
1088
1106
  * updated with the values that are provided in the request. You cannot update some fields
1089
1107
  * independent of others. To update a continuous deployment policy configuration:</p>
@@ -1108,21 +1126,22 @@ export declare class CloudFront extends CloudFrontClient {
1108
1126
  updateContinuousDeploymentPolicy(args: UpdateContinuousDeploymentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContinuousDeploymentPolicyCommandOutput) => void): void;
1109
1127
  /**
1110
1128
  * <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>
1129
+ * <p>The update process includes getting the current distribution configuration, updating
1130
+ * it to make your changes, and then submitting an <code>UpdateDistribution</code> request
1131
+ * to make the updates.</p>
1114
1132
  *
1115
1133
  * <p>
1116
- * <b>To update a web distribution using the CloudFront API</b>
1134
+ * <b>To update a web distribution using the CloudFront
1135
+ * API</b>
1117
1136
  * </p>
1118
1137
  * <ol>
1119
1138
  * <li>
1120
- * <p>Use <code>GetDistributionConfig</code> to get the current configuration, including the version
1121
- * identifier (<code>ETag</code>).</p>
1139
+ * <p>Use <code>GetDistributionConfig</code> to get the current configuration,
1140
+ * including the version identifier (<code>ETag</code>).</p>
1122
1141
  * </li>
1123
1142
  * <li>
1124
- * <p>Update the distribution configuration that was returned in the response. Note the following
1125
- * important requirements and restrictions:</p>
1143
+ * <p>Update the distribution configuration that was returned in the response. Note
1144
+ * the following important requirements and restrictions:</p>
1126
1145
  * <ul>
1127
1146
  * <li>
1128
1147
  * <p>You must rename the <code>ETag</code> field to <code>IfMatch</code>,
@@ -1136,17 +1155,32 @@ export declare class CloudFront extends CloudFrontClient {
1136
1155
  * </ul>
1137
1156
  * </li>
1138
1157
  * <li>
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>
1158
+ * <p>Submit an <code>UpdateDistribution</code> request, providing the distribution
1159
+ * configuration. The new configuration replaces the existing configuration. The
1160
+ * values that you specify in an <code>UpdateDistribution</code> request are not
1161
+ * merged into your existing configuration. Make sure to include all fields: the
1162
+ * ones that you modified and also the ones that you didn’t.</p>
1144
1163
  * </li>
1145
1164
  * </ol>
1146
1165
  */
1147
1166
  updateDistribution(args: UpdateDistributionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDistributionCommandOutput>;
1148
1167
  updateDistribution(args: UpdateDistributionCommandInput, cb: (err: any, data?: UpdateDistributionCommandOutput) => void): void;
1149
1168
  updateDistribution(args: UpdateDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDistributionCommandOutput) => void): void;
1169
+ /**
1170
+ * <p>Copies the staging distribution's configuration to its corresponding primary
1171
+ * distribution. The primary distribution retains its <code>Aliases</code> (also known as
1172
+ * alternate domain names or CNAMEs) and <code>ContinuousDeploymentPolicyId</code> value,
1173
+ * but otherwise its configuration is overwritten to match the staging distribution.</p>
1174
+ * <p>You can use this operation in a continuous deployment workflow after you have tested
1175
+ * configuration changes on the staging distribution. After using a continuous deployment
1176
+ * policy to move a portion of your domain name’s traffic to the staging distribution and
1177
+ * verifying that it works as intended, you can use this operation to copy the staging
1178
+ * distribution’s configuration to the primary distribution. This action will disable the
1179
+ * continuous deployment policy and move your domain’s traffic back to the primary distribution.</p>
1180
+ */
1181
+ updateDistributionWithStagingConfig(args: UpdateDistributionWithStagingConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDistributionWithStagingConfigCommandOutput>;
1182
+ updateDistributionWithStagingConfig(args: UpdateDistributionWithStagingConfigCommandInput, cb: (err: any, data?: UpdateDistributionWithStagingConfigCommandOutput) => void): void;
1183
+ updateDistributionWithStagingConfig(args: UpdateDistributionWithStagingConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDistributionWithStagingConfigCommandOutput) => void): void;
1150
1184
  /**
1151
1185
  * <p>Update a field-level encryption configuration. </p>
1152
1186
  */
@@ -1163,9 +1197,9 @@ export declare class CloudFront extends CloudFrontClient {
1163
1197
  * <p>Updates a CloudFront function.</p>
1164
1198
  * <p>You can update a function’s code or the comment that describes the function. You
1165
1199
  * cannot update a function’s name.</p>
1166
- * <p>To update a function, you provide the function’s name and version (<code>ETag</code> value)
1167
- * along with the updated function code. To get the name and version, you can use
1168
- * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
1200
+ * <p>To update a function, you provide the function’s name and version (<code>ETag</code>
1201
+ * value) along with the updated function code. To get the name and version, you can use
1202
+ * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
1169
1203
  */
1170
1204
  updateFunction(args: UpdateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCommandOutput>;
1171
1205
  updateFunction(args: UpdateFunctionCommandInput, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
@@ -1178,7 +1212,7 @@ export declare class CloudFront extends CloudFrontClient {
1178
1212
  * <ol>
1179
1213
  * <li>
1180
1214
  * <p>Get the current key group with <code>GetKeyGroup</code> or
1181
- * <code>GetKeyGroupConfig</code>.</p>
1215
+ * <code>GetKeyGroupConfig</code>.</p>
1182
1216
  * </li>
1183
1217
  * <li>
1184
1218
  * <p>Locally modify the fields in the key group that you want to update. For
@@ -1206,7 +1240,8 @@ export declare class CloudFront extends CloudFrontClient {
1206
1240
  * others. To update an origin request policy configuration:</p>
1207
1241
  * <ol>
1208
1242
  * <li>
1209
- * <p>Use <code>GetOriginRequestPolicyConfig</code> to get the current configuration.</p>
1243
+ * <p>Use <code>GetOriginRequestPolicyConfig</code> to get the current
1244
+ * configuration.</p>
1210
1245
  * </li>
1211
1246
  * <li>
1212
1247
  * <p>Locally modify the fields in the origin request policy configuration that you
@@ -1223,7 +1258,8 @@ export declare class CloudFront extends CloudFrontClient {
1223
1258
  updateOriginRequestPolicy(args: UpdateOriginRequestPolicyCommandInput, cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void): void;
1224
1259
  updateOriginRequestPolicy(args: UpdateOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void): void;
1225
1260
  /**
1226
- * <p>Update public key information. Note that the only value you can change is the comment.</p>
1261
+ * <p>Update public key information. Note that the only value you can change is the
1262
+ * comment.</p>
1227
1263
  */
1228
1264
  updatePublicKey(args: UpdatePublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePublicKeyCommandOutput>;
1229
1265
  updatePublicKey(args: UpdatePublicKeyCommandInput, cb: (err: any, data?: UpdatePublicKeyCommandOutput) => void): void;
@@ -1249,7 +1285,7 @@ export declare class CloudFront extends CloudFrontClient {
1249
1285
  * </li>
1250
1286
  * </ol>
1251
1287
  * <p>You cannot update a real-time log configuration’s <code>Name</code> or
1252
- * <code>ARN</code>.</p>
1288
+ * <code>ARN</code>.</p>
1253
1289
  */
1254
1290
  updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRealtimeLogConfigCommandOutput>;
1255
1291
  updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void): void;