@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
@@ -29,6 +29,237 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
29
29
  * @see {@link CreateDistributionWithTagsCommandOutput} 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 InconsistentQuantities} (client fault)
51
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
52
+ * match.</p>
53
+ *
54
+ * @throws {@link InvalidArgument} (client fault)
55
+ * <p>An argument is invalid.</p>
56
+ *
57
+ * @throws {@link InvalidDefaultRootObject} (client fault)
58
+ * <p>The default root object file name is too big or contains an invalid character.</p>
59
+ *
60
+ * @throws {@link InvalidDomainNameForOriginAccessControl} (client fault)
61
+ * <p>An origin access control is associated with an origin whose domain name is not
62
+ * supported.</p>
63
+ *
64
+ * @throws {@link InvalidErrorCode} (client fault)
65
+ * <p>An invalid error code was specified.</p>
66
+ *
67
+ * @throws {@link InvalidForwardCookies} (client fault)
68
+ * <p>Your request contains forward cookies option which doesn't match with the expectation
69
+ * for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
70
+ * been specified when not allowed or list of cookie names is missing when expected.</p>
71
+ *
72
+ * @throws {@link InvalidFunctionAssociation} (client fault)
73
+ * <p>A CloudFront function association is invalid.</p>
74
+ *
75
+ * @throws {@link InvalidGeoRestrictionParameter} (client fault)
76
+ * <p>The specified geo restriction parameter is not valid.</p>
77
+ *
78
+ * @throws {@link InvalidHeadersForS3Origin} (client fault)
79
+ * <p>The headers specified are not valid for an Amazon S3 origin.</p>
80
+ *
81
+ * @throws {@link InvalidLambdaFunctionAssociation} (client fault)
82
+ * <p>The specified Lambda@Edge function association is invalid.</p>
83
+ *
84
+ * @throws {@link InvalidLocationCode} (client fault)
85
+ * <p>The location code specified is not valid.</p>
86
+ *
87
+ * @throws {@link InvalidMinimumProtocolVersion} (client fault)
88
+ * <p>The minimum protocol version specified is not valid.</p>
89
+ *
90
+ * @throws {@link InvalidOrigin} (client fault)
91
+ * <p>The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.</p>
92
+ *
93
+ * @throws {@link InvalidOriginAccessControl} (client fault)
94
+ * <p>The origin access control is not valid.</p>
95
+ *
96
+ * @throws {@link InvalidOriginAccessIdentity} (client fault)
97
+ * <p>The origin access identity is not valid or doesn't exist.</p>
98
+ *
99
+ * @throws {@link InvalidOriginKeepaliveTimeout} (client fault)
100
+ * <p>The keep alive timeout specified for the origin is not valid.</p>
101
+ *
102
+ * @throws {@link InvalidOriginReadTimeout} (client fault)
103
+ * <p>The read timeout specified for the origin is not valid.</p>
104
+ *
105
+ * @throws {@link InvalidProtocolSettings} (client fault)
106
+ * <p>You cannot specify SSLv3 as the minimum protocol version if you only want to support
107
+ * only clients that support Server Name Indication (SNI).</p>
108
+ *
109
+ * @throws {@link InvalidQueryStringParameters} (client fault)
110
+ * <p>The query string parameters specified are not valid.</p>
111
+ *
112
+ * @throws {@link InvalidRelativePath} (client fault)
113
+ * <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
114
+ * (/).</p>
115
+ *
116
+ * @throws {@link InvalidRequiredProtocol} (client fault)
117
+ * <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
118
+ * in your request, or omit the <code>RequiredProtocols</code> element from your
119
+ * distribution configuration.</p>
120
+ *
121
+ * @throws {@link InvalidResponseCode} (client fault)
122
+ * <p>A response code is not valid.</p>
123
+ *
124
+ * @throws {@link InvalidTagging} (client fault)
125
+ * <p>The tagging specified is not valid.</p>
126
+ *
127
+ * @throws {@link InvalidTTLOrder} (client fault)
128
+ * <p>The TTL order specified is not valid.</p>
129
+ *
130
+ * @throws {@link InvalidViewerCertificate} (client fault)
131
+ * <p>A viewer certificate specified is not valid.</p>
132
+ *
133
+ * @throws {@link InvalidWebACLId} (client fault)
134
+ * <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
135
+ * version of WAF, use the ACL ARN, for example
136
+ * <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
137
+ * To specify a web ACL created using WAF Classic, use the ACL ID, for example
138
+ * <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
139
+ *
140
+ * @throws {@link MissingBody} (client fault)
141
+ * <p>This operation requires a body. Ensure that the body is present and the
142
+ * <code>Content-Type</code> header is set.</p>
143
+ *
144
+ * @throws {@link NoSuchCachePolicy} (client fault)
145
+ * <p>The cache policy does not exist.</p>
146
+ *
147
+ * @throws {@link NoSuchContinuousDeploymentPolicy} (client fault)
148
+ * <p>The continuous deployment policy doesn't exist.</p>
149
+ *
150
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
151
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
152
+ *
153
+ * @throws {@link NoSuchOrigin} (client fault)
154
+ * <p>No origin exists with the specified <code>Origin Id</code>.</p>
155
+ *
156
+ * @throws {@link NoSuchOriginRequestPolicy} (client fault)
157
+ * <p>The origin request policy does not exist.</p>
158
+ *
159
+ * @throws {@link NoSuchRealtimeLogConfig} (client fault)
160
+ * <p>The real-time log configuration does not exist.</p>
161
+ *
162
+ * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
163
+ * <p>The response headers policy does not exist.</p>
164
+ *
165
+ * @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
166
+ * <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
167
+ *
168
+ * @throws {@link TooManyCacheBehaviors} (client fault)
169
+ * <p>You cannot create more cache behaviors for the distribution.</p>
170
+ *
171
+ * @throws {@link TooManyCertificates} (client fault)
172
+ * <p>You cannot create anymore custom SSL/TLS certificates.</p>
173
+ *
174
+ * @throws {@link TooManyCookieNamesInWhiteList} (client fault)
175
+ * <p>Your request contains more cookie names in the whitelist than are allowed per cache
176
+ * behavior.</p>
177
+ *
178
+ * @throws {@link TooManyDistributionCNAMEs} (client fault)
179
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
180
+ *
181
+ * @throws {@link TooManyDistributions} (client fault)
182
+ * <p>Processing your request would cause you to exceed the maximum number of distributions
183
+ * allowed.</p>
184
+ *
185
+ * @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
186
+ * <p>The maximum number of distributions have been associated with the specified cache
187
+ * 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
188
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
189
+ *
190
+ * @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
191
+ * <p>The maximum number of distributions have been associated with the specified
192
+ * configuration for field-level encryption.</p>
193
+ *
194
+ * @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
195
+ * <p>The number of distributions that reference this key group is more than the maximum
196
+ * 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
197
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
198
+ *
199
+ * @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
200
+ * <p>The maximum number of distributions have been associated with the specified origin
201
+ * 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
202
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
203
+ *
204
+ * @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
205
+ * <p>The maximum number of distributions have been associated with the specified response
206
+ * headers policy.</p>
207
+ * <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
208
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
209
+ *
210
+ * @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
211
+ * <p>You have reached the maximum number of distributions that are associated with a CloudFront
212
+ * 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
213
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
214
+ *
215
+ * @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
216
+ * <p>Processing your request would cause the maximum number of distributions with
217
+ * Lambda@Edge function associations per owner to be exceeded.</p>
218
+ *
219
+ * @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
220
+ * <p>The maximum number of distributions have been associated with the specified
221
+ * Lambda@Edge function.</p>
222
+ *
223
+ * @throws {@link TooManyFunctionAssociations} (client fault)
224
+ * <p>You have reached the maximum number of CloudFront function associations for this
225
+ * 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
226
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
227
+ *
228
+ * @throws {@link TooManyHeadersInForwardedValues} (client fault)
229
+ * <p>Your request contains too many headers in forwarded values.</p>
230
+ *
231
+ * @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
232
+ * <p>The number of key groups referenced by this distribution is more than the maximum
233
+ * 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
234
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
235
+ *
236
+ * @throws {@link TooManyLambdaFunctionAssociations} (client fault)
237
+ * <p>Your request contains more Lambda@Edge function associations than are allowed per
238
+ * distribution.</p>
239
+ *
240
+ * @throws {@link TooManyOriginCustomHeaders} (client fault)
241
+ * <p>Your request contains too many origin custom headers.</p>
242
+ *
243
+ * @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
244
+ * <p>Processing your request would cause you to exceed the maximum number of origin groups
245
+ * allowed.</p>
246
+ *
247
+ * @throws {@link TooManyOrigins} (client fault)
248
+ * <p>You cannot create more origins for the distribution.</p>
249
+ *
250
+ * @throws {@link TooManyQueryStringParameters} (client fault)
251
+ * <p>Your request contains too many query string parameters.</p>
252
+ *
253
+ * @throws {@link TooManyTrustedSigners} (client fault)
254
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
255
+ *
256
+ * @throws {@link TrustedKeyGroupDoesNotExist} (client fault)
257
+ * <p>The specified key group does not exist.</p>
258
+ *
259
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
260
+ * <p>One or more of your trusted signers don't exist.</p>
261
+ *
262
+ *
32
263
  */
