@aws-sdk/client-cloudfront 3.154.0 → 3.160.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 +27 -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 +217 -246
  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 +27 -27
@@ -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>
@@ -2829,6 +2835,19 @@ export declare class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavi
2829
2835
  */
2830
2836
  constructor(opts: __ExceptionOptionType<IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, __BaseException>);
2831
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
+ }
2832
2851
  /**
2833
2852
  * <p>The default root object file name is too big or contains an invalid character.</p>
2834
2853
  */
@@ -2841,6 +2860,19 @@ export declare class InvalidDefaultRootObject extends __BaseException {
2841
2860
  */
2842
2861
  constructor(opts: __ExceptionOptionType<InvalidDefaultRootObject, __BaseException>);
2843
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
+ }
2844
2876
  /**
2845
2877
  * <p>An invalid error code was specified.</p>
2846
2878
  */
@@ -2950,6 +2982,18 @@ export declare class InvalidOrigin extends __BaseException {
2950
2982
  */
2951
2983
  constructor(opts: __ExceptionOptionType<InvalidOrigin, __BaseException>);
2952
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
+ }
2953
2997
  /**
2954
2998
  * <p>The origin access identity is not valid or doesn't exist.</p>
2955
2999
  */
@@ -3260,6 +3304,21 @@ export declare class TooManyDistributionsAssociatedToKeyGroup extends __BaseExce
3260
3304
  */
3261
3305
  constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToKeyGroup, __BaseException>);
3262
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
+ }
3263
3322
  /**
3264
3323
  * <p>The maximum number of distributions have been associated with the specified origin
3265
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
@@ -4343,6 +4402,144 @@ export interface CreateMonitoringSubscriptionResult {
4343
4402
  */
4344
4403
  MonitoringSubscription?: MonitoringSubscription;
4345
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
+ }
4346
4543
  export declare type OriginRequestPolicyCookieBehavior = "all" | "none" | "whitelist";
4347
4544
  /**
4348
4545
  * <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
@@ -5347,15 +5544,15 @@ export interface ResponseHeadersPolicyConfig {
5347
5544
  * <p>A configuration for a set of security-related HTTP response headers.</p>
5348
5545
  */
5349
5546
  SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
5350
- /**
5351
- * <p>A configuration for a set of custom HTTP response headers.</p>
5352
- */
5353
- CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
5354
5547
  /**
5355
5548
  * <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
5356
5549
  * sent from CloudFront.</p>
5357
5550
  */
5358
5551
  ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
5552
+ /**
5553
+ * <p>A configuration for a set of custom HTTP response headers.</p>
5554
+ */
5555
+ CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
5359
5556
  }
5360
5557
  export interface CreateResponseHeadersPolicyRequest {
5361
5558
  /**
@@ -5767,224 +5964,6 @@ export declare class PreconditionFailed extends __BaseException {
5767
5964
  */
5768
5965
  constructor(opts: __ExceptionOptionType<PreconditionFailed, __BaseException>);
5769
5966
  }
