@aws-sdk/client-cloudfront 3.145.0 → 3.157.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 (71) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/CloudFront.js +90 -0
  3. package/dist-cjs/commands/CreateOriginAccessControlCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteDistributionCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteKeyGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +36 -0
  11. package/dist-cjs/commands/GetOriginAccessControlCommand.js +36 -0
  12. package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +36 -0
  13. package/dist-cjs/commands/ListOriginAccessControlsCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +6 -0
  16. package/dist-cjs/models/models_0.js +134 -142
  17. package/dist-cjs/models/models_1.js +226 -4
  18. package/dist-cjs/protocols/Aws_restXml.js +697 -20
  19. package/dist-es/CloudFront.js +90 -0
  20. package/dist-es/commands/CreateOriginAccessControlCommand.js +39 -0
  21. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +1 -1
  22. package/dist-es/commands/DeleteDistributionCommand.js +1 -1
  23. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +1 -1
  24. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +1 -1
  25. package/dist-es/commands/DeleteFunctionCommand.js +1 -1
  26. package/dist-es/commands/DeleteKeyGroupCommand.js +1 -1
  27. package/dist-es/commands/DeleteOriginAccessControlCommand.js +39 -0
  28. package/dist-es/commands/GetOriginAccessControlCommand.js +39 -0
  29. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +39 -0
  30. package/dist-es/commands/ListOriginAccessControlsCommand.js +39 -0
  31. package/dist-es/commands/UpdateOriginAccessControlCommand.js +39 -0
  32. package/dist-es/commands/index.js +6 -0
  33. package/dist-es/models/models_0.js +109 -110
  34. package/dist-es/models/models_1.js +160 -0
  35. package/dist-es/protocols/Aws_restXml.js +1488 -629
  36. package/dist-types/CloudFront.d.ts +56 -0
  37. package/dist-types/CloudFrontClient.d.ts +8 -2
  38. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +41 -0
  39. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +38 -0
  46. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +35 -0
  47. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +35 -0
  48. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +40 -0
  49. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +35 -0
  50. package/dist-types/commands/index.d.ts +6 -0
  51. package/dist-types/models/models_0.d.ts +228 -255
  52. package/dist-types/models/models_1.d.ts +494 -1
  53. package/dist-types/protocols/Aws_restXml.d.ts +18 -0
  54. package/dist-types/ts3.4/CloudFront.d.ts +30 -0
  55. package/dist-types/ts3.4/CloudFrontClient.d.ts +8 -2
  56. package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/models/models_1.d.ts +241 -1
  70. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +18 -0
  71. package/package.json +4 -4
@@ -1861,7 +1861,7 @@ export interface DefaultCacheBehavior {
1861
1861
  */
1862
1862
  MaxTTL?: number;
1863
1863
  }
1864
- export declare type HttpVersion = "http1.1" | "http2";
1864
+ export declare type HttpVersion = "http1.1" | "http2" | "http2and3" | "http3";
1865
1865
  /**
1866
1866
  * <p>A complex type that controls whether access logs are written for the
1867
1867
  * distribution.</p>
@@ -2247,6 +2247,12 @@ export interface Origin {
2247
2247
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html">Using Origin Shield</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
2248
2248
  */
2249
2249
  OriginShield?: OriginShield;
2250
+ /**
2251
+ * <p>The unique identifier of an origin access control for this origin.</p>
2252
+ * <p>For more information, 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
2253
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
2254
+ */
2255
+ OriginAccessControlId?: string;
2250
2256
  }
2251
2257
  /**
2252
2258
  * <p>Contains information about the origins for this distribution.</p>
@@ -2667,14 +2673,16 @@ export interface DistributionConfig {
2667
2673
  */
2668
2674
  WebACLId?: string;
