@aws-sdk/client-cloudfront 3.299.0 → 3.300.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 +4 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +40 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +6 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +25 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +293 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +303 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +31 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +22 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +12 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +9 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +8 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +33 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +8 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +86 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +30 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +40 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +4 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +3 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +3 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +3 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +3 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +3 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +3 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +3 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +3 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +3 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +3 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +4 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +3 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +3 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +3 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +3 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +3 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +3 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +3 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +4 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +3 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +3 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +3 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +3 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +5 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +6 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +4 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +5 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +5 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +5 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +6 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +5 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +5 -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 +5 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +5 -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 +5 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +4 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +5 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +4 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +6 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +8 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +42 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +8 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +27 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +295 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +5 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +33 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +24 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +9 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +11 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +11 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +35 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +10 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +88 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +32 -0
  107. package/package.json +8 -8
@@ -36,6 +36,10 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
36
36
  * import { CloudFrontClient, AssociateAliasCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
37
37
  * // const { CloudFrontClient, AssociateAliasCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
38
38
  * const client = new CloudFrontClient(config);
39
+ * const input = {
40
+ * TargetDistributionId: "STRING_VALUE", // required
41
+ * Alias: "STRING_VALUE", // required
42
+ * };
39
43
  * const command = new AssociateAliasCommand(input);
40
44
  * const response = await client.send(command);
41
45
  * ```
@@ -32,6 +32,12 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
32
32
  * import { CloudFrontClient, CopyDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
33
  * // const { CloudFrontClient, CopyDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
34
  * const client = new CloudFrontClient(config);
35
+ * const input = {
36
+ * PrimaryDistributionId: "STRING_VALUE", // required
37
+ * Staging: true || false,
38
+ * IfMatch: "STRING_VALUE",
39
+ * CallerReference: "STRING_VALUE", // required
40
+ * };
35
41
  * const command = new CopyDistributionCommand(input);
36
42
  * const response = await client.send(command);
37
43
  * ```
@@ -48,6 +48,46 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
48
48
  * import { CloudFrontClient, CreateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
49
49
  * // const { CloudFrontClient, CreateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
50
50
  * const client = new CloudFrontClient(config);
51
+ * const input = {
52
+ * CachePolicyConfig: {
53
+ * Comment: "STRING_VALUE",
54
+ * Name: "STRING_VALUE", // required
55
+ * DefaultTTL: Number("long"),
56
+ * MaxTTL: Number("long"),
57
+ * MinTTL: Number("long"), // required
58
+ * ParametersInCacheKeyAndForwardedToOrigin: {
59
+ * EnableAcceptEncodingGzip: true || false, // required
60
+ * EnableAcceptEncodingBrotli: true || false,
61
+ * HeadersConfig: {
62
+ * HeaderBehavior: "none" || "whitelist", // required
63
+ * Headers: {
64
+ * Quantity: Number("int"), // required
65
+ * Items: [
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * },
69
+ * },
70
+ * CookiesConfig: {
71
+ * CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
72
+ * Cookies: {
73
+ * Quantity: Number("int"), // required
74
+ * Items: [
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * },
78
+ * },
79
+ * QueryStringsConfig: {
80
+ * QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
81
+ * QueryStrings: {
82
+ * Quantity: Number("int"), // required
83
+ * Items: [
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
87
+ * },
88
+ * },
89
+ * },
90
+ * };
51
91
  * const command = new CreateCachePolicyCommand(input);
52
92
  * const response = await client.send(command);
53
93
  * ```
@@ -30,6 +30,12 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
30
30
  * import { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
31
31
  * // const { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
32
32
  * const client = new CloudFrontClient(config);
33
+ * const input = {
34
+ * CloudFrontOriginAccessIdentityConfig: {
35
+ * CallerReference: "STRING_VALUE", // required
36
+ * Comment: "STRING_VALUE", // required
37
+ * },
38
+ * };
33
39
  * const command = new CreateCloudFrontOriginAccessIdentityCommand(input);
34
40
  * const response = await client.send(command);
35
41
  * ```
@@ -34,6 +34,31 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
34
34
  * import { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
35
  * // const { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
36
  * const client = new CloudFrontClient(config);
37
+ * const input = {
38
+ * ContinuousDeploymentPolicyConfig: {
39
+ * StagingDistributionDnsNames: {
40
+ * Quantity: Number("int"), // required
41
+ * Items: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * Enabled: true || false, // required
46
+ * TrafficConfig: {
47
+ * SingleWeightConfig: {
48
+ * Weight: Number("float"), // required
49
+ * SessionStickinessConfig: {
50
+ * IdleTTL: Number("int"), // required
51
+ * MaximumTTL: Number("int"), // required
52
+ * },
53
+ * },
54
+ * SingleHeaderConfig: {
55
+ * Header: "STRING_VALUE", // required
56
+ * Value: "STRING_VALUE", // required
57
+ * },
58
+ * Type: "SingleWeight" || "SingleHeader", // required
59
+ * },
60
+ * },
61
+ * };
37
62
  * const command = new CreateContinuousDeploymentPolicyCommand(input);
38
63
  * const response = await client.send(command);
39
64
  * ```
@@ -26,6 +26,299 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
26
26
  * import { CloudFrontClient, CreateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, CreateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * DistributionConfig: {
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * Aliases: {
33
+ * Quantity: Number("int"), // required
34
+ * Items: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * },
38
+ * DefaultRootObject: "STRING_VALUE",
39
+ * Origins: {
40
+ * Quantity: Number("int"), // required
41
+ * Items: [ // required
42
+ * {
43
+ * Id: "STRING_VALUE", // required
44
+ * DomainName: "STRING_VALUE", // required
45
+ * OriginPath: "STRING_VALUE",
46
+ * CustomHeaders: {
47
+ * Quantity: Number("int"), // required
48
+ * Items: [
49
+ * {
50
+ * HeaderName: "STRING_VALUE", // required
51
+ * HeaderValue: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * },
55
+ * S3OriginConfig: {
56
+ * OriginAccessIdentity: "STRING_VALUE", // required
57
+ * },
58
+ * CustomOriginConfig: {
59
+ * HTTPPort: Number("int"), // required
60
+ * HTTPSPort: Number("int"), // required
61
+ * OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
62
+ * OriginSslProtocols: {
63
+ * Quantity: Number("int"), // required
64
+ * Items: [ // required
65
+ * "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
66
+ * ],
67
+ * },
68
+ * OriginReadTimeout: Number("int"),
69
+ * OriginKeepaliveTimeout: Number("int"),
70
+ * },
71
+ * ConnectionAttempts: Number("int"),
72
+ * ConnectionTimeout: Number("int"),
73
+ * OriginShield: {
74
+ * Enabled: true || false, // required
75
+ * OriginShieldRegion: "STRING_VALUE",
76
+ * },
77
+ * OriginAccessControlId: "STRING_VALUE",
78
+ * },
79
+ * ],
80
+ * },
81
+ * OriginGroups: {
82
+ * Quantity: Number("int"), // required
83
+ * Items: [
84
+ * {
85
+ * Id: "STRING_VALUE", // required
86
+ * FailoverCriteria: {
87
+ * StatusCodes: {
88
+ * Quantity: Number("int"), // required
89
+ * Items: [ // required
90
+ * Number("int"),
91
+ * ],
92
+ * },
93
+ * },
94
+ * Members: {
95
+ * Quantity: Number("int"), // required
96
+ * Items: [ // required
97
+ * {
98
+ * OriginId: "STRING_VALUE", // required
99
+ * },
100
+ * ],
101
+ * },
102
+ * },
103
+ * ],
104
+ * },
105
+ * DefaultCacheBehavior: {
106
+ * TargetOriginId: "STRING_VALUE", // required
107
+ * TrustedSigners: {
108
+ * Enabled: true || false, // required
109
+ * Quantity: Number("int"), // required
110
+ * Items: [
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * },
114
+ * TrustedKeyGroups: {
115
+ * Enabled: true || false, // required
116
+ * Quantity: Number("int"), // required
117
+ * Items: [
118
+ * "STRING_VALUE",
119
+ * ],
120
+ * },
121
+ * ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
122
+ * AllowedMethods: {
123
+ * Quantity: Number("int"), // required
124
+ * Items: [ // required
125
+ * "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
126
+ * ],
127
+ * CachedMethods: {
128
+ * Quantity: Number("int"), // required
129
+ * Items: [ // required
130
+ * "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
131
+ * ],
132
+ * },
133
+ * },
134
+ * SmoothStreaming: true || false,
135
+ * Compress: true || false,
136
+ * LambdaFunctionAssociations: {
137
+ * Quantity: Number("int"), // required
138
+ * Items: [
139
+ * {
140
+ * LambdaFunctionARN: "STRING_VALUE", // required
141
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
142
+ * IncludeBody: true || false,
143
+ * },
144
+ * ],
145
+ * },
146
+ * FunctionAssociations: {
147
+ * Quantity: Number("int"), // required
148
+ * Items: [
149
+ * {
150
+ * FunctionARN: "STRING_VALUE", // required
151
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
152
+ * },
153
+ * ],
154
+ * },
155
+ * FieldLevelEncryptionId: "STRING_VALUE",
156
+ * RealtimeLogConfigArn: "STRING_VALUE",
157
+ * CachePolicyId: "STRING_VALUE",
158
+ * OriginRequestPolicyId: "STRING_VALUE",
159
+ * ResponseHeadersPolicyId: "STRING_VALUE",
160
+ * ForwardedValues: {
161
+ * QueryString: true || false, // required
162
+ * Cookies: {
163
+ * Forward: "none" || "whitelist" || "all", // required
164
+ * WhitelistedNames: {
165
+ * Quantity: Number("int"), // required
166
+ * Items: [
167
+ * "STRING_VALUE",
168
+ * ],
169
+ * },
170
+ * },
171
+ * Headers: {
172
+ * Quantity: Number("int"), // required
173
+ * Items: [
174
+ * "STRING_VALUE",
175
+ * ],
176
+ * },
177
+ * QueryStringCacheKeys: {
178
+ * Quantity: Number("int"), // required
179
+ * Items: [
180
+ * "STRING_VALUE",
181
+ * ],
182
+ * },
183
+ * },
184
+ * MinTTL: Number("long"),
185
+ * DefaultTTL: Number("long"),
186
+ * MaxTTL: Number("long"),
187
+ * },
188
+ * CacheBehaviors: {
189
+ * Quantity: Number("int"), // required
190
+ * Items: [
191
+ * {
192
+ * PathPattern: "STRING_VALUE", // required
193
+ * TargetOriginId: "STRING_VALUE", // required
194
+ * TrustedSigners: {
195
+ * Enabled: true || false, // required
196
+ * Quantity: Number("int"), // required
197
+ * Items: [
198
+ * "STRING_VALUE",
199
+ * ],
200
+ * },
201
+ * TrustedKeyGroups: {
202
+ * Enabled: true || false, // required
203
+ * Quantity: Number("int"), // required
204
+ * Items: [
205
+ * "STRING_VALUE",
206
+ * ],
207
+ * },
208
+ * ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
209
+ * AllowedMethods: {
210
+ * Quantity: Number("int"), // required
211
+ * Items: [ // required
212
+ * "<MethodsList>",
213
+ * ],
214
+ * CachedMethods: {
215
+ * Quantity: Number("int"), // required
216
+ * Items: [ // required
217
+ * "<MethodsList>",
218
+ * ],
219
+ * },
220
+ * },
221
+ * SmoothStreaming: true || false,
222
+ * Compress: true || false,
223
+ * LambdaFunctionAssociations: {
224
+ * Quantity: Number("int"), // required
225
+ * Items: [
226
+ * {
227
+ * LambdaFunctionARN: "STRING_VALUE", // required
228
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
229
+ * IncludeBody: true || false,
230
+ * },
231
+ * ],
232
+ * },
233
+ * FunctionAssociations: {
234
+ * Quantity: Number("int"), // required
235
+ * Items: [
236
+ * {
237
+ * FunctionARN: "STRING_VALUE", // required
238
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
239
+ * },
240
+ * ],
241
+ * },
242
+ * FieldLevelEncryptionId: "STRING_VALUE",
243
+ * RealtimeLogConfigArn: "STRING_VALUE",
244
+ * CachePolicyId: "STRING_VALUE",
245
+ * OriginRequestPolicyId: "STRING_VALUE",
246
+ * ResponseHeadersPolicyId: "STRING_VALUE",
247
+ * ForwardedValues: {
248
+ * QueryString: true || false, // required
249
+ * Cookies: {
250
+ * Forward: "none" || "whitelist" || "all", // required
251
+ * WhitelistedNames: {
252
+ * Quantity: Number("int"), // required
253
+ * Items: [
254
+ * "STRING_VALUE",
255
+ * ],
256
+ * },
257
+ * },
258
+ * Headers: {
259
+ * Quantity: Number("int"), // required
260
+ * Items: [
261
+ * "STRING_VALUE",
262
+ * ],
263
+ * },
264
+ * QueryStringCacheKeys: {
265
+ * Quantity: Number("int"), // required
266
+ * Items: [
267
+ * "STRING_VALUE",
268
+ * ],
269
+ * },
270
+ * },
271
+ * MinTTL: Number("long"),
272
+ * DefaultTTL: Number("long"),
273
+ * MaxTTL: Number("long"),
274
+ * },
275
+ * ],
276
+ * },
277
+ * CustomErrorResponses: {
278
+ * Quantity: Number("int"), // required
279
+ * Items: [
280
+ * {
281
+ * ErrorCode: Number("int"), // required
282
+ * ResponsePagePath: "STRING_VALUE",
283
+ * ResponseCode: "STRING_VALUE",
284
+ * ErrorCachingMinTTL: Number("long"),
285
+ * },
286
+ * ],
287
+ * },
288
+ * Comment: "STRING_VALUE", // required
289
+ * Logging: {
290
+ * Enabled: true || false, // required
291
+ * IncludeCookies: true || false, // required
292
+ * Bucket: "STRING_VALUE", // required
293
+ * Prefix: "STRING_VALUE", // required
294
+ * },
295
+ * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
296
+ * Enabled: true || false, // required
297
+ * ViewerCertificate: {
298
+ * CloudFrontDefaultCertificate: true || false,
299
+ * IAMCertificateId: "STRING_VALUE",
300
+ * ACMCertificateArn: "STRING_VALUE",
301
+ * SSLSupportMethod: "sni-only" || "vip" || "static-ip",
302
+ * MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
303
+ * Certificate: "STRING_VALUE",
304
+ * CertificateSource: "cloudfront" || "iam" || "acm",
305
+ * },
306
+ * Restrictions: {
307
+ * GeoRestriction: {
308
+ * RestrictionType: "blacklist" || "whitelist" || "none", // required
309
+ * Quantity: Number("int"), // required
310
+ * Items: [
311
+ * "STRING_VALUE",
312
+ * ],
313
+ * },
314
+ * },
315
+ * WebACLId: "STRING_VALUE",
316
+ * HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
317
+ * IsIPV6Enabled: true || false,
318
+ * ContinuousDeploymentPolicyId: "STRING_VALUE",
319
+ * Staging: true || false,
320
+ * },
321
+ * };
29
322
  * const command = new CreateDistributionCommand(input);
30
323
  * const response = await client.send(command);
31
324
  * ```