5770
- /**
5771
- * <p>The Origin Access Identity specified is already in use.</p>
5772
- */
5773
- export declare class CloudFrontOriginAccessIdentityInUse extends __BaseException {
5774
- readonly name: "CloudFrontOriginAccessIdentityInUse";
5775
- readonly $fault: "client";
5776
- Message?: string;
5777
- /**
5778
- * @internal
5779
- */
5780
- constructor(opts: __ExceptionOptionType<CloudFrontOriginAccessIdentityInUse, __BaseException>);
5781
- }
5782
- /**
5783
- * <p>Deletes a origin access identity.</p>
5784
- */
5785
- export interface DeleteCloudFrontOriginAccessIdentityRequest {
5786
- /**
5787
- * <p>The origin access identity's ID.</p>
5788
- */
5789
- Id: string | undefined;
5790
- /**
5791
- * <p>The value of the <code>ETag</code> header you received from a previous <code>GET</code>
5792
- * or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5793
- */
5794
- IfMatch?: string;
5795
- }
5796
- /**
5797
- * <p>The specified origin access identity does not exist.</p>
5798
- */
5799
- export declare class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
5800
- readonly name: "NoSuchCloudFrontOriginAccessIdentity";
5801
- readonly $fault: "client";
5802
- Message?: string;
5803
- /**
5804
- * @internal
5805
- */
5806
- constructor(opts: __ExceptionOptionType<NoSuchCloudFrontOriginAccessIdentity, __BaseException>);
5807
- }
5808
- /**
5809
- * <p>This action deletes a web distribution. To delete a web distribution using the CloudFront
5810
- * API, perform the following steps.</p>
5811
- * <p>
5812
- * <b>To delete a web distribution using the CloudFront API:</b>
5813
- * </p>
5814
- * <ol>
5815
- * <li>
5816
- * <p>Disable the web distribution </p>
5817
- * </li>
5818
- * <li>
5819
- * <p>Submit a <code>GET Distribution Config</code> request to get the current
5820
- * configuration and the <code>Etag</code> header for the distribution.</p>
5821
- * </li>
5822
- * <li>
5823
- * <p>Update the XML document that was returned in the response to your <code>GET
5824
- * Distribution Config</code> request to change the value of <code>Enabled</code> to
5825
- * <code>false</code>.</p>
5826
- * </li>
5827
- * <li>
5828
- * <p>Submit a <code>PUT Distribution Config</code> request to update the configuration
5829
- * for your distribution. In the request body, include the XML document that you updated in
5830
- * Step 3. Set the value of the HTTP <code>If-Match</code> header to the value of the
5831
- * <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
5832
- * Distribution Config</code> request in Step 2.</p>
5833
- * </li>
5834
- * <li>
5835
- * <p>Review the response to the <code>PUT Distribution Config</code> request to confirm
5836
- * that the distribution was successfully disabled.</p>
5837
- * </li>
5838
- * <li>
5839
- * <p>Submit a <code>GET Distribution</code> request to confirm that your changes have
5840
- * propagated. When propagation is complete, the value of <code>Status</code> is
5841
- * <code>Deployed</code>.</p>
5842
- * </li>
5843
- * <li>
5844
- * <p>Submit a <code>DELETE Distribution</code> request. Set the value of the HTTP
5845
- * <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
5846
- * returned when you submitted the <code>GET Distribution Config</code> request in Step
5847
- * 6.</p>
5848
- * </li>
5849
- * <li>
5850
- * <p>Review the response to your <code>DELETE Distribution</code> request to confirm
5851
- * that the distribution was successfully deleted.</p>
5852
- * </li>
5853
- * </ol>
5854
- * <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
5855
- * <i>Amazon CloudFront Developer Guide</i>.</p>
5856
- */
5857
- export interface DeleteDistributionRequest {
5858
- /**
5859
- * <p>The distribution ID. </p>
5860
- */
5861
- Id: string | undefined;
5862
- /**
5863
- * <p>The value of the <code>ETag</code> header that you received when you disabled the
5864
- * distribution. For example: <code>E2QWRUHAPOMQZL</code>. </p>
5865
- */
5866
- IfMatch?: string;
5867
- }
5868
- /**
5869
- * <p>The specified CloudFront distribution is not disabled. You must disable
5870
- * the distribution before you can delete it.</p>
5871
- */
5872
- export declare class DistributionNotDisabled extends __BaseException {
5873
- readonly name: "DistributionNotDisabled";
5874
- readonly $fault: "client";
5875
- Message?: string;
5876
- /**
5877
- * @internal
5878
- */
5879
- constructor(opts: __ExceptionOptionType<DistributionNotDisabled, __BaseException>);
5880
- }
5881
- export interface DeleteFieldLevelEncryptionConfigRequest {
5882
- /**
5883
- * <p>The ID of the configuration you want to delete from CloudFront.</p>
5884
- */
5885
- Id: string | undefined;
5886
- /**
5887
- * <p>The value of the <code>ETag</code> header that you received when retrieving the
5888
- * configuration identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5889
- */
5890
- IfMatch?: string;
5891
- }
5892
- /**
5893
- * <p>The specified configuration for field-level encryption is in use.</p>
5894
- */
5895
- export declare class FieldLevelEncryptionConfigInUse extends __BaseException {
5896
- readonly name: "FieldLevelEncryptionConfigInUse";
5897
- readonly $fault: "client";
5898
- Message?: string;
5899
- /**
5900
- * @internal
5901
- */
5902
- constructor(opts: __ExceptionOptionType<FieldLevelEncryptionConfigInUse, __BaseException>);
5903
- }
5904
- export interface DeleteFieldLevelEncryptionProfileRequest {
5905
- /**
5906
- * <p>Request the ID of the profile you want to delete from CloudFront.</p>
5907
- */
5908
- Id: string | undefined;
5909
- /**
5910
- * <p>The value of the <code>ETag</code> header that you received when retrieving the
5911
- * profile to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
5912
- */
5913
- IfMatch?: string;
5914
- }
5915
- /**
5916
- * <p>The specified profile for field-level encryption is in use.</p>
5917
- */
5918
- export declare class FieldLevelEncryptionProfileInUse extends __BaseException {
5919
- readonly name: "FieldLevelEncryptionProfileInUse";
5920
- readonly $fault: "client";
5921
- Message?: string;
5922
- /**
5923
- * @internal
5924
- */
5925
- constructor(opts: __ExceptionOptionType<FieldLevelEncryptionProfileInUse, __BaseException>);
5926
- }
5927
- export interface DeleteFunctionRequest {
5928
- /**
5929
- * <p>The name of the function that you are deleting.</p>
5930
- */
5931
- Name: string | undefined;
5932
- /**
5933
- * <p>The current version (<code>ETag</code> value) of the function that you are deleting, which
5934
- * you can get using <code>DescribeFunction</code>.</p>
5935
- */
5936
- IfMatch: string | undefined;
5937
- }
5938
- /**
5939
- * <p>Cannot delete the function because it’s attached to one or more cache
5940
- * behaviors.</p>
5941
- */
5942
- export declare class FunctionInUse extends __BaseException {
5943
- readonly name: "FunctionInUse";
5944
- readonly $fault: "client";
5945
- Message?: string;
5946
- /**
5947
- * @internal
5948
- */
5949
- constructor(opts: __ExceptionOptionType<FunctionInUse, __BaseException>);
5950
- }
5951
- /**
5952
- * <p>The function does not exist.</p>
5953
- */
5954
- export declare class NoSuchFunctionExists extends __BaseException {
5955
- readonly name: "NoSuchFunctionExists";
5956
- readonly $fault: "client";
5957
- Message?: string;
5958
- /**
5959
- * @internal
5960
- */
5961
- constructor(opts: __ExceptionOptionType<NoSuchFunctionExists, __BaseException>);
5962
- }
5963
- export interface DeleteKeyGroupRequest {
5964
- /**
5965
- * <p>The identifier of the key group that you are deleting. To get the identifier, use
5966
- * <code>ListKeyGroups</code>.</p>
5967
- */
5968
- Id: string | undefined;
5969
- /**
5970
- * <p>The version of the key group that you are deleting. The version is the key group’s
5971
- * <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or
5972
- * <code>GetKeyGroupConfig</code>.</p>
5973
- */
5974
- IfMatch?: string;
5975
- }
5976
- /**
5977
- * <p>A resource that was specified is not valid.</p>
5978
- */
5979
- export declare class NoSuchResource extends __BaseException {
5980
- readonly name: "NoSuchResource";
5981
- readonly $fault: "client";
5982
- Message?: string;
5983
- /**
5984
- * @internal
5985
- */
5986
- constructor(opts: __ExceptionOptionType<NoSuchResource, __BaseException>);
5987
- }
5988
5967
  /**
5989
5968
  * @internal
5990
5969
  */
