@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
@@ -61,6 +61,301 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
61
61
  * import { CloudFrontClient, UpdateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
62
62
  * // const { CloudFrontClient, UpdateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
63
63
  * const client = new CloudFrontClient(config);
64
+ * const input = {
65
+ * DistributionConfig: {
66
+ * CallerReference: "STRING_VALUE", // required
67
+ * Aliases: {
68
+ * Quantity: Number("int"), // required
69
+ * Items: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * },
73
+ * DefaultRootObject: "STRING_VALUE",
74
+ * Origins: {
75
+ * Quantity: Number("int"), // required
76
+ * Items: [ // required
77
+ * {
78
+ * Id: "STRING_VALUE", // required
79
+ * DomainName: "STRING_VALUE", // required
80
+ * OriginPath: "STRING_VALUE",
81
+ * CustomHeaders: {
82
+ * Quantity: Number("int"), // required
83
+ * Items: [
84
+ * {
85
+ * HeaderName: "STRING_VALUE", // required
86
+ * HeaderValue: "STRING_VALUE", // required
87
+ * },
88
+ * ],
89
+ * },
90
+ * S3OriginConfig: {
91
+ * OriginAccessIdentity: "STRING_VALUE", // required
92
+ * },
93
+ * CustomOriginConfig: {
94
+ * HTTPPort: Number("int"), // required
95
+ * HTTPSPort: Number("int"), // required
96
+ * OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
97
+ * OriginSslProtocols: {
98
+ * Quantity: Number("int"), // required
99
+ * Items: [ // required
100
+ * "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
101
+ * ],
102
+ * },
103
+ * OriginReadTimeout: Number("int"),
104
+ * OriginKeepaliveTimeout: Number("int"),
105
+ * },
106
+ * ConnectionAttempts: Number("int"),
107
+ * ConnectionTimeout: Number("int"),
108
+ * OriginShield: {
109
+ * Enabled: true || false, // required
110
+ * OriginShieldRegion: "STRING_VALUE",
111
+ * },
112
+ * OriginAccessControlId: "STRING_VALUE",
113
+ * },
114
+ * ],
115
+ * },
116
+ * OriginGroups: {
117
+ * Quantity: Number("int"), // required
118
+ * Items: [
119
+ * {
120
+ * Id: "STRING_VALUE", // required
121
+ * FailoverCriteria: {
122
+ * StatusCodes: {
123
+ * Quantity: Number("int"), // required
124
+ * Items: [ // required
125
+ * Number("int"),
126
+ * ],
127
+ * },
128
+ * },
129
+ * Members: {
130
+ * Quantity: Number("int"), // required
131
+ * Items: [ // required
132
+ * {
133
+ * OriginId: "STRING_VALUE", // required
134
+ * },
135
+ * ],
136
+ * },
137
+ * },
138
+ * ],
139
+ * },
140
+ * DefaultCacheBehavior: {
141
+ * TargetOriginId: "STRING_VALUE", // required
142
+ * TrustedSigners: {
143
+ * Enabled: true || false, // required
144
+ * Quantity: Number("int"), // required
145
+ * Items: [
146
+ * "STRING_VALUE",
147
+ * ],
148
+ * },
149
+ * TrustedKeyGroups: {
150
+ * Enabled: true || false, // required
151
+ * Quantity: Number("int"), // required
152
+ * Items: [
153
+ * "STRING_VALUE",
154
+ * ],
155
+ * },
156
+ * ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
157
+ * AllowedMethods: {
158
+ * Quantity: Number("int"), // required
159
+ * Items: [ // required
160
+ * "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
161
+ * ],
162
+ * CachedMethods: {
163
+ * Quantity: Number("int"), // required
164
+ * Items: [ // required
165
+ * "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
166
+ * ],
167
+ * },
168
+ * },
169
+ * SmoothStreaming: true || false,
170
+ * Compress: true || false,
171
+ * LambdaFunctionAssociations: {
172
+ * Quantity: Number("int"), // required
173
+ * Items: [
174
+ * {
175
+ * LambdaFunctionARN: "STRING_VALUE", // required
176
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
177
+ * IncludeBody: true || false,
178
+ * },
179
+ * ],
180
+ * },
181
+ * FunctionAssociations: {
182
+ * Quantity: Number("int"), // required
183
+ * Items: [
184
+ * {
185
+ * FunctionARN: "STRING_VALUE", // required
186
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
187
+ * },
188
+ * ],
189
+ * },
190
+ * FieldLevelEncryptionId: "STRING_VALUE",
191
+ * RealtimeLogConfigArn: "STRING_VALUE",
192
+ * CachePolicyId: "STRING_VALUE",
193
+ * OriginRequestPolicyId: "STRING_VALUE",
194
+ * ResponseHeadersPolicyId: "STRING_VALUE",
195
+ * ForwardedValues: {
196
+ * QueryString: true || false, // required
197
+ * Cookies: {
198
+ * Forward: "none" || "whitelist" || "all", // required
199
+ * WhitelistedNames: {
200
+ * Quantity: Number("int"), // required
201
+ * Items: [
202
+ * "STRING_VALUE",
203
+ * ],
204
+ * },
205
+ * },
206
+ * Headers: {
207
+ * Quantity: Number("int"), // required
208
+ * Items: [
209
+ * "STRING_VALUE",
210
+ * ],
211
+ * },
212
+ * QueryStringCacheKeys: {
213
+ * Quantity: Number("int"), // required
214
+ * Items: [
215
+ * "STRING_VALUE",
216
+ * ],
217
+ * },
218
+ * },
219
+ * MinTTL: Number("long"),
220
+ * DefaultTTL: Number("long"),
221
+ * MaxTTL: Number("long"),
222
+ * },
223
+ * CacheBehaviors: {
224
+ * Quantity: Number("int"), // required
225
+ * Items: [
226
+ * {
227
+ * PathPattern: "STRING_VALUE", // required
228
+ * TargetOriginId: "STRING_VALUE", // required
229
+ * TrustedSigners: {
230
+ * Enabled: true || false, // required
231
+ * Quantity: Number("int"), // required
232
+ * Items: [
233
+ * "STRING_VALUE",
234
+ * ],
235
+ * },
236
+ * TrustedKeyGroups: {
237
+ * Enabled: true || false, // required
238
+ * Quantity: Number("int"), // required
239
+ * Items: [
240
+ * "STRING_VALUE",
241
+ * ],
242
+ * },
243
+ * ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
244
+ * AllowedMethods: {
245
+ * Quantity: Number("int"), // required
246
+ * Items: [ // required
247
+ * "<MethodsList>",
248
+ * ],
249
+ * CachedMethods: {
250
+ * Quantity: Number("int"), // required
251
+ * Items: [ // required
252
+ * "<MethodsList>",
253
+ * ],
254
+ * },
255
+ * },
256
+ * SmoothStreaming: true || false,
257
+ * Compress: true || false,
258
+ * LambdaFunctionAssociations: {
259
+ * Quantity: Number("int"), // required
260
+ * Items: [
261
+ * {
262
+ * LambdaFunctionARN: "STRING_VALUE", // required
263
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
264
+ * IncludeBody: true || false,
265
+ * },
266
+ * ],
267
+ * },
268
+ * FunctionAssociations: {
269
+ * Quantity: Number("int"), // required
270
+ * Items: [
271
+ * {
272
+ * FunctionARN: "STRING_VALUE", // required
273
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
274
+ * },
275
+ * ],
276
+ * },
277
+ * FieldLevelEncryptionId: "STRING_VALUE",
278
+ * RealtimeLogConfigArn: "STRING_VALUE",
279
+ * CachePolicyId: "STRING_VALUE",
280
+ * OriginRequestPolicyId: "STRING_VALUE",
281
+ * ResponseHeadersPolicyId: "STRING_VALUE",
282
+ * ForwardedValues: {
283
+ * QueryString: true || false, // required
284
+ * Cookies: {
285
+ * Forward: "none" || "whitelist" || "all", // required
286
+ * WhitelistedNames: {
287
+ * Quantity: Number("int"), // required
288
+ * Items: [
289
+ * "STRING_VALUE",
290
+ * ],
291
+ * },
292
+ * },
293
+ * Headers: {
294
+ * Quantity: Number("int"), // required
295
+ * Items: [
296
+ * "STRING_VALUE",
297
+ * ],
298
+ * },
299
+ * QueryStringCacheKeys: {
300
+ * Quantity: Number("int"), // required
301
+ * Items: [
302
+ * "STRING_VALUE",
303
+ * ],
304
+ * },
305
+ * },
306
+ * MinTTL: Number("long"),
307
+ * DefaultTTL: Number("long"),
308
+ * MaxTTL: Number("long"),
309
+ * },
310
+ * ],
311
+ * },
312
+ * CustomErrorResponses: {
313
+ * Quantity: Number("int"), // required
314
+ * Items: [
315
+ * {
316
+ * ErrorCode: Number("int"), // required
317
+ * ResponsePagePath: "STRING_VALUE",
318
+ * ResponseCode: "STRING_VALUE",
319
+ * ErrorCachingMinTTL: Number("long"),
320
+ * },
321
+ * ],
322
+ * },
323
+ * Comment: "STRING_VALUE", // required
324
+ * Logging: {
325
+ * Enabled: true || false, // required
326
+ * IncludeCookies: true || false, // required
327
+ * Bucket: "STRING_VALUE", // required
328
+ * Prefix: "STRING_VALUE", // required
329
+ * },
330
+ * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
331
+ * Enabled: true || false, // required
332
+ * ViewerCertificate: {
333
+ * CloudFrontDefaultCertificate: true || false,
334
+ * IAMCertificateId: "STRING_VALUE",
335
+ * ACMCertificateArn: "STRING_VALUE",
336
+ * SSLSupportMethod: "sni-only" || "vip" || "static-ip",
337
+ * MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
338
+ * Certificate: "STRING_VALUE",
339
+ * CertificateSource: "cloudfront" || "iam" || "acm",
340
+ * },
341
+ * Restrictions: {
342
+ * GeoRestriction: {
343
+ * RestrictionType: "blacklist" || "whitelist" || "none", // required
344
+ * Quantity: Number("int"), // required
345
+ * Items: [
346
+ * "STRING_VALUE",
347
+ * ],
348
+ * },
349
+ * },
350
+ * WebACLId: "STRING_VALUE",
351
+ * HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
352
+ * IsIPV6Enabled: true || false,
353
+ * ContinuousDeploymentPolicyId: "STRING_VALUE",
354
+ * Staging: true || false,
355
+ * },
356
+ * Id: "STRING_VALUE", // required
357
+ * IfMatch: "STRING_VALUE",
358
+ * };
64
359
  * const command = new UpdateDistributionCommand(input);
65
360
  * const response = await client.send(command);
66
361
  * ```
@@ -35,6 +35,11 @@ export interface UpdateDistributionWithStagingConfigCommandOutput extends Update
35
35
  * import { CloudFrontClient, UpdateDistributionWithStagingConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
36
36
  * // const { CloudFrontClient, UpdateDistributionWithStagingConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
37
37
  * const client = new CloudFrontClient(config);
38
+ * const input = {
39
+ * Id: "STRING_VALUE", // required
40
+ * StagingDistributionId: "STRING_VALUE",
41
+ * IfMatch: "STRING_VALUE",
42
+ * };
38
43
  * const command = new UpdateDistributionWithStagingConfigCommand(input);
39
44
  * const response = await client.send(command);
40
45
  * ```
@@ -26,6 +26,39 @@ export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFie
26
26
  * import { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * FieldLevelEncryptionConfig: {
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * Comment: "STRING_VALUE",
33
+ * QueryArgProfileConfig: {
34
+ * ForwardWhenQueryArgProfileIsUnknown: true || false, // required
35
+ * QueryArgProfiles: {
36
+ * Quantity: Number("int"), // required
37
+ * Items: [
38
+ * {
39
+ * QueryArg: "STRING_VALUE", // required
40
+ * ProfileId: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * },
44
+ * },
45
+ * ContentTypeProfileConfig: {
46
+ * ForwardWhenContentTypeIsUnknown: true || false, // required
47
+ * ContentTypeProfiles: {
48
+ * Quantity: Number("int"), // required
49
+ * Items: [
50
+ * {
51
+ * Format: "URLEncoded", // required
52
+ * ProfileId: "STRING_VALUE",
53
+ * ContentType: "STRING_VALUE", // required
54
+ * },
55
+ * ],
56
+ * },
57
+ * },
58
+ * },
59
+ * Id: "STRING_VALUE", // required
60
+ * IfMatch: "STRING_VALUE",
61
+ * };
29
62
  * const command = new UpdateFieldLevelEncryptionConfigCommand(input);
30
63
  * const response = await client.send(command);
31
64
  * ```
@@ -26,6 +26,30 @@ export interface UpdateFieldLevelEncryptionProfileCommandOutput extends UpdateFi
26
26
  * import { CloudFrontClient, UpdateFieldLevelEncryptionProfileCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UpdateFieldLevelEncryptionProfileCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * FieldLevelEncryptionProfileConfig: {
31
+ * Name: "STRING_VALUE", // required
32
+ * CallerReference: "STRING_VALUE", // required
33
+ * Comment: "STRING_VALUE",
34
+ * EncryptionEntities: {
35
+ * Quantity: Number("int"), // required
36
+ * Items: [
37
+ * {
38
+ * PublicKeyId: "STRING_VALUE", // required
39
+ * ProviderId: "STRING_VALUE", // required
40
+ * FieldPatterns: {
41
+ * Quantity: Number("int"), // required
42
+ * Items: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * },
47
+ * ],
48
+ * },
49
+ * },
50
+ * Id: "STRING_VALUE", // required
51
+ * IfMatch: "STRING_VALUE",
52
+ * };
29
53
  * const command = new UpdateFieldLevelEncryptionProfileCommand(input);
30
54
  * const response = await client.send(command);
31
55
  * ```
@@ -31,6 +31,15 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
31
31
  * import { CloudFrontClient, UpdateFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
32
32
  * // const { CloudFrontClient, UpdateFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
33
33
  * const client = new CloudFrontClient(config);
34
+ * const input = {
35
+ * Name: "STRING_VALUE", // required
36
+ * IfMatch: "STRING_VALUE", // required
37
+ * FunctionConfig: {
38
+ * Comment: "STRING_VALUE", // required
39
+ * Runtime: "cloudfront-js-1.0", // required
40
+ * },
41
+ * FunctionCode: "BLOB_VALUE", // required
42
+ * };
34
43
  * const command = new UpdateFunctionCommand(input);
35
44
  * const response = await client.send(command);
36
45
  * ```
@@ -43,6 +43,17 @@ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __Met
43
43
  * import { CloudFrontClient, UpdateKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
44
44
  * // const { CloudFrontClient, UpdateKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
45
45
  * const client = new CloudFrontClient(config);
46
+ * const input = {
47
+ * KeyGroupConfig: {
48
+ * Name: "STRING_VALUE", // required
49
+ * Items: [ // required
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * Comment: "STRING_VALUE",
53
+ * },
54
+ * Id: "STRING_VALUE", // required
55
+ * IfMatch: "STRING_VALUE",
56
+ * };
46
57
  * const command = new UpdateKeyGroupCommand(input);
47
58
  * const response = await client.send(command);
48
59
  * ```
@@ -26,6 +26,17 @@ export interface UpdateOriginAccessControlCommandOutput extends UpdateOriginAcce
26
26
  * import { CloudFrontClient, UpdateOriginAccessControlCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UpdateOriginAccessControlCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * OriginAccessControlConfig: {
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * SigningProtocol: "sigv4", // required
34
+ * SigningBehavior: "never" || "always" || "no-override", // required
35
+ * OriginAccessControlOriginType: "s3" || "mediastore", // required
36
+ * },
37
+ * Id: "STRING_VALUE", // required
38
+ * IfMatch: "STRING_VALUE",
39
+ * };
29
40
  * const command = new UpdateOriginAccessControlCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -44,6 +44,41 @@ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequ
44
44
  * import { CloudFrontClient, UpdateOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
45
45
  * // const { CloudFrontClient, UpdateOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
46
46
  * const client = new CloudFrontClient(config);
47
+ * const input = {
48
+ * OriginRequestPolicyConfig: {
49
+ * Comment: "STRING_VALUE",
50
+ * Name: "STRING_VALUE", // required
51
+ * HeadersConfig: {
52
+ * HeaderBehavior: "none" || "whitelist" || "allViewer" || "allViewerAndWhitelistCloudFront" || "allExcept", // required
53
+ * Headers: {
54
+ * Quantity: Number("int"), // required
55
+ * Items: [
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * },
60
+ * CookiesConfig: {
61
+ * CookieBehavior: "none" || "whitelist" || "all" || "allExcept", // required
62
+ * Cookies: {
63
+ * Quantity: Number("int"), // required
64
+ * Items: [
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * },
68
+ * },
69
+ * QueryStringsConfig: {
70
+ * QueryStringBehavior: "none" || "whitelist" || "all" || "allExcept", // required
71
+ * QueryStrings: {
72
+ * Quantity: Number("int"), // required
73
+ * Items: [
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * },
77
+ * },
78
+ * },
79
+ * Id: "STRING_VALUE", // required
80
+ * IfMatch: "STRING_VALUE",
81
+ * };
47
82
  * const command = new UpdateOriginRequestPolicyCommand(input);
48
83
  * const response = await client.send(command);
49
84
  * ```
@@ -27,6 +27,16 @@ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __M
27
27
  * import { CloudFrontClient, UpdatePublicKeyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
28
28
  * // const { CloudFrontClient, UpdatePublicKeyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
29
29
  * const client = new CloudFrontClient(config);
30
+ * const input = {
31
+ * PublicKeyConfig: {
32
+ * CallerReference: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE", // required
34
+ * EncodedKey: "STRING_VALUE", // required
35
+ * Comment: "STRING_VALUE",
36
+ * },
37
+ * Id: "STRING_VALUE", // required
38
+ * IfMatch: "STRING_VALUE",
39
+ * };
30
40
  * const command = new UpdatePublicKeyCommand(input);
31
41
  * const response = await client.send(command);
32
42
  * ```
@@ -46,6 +46,23 @@ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogC
46
46
  * import { CloudFrontClient, UpdateRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
47
47
  * // const { CloudFrontClient, UpdateRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
48
48
  * const client = new CloudFrontClient(config);
49
+ * const input = {
50
+ * EndPoints: [
51
+ * {
52
+ * StreamType: "STRING_VALUE", // required
53
+ * KinesisStreamConfig: {
54
+ * RoleARN: "STRING_VALUE", // required
55
+ * StreamARN: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * ],
59
+ * Fields: [
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * Name: "STRING_VALUE",
63
+ * ARN: "STRING_VALUE",
64
+ * SamplingRate: Number("long"),
65
+ * };
49
66
  * const command = new UpdateRealtimeLogConfigCommand(input);
50
67
  * const response = await client.send(command);
51
68
  * ```
@@ -44,6 +44,94 @@ export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponse
44
44
  * import { CloudFrontClient, UpdateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
45
45
  * // const { CloudFrontClient, UpdateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
46
46
  * const client = new CloudFrontClient(config);
47
+ * const input = {
48
+ * ResponseHeadersPolicyConfig: {
49
+ * Comment: "STRING_VALUE",
50
+ * Name: "STRING_VALUE", // required
51
+ * CorsConfig: {
52
+ * AccessControlAllowOrigins: {
53
+ * Quantity: Number("int"), // required
54
+ * Items: [ // required
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * },
58
+ * AccessControlAllowHeaders: {
59
+ * Quantity: Number("int"), // required
60
+ * Items: [ // required
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
64
+ * AccessControlAllowMethods: {
65
+ * Quantity: Number("int"), // required
66
+ * Items: [ // required
67
+ * "GET" || "POST" || "OPTIONS" || "PUT" || "DELETE" || "PATCH" || "HEAD" || "ALL",
68
+ * ],
69
+ * },
70
+ * AccessControlAllowCredentials: true || false, // required
71
+ * AccessControlExposeHeaders: {
72
+ * Quantity: Number("int"), // required
73
+ * Items: [
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * },
77
+ * AccessControlMaxAgeSec: Number("int"),
78
+ * OriginOverride: true || false, // required
79
+ * },
80
+ * SecurityHeadersConfig: {
81
+ * XSSProtection: {
82
+ * Override: true || false, // required
83
+ * Protection: true || false, // required
84
+ * ModeBlock: true || false,
85
+ * ReportUri: "STRING_VALUE",
86
+ * },
87
+ * FrameOptions: {
88
+ * Override: true || false, // required
89
+ * FrameOption: "DENY" || "SAMEORIGIN", // required
90
+ * },
91
+ * ReferrerPolicy: {
92
+ * Override: true || false, // required
93
+ * ReferrerPolicy: "no-referrer" || "no-referrer-when-downgrade" || "origin" || "origin-when-cross-origin" || "same-origin" || "strict-origin" || "strict-origin-when-cross-origin" || "unsafe-url", // required
94
+ * },
95
+ * ContentSecurityPolicy: {
96
+ * Override: true || false, // required
97
+ * ContentSecurityPolicy: "STRING_VALUE", // required
98
+ * },
99
+ * ContentTypeOptions: {
100
+ * Override: true || false, // required
101
+ * },
102
+ * StrictTransportSecurity: {
103
+ * Override: true || false, // required
104
+ * IncludeSubdomains: true || false,
105
+ * Preload: true || false,
106
+ * AccessControlMaxAgeSec: Number("int"), // required
107
+ * },
108
+ * },
109
+ * ServerTimingHeadersConfig: {
110
+ * Enabled: true || false, // required
111
+ * SamplingRate: Number("double"),
112
+ * },
113
+ * CustomHeadersConfig: {
114
+ * Quantity: Number("int"), // required
115
+ * Items: [
116
+ * {
117
+ * Header: "STRING_VALUE", // required
118
+ * Value: "STRING_VALUE", // required
119
+ * Override: true || false, // required
120
+ * },
121
+ * ],
122
+ * },
123
+ * RemoveHeadersConfig: {
124
+ * Quantity: Number("int"), // required
125
+ * Items: [
126
+ * {
127
+ * Header: "STRING_VALUE", // required
128
+ * },
129
+ * ],
130
+ * },
131
+ * },
132
+ * Id: "STRING_VALUE", // required
133
+ * IfMatch: "STRING_VALUE",
134
+ * };
47
135
  * const command = new UpdateResponseHeadersPolicyCommand(input);
48
136
  * const response = await client.send(command);
49
137
  * ```
@@ -26,6 +26,38 @@ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamin
26
26
  * import { CloudFrontClient, UpdateStreamingDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UpdateStreamingDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * StreamingDistributionConfig: {
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * S3Origin: {
33
+ * DomainName: "STRING_VALUE", // required
34
+ * OriginAccessIdentity: "STRING_VALUE", // required
35
+ * },
36
+ * Aliases: {
37
+ * Quantity: Number("int"), // required
38
+ * Items: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * Comment: "STRING_VALUE", // required
43
+ * Logging: {
44
+ * Enabled: true || false, // required
45
+ * Bucket: "STRING_VALUE", // required
46
+ * Prefix: "STRING_VALUE", // required
47
+ * },
48
+ * TrustedSigners: {
49
+ * Enabled: true || false, // required
50
+ * Quantity: Number("int"), // required
51
+ * Items: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
56
+ * Enabled: true || false, // required
57
+ * },
58
+ * Id: "STRING_VALUE", // required
59
+ * IfMatch: "STRING_VALUE",
60
+ * };
29
61
  * const command = new UpdateStreamingDistributionCommand(input);
30
62
  * const response = await client.send(command);
31
63
  * ```