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