@@ -6397,6 +6376,22 @@ export declare const CreateMonitoringSubscriptionRequestFilterSensitiveLog: (obj
6397
6376
  * @internal
6398
6377
  */
6399
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;
6400
6395
  /**
6401
6396
  * @internal
6402
6397
  */
@@ -6577,27 +6572,3 @@ export declare const CreateStreamingDistributionWithTagsResultFilterSensitiveLog
6577
6572
  * @internal
6578
6573
  */
6579
6574
  export declare const DeleteCachePolicyRequestFilterSensitiveLog: (obj: DeleteCachePolicyRequest) => any;
6580
- /**
6581
- * @internal
6582
- */
6583
- export declare const DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog: (obj: DeleteCloudFrontOriginAccessIdentityRequest) => any;
6584
- /**
6585
- * @internal
6586
- */
6587
- export declare const DeleteDistributionRequestFilterSensitiveLog: (obj: DeleteDistributionRequest) => any;
6588
- /**
6589
- * @internal
6590
- */
6591
- export declare const DeleteFieldLevelEncryptionConfigRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionConfigRequest) => any;
6592
- /**
6593
- * @internal
6594
- */
6595
- export declare const DeleteFieldLevelEncryptionProfileRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionProfileRequest) => any;
6596
- /**
6597
- * @internal
6598
- */
6599
- export declare const DeleteFunctionRequestFilterSensitiveLog: (obj: DeleteFunctionRequest) => any;
6600
- /**
6601
- * @internal
6602
- */
6603
- export declare const DeleteKeyGroupRequestFilterSensitiveLog: (obj: DeleteKeyGroupRequest) => any;