@aws-sdk/client-cloudfront 3.288.0 → 3.290.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 (107) hide show
  1. package/dist-types/commands/AssociateAliasCommand.d.ts +16 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +227 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +35 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +23 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +21 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +238 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +231 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +29 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +28 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +25 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +13 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +13 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +36 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +11 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +40 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +44 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +47 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +21 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +21 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +18 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +18 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +14 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +13 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +18 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +21 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +17 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +14 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +21 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +18 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +7 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +7 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +7 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +7 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +7 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +7 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +7 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +7 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +7 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +7 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +7 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +7 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +7 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +7 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +10 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +4 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +4 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +13 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +7 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +7 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +7 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +7 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +7 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +7 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +10 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +7 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +7 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +7 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +7 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +10 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +7 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +10 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +10 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +7 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +10 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +4 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +10 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  75. package/dist-types/commands/ListDistributionsCommand.d.ts +4 -0
  76. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +4 -0
  77. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +4 -0
  78. package/dist-types/commands/ListFunctionsCommand.d.ts +7 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +10 -0
  80. package/dist-types/commands/ListKeyGroupsCommand.d.ts +4 -0
  81. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +4 -0
  82. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +10 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +10 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +10 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +17 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +13 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +16 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +13 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +43 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +28 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +24 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +233 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +215 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +38 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +41 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +21 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +23 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +23 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +44 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +23 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +10 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +47 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +46 -0
  107. package/package.json +30 -30
@@ -31,6 +31,53 @@ export interface CreateStreamingDistributionWithTagsCommandOutput extends Create
31
31
  * @see {@link CreateStreamingDistributionWithTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDenied} (client fault)
35
+ * <p>Access denied.</p>
36
+ *
37
+ * @throws {@link CNAMEAlreadyExists} (client fault)
38
+ * <p>The CNAME specified is already defined for CloudFront.</p>
39
+ *
40
+ * @throws {@link InconsistentQuantities} (client fault)
41
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
42
+ * match.</p>
43
+ *
44
+ * @throws {@link InvalidArgument} (client fault)
45
+ * <p>An argument is invalid.</p>
46
+ *
47
+ * @throws {@link InvalidOrigin} (client fault)
48
+ * <p>The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.</p>
49
+ *
50
+ * @throws {@link InvalidOriginAccessControl} (client fault)
51
+ * <p>The origin access control is not valid.</p>
52
+ *
53
+ * @throws {@link InvalidOriginAccessIdentity} (client fault)
54
+ * <p>The origin access identity is not valid or doesn't exist.</p>
55
+ *
56
+ * @throws {@link InvalidTagging} (client fault)
57
+ * <p>The tagging specified is not valid.</p>
58
+ *
59
+ * @throws {@link MissingBody} (client fault)
60
+ * <p>This operation requires a body. Ensure that the body is present and the
61
+ * <code>Content-Type</code> header is set.</p>
62
+ *
63
+ * @throws {@link StreamingDistributionAlreadyExists} (client fault)
64
+ * <p>The caller reference you attempted to create the streaming distribution with is
65
+ * associated with another distribution</p>
66
+ *
67
+ * @throws {@link TooManyStreamingDistributionCNAMEs} (client fault)
68
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
69
+ *
70
+ * @throws {@link TooManyStreamingDistributions} (client fault)
71
+ * <p>Processing your request would cause you to exceed the maximum number of streaming
72
+ * distributions allowed.</p>
73
+ *
74
+ * @throws {@link TooManyTrustedSigners} (client fault)
75
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
76
+ *
77
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
78
+ * <p>One or more of your trusted signers don't exist.</p>
79
+ *
80
+ *
34
81
  */
35
82
  export declare class CreateStreamingDistributionWithTagsCommand extends $Command<CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
36
83
  readonly input: CreateStreamingDistributionWithTagsCommandInput;