33
264
  export declare class CreateDistributionWithTagsCommand extends $Command<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
34
265
  readonly input: CreateDistributionWithTagsCommandInput;
@@ -29,6 +29,35 @@ export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFie
29
29
  * @see {@link CreateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link FieldLevelEncryptionConfigAlreadyExists} (client fault)
33
+ * <p>The specified configuration for field-level encryption already exists.</p>
34
+ *
35
+ * @throws {@link InconsistentQuantities} (client fault)
36
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
37
+ * match.</p>
38
+ *
39
+ * @throws {@link InvalidArgument} (client fault)
40
+ * <p>An argument is invalid.</p>
41
+ *
42
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
43
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
44
+ *
45
+ * @throws {@link QueryArgProfileEmpty} (client fault)
46
+ * <p>No profile specified for the field-level encryption query argument.</p>
47
+ *
48
+ * @throws {@link TooManyFieldLevelEncryptionConfigs} (client fault)
49
+ * <p>The maximum number of configurations for field-level encryption have been
50
+ * created.</p>
51
+ *
52
+ * @throws {@link TooManyFieldLevelEncryptionContentTypeProfiles} (client fault)
53
+ * <p>The maximum number of content type profiles for field-level encryption have been
54
+ * created.</p>
55
+ *
56
+ * @throws {@link TooManyFieldLevelEncryptionQueryArgProfiles} (client fault)
57
+ * <p>The maximum number of query arg profiles for field-level encryption have been
58
+ * created.</p>
59
+ *
60
+ *
32
61
  */
