@aws-sdk/client-cloudfront 3.289.0 → 3.292.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 +37 -42
@@ -39,6 +39,22 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
39
39
  * @see {@link AssociateAliasCommandOutput} for command's `response` shape.
40
40
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
41
41
  *
42
+ * @throws {@link AccessDenied} (client fault)
43
+ * <p>Access denied.</p>
44
+ *
45
+ * @throws {@link IllegalUpdate} (client fault)
46
+ * <p>The update contains modifications that are not allowed.</p>
47
+ *
48
+ * @throws {@link InvalidArgument} (client fault)
49
+ * <p>An argument is invalid.</p>
50
+ *
51
+ * @throws {@link NoSuchDistribution} (client fault)
52
+ * <p>The specified distribution does not exist.</p>
53
+ *
54
+ * @throws {@link TooManyDistributionCNAMEs} (client fault)
55
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
56
+ *
57
+ *
42
58
  */
43
59
  export declare class AssociateAliasCommand extends $Command<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig> {
44
60
  readonly input: AssociateAliasCommandInput;
@@ -35,6 +35,233 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
35
35
  * @see {@link CopyDistributionCommandOutput} 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 CNAMEAlreadyExists} (client fault)
42
+ * <p>The CNAME specified is already defined for CloudFront.</p>
43
+ *
44
+ * @throws {@link DistributionAlreadyExists} (client fault)
45
+ * <p>The caller reference you attempted to create the distribution with is associated with
46
+ * another distribution.</p>
47
+ *
48
+ * @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
49
+ * <p>The specified configuration for field-level encryption can't be associated with the
50
+ * specified cache behavior.</p>
51
+ *
52
+ * @throws {@link InconsistentQuantities} (client fault)
53
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
54
+ * match.</p>
55
+ *
56
+ * @throws {@link InvalidArgument} (client fault)
57
+ * <p>An argument is invalid.</p>
58
+ *
59
+ * @throws {@link InvalidDefaultRootObject} (client fault)
60
+ * <p>The default root object file name is too big or contains an invalid character.</p>
61
+ *
62
+ * @throws {@link InvalidErrorCode} (client fault)
63
+ * <p>An invalid error code was specified.</p>
64
+ *
65
+ * @throws {@link InvalidForwardCookies} (client fault)
66
+ * <p>Your request contains forward cookies option which doesn't match with the expectation
67
+ * for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
68
+ * been specified when not allowed or list of cookie names is missing when expected.</p>
69
+ *
70
+ * @throws {@link InvalidFunctionAssociation} (client fault)
71
+ * <p>A CloudFront function association is invalid.</p>
72
+ *
73
+ * @throws {@link InvalidGeoRestrictionParameter} (client fault)
74
+ * <p>The specified geo restriction parameter is not valid.</p>
75
+ *
76
+ * @throws {@link InvalidHeadersForS3Origin} (client fault)
77
+ * <p>The headers specified are not valid for an Amazon S3 origin.</p>
78
+ *
79
+ * @throws {@link InvalidIfMatchVersion} (client fault)
80
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
81
+ *
82
+ * @throws {@link InvalidLambdaFunctionAssociation} (client fault)
83
+ * <p>The specified Lambda@Edge function association is invalid.</p>
84
+ *
85
+ * @throws {@link InvalidLocationCode} (client fault)
86
+ * <p>The location code specified is not valid.</p>
87
+ *
88
+ * @throws {@link InvalidMinimumProtocolVersion} (client fault)
89
+ * <p>The minimum protocol version specified is not valid.</p>
90
+ *
91
+ * @throws {@link InvalidOrigin} (client fault)
92
+ * <p>The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.</p>
93
+ *
94
+ * @throws {@link InvalidOriginAccessControl} (client fault)
95
+ * <p>The origin access control is not valid.</p>
96
+ *
97
+ * @throws {@link InvalidOriginAccessIdentity} (client fault)
98
+ * <p>The origin access identity is not valid or doesn't exist.</p>
99
+ *
100
+ * @throws {@link InvalidOriginKeepaliveTimeout} (client fault)
101
+ * <p>The keep alive timeout specified for the origin is not valid.</p>
102
+ *
103
+ * @throws {@link InvalidOriginReadTimeout} (client fault)
104
+ * <p>The read timeout specified for the origin is not valid.</p>
105
+ *
106
+ * @throws {@link InvalidProtocolSettings} (client fault)
107
+ * <p>You cannot specify SSLv3 as the minimum protocol version if you only want to support
108
+ * only clients that support Server Name Indication (SNI).</p>
109
+ *
110
+ * @throws {@link InvalidQueryStringParameters} (client fault)
111
+ * <p>The query string parameters specified are not valid.</p>
112
+ *
113
+ * @throws {@link InvalidRelativePath} (client fault)
114
+ * <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
115
+ * (/).</p>
116
+ *
117
+ * @throws {@link InvalidRequiredProtocol} (client fault)
118
+ * <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
119
+ * in your request, or omit the <code>RequiredProtocols</code> element from your
120
+ * distribution configuration.</p>
121
+ *
122
+ * @throws {@link InvalidResponseCode} (client fault)
123
+ * <p>A response code is not valid.</p>
124
+ *
125
+ * @throws {@link InvalidTTLOrder} (client fault)
126
+ * <p>The TTL order specified is not valid.</p>
127
+ *
128
+ * @throws {@link InvalidViewerCertificate} (client fault)
129
+ * <p>A viewer certificate specified is not valid.</p>
130
+ *
131
+ * @throws {@link InvalidWebACLId} (client fault)
132
+ * <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
133
+ * version of WAF, use the ACL ARN, for example
134
+ * <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
135
+ * To specify a web ACL created using WAF Classic, use the ACL ID, for example
136
+ * <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
137
+ *
138
+ * @throws {@link MissingBody} (client fault)
139
+ * <p>This operation requires a body. Ensure that the body is present and the
140
+ * <code>Content-Type</code> header is set.</p>
141
+ *
142
+ * @throws {@link NoSuchCachePolicy} (client fault)
143
+ * <p>The cache policy does not exist.</p>
144
+ *
145
+ * @throws {@link NoSuchDistribution} (client fault)
146
+ * <p>The specified distribution does not exist.</p>
147
+ *
148
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
149
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
150
+ *
151
+ * @throws {@link NoSuchOrigin} (client fault)
152
+ * <p>No origin exists with the specified <code>Origin Id</code>.</p>
153
+ *
154
+ * @throws {@link NoSuchOriginRequestPolicy} (client fault)
155
+ * <p>The origin request policy does not exist.</p>
156
+ *
157
+ * @throws {@link NoSuchRealtimeLogConfig} (client fault)
158
+ * <p>The real-time log configuration does not exist.</p>
159
+ *
160
+ * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
161
+ * <p>The response headers policy does not exist.</p>
162
+ *
163
+ * @throws {@link PreconditionFailed} (client fault)
164
+ * <p>The precondition in one or more of the request fields evaluated to
165
+ * <code>false</code>.</p>
166
+ *
167
+ * @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
168
+ * <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
169
+ *
170
+ * @throws {@link TooManyCacheBehaviors} (client fault)
171
+ * <p>You cannot create more cache behaviors for the distribution.</p>
172
+ *
173
+ * @throws {@link TooManyCertificates} (client fault)
174
+ * <p>You cannot create anymore custom SSL/TLS certificates.</p>
175
+ *
176
+ * @throws {@link TooManyCookieNamesInWhiteList} (client fault)
177
+ * <p>Your request contains more cookie names in the whitelist than are allowed per cache
178
+ * behavior.</p>
179
+ *
180
+ * @throws {@link TooManyDistributionCNAMEs} (client fault)
181
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
182
+ *
183
+ * @throws {@link TooManyDistributions} (client fault)
184
+ * <p>Processing your request would cause you to exceed the maximum number of distributions
185
+ * allowed.</p>
186
+ *
187
+ * @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
188
+ * <p>The maximum number of distributions have been associated with the specified cache
189
+ * 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
190
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
191
+ *
192
+ * @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
193
+ * <p>The maximum number of distributions have been associated with the specified
194
+ * configuration for field-level encryption.</p>
195
+ *
196
+ * @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
197
+ * <p>The number of distributions that reference this key group is more than the maximum
198
+ * allowed. 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
199
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
200
+ *
201
+ * @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
202
+ * <p>The maximum number of distributions have been associated with the specified origin
203
+ * 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
204
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
205
+ *
206
+ * @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
207
+ * <p>The maximum number of distributions have been associated with the specified response
208
+ * headers policy.</p>
209
+ * <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
210
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
211
+ *
212
+ * @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
213
+ * <p>You have reached the maximum number of distributions that are associated with a CloudFront
214
+ * function. 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
215
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
216
+ *
217
+ * @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
218
+ * <p>Processing your request would cause the maximum number of distributions with
219
+ * Lambda@Edge function associations per owner to be exceeded.</p>
220
+ *
221
+ * @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
222
+ * <p>The maximum number of distributions have been associated with the specified
223
+ * Lambda@Edge function.</p>
224
+ *
225
+ * @throws {@link TooManyFunctionAssociations} (client fault)
226
+ * <p>You have reached the maximum number of CloudFront function associations for this
227
+ * distribution. 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
228
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
229
+ *
230
+ * @throws {@link TooManyHeadersInForwardedValues} (client fault)
231
+ * <p>Your request contains too many headers in forwarded values.</p>
232
+ *
233
+ * @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
234
+ * <p>The number of key groups referenced by this distribution is more than the maximum
235
+ * allowed. 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
236
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
237
+ *
238
+ * @throws {@link TooManyLambdaFunctionAssociations} (client fault)
239
+ * <p>Your request contains more Lambda@Edge function associations than are allowed per
240
+ * distribution.</p>
241
+ *
242
+ * @throws {@link TooManyOriginCustomHeaders} (client fault)
243
+ * <p>Your request contains too many origin custom headers.</p>
244
+ *
245
+ * @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
246
+ * <p>Processing your request would cause you to exceed the maximum number of origin groups
247
+ * allowed.</p>
248
+ *
249
+ * @throws {@link TooManyOrigins} (client fault)
250
+ * <p>You cannot create more origins for the distribution.</p>
251
+ *
252
+ * @throws {@link TooManyQueryStringParameters} (client fault)
253
+ * <p>Your request contains too many query string parameters.</p>
254
+ *
255
+ * @throws {@link TooManyTrustedSigners} (client fault)
256
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
257
+ *
258
+ * @throws {@link TrustedKeyGroupDoesNotExist} (client fault)
259
+ * <p>The specified key group does not exist.</p>
260
+ *
261
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
262
+ * <p>One or more of your trusted signers don't exist.</p>
263
+ *
264
+ *
38
265
  */