@@ -35,6 +35,27 @@ export interface DeleteCachePolicyCommandOutput extends __MetadataBearer {
35
35
  * @see {@link DeleteCachePolicyCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDenied} (client fault)
39
+ * <p>Access denied.</p>
40
+ *
41
+ * @throws {@link CachePolicyInUse} (client fault)
42
+ * <p>Cannot delete the cache policy because it is attached to one or more cache
43
+ * behaviors.</p>
44
+ *
45
+ * @throws {@link IllegalDelete} (client fault)
46
+ * <p>You cannot delete a managed policy.</p>
47
+ *
48
+ * @throws {@link InvalidIfMatchVersion} (client fault)
49
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
50
+ *
51
+ * @throws {@link NoSuchCachePolicy} (client fault)
52
+ * <p>The cache policy does not exist.</p>
53
+ *
54
+ * @throws {@link PreconditionFailed} (client fault)
55
+ * <p>The precondition in one or more of the request fields evaluated to
56
+ * <code>false</code>.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class DeleteCachePolicyCommand extends $Command<DeleteCachePolicyCommandInput, DeleteCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
40
61
  readonly input: DeleteCachePolicyCommandInput;
@@ -29,6 +29,23 @@ export interface DeleteCloudFrontOriginAccessIdentityCommandOutput extends __Met
29
29
  * @see {@link DeleteCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link CloudFrontOriginAccessIdentityInUse} (client fault)
36
+ * <p>The Origin Access Identity specified is already in use.</p>
37
+ *
38
+ * @throws {@link InvalidIfMatchVersion} (client fault)
39
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
40
+ *
41
+ * @throws {@link NoSuchCloudFrontOriginAccessIdentity} (client fault)
42
+ * <p>The specified origin access identity does not exist.</p>
43
+ *
44
+ * @throws {@link PreconditionFailed} (client fault)
45
+ * <p>The precondition in one or more of the request fields evaluated to
46
+ * <code>false</code>.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class DeleteCloudFrontOriginAccessIdentityCommand extends $Command<DeleteCloudFrontOriginAccessIdentityCommandInput, DeleteCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
34
51
  readonly input: DeleteCloudFrontOriginAccessIdentityCommandInput;
@@ -32,6 +32,27 @@ export interface DeleteContinuousDeploymentPolicyCommandOutput extends __Metadat
32
32
  * @see {@link DeleteContinuousDeploymentPolicyCommandOutput} for command's `response` shape.
33
33
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDenied} (client fault)
36
+ * <p>Access denied.</p>
37
+ *
38
+ * @throws {@link ContinuousDeploymentPolicyInUse} (client fault)
39
+ * <p>You cannot delete a continuous deployment policy that is associated with a primary
40
+ * distribution.</p>
41
+ *
42
+ * @throws {@link InvalidArgument} (client fault)
43
+ * <p>An argument is invalid.</p>
44
+ *
45
+ * @throws {@link InvalidIfMatchVersion} (client fault)
46
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
47
+ *
48
+ * @throws {@link NoSuchContinuousDeploymentPolicy} (client fault)
49
+ * <p>The continuous deployment policy doesn't exist.</p>
50
+ *
51
+ * @throws {@link PreconditionFailed} (client fault)
52
+ * <p>The precondition in one or more of the request fields evaluated to
53
+ * <code>false</code>.</p>
54
+ *
55
+ *
35
56
  */
36
57
  export declare class DeleteContinuousDeploymentPolicyCommand extends $Command<DeleteContinuousDeploymentPolicyCommandInput, DeleteContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
37
58
  readonly input: DeleteContinuousDeploymentPolicyCommandInput;