33
62
  export declare class CreateFieldLevelEncryptionConfigCommand extends $Command<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
63
  readonly input: CreateFieldLevelEncryptionConfigCommandInput;
@@ -29,6 +29,34 @@ export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFi
29
29
  * @see {@link CreateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link FieldLevelEncryptionProfileAlreadyExists} (client fault)
33
+ * <p>The specified profile for field-level encryption already exists.</p>
34
+ *
35
+ * @throws {@link FieldLevelEncryptionProfileSizeExceeded} (client fault)
36
+ * <p>The maximum size of a profile for field-level encryption was exceeded.</p>
37
+ *
38
+ * @throws {@link InconsistentQuantities} (client fault)
39
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
40
+ * match.</p>
41
+ *
42
+ * @throws {@link InvalidArgument} (client fault)
43
+ * <p>An argument is invalid.</p>
44
+ *
45
+ * @throws {@link NoSuchPublicKey} (client fault)
46
+ * <p>The specified public key doesn't exist.</p>
47
+ *
48
+ * @throws {@link TooManyFieldLevelEncryptionEncryptionEntities} (client fault)
49
+ * <p>The maximum number of encryption entities for field-level encryption have been
50
+ * created.</p>
51
+ *
52
+ * @throws {@link TooManyFieldLevelEncryptionFieldPatterns} (client fault)
53
+ * <p>The maximum number of field patterns for field-level encryption have been
54
+ * created.</p>
55
+ *
56
+ * @throws {@link TooManyFieldLevelEncryptionProfiles} (client fault)
57
+ * <p>The maximum number of profiles for field-level encryption have been created.</p>
58
+ *
59
+ *
32
60
  */