2669
2675
  /**
2670
- * <p>(Optional) Specify the maximum HTTP version that you want viewers to use to communicate
2671
- * with CloudFront. The default value for new web distributions is http2. Viewers that don't support
2672
- * HTTP/2 automatically use an earlier HTTP version.</p>
2673
- * <p>For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must
2674
- * support Server Name Identification (SNI).</p>
2675
- * <p>In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency.
2676
- * You can improve performance by optimizing for HTTP/2. For more information, do an Internet
2677
- * search for "http/2 optimization." </p>
2676
+ * <p>(Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate
2677
+ * with CloudFront. The default value for new web distributions is <code>http2</code>. Viewers
2678
+ * that don't support HTTP/2 automatically use an earlier HTTP version.</p>
2679
+ * <p>For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must
2680
+ * support Server Name Indication (SNI).</p>
2681
+ * <p>For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name
2682
+ * Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the
2683
+ * viewer to switch networks without losing connection. For more information
2684
+ * about connection migration, see <a href="https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration">Connection Migration</a> at RFC 9000. For more information about
2685
+ * supported TLSv1.3 ciphers, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers between viewers and CloudFront</a>.</p>
2678
2686
  */
2679
2687
  HttpVersion?: HttpVersion | string;
2680
2688
  /**
@@ -2827,6 +2835,19 @@ export declare class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavi
2827
2835
  */
2828
2836
  constructor(opts: __ExceptionOptionType<IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, __BaseException>);
2829
2837
  }
2838
+ /**
2839
+ * <p>An origin cannot contain both an origin access control (OAC) and an origin access identity
2840
+ * (OAI).</p>
2841
+ */
2842
+ export declare class IllegalOriginAccessConfiguration extends __BaseException {
2843
+ readonly name: "IllegalOriginAccessConfiguration";
2844
+ readonly $fault: "client";
2845
+ Message?: string;
2846
+ /**
2847
+ * @internal
2848
+ */
2849
+ constructor(opts: __ExceptionOptionType<IllegalOriginAccessConfiguration, __BaseException>);
2850
+ }
2830
2851
  /**
2831
2852
  * <p>The default root object file name is too big or contains an invalid character.</p>
2832
2853
  */
@@ -2839,6 +2860,19 @@ export declare class InvalidDefaultRootObject extends __BaseException {
2839
2860
  */
2840
2861
  constructor(opts: __ExceptionOptionType<InvalidDefaultRootObject, __BaseException>);
2841
2862
  }
2863
+ /**
2864
+ * <p>An origin access control is associated with an origin whose domain name is not
2865
+ * supported.</p>
2866
+ */
2867
+ export declare class InvalidDomainNameForOriginAccessControl extends __BaseException {
2868
+ readonly name: "InvalidDomainNameForOriginAccessControl";
2869
+ readonly $fault: "client";
2870
+ Message?: string;
2871
+ /**
2872
+ * @internal
2873
+ */
2874
+ constructor(opts: __ExceptionOptionType<InvalidDomainNameForOriginAccessControl, __BaseException>);
2875
+ }
2842
2876
  /**
2843
2877
  * <p>An invalid error code was specified.</p>
2844
2878
  */
@@ -2948,6 +2982,18 @@ export declare class InvalidOrigin extends __BaseException {
2948
2982
  */
2949
2983
  constructor(opts: __ExceptionOptionType<InvalidOrigin, __BaseException>);
2950
2984
  }
2985
+ /**
2986
+ * <p>The origin access control is not valid.</p>
2987
+ */
2988
+ export declare class InvalidOriginAccessControl extends __BaseException {
2989
+ readonly name: "InvalidOriginAccessControl";
2990
+ readonly $fault: "client";
2991
+ Message?: string;
2992
+ /**
2993
+ * @internal
2994
+ */
2995
+ constructor(opts: __ExceptionOptionType<InvalidOriginAccessControl, __BaseException>);
2996
+ }
2951
2997
  /**
2952
2998
  * <p>The origin access identity is not valid or doesn't exist.</p>
2953
2999
  */