@@ -29,6 +29,24 @@ export interface DeleteDistributionCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteDistributionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link DistributionNotDisabled} (client fault)
36
+ * <p>The specified CloudFront distribution is not disabled. You must disable the distribution
37
+ * before you can delete it.</p>
38
+ *
39
+ * @throws {@link InvalidIfMatchVersion} (client fault)
40
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
41
+ *
42
+ * @throws {@link NoSuchDistribution} (client fault)
43
+ * <p>The specified distribution does not exist.</p>
44
+ *
45
+ * @throws {@link PreconditionFailed} (client fault)
46
+ * <p>The precondition in one or more of the request fields evaluated to
47
+ * <code>false</code>.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class DeleteDistributionCommand extends $Command<DeleteDistributionCommandInput, DeleteDistributionCommandOutput, CloudFrontClientResolvedConfig> {
34
52
  readonly input: DeleteDistributionCommandInput;
@@ -29,6 +29,23 @@ export interface DeleteFieldLevelEncryptionConfigCommandOutput extends __Metadat
29
29
  * @see {@link DeleteFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link FieldLevelEncryptionConfigInUse} (client fault)
36
+ * <p>The specified configuration for field-level encryption is in use.</p>
37
+ *
38
+ * @throws {@link InvalidIfMatchVersion} (client fault)
39
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
40
+ *
41
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
42
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
43
+ *
44
+ * @throws {@link PreconditionFailed} (client fault)
45
+ * <p>The precondition in one or more of the request fields evaluated to
46
+ * <code>false</code>.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class DeleteFieldLevelEncryptionConfigCommand extends $Command<DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
51
  readonly input: DeleteFieldLevelEncryptionConfigCommandInput;
@@ -29,6 +29,23 @@ export interface DeleteFieldLevelEncryptionProfileCommandOutput extends __Metada
29
29
  * @see {@link DeleteFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link FieldLevelEncryptionProfileInUse} (client fault)
36
+ * <p>The specified profile for field-level encryption is in use.</p>
37
+ *
38
+ * @throws {@link InvalidIfMatchVersion} (client fault)
39
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
40
+ *
41
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
42
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
43
+ *
44
+ * @throws {@link PreconditionFailed} (client fault)
45
+ * <p>The precondition in one or more of the request fields evaluated to
46
+ * <code>false</code>.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class DeleteFieldLevelEncryptionProfileCommand extends $Command<DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
34
51
  readonly input: DeleteFieldLevelEncryptionProfileCommandInput;
@@ -35,6 +35,24 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
35
35
  * @see {@link DeleteFunctionCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link FunctionInUse} (client fault)
39
+ * <p>Cannot delete the function because it's attached to one or more cache
40
+ * behaviors.</p>
41
+ *
42
+ * @throws {@link InvalidIfMatchVersion} (client fault)
43
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
44
+ *
45
+ * @throws {@link NoSuchFunctionExists} (client fault)
46
+ * <p>The function does not exist.</p>
47
+ *
48
+ * @throws {@link PreconditionFailed} (client fault)
49
+ * <p>The precondition in one or more of the request fields evaluated to
50
+ * <code>false</code>.</p>
51
+ *
52
+ * @throws {@link UnsupportedOperation} (client fault)
53
+ * <p>This operation is not supported in this region.</p>
54
+ *
55
+ *
38
56
  */
39
57
  export declare class DeleteFunctionCommand extends $Command<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, CloudFrontClientResolvedConfig> {
40
58
  readonly input: DeleteFunctionCommandInput;
@@ -35,6 +35,20 @@ export interface DeleteKeyGroupCommandOutput extends __MetadataBearer {
35
35
  * @see {@link DeleteKeyGroupCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link InvalidIfMatchVersion} (client fault)
39
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
40
+ *
41
+ * @throws {@link NoSuchResource} (client fault)
42
+ * <p>A resource that was specified is not valid.</p>
43
+ *
44
+ * @throws {@link PreconditionFailed} (client fault)
45
+ * <p>The precondition in one or more of the request fields evaluated to
46
+ * <code>false</code>.</p>
47
+ *
48
+ * @throws {@link ResourceInUse} (client fault)
49
+ * <p>Cannot delete this resource because it is in use.</p>
50
+ *
51
+ *
38
52
  */
39
53
  export declare class DeleteKeyGroupCommand extends $Command<DeleteKeyGroupCommandInput, DeleteKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
40
54
  readonly input: DeleteKeyGroupCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteMonitoringSubscriptionCommandOutput extends DeleteMonitor
30
30
  * @see {@link DeleteMonitoringSubscriptionCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDenied} (client fault)
34
+ * <p>Access denied.</p>
35
+ *
36
+ * @throws {@link NoSuchDistribution} (client fault)
37
+ * <p>The specified distribution does not exist.</p>
38
+ *
39
+ * @throws {@link NoSuchMonitoringSubscription} (client fault)
40
+ * <p>A monitoring subscription does not exist for the specified distribution.</p>
41
+ *
42
+ * @throws {@link UnsupportedOperation} (client fault)
43
+ * <p>This operation is not supported in this region.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DeleteMonitoringSubscriptionCommand extends $Command<DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
35
48
  readonly input: DeleteMonitoringSubscriptionCommandInput;
@@ -32,6 +32,24 @@ export interface DeleteOriginAccessControlCommandOutput extends __MetadataBearer
32
32
  * @see {@link DeleteOriginAccessControlCommandOutput} for command's `response` shape.
33
33
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDenied} (client fault)
36
+ * <p>Access denied.</p>
37
+ *
38
+ * @throws {@link InvalidIfMatchVersion} (client fault)
39
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
40
+ *
41
+ * @throws {@link NoSuchOriginAccessControl} (client fault)
42
+ * <p>The origin access control does not exist.</p>
43
+ *
44
+ * @throws {@link OriginAccessControlInUse} (client fault)
45
+ * <p>Cannot delete the origin access control because it's in use by one or more
46
+ * distributions.</p>
47
+ *
48
+ * @throws {@link PreconditionFailed} (client fault)
49
+ * <p>The precondition in one or more of the request fields evaluated to
50
+ * <code>false</code>.</p>
51
+ *
52
+ *
35
53
  */
36
54
  export declare class DeleteOriginAccessControlCommand extends $Command<DeleteOriginAccessControlCommandInput, DeleteOriginAccessControlCommandOutput, CloudFrontClientResolvedConfig> {
37
55
  readonly input: DeleteOriginAccessControlCommandInput;
@@ -35,6 +35,27 @@ export interface DeleteOriginRequestPolicyCommandOutput extends __MetadataBearer
35
35
  * @see {@link DeleteOriginRequestPolicyCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDenied} (client fault)
39
+ * <p>Access denied.</p>
40
+ *
41
+ * @throws {@link IllegalDelete} (client fault)
42
+ * <p>You cannot delete a managed policy.</p>
43
+ *
44
+ * @throws {@link InvalidIfMatchVersion} (client fault)
45
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
46
+ *
47
+ * @throws {@link NoSuchOriginRequestPolicy} (client fault)
48
+ * <p>The origin request policy does not exist.</p>
49
+ *
50
+ * @throws {@link OriginRequestPolicyInUse} (client fault)
51
+ * <p>Cannot delete the origin request policy because it is attached to one or more cache
52
+ * behaviors.</p>
53
+ *
54
+ * @throws {@link PreconditionFailed} (client fault)
55
+ * <p>The precondition in one or more of the request fields evaluated to
56
+ * <code>false</code>.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class DeleteOriginRequestPolicyCommand extends $Command<DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
40
61
  readonly input: DeleteOriginRequestPolicyCommandInput;
@@ -29,6 +29,23 @@ export interface DeletePublicKeyCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeletePublicKeyCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link InvalidIfMatchVersion} (client fault)
36
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
37
+ *
38
+ * @throws {@link NoSuchPublicKey} (client fault)
39
+ * <p>The specified public key doesn't exist.</p>
40
+ *
41
+ * @throws {@link PreconditionFailed} (client fault)
42
+ * <p>The precondition in one or more of the request fields evaluated to
43
+ * <code>false</code>.</p>
44
+ *
45
+ * @throws {@link PublicKeyInUse} (client fault)
46
+ * <p>The specified public key is in use.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class DeletePublicKeyCommand extends $Command<DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
34
51
  readonly input: DeletePublicKeyCommandInput;
@@ -35,6 +35,20 @@ export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer {
35
35
  * @see {@link DeleteRealtimeLogConfigCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDenied} (client fault)
39
+ * <p>Access denied.</p>
40
+ *
41
+ * @throws {@link InvalidArgument} (client fault)
42
+ * <p>An argument is invalid.</p>
43
+ *
44
+ * @throws {@link NoSuchRealtimeLogConfig} (client fault)
45
+ * <p>The real-time log configuration does not exist.</p>
46
+ *
47
+ * @throws {@link RealtimeLogConfigInUse} (client fault)
48
+ * <p>Cannot delete the real-time log configuration because it is attached to one or more
49
+ * cache behaviors.</p>
50
+ *
51
+ *
38
52
  */
39
53
  export declare class DeleteRealtimeLogConfigCommand extends $Command<DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
40
54
  readonly input: DeleteRealtimeLogConfigCommandInput;
@@ -35,6 +35,27 @@ export interface DeleteResponseHeadersPolicyCommandOutput extends __MetadataBear
35
35
  * @see {@link DeleteResponseHeadersPolicyCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDenied} (client fault)
39
+ * <p>Access denied.</p>
40
+ *
41
+ * @throws {@link IllegalDelete} (client fault)
42
+ * <p>You cannot delete a managed policy.</p>
43
+ *
44
+ * @throws {@link InvalidIfMatchVersion} (client fault)
45
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
46
+ *
47
+ * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
48
+ * <p>The response headers policy does not exist.</p>
49
+ *
50
+ * @throws {@link PreconditionFailed} (client fault)
51
+ * <p>The precondition in one or more of the request fields evaluated to
52
+ * <code>false</code>.</p>
53
+ *
54
+ * @throws {@link ResponseHeadersPolicyInUse} (client fault)
55
+ * <p>Cannot delete the response headers policy because it is attached to one or more cache
56
+ * behaviors in a CloudFront distribution.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class DeleteResponseHeadersPolicyCommand extends $Command<DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
40
61
  readonly input: DeleteResponseHeadersPolicyCommandInput;
@@ -77,6 +77,24 @@ export interface DeleteStreamingDistributionCommandOutput extends __MetadataBear
77
77
  * @see {@link DeleteStreamingDistributionCommandOutput} for command's `response` shape.
78
78
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
79
79
  *
80
+ * @throws {@link AccessDenied} (client fault)
81
+ * <p>Access denied.</p>
82
+ *
83
+ * @throws {@link InvalidIfMatchVersion} (client fault)
84
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
85
+ *
86
+ * @throws {@link NoSuchStreamingDistribution} (client fault)
87
+ * <p>The specified streaming distribution does not exist.</p>
88
+ *
89
+ * @throws {@link PreconditionFailed} (client fault)
90
+ * <p>The precondition in one or more of the request fields evaluated to
91
+ * <code>false</code>.</p>
92
+ *
93
+ * @throws {@link StreamingDistributionNotDisabled} (client fault)
94
+ * <p>The specified CloudFront distribution is not disabled. You must disable the distribution
95
+ * before you can delete it.</p>
96
+ *
97
+ *
80
98
  */
81
99
  export declare class DeleteStreamingDistributionCommand extends $Command<DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
82
100
  readonly input: DeleteStreamingDistributionCommandInput;
@@ -33,6 +33,13 @@ export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, _
33
33
  * @see {@link DescribeFunctionCommandOutput} for command's `response` shape.
34
34
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
35
35
  *
36
+ * @throws {@link NoSuchFunctionExists} (client fault)
37
+ * <p>The function does not exist.</p>
38
+ *
39
+ * @throws {@link UnsupportedOperation} (client fault)
40
+ * <p>This operation is not supported in this region.</p>
41
+ *
42
+ *
36
43
  */
37
44
  export declare class DescribeFunctionCommand extends $Command<DescribeFunctionCommandInput, DescribeFunctionCommandOutput, CloudFrontClientResolvedConfig> {
38
45
  readonly input: DescribeFunctionCommandInput;
@@ -42,6 +42,13 @@ export interface GetCachePolicyCommandOutput extends GetCachePolicyResult, __Met
42
42
  * @see {@link GetCachePolicyCommandOutput} for command's `response` shape.
43
43
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
44
44
  *
45
+ * @throws {@link AccessDenied} (client fault)
46
+ * <p>Access denied.</p>
47
+ *
48
+ * @throws {@link NoSuchCachePolicy} (client fault)
49
+ * <p>The cache policy does not exist.</p>
50
+ *
51
+ *
45
52
  */
46
53
  export declare class GetCachePolicyCommand extends $Command<GetCachePolicyCommandInput, GetCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
47
54
  readonly input: GetCachePolicyCommandInput;
@@ -34,6 +34,13 @@ export interface GetCachePolicyConfigCommandOutput extends GetCachePolicyConfigR
34
34
  * @see {@link GetCachePolicyConfigCommandOutput} for command's `response` shape.
35
35
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDenied} (client fault)
38
+ * <p>Access denied.</p>
39
+ *
40
+ * @throws {@link NoSuchCachePolicy} (client fault)
41
+ * <p>The cache policy does not exist.</p>
42
+ *
43
+ *
37
44
  */
38
45
  export declare class GetCachePolicyConfigCommand extends $Command<GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
39
46
  readonly input: GetCachePolicyConfigCommandInput;
@@ -29,6 +29,13 @@ export interface GetCloudFrontOriginAccessIdentityCommandOutput extends GetCloud
29
29
  * @see {@link GetCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchCloudFrontOriginAccessIdentity} (client fault)
36
+ * <p>The specified origin access identity does not exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetCloudFrontOriginAccessIdentityCommand extends $Command<GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetCloudFrontOriginAccessIdentityCommandInput;
@@ -29,6 +29,13 @@ export interface GetCloudFrontOriginAccessIdentityConfigCommandOutput extends Ge
29
29
  * @see {@link GetCloudFrontOriginAccessIdentityConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchCloudFrontOriginAccessIdentity} (client fault)
36
+ * <p>The specified origin access identity does not exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command<GetCloudFrontOriginAccessIdentityConfigCommandInput, GetCloudFrontOriginAccessIdentityConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetCloudFrontOriginAccessIdentityConfigCommandInput;
@@ -30,6 +30,13 @@ export interface GetContinuousDeploymentPolicyCommandOutput extends GetContinuou
30
30
  * @see {@link GetContinuousDeploymentPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDenied} (client fault)
34
+ * <p>Access denied.</p>
35
+ *
36
+ * @throws {@link NoSuchContinuousDeploymentPolicy} (client fault)
37
+ * <p>The continuous deployment policy doesn't exist.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class GetContinuousDeploymentPolicyCommand extends $Command<GetContinuousDeploymentPolicyCommandInput, GetContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
35
42
  readonly input: GetContinuousDeploymentPolicyCommandInput;
@@ -29,6 +29,13 @@ export interface GetContinuousDeploymentPolicyConfigCommandOutput extends GetCon
29
29
  * @see {@link GetContinuousDeploymentPolicyConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchContinuousDeploymentPolicy} (client fault)
36
+ * <p>The continuous deployment policy doesn't exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetContinuousDeploymentPolicyConfigCommand extends $Command<GetContinuousDeploymentPolicyConfigCommandInput, GetContinuousDeploymentPolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetContinuousDeploymentPolicyConfigCommandInput;
@@ -29,6 +29,13 @@ export interface GetDistributionCommandOutput extends GetDistributionResult, __M
29
29
  * @see {@link GetDistributionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchDistribution} (client fault)
36
+ * <p>The specified distribution does not exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetDistributionCommand extends $Command<GetDistributionCommandInput, GetDistributionCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetDistributionCommandInput;
@@ -29,6 +29,13 @@ export interface GetDistributionConfigCommandOutput extends GetDistributionConfi
29
29
  * @see {@link GetDistributionConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchDistribution} (client fault)
36
+ * <p>The specified distribution does not exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetDistributionConfigCommand extends $Command<GetDistributionConfigCommandInput, GetDistributionConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetDistributionConfigCommandInput;
@@ -29,6 +29,13 @@ export interface GetFieldLevelEncryptionCommandOutput extends GetFieldLevelEncry
29
29
  * @see {@link GetFieldLevelEncryptionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
36
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetFieldLevelEncryptionCommand extends $Command<GetFieldLevelEncryptionCommandInput, GetFieldLevelEncryptionCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetFieldLevelEncryptionCommandInput;
@@ -29,6 +29,13 @@ export interface GetFieldLevelEncryptionConfigCommandOutput extends GetFieldLeve
29
29
  * @see {@link GetFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
36
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetFieldLevelEncryptionConfigCommand extends $Command<GetFieldLevelEncryptionConfigCommandInput, GetFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetFieldLevelEncryptionConfigCommandInput;
@@ -29,6 +29,13 @@ export interface GetFieldLevelEncryptionProfileCommandOutput extends GetFieldLev
29
29
  * @see {@link GetFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
36
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetFieldLevelEncryptionProfileCommand extends $Command<GetFieldLevelEncryptionProfileCommandInput, GetFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetFieldLevelEncryptionProfileCommandInput;
@@ -29,6 +29,13 @@ export interface GetFieldLevelEncryptionProfileConfigCommandOutput extends GetFi
29
29
  * @see {@link GetFieldLevelEncryptionProfileConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
36
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class GetFieldLevelEncryptionProfileConfigCommand extends $Command<GetFieldLevelEncryptionProfileConfigCommandInput, GetFieldLevelEncryptionProfileConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
41
  readonly input: GetFieldLevelEncryptionProfileConfigCommandInput;