33
61
  export declare class CreateFieldLevelEncryptionProfileCommand extends $Command<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
34
62
  readonly input: CreateFieldLevelEncryptionProfileCommandInput;
@@ -39,6 +39,27 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
39
39
  * @see {@link CreateFunctionCommandOutput} for command's `response` shape.
40
40
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
41
41
  *
42
+ * @throws {@link FunctionAlreadyExists} (client fault)
43
+ * <p>A function with the same name already exists in this Amazon Web Services account. To create a
44
+ * function, you must provide a unique name. To update an existing function, use
45
+ * <code>UpdateFunction</code>.</p>
46
+ *
47
+ * @throws {@link FunctionSizeLimitExceeded} (client fault)
48
+ * <p>The function is too large. 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
49
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
50
+ *
51
+ * @throws {@link InvalidArgument} (client fault)
52
+ * <p>An argument is invalid.</p>
53
+ *
54
+ * @throws {@link TooManyFunctions} (client fault)
55
+ * <p>You have reached the maximum number of CloudFront functions for this Amazon Web Services account. For more
56
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
57
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
58
+ *
59
+ * @throws {@link UnsupportedOperation} (client fault)
60
+ * <p>This operation is not supported in this region.</p>
61
+ *
62
+ *
42
63
  */
43
64
  export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
44
65
  readonly input: CreateFunctionCommandInput;
@@ -29,6 +29,31 @@ export interface CreateInvalidationCommandOutput extends CreateInvalidationResul
29
29
  * @see {@link CreateInvalidationCommandOutput} 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 BatchTooLarge} (client fault)
36
+ * <p>Invalidation batch specified is too large.</p>
37
+ *
38
+ * @throws {@link InconsistentQuantities} (client fault)
39
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
40
+ * match.</p>
41
+ *
42
+ * @throws {@link InvalidArgument} (client fault)
43
+ * <p>An argument is invalid.</p>
44
+ *
45
+ * @throws {@link MissingBody} (client fault)
46
+ * <p>This operation requires a body. Ensure that the body is present and the
47
+ * <code>Content-Type</code> header is set.</p>
48
+ *
49
+ * @throws {@link NoSuchDistribution} (client fault)
50
+ * <p>The specified distribution does not exist.</p>
51
+ *
52
+ * @throws {@link TooManyInvalidationsInProgress} (client fault)
53
+ * <p>You have exceeded the maximum number of allowable InProgress invalidation batch
54
+ * requests, or invalidation objects.</p>
55
+ *
56
+ *
32
57
  */
33
58
  export declare class CreateInvalidationCommand extends $Command<CreateInvalidationCommandInput, CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig> {
34
59
  readonly input: CreateInvalidationCommandInput;
@@ -37,6 +37,24 @@ export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __Met
37
37
  * @see {@link CreateKeyGroupCommandOutput} for command's `response` shape.
38
38
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
39
39
  *
40
+ * @throws {@link InvalidArgument} (client fault)
41
+ * <p>An argument is invalid.</p>
42
+ *
43
+ * @throws {@link KeyGroupAlreadyExists} (client fault)
44
+ * <p>A key group with this name already exists. You must provide a unique name. To modify
45
+ * an existing key group, use <code>UpdateKeyGroup</code>.</p>
46
+ *
47
+ * @throws {@link TooManyKeyGroups} (client fault)
48
+ * <p>You have reached the maximum number of key groups for this Amazon Web Services account. For more
49
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
50
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
51
+ *
52
+ * @throws {@link TooManyPublicKeysInKeyGroup} (client fault)
53
+ * <p>The number of public keys in this key group is more than the maximum allowed. For more
54
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
55
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
56
+ *
57
+ *
40
58
  */
41
59
  export declare class CreateKeyGroupCommand extends $Command<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
42
60
  readonly input: CreateKeyGroupCommandInput;
@@ -32,6 +32,19 @@ export interface CreateMonitoringSubscriptionCommandOutput extends CreateMonitor
32
32
  * @see {@link CreateMonitoringSubscriptionCommandOutput} 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 MonitoringSubscriptionAlreadyExists} (client fault)