@@ -3258,6 +3304,21 @@ export declare class TooManyDistributionsAssociatedToKeyGroup extends __BaseExce
3258
3304
  */
3259
3305
  constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToKeyGroup, __BaseException>);
3260
3306
  }
3307
+ /**
3308
+ * <p>The maximum number of distributions have been associated with the specified origin
3309
+ * access control.</p>
3310
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
3311
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
3312
+ */
3313
+ export declare class TooManyDistributionsAssociatedToOriginAccessControl extends __BaseException {
3314
+ readonly name: "TooManyDistributionsAssociatedToOriginAccessControl";
3315
+ readonly $fault: "client";
3316
+ Message?: string;
3317
+ /**
3318
+ * @internal
3319
+ */
3320
+ constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToOriginAccessControl, __BaseException>);
3321
+ }
3261
3322
  /**
3262
3323
  * <p>The maximum number of distributions have been associated with the specified origin
3263
3324
  * request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
@@ -4341,6 +4402,144 @@ export interface CreateMonitoringSubscriptionResult {
4341
4402
  */
4342
4403
  MonitoringSubscription?: MonitoringSubscription;
4343
4404
  }
4405
+ /**
4406
+ * <p>A monitoring subscription already exists for the specified distribution.</p>
4407
+ */
4408
+ export declare class MonitoringSubscriptionAlreadyExists extends __BaseException {
4409
+ readonly name: "MonitoringSubscriptionAlreadyExists";
4410
+ readonly $fault: "client";
4411
+ Message?: string;
4412
+ /**
4413
+ * @internal
4414
+ */
4415
+ constructor(opts: __ExceptionOptionType<MonitoringSubscriptionAlreadyExists, __BaseException>);
4416
+ }
4417
+ export declare enum OriginAccessControlOriginTypes {
4418
+ s3 = "s3"
4419
+ }
4420
+ export declare enum OriginAccessControlSigningBehaviors {
4421
+ always = "always",
4422
+ never = "never",
4423
+ no_override = "no-override"
4424
+ }
4425
+ export declare enum OriginAccessControlSigningProtocols {
4426
+ sigv4 = "sigv4"
4427
+ }
4428
+ /**
4429
+ * <p>A CloudFront origin access control.</p>
4430
+ */
4431
+ export interface OriginAccessControlConfig {
4432
+ /**
4433
+ * <p>A name to identify the origin access control.</p>
4434
+ */
4435
+ Name: string | undefined;
4436
+ /**
4437
+ * <p>A description of the origin access control.</p>
4438
+ */
4439
+ Description: string | undefined;
4440
+ /**
4441
+ * <p>The signing protocol of the origin access control, which determines how CloudFront signs
4442
+ * (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
4443
+ */
4444
+ SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
4445
+ /**
4446
+ * <p>Specifies which requests CloudFront signs (adds authentication information to). Specify
4447
+ * <code>always</code> for the most common use case. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings">origin access control advanced settings</a> in the
4448
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
4449
+ * <p>This field can have one of the following values:</p>
4450
+ * <ul>
4451
+ * <li>
4452
+ * <p>
4453
+ * <code>always</code> – CloudFront signs all origin requests, overwriting the
4454
+ * <code>Authorization</code> header from the viewer request if one exists.</p>
4455
+ * </li>
4456
+ * <li>
4457
+ * <p>
4458
+ * <code>never</code> – CloudFront doesn't sign any origin requests. This value turns off origin
4459
+ * access control for all origins in all distributions that use this origin access
4460
+ * control.</p>
4461
+ * </li>
4462
+ * <li>
4463
+ * <p>
4464
+ * <code>no-override</code> – If the viewer request doesn't contain the
4465
+ * <code>Authorization</code> header, then CloudFront signs the origin request. If the
4466
+ * viewer request contains the <code>Authorization</code> header, then CloudFront doesn't
4467
+ * sign the origin request and instead passes along the <code>Authorization</code>
4468
+ * header from the viewer request. <b>WARNING: To pass along the
4469
+ * <code>Authorization</code> header from the viewer request, you
4470
+ * <i>must</i> add the <code>Authorization</code> header to an <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">origin request policy</a> for all cache behaviors that
4471
+ * use origins associated with this origin access control.</b>
4472
+ * </p>
4473
+ * </li>
4474
+ * </ul>
4475
+ */
4476
+ SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
4477
+ /**
4478
+ * <p>The type of origin that this origin access control is for. The only valid value is
4479
+ * <code>s3</code>.</p>
4480
+ */
4481
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
4482
+ }
4483
+ export interface CreateOriginAccessControlRequest {
4484
+ /**
4485
+ * <p>Contains the origin access control.</p>
4486
+ */
4487
+ OriginAccessControlConfig: OriginAccessControlConfig | undefined;
4488
+ }
4489
+ /**
4490
+ * <p>A CloudFront origin access control.</p>
4491
+ */
4492
+ export interface OriginAccessControl {
4493
+ /**
4494
+ * <p>The unique identifier of the origin access control.</p>
4495
+ */
4496
+ Id: string | undefined;
4497
+ /**
4498
+ * <p>The origin access control.</p>
4499
+ */
4500
+ OriginAccessControlConfig?: OriginAccessControlConfig;
4501
+ }
4502
+ export interface CreateOriginAccessControlResult {
4503
+ /**
4504
+ * <p>Contains an origin access control.</p>
4505
+ */
4506
+ OriginAccessControl?: OriginAccessControl;
4507
+ /**
4508
+ * <p>The URL of the origin access control.</p>
4509
+ */
4510
+ Location?: string;
4511
+ /**
4512
+ * <p>The version identifier for the current version of the origin access control.</p>
4513
+ */
4514
+ ETag?: string;
4515
+ }
4516
+ /**
4517
+ * <p>An origin access control with the specified parameters already exists.</p>
4518
+ */
4519
+ export declare class OriginAccessControlAlreadyExists extends __BaseException {
4520
+ readonly name: "OriginAccessControlAlreadyExists";
4521
+ readonly $fault: "client";
4522
+ Message?: string;
4523
+ /**
4524
+ * @internal
4525
+ */
4526
+ constructor(opts: __ExceptionOptionType<OriginAccessControlAlreadyExists, __BaseException>);
4527
+ }
4528
+ /**
4529
+ * <p>The number of origin access controls in your Amazon Web Services account exceeds the maximum
4530
+ * allowed.</p>
4531
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
4532
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
4533
+ */
4534
+ export declare class TooManyOriginAccessControls extends __BaseException {
4535
+ readonly name: "TooManyOriginAccessControls";
4536
+ readonly $fault: "client";
4537
+ Message?: string;
4538
+ /**
4539
+ * @internal
4540
+ */
4541
+ constructor(opts: __ExceptionOptionType<TooManyOriginAccessControls, __BaseException>);
4542
+ }
4344
4543
  export declare type OriginRequestPolicyCookieBehavior = "all" | "none" | "whitelist";