39
266
  export declare class CopyDistributionCommand extends $Command<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig> {
40
267
  readonly input: CopyDistributionCommandInput;
@@ -51,6 +51,41 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
51
51
  * @see {@link CreateCachePolicyCommandOutput} for command's `response` shape.
52
52
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
53
53
  *
54
+ * @throws {@link AccessDenied} (client fault)
55
+ * <p>Access denied.</p>
56
+ *
57
+ * @throws {@link CachePolicyAlreadyExists} (client fault)
58
+ * <p>A cache policy with this name already exists. You must provide a unique name. To
59
+ * modify an existing cache policy, use <code>UpdateCachePolicy</code>.</p>
60
+ *
61
+ * @throws {@link InconsistentQuantities} (client fault)
62
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
63
+ * match.</p>
64
+ *
65
+ * @throws {@link InvalidArgument} (client fault)
66
+ * <p>An argument is invalid.</p>
67
+ *
68
+ * @throws {@link TooManyCachePolicies} (client fault)
69
+ * <p>You have reached the maximum number of cache policies for this Amazon Web Services account. For more
70
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
71
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
72
+ *
73
+ * @throws {@link TooManyCookiesInCachePolicy} (client fault)
74
+ * <p>The number of cookies in the cache policy exceeds the maximum. For more information,
75
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
76
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
77
+ *
78
+ * @throws {@link TooManyHeadersInCachePolicy} (client fault)
79
+ * <p>The number of headers in the cache policy exceeds the maximum. For more information,
80
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
81
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
82
+ *
83
+ * @throws {@link TooManyQueryStringsInCachePolicy} (client fault)
84
+ * <p>The number of query strings in the cache policy exceeds the maximum. For more
85
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
86
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
87
+ *
88
+ *
54
89
  */
55
90
  export declare class CreateCachePolicyCommand extends $Command<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
56
91
  readonly input: CreateCachePolicyCommandInput;
@@ -33,6 +33,29 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
33
33
  * @see {@link CreateCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
34
34
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
35
35
  *
36
+ * @throws {@link CloudFrontOriginAccessIdentityAlreadyExists} (client fault)
37
+ * <p>If the <code>CallerReference</code> is a value you already sent in a previous request
38
+ * to create an identity but the content of the
39
+ * <code>CloudFrontOriginAccessIdentityConfig</code> is different from the original
40
+ * request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code> error.
41
+ * </p>
42
+ *
43
+ * @throws {@link InconsistentQuantities} (client fault)
44
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
45
+ * match.</p>
46
+ *
47
+ * @throws {@link InvalidArgument} (client fault)
48
+ * <p>An argument is invalid.</p>
49
+ *
50
+ * @throws {@link MissingBody} (client fault)
51
+ * <p>This operation requires a body. Ensure that the body is present and the
52
+ * <code>Content-Type</code> header is set.</p>
53
+ *
54
+ * @throws {@link TooManyCloudFrontOriginAccessIdentities} (client fault)
55
+ * <p>Processing your request would cause you to exceed the maximum number of origin access
56
+ * identities allowed.</p>
57
+ *
58
+ *
36
59
  */
37
60
  export declare class CreateCloudFrontOriginAccessIdentityCommand extends $Command<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
38
61
  readonly input: CreateCloudFrontOriginAccessIdentityCommandInput;
@@ -37,6 +37,27 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
37
37
  * @see {@link CreateContinuousDeploymentPolicyCommandOutput} for command's `response` shape.
38
38
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
39
39
  *
40
+ * @throws {@link AccessDenied} (client fault)
41
+ * <p>Access denied.</p>
42
+ *
43
+ * @throws {@link ContinuousDeploymentPolicyAlreadyExists} (client fault)
44
+ * <p>A continuous deployment policy with this configuration already exists.</p>
45
+ *
46
+ * @throws {@link InconsistentQuantities} (client fault)
47
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
48
+ * match.</p>
49
+ *
50
+ * @throws {@link InvalidArgument} (client fault)
51
+ * <p>An argument is invalid.</p>
52
+ *
53
+ * @throws {@link StagingDistributionInUse} (client fault)
54
+ * <p>A continuous deployment policy for this staging distribution already exists.</p>
55
+ *
56
+ * @throws {@link TooManyContinuousDeploymentPolicies} (client fault)
57
+ * <p>You have reached the maximum number of continuous deployment policies for this
58
+ * Amazon Web Services account.</p>
59
+ *
60
+ *
40
61
  */
41
62
  export declare class CreateContinuousDeploymentPolicyCommand extends $Command<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
42
63
  readonly input: CreateContinuousDeploymentPolicyCommandInput;
@@ -29,6 +29,244 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
29
29
  * @see {@link CreateDistributionCommandOutput} 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 CNAMEAlreadyExists} (client fault)
36
+ * <p>The CNAME specified is already defined for CloudFront.</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 DistributionAlreadyExists} (client fault)
43
+ * <p>The caller reference you attempted to create the distribution with is associated with
44
+ * another distribution.</p>
45
+ *
46
+ * @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
47
+ * <p>The specified configuration for field-level encryption can't be associated with the
48
+ * specified cache behavior.</p>
49
+ *
50
+ * @throws {@link IllegalOriginAccessConfiguration} (client fault)
51
+ * <p>An origin cannot contain both an origin access control (OAC) and an origin access
52
+ * identity (OAI).</p>
53
+ *
54
+ * @throws {@link InconsistentQuantities} (client fault)
55
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
56
+ * match.</p>
57
+ *
58
+ * @throws {@link InvalidArgument} (client fault)
59
+ * <p>An argument is invalid.</p>
60
+ *
61
+ * @throws {@link InvalidDefaultRootObject} (client fault)
62
+ * <p>The default root object file name is too big or contains an invalid character.</p>
63
+ *
64
+ * @throws {@link InvalidDomainNameForOriginAccessControl} (client fault)
65
+ * <p>An origin access control is associated with an origin whose domain name is not
66
+ * supported.</p>
67
+ *
68
+ * @throws {@link InvalidErrorCode} (client fault)
69
+ * <p>An invalid error code was specified.</p>
70
+ *
71
+ * @throws {@link InvalidForwardCookies} (client fault)
72
+ * <p>Your request contains forward cookies option which doesn't match with the expectation
73
+ * for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
74
+ * been specified when not allowed or list of cookie names is missing when expected.</p>
75
+ *
76
+ * @throws {@link InvalidFunctionAssociation} (client fault)
77
+ * <p>A CloudFront function association is invalid.</p>
78
+ *
79
+ * @throws {@link InvalidGeoRestrictionParameter} (client fault)
80
+ * <p>The specified geo restriction parameter is not valid.</p>
81
+ *
82
+ * @throws {@link InvalidHeadersForS3Origin} (client fault)
83
+ * <p>The headers specified are not valid for an Amazon S3 origin.</p>
84
+ *
85
+ * @throws {@link InvalidLambdaFunctionAssociation} (client fault)
86
+ * <p>The specified Lambda@Edge function association is invalid.</p>
87
+ *
88
+ * @throws {@link InvalidLocationCode} (client fault)
89
+ * <p>The location code specified is not valid.</p>
90
+ *
91
+ * @throws {@link InvalidMinimumProtocolVersion} (client fault)
92
+ * <p>The minimum protocol version specified is not valid.</p>
93
+ *
94
+ * @throws {@link InvalidOrigin} (client fault)
95
+ * <p>The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.</p>
96
+ *
97
+ * @throws {@link InvalidOriginAccessControl} (client fault)
98
+ * <p>The origin access control is not valid.</p>
99
+ *
100
+ * @throws {@link InvalidOriginAccessIdentity} (client fault)
101
+ * <p>The origin access identity is not valid or doesn't exist.</p>
102
+ *
103
+ * @throws {@link InvalidOriginKeepaliveTimeout} (client fault)
104
+ * <p>The keep alive timeout specified for the origin is not valid.</p>
105
+ *
106
+ * @throws {@link InvalidOriginReadTimeout} (client fault)
107
+ * <p>The read timeout specified for the origin is not valid.</p>
108
+ *
109
+ * @throws {@link InvalidProtocolSettings} (client fault)
110
+ * <p>You cannot specify SSLv3 as the minimum protocol version if you only want to support
111
+ * only clients that support Server Name Indication (SNI).</p>
112
+ *
113
+ * @throws {@link InvalidQueryStringParameters} (client fault)
114
+ * <p>The query string parameters specified are not valid.</p>
115
+ *
116
+ * @throws {@link InvalidRelativePath} (client fault)
117
+ * <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
118
+ * (/).</p>
119
+ *
120
+ * @throws {@link InvalidRequiredProtocol} (client fault)
121
+ * <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
122
+ * in your request, or omit the <code>RequiredProtocols</code> element from your
123
+ * distribution configuration.</p>
124
+ *
125
+ * @throws {@link InvalidResponseCode} (client fault)
126
+ * <p>A response code is not valid.</p>
127
+ *
128
+ * @throws {@link InvalidTTLOrder} (client fault)
129
+ * <p>The TTL order specified is not valid.</p>
130
+ *
131
+ * @throws {@link InvalidViewerCertificate} (client fault)
132
+ * <p>A viewer certificate specified is not valid.</p>
133
+ *
134
+ * @throws {@link InvalidWebACLId} (client fault)
135
+ * <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
136
+ * version of WAF, use the ACL ARN, for example
137
+ * <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
138
+ * To specify a web ACL created using WAF Classic, use the ACL ID, for example
139
+ * <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
140
+ *
141
+ * @throws {@link MissingBody} (client fault)
142
+ * <p>This operation requires a body. Ensure that the body is present and the
143
+ * <code>Content-Type</code> header is set.</p>
144
+ *
145
+ * @throws {@link NoSuchCachePolicy} (client fault)
146
+ * <p>The cache policy does not exist.</p>
147
+ *
148
+ * @throws {@link NoSuchContinuousDeploymentPolicy} (client fault)
149
+ * <p>The continuous deployment policy doesn't exist.</p>
150
+ *
151
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
152
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
153
+ *
154
+ * @throws {@link NoSuchOrigin} (client fault)
155
+ * <p>No origin exists with the specified <code>Origin Id</code>.</p>
156
+ *
157
+ * @throws {@link NoSuchOriginRequestPolicy} (client fault)
158
+ * <p>The origin request policy does not exist.</p>
159
+ *
160
+ * @throws {@link NoSuchRealtimeLogConfig} (client fault)
161
+ * <p>The real-time log configuration does not exist.</p>
162
+ *
163
+ * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
164
+ * <p>The response headers policy does not exist.</p>
165
+ *
166
+ * @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
167
+ * <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
168
+ *
169
+ * @throws {@link TooManyCacheBehaviors} (client fault)
170
+ * <p>You cannot create more cache behaviors for the distribution.</p>
171
+ *
172
+ * @throws {@link TooManyCertificates} (client fault)
173
+ * <p>You cannot create anymore custom SSL/TLS certificates.</p>
174
+ *
175
+ * @throws {@link TooManyCookieNamesInWhiteList} (client fault)
176
+ * <p>Your request contains more cookie names in the whitelist than are allowed per cache
177
+ * behavior.</p>
178
+ *
179
+ * @throws {@link TooManyDistributionCNAMEs} (client fault)
180
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
181
+ *
182
+ * @throws {@link TooManyDistributions} (client fault)
183
+ * <p>Processing your request would cause you to exceed the maximum number of distributions
184
+ * allowed.</p>
185
+ *
186
+ * @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
187
+ * <p>The maximum number of distributions have been associated with the specified cache
188
+ * 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
189
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
190
+ *
191
+ * @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
192
+ * <p>The maximum number of distributions have been associated with the specified
193
+ * configuration for field-level encryption.</p>
194
+ *
195
+ * @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
196
+ * <p>The number of distributions that reference this key group is more than the maximum
197
+ * allowed. 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
198
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
199
+ *
200
+ * @throws {@link TooManyDistributionsAssociatedToOriginAccessControl} (client fault)
201
+ * <p>The maximum number of distributions have been associated with the specified origin
202
+ * access control.</p>
203
+ * <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
204
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
205
+ *
206
+ * @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
207
+ * <p>The maximum number of distributions have been associated with the specified origin
208
+ * 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
209
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
210
+ *
211
+ * @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
212
+ * <p>The maximum number of distributions have been associated with the specified response
213
+ * headers policy.</p>
214
+ * <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
215
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
216
+ *
217
+ * @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
218
+ * <p>You have reached the maximum number of distributions that are associated with a CloudFront
219
+ * function. 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
220
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
221
+ *
222
+ * @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
223
+ * <p>Processing your request would cause the maximum number of distributions with
224
+ * Lambda@Edge function associations per owner to be exceeded.</p>
225
+ *
226
+ * @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
227
+ * <p>The maximum number of distributions have been associated with the specified
228
+ * Lambda@Edge function.</p>
229
+ *
230
+ * @throws {@link TooManyFunctionAssociations} (client fault)
231
+ * <p>You have reached the maximum number of CloudFront function associations for this
232
+ * distribution. 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
233
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
234
+ *
235
+ * @throws {@link TooManyHeadersInForwardedValues} (client fault)
236
+ * <p>Your request contains too many headers in forwarded values.</p>
237
+ *
238
+ * @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
239
+ * <p>The number of key groups referenced by this distribution is more than the maximum
240
+ * allowed. 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
241
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
242
+ *
243
+ * @throws {@link TooManyLambdaFunctionAssociations} (client fault)
244
+ * <p>Your request contains more Lambda@Edge function associations than are allowed per
245
+ * distribution.</p>
246
+ *
247
+ * @throws {@link TooManyOriginCustomHeaders} (client fault)
248
+ * <p>Your request contains too many origin custom headers.</p>
249
+ *
250
+ * @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
251
+ * <p>Processing your request would cause you to exceed the maximum number of origin groups
252
+ * allowed.</p>
253
+ *
254
+ * @throws {@link TooManyOrigins} (client fault)
255
+ * <p>You cannot create more origins for the distribution.</p>
256
+ *
257
+ * @throws {@link TooManyQueryStringParameters} (client fault)
258
+ * <p>Your request contains too many query string parameters.</p>
259
+ *
260
+ * @throws {@link TooManyTrustedSigners} (client fault)
261
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
262
+ *
263
+ * @throws {@link TrustedKeyGroupDoesNotExist} (client fault)
264
+ * <p>The specified key group does not exist.</p>
265
+ *
266
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
267
+ * <p>One or more of your trusted signers don't exist.</p>
268
+ *
269
+ *
32
270
  */
33
271
  export declare class CreateDistributionCommand extends $Command<CreateDistributionCommandInput, CreateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
34
272
  readonly input: CreateDistributionCommandInput;