39
+ * <p>A monitoring subscription already exists for the specified distribution.</p>
40
+ *
41
+ * @throws {@link NoSuchDistribution} (client fault)
42
+ * <p>The specified distribution does not exist.</p>
43
+ *
44
+ * @throws {@link UnsupportedOperation} (client fault)
45
+ * <p>This operation is not supported in this region.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class CreateMonitoringSubscriptionCommand extends $Command<CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
37
50
  readonly input: CreateMonitoringSubscriptionCommandInput;
@@ -35,6 +35,19 @@ export interface CreateOriginAccessControlCommandOutput extends CreateOriginAcce
35
35
  * @see {@link CreateOriginAccessControlCommandOutput} for command's `response` shape.
36
36
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
+ * @throws {@link InvalidArgument} (client fault)
39
+ * <p>An argument is invalid.</p>
40
+ *
41
+ * @throws {@link OriginAccessControlAlreadyExists} (client fault)
42
+ * <p>An origin access control with the specified parameters already exists.</p>
43
+ *
44
+ * @throws {@link TooManyOriginAccessControls} (client fault)
45
+ * <p>The number of origin access controls in your Amazon Web Services account exceeds the maximum
46
+ * allowed.</p>
47
+ * <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
48
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
49
+ *
50
+ *
38
51
  */
39
52
  export declare class CreateOriginAccessControlCommand extends $Command<CreateOriginAccessControlCommandInput, CreateOriginAccessControlCommandOutput, CloudFrontClientResolvedConfig> {
40
53
  readonly input: CreateOriginAccessControlCommandInput;
@@ -55,6 +55,42 @@ export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequ
55
55
  * @see {@link CreateOriginRequestPolicyCommandOutput} for command's `response` shape.
56
56
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
57
57
  *
58
+ * @throws {@link AccessDenied} (client fault)
59
+ * <p>Access denied.</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 OriginRequestPolicyAlreadyExists} (client fault)
69
+ * <p>An origin request policy with this name already exists. You must provide a unique
70
+ * name. To modify an existing origin request policy, use
71
+ * <code>UpdateOriginRequestPolicy</code>.</p>
72
+ *
73
+ * @throws {@link TooManyCookiesInOriginRequestPolicy} (client fault)
74
+ * <p>The number of cookies in the origin request policy exceeds the maximum. For more
75
+ * information, 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 TooManyHeadersInOriginRequestPolicy} (client fault)
79
+ * <p>The number of headers in the origin request policy exceeds the maximum. For more
80
+ * information, 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 TooManyOriginRequestPolicies} (client fault)
84
+ * <p>You have reached the maximum number of origin request policies for this Amazon Web Services account.
85
+ * 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
86
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
87
+ *
88
+ * @throws {@link TooManyQueryStringsInOriginRequestPolicy} (client fault)
89
+ * <p>The number of query strings in the origin request policy exceeds the maximum. For more
90
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
91
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
92
+ *
93
+ *
58
94
  */
59
95
  export declare class CreateOriginRequestPolicyCommand extends $Command<CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
60
96
  readonly input: CreateOriginRequestPolicyCommandInput;
@@ -29,6 +29,17 @@ export interface CreatePublicKeyCommandOutput extends CreatePublicKeyResult, __M
29
29
  * @see {@link CreatePublicKeyCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidArgument} (client fault)
33
+ * <p>An argument is invalid.</p>
34
+ *
35
+ * @throws {@link PublicKeyAlreadyExists} (client fault)
36
+ * <p>The specified public key already exists.</p>
37
+ *
38
+ * @throws {@link TooManyPublicKeys} (client fault)
39
+ * <p>The maximum number of public keys for field-level encryption have been created. To
40
+ * create a new public key, delete one of the existing keys.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class CreatePublicKeyCommand extends $Command<CreatePublicKeyCommandInput, CreatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
34
45
  readonly input: CreatePublicKeyCommandInput;
@@ -33,6 +33,23 @@ export interface CreateRealtimeLogConfigCommandOutput extends CreateRealtimeLogC
33
33
  * @see {@link CreateRealtimeLogConfigCommandOutput} for command's `response` shape.
34
34
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
35
35
  *