4345
4544
  /**
4346
4545
  * <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
@@ -5345,15 +5544,15 @@ export interface ResponseHeadersPolicyConfig {
5345
5544
  * <p>A configuration for a set of security-related HTTP response headers.</p>
5346
5545
  */
5347
5546
  SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
5348
- /**
5349
- * <p>A configuration for a set of custom HTTP response headers.</p>
5350
- */
5351
- CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
5352
5547
  /**
5353
5548
  * <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
5354
5549
  * sent from CloudFront.</p>
5355
5550
  */
5356
5551
  ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
5552
+ /**
5553
+ * <p>A configuration for a set of custom HTTP response headers.</p>
5554
+ */
5555
+ CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
5357
5556
  }
5358
5557
  export interface CreateResponseHeadersPolicyRequest {
5359
5558
  /**
@@ -5765,224 +5964,6 @@ export declare class PreconditionFailed extends __BaseException {
5765
5964
  */
5766
5965
  constructor(opts: __ExceptionOptionType<PreconditionFailed, __BaseException>);
5767
5966
  }
5768
- /**
5769
- * <p>The Origin Access Identity specified is already in use.</p>
5770
- */
5771
- export declare class CloudFrontOriginAccessIdentityInUse extends __BaseException {
5772
- readonly name: "CloudFrontOriginAccessIdentityInUse";
5773
- readonly $fault: "client";
5774
- Message?: string;
5775
- /**
5776
- * @internal
5777
- */
5778
- constructor(opts: __ExceptionOptionType<CloudFrontOriginAccessIdentityInUse, __BaseException>);
5779
- }
5780
- /**
5781
- * <p>Deletes a origin access identity.</p>
5782
- */
5783
- export interface DeleteCloudFrontOriginAccessIdentityRequest {
5784
- /**
5785
- * <p>The origin access identity's ID.</p>
5786
- */
5787
- Id: string | undefined;
5788
- /**
5789
- * <p>The value of the <code>ETag</code> header you received from a previous <code>GET</code>
5790
- * or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5791
- */
5792
- IfMatch?: string;
5793
- }
5794
- /**
5795
- * <p>The specified origin access identity does not exist.</p>
5796
- */
5797
- export declare class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
5798
- readonly name: "NoSuchCloudFrontOriginAccessIdentity";
5799
- readonly $fault: "client";
5800
- Message?: string;
5801
- /**
5802
- * @internal
5803
- */
5804
- constructor(opts: __ExceptionOptionType<NoSuchCloudFrontOriginAccessIdentity, __BaseException>);
5805
- }
5806
- /**
5807
- * <p>This action deletes a web distribution. To delete a web distribution using the CloudFront
5808
- * API, perform the following steps.</p>
5809
- * <p>
5810
- * <b>To delete a web distribution using the CloudFront API:</b>
5811
- * </p>
5812
- * <ol>
5813
- * <li>
5814
- * <p>Disable the web distribution </p>
5815
- * </li>
5816
- * <li>
5817
- * <p>Submit a <code>GET Distribution Config</code> request to get the current
5818
- * configuration and the <code>Etag</code> header for the distribution.</p>
5819
- * </li>
5820
- * <li>
5821
- * <p>Update the XML document that was returned in the response to your <code>GET
5822
- * Distribution Config</code> request to change the value of <code>Enabled</code> to
5823
- * <code>false</code>.</p>
5824
- * </li>
5825
- * <li>
5826
- * <p>Submit a <code>PUT Distribution Config</code> request to update the configuration
5827
- * for your distribution. In the request body, include the XML document that you updated in
5828
- * Step 3. Set the value of the HTTP <code>If-Match</code> header to the value of the
5829
- * <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
5830
- * Distribution Config</code> request in Step 2.</p>
5831
- * </li>
5832
- * <li>
5833
- * <p>Review the response to the <code>PUT Distribution Config</code> request to confirm
5834
- * that the distribution was successfully disabled.</p>
5835
- * </li>
5836
- * <li>
5837
- * <p>Submit a <code>GET Distribution</code> request to confirm that your changes have
5838
- * propagated. When propagation is complete, the value of <code>Status</code> is
5839
- * <code>Deployed</code>.</p>
5840
- * </li>
5841
- * <li>
5842
- * <p>Submit a <code>DELETE Distribution</code> request. Set the value of the HTTP
5843
- * <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
5844
- * returned when you submitted the <code>GET Distribution Config</code> request in Step
5845
- * 6.</p>
5846
- * </li>
5847
- * <li>
5848
- * <p>Review the response to your <code>DELETE Distribution</code> request to confirm
5849
- * that the distribution was successfully deleted.</p>
5850
- * </li>
5851
- * </ol>
5852
- * <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
5853
- * <i>Amazon CloudFront Developer Guide</i>.</p>
5854
- */
5855
- export interface DeleteDistributionRequest {
5856
- /**
5857
- * <p>The distribution ID. </p>
5858
- */
5859
- Id: string | undefined;
5860
- /**
5861
- * <p>The value of the <code>ETag</code> header that you received when you disabled the
5862
- * distribution. For example: <code>E2QWRUHAPOMQZL</code>. </p>
5863
- */
5864
- IfMatch?: string;
5865
- }
5866
- /**
5867
- * <p>The specified CloudFront distribution is not disabled. You must disable
5868
- * the distribution before you can delete it.</p>
5869
- */
5870
- export declare class DistributionNotDisabled extends __BaseException {
5871
- readonly name: "DistributionNotDisabled";
5872
- readonly $fault: "client";
5873
- Message?: string;
5874
- /**
5875
- * @internal
5876
- */
5877
- constructor(opts: __ExceptionOptionType<DistributionNotDisabled, __BaseException>);
5878
- }
5879
- export interface DeleteFieldLevelEncryptionConfigRequest {
5880
- /**
5881
- * <p>The ID of the configuration you want to delete from CloudFront.</p>
5882
- */
5883
- Id: string | undefined;
5884
- /**
5885
- * <p>The value of the <code>ETag</code> header that you received when retrieving the
5886
- * configuration identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5887
- */
5888
- IfMatch?: string;
5889
- }
5890
- /**
5891
- * <p>The specified configuration for field-level encryption is in use.</p>
5892
- */
5893
- export declare class FieldLevelEncryptionConfigInUse extends __BaseException {
5894
- readonly name: "FieldLevelEncryptionConfigInUse";
5895
- readonly $fault: "client";
5896
- Message?: string;
5897
- /**
5898
- * @internal
5899
- */
5900
- constructor(opts: __ExceptionOptionType<FieldLevelEncryptionConfigInUse, __BaseException>);
5901
- }
5902
- export interface DeleteFieldLevelEncryptionProfileRequest {
5903
- /**
5904
- * <p>Request the ID of the profile you want to delete from CloudFront.</p>
5905
- */
5906
- Id: string | undefined;
5907
- /**
5908
- * <p>The value of the <code>ETag</code> header that you received when retrieving the
5909
- * profile to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5910
- */
5911
- IfMatch?: string;
5912
- }
5913
- /**
5914
- * <p>The specified profile for field-level encryption is in use.</p>
5915
- */
5916
- export declare class FieldLevelEncryptionProfileInUse extends __BaseException {
5917
- readonly name: "FieldLevelEncryptionProfileInUse";
5918
- readonly $fault: "client";
5919
- Message?: string;
5920
- /**
5921
- * @internal
5922
- */
5923
- constructor(opts: __ExceptionOptionType<FieldLevelEncryptionProfileInUse, __BaseException>);
5924
- }
5925
- export interface DeleteFunctionRequest {
5926
- /**
5927
- * <p>The name of the function that you are deleting.</p>
5928
- */
5929
- Name: string | undefined;
5930
- /**
5931
- * <p>The current version (<code>ETag</code> value) of the function that you are deleting, which
5932
- * you can get using <code>DescribeFunction</code>.</p>
5933
- */
5934
- IfMatch: string | undefined;
5935
- }
5936
- /**
5937
- * <p>Cannot delete the function because it’s attached to one or more cache
5938
- * behaviors.</p>
5939
- */
5940
- export declare class FunctionInUse extends __BaseException {
5941
- readonly name: "FunctionInUse";
5942
- readonly $fault: "client";
5943
- Message?: string;
5944
- /**
5945
- * @internal
5946
- */
5947
- constructor(opts: __ExceptionOptionType<FunctionInUse, __BaseException>);
5948
- }
5949
- /**
5950
- * <p>The function does not exist.</p>
5951
- */
5952
- export declare class NoSuchFunctionExists extends __BaseException {
5953
- readonly name: "NoSuchFunctionExists";
5954
- readonly $fault: "client";
5955
- Message?: string;
5956
- /**
5957
- * @internal
5958
- */
5959
- constructor(opts: __ExceptionOptionType<NoSuchFunctionExists, __BaseException>);
5960
- }
5961
- export interface DeleteKeyGroupRequest {
5962
- /**
5963
- * <p>The identifier of the key group that you are deleting. To get the identifier, use
5964
- * <code>ListKeyGroups</code>.</p>
5965
- */
5966
- Id: string | undefined;
5967
- /**
5968
- * <p>The version of the key group that you are deleting. The version is the key group’s
5969
- * <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or
5970
- * <code>GetKeyGroupConfig</code>.</p>
5971
- */
5972
- IfMatch?: string;
5973
- }
5974
- /**
5975
- * <p>A resource that was specified is not valid.</p>
5976
- */
5977
- export declare class NoSuchResource extends __BaseException {
5978
- readonly name: "NoSuchResource";
5979
- readonly $fault: "client";
5980
- Message?: string;
5981
- /**
5982
- * @internal
5983
- */
5984
- constructor(opts: __ExceptionOptionType<NoSuchResource, __BaseException>);
5985
- }
5986
5967
  /**
5987
5968
  * @internal
5988
5969
  */