36
+ * @throws {@link AccessDenied} (client fault)
37
+ * <p>Access denied.</p>
38
+ *
39
+ * @throws {@link InvalidArgument} (client fault)
40
+ * <p>An argument is invalid.</p>
41
+ *
42
+ * @throws {@link RealtimeLogConfigAlreadyExists} (client fault)
43
+ * <p>A real-time log configuration with this name already exists. You must provide a unique
44
+ * name. To modify an existing real-time log configuration, use
45
+ * <code>UpdateRealtimeLogConfig</code>.</p>
46
+ *
47
+ * @throws {@link TooManyRealtimeLogConfigs} (client fault)
48
+ * <p>You have reached the maximum number of real-time log configurations for this
49
+ * Amazon Web Services account. 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
50
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
51
+ *
52
+ *
36
53
  */
37
54
  export declare class CreateRealtimeLogConfigCommand extends $Command<CreateRealtimeLogConfigCommandInput, CreateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
38
55
  readonly input: CreateRealtimeLogConfigCommandInput;
@@ -40,6 +40,46 @@ export interface CreateResponseHeadersPolicyCommandOutput extends CreateResponse
40
40
  * @see {@link CreateResponseHeadersPolicyCommandOutput} for command's `response` shape.
41
41
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
42
42
  *
43
+ * @throws {@link AccessDenied} (client fault)
44
+ * <p>Access denied.</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 ResponseHeadersPolicyAlreadyExists} (client fault)
54
+ * <p>A response headers policy with this name already exists. You must provide a unique
55
+ * name. To modify an existing response headers policy, use
56
+ * <code>UpdateResponseHeadersPolicy</code>.</p>
57
+ *
58
+ * @throws {@link TooLongCSPInResponseHeadersPolicy} (client fault)
59
+ * <p>The length of the <code>Content-Security-Policy</code> header value in the response
60
+ * headers policy exceeds the maximum.</p>
61
+ * <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
62
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
63
+ *
64
+ * @throws {@link TooManyCustomHeadersInResponseHeadersPolicy} (client fault)
65
+ * <p>The number of custom headers in the response headers policy exceeds the
66
+ * maximum.</p>
67
+ * <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
68
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
69
+ *
70
+ * @throws {@link TooManyRemoveHeadersInResponseHeadersPolicy} (client fault)
71
+ * <p>The number of headers in <code>RemoveHeadersConfig</code> in the response headers
72
+ * policy exceeds the maximum.</p>
73
+ * <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
74
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
75
+ *
76
+ * @throws {@link TooManyResponseHeadersPolicies} (client fault)
77
+ * <p>You have reached the maximum number of response headers policies for this
78
+ * Amazon Web Services account.</p>
79
+ * <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
80
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
81
+ *
82
+ *
43
83
  */
44
84
  export declare class CreateResponseHeadersPolicyCommand extends $Command<CreateResponseHeadersPolicyCommandInput, CreateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
45
85
  readonly input: CreateResponseHeadersPolicyCommandInput;
@@ -31,6 +31,50 @@ export interface CreateStreamingDistributionCommandOutput extends CreateStreamin
31
31
  * @see {@link CreateStreamingDistributionCommandOutput} 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 MissingBody} (client fault)
57
+ * <p>This operation requires a body. Ensure that the body is present and the
58
+ * <code>Content-Type</code> header is set.</p>
59
+ *
60
+ * @throws {@link StreamingDistributionAlreadyExists} (client fault)
61
+ * <p>The caller reference you attempted to create the streaming distribution with is
62
+ * associated with another distribution</p>
63
+ *
64
+ * @throws {@link TooManyStreamingDistributionCNAMEs} (client fault)
65
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
66
+ *
67
+ * @throws {@link TooManyStreamingDistributions} (client fault)
68
+ * <p>Processing your request would cause you to exceed the maximum number of streaming
69
+ * distributions allowed.</p>
70
+ *
71
+ * @throws {@link TooManyTrustedSigners} (client fault)
72
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
73
+ *
74
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
75
+ * <p>One or more of your trusted signers don't exist.</p>
76
+ *
77
+ *
34
78
  */
35
79
  export declare class CreateStreamingDistributionCommand extends $Command<CreateStreamingDistributionCommandInput, CreateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
36
80
  readonly input: CreateStreamingDistributionCommandInput;