@@ -6395,6 +6376,22 @@ export declare const CreateMonitoringSubscriptionRequestFilterSensitiveLog: (obj
6395
6376
  * @internal
6396
6377
  */
6397
6378
  export declare const CreateMonitoringSubscriptionResultFilterSensitiveLog: (obj: CreateMonitoringSubscriptionResult) => any;
6379
+ /**
6380
+ * @internal
6381
+ */
6382
+ export declare const OriginAccessControlConfigFilterSensitiveLog: (obj: OriginAccessControlConfig) => any;
6383
+ /**
6384
+ * @internal
6385
+ */
6386
+ export declare const CreateOriginAccessControlRequestFilterSensitiveLog: (obj: CreateOriginAccessControlRequest) => any;
6387
+ /**
6388
+ * @internal
6389
+ */
6390
+ export declare const OriginAccessControlFilterSensitiveLog: (obj: OriginAccessControl) => any;
6391
+ /**
6392
+ * @internal
6393
+ */
6394
+ export declare const CreateOriginAccessControlResultFilterSensitiveLog: (obj: CreateOriginAccessControlResult) => any;
6398
6395
  /**
6399
6396
  * @internal
6400
6397
  */
@@ -6575,27 +6572,3 @@ export declare const CreateStreamingDistributionWithTagsResultFilterSensitiveLog
6575
6572
  * @internal
6576
6573
  */
6577
6574
  export declare const DeleteCachePolicyRequestFilterSensitiveLog: (obj: DeleteCachePolicyRequest) => any;
6578
- /**
6579
- * @internal
6580
- */
6581
- export declare const DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog: (obj: DeleteCloudFrontOriginAccessIdentityRequest) => any;
6582
- /**
6583
- * @internal
6584
- */
6585
- export declare const DeleteDistributionRequestFilterSensitiveLog: (obj: DeleteDistributionRequest) => any;
6586
- /**
6587
- * @internal
6588
- */
6589
- export declare const DeleteFieldLevelEncryptionConfigRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionConfigRequest) => any;
6590
- /**
6591
- * @internal
6592
- */
6593
- export declare const DeleteFieldLevelEncryptionProfileRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionProfileRequest) => any;
6594
- /**
6595
- * @internal
6596
- */
6597
- export declare const DeleteFunctionRequestFilterSensitiveLog: (obj: DeleteFunctionRequest) => any;
6598
- /**
6599
- * @internal
6600
- */
6601
- export declare const DeleteKeyGroupRequestFilterSensitiveLog: (obj: DeleteKeyGroupRequest) => any;