@aws-sdk/client-cloudfront 3.299.0 → 3.301.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 +289 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +299 -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 +291 -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,297 @@ 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 = { // UpdateDistributionRequest
65
+ * DistributionConfig: { // DistributionConfig
66
+ * CallerReference: "STRING_VALUE", // required
67
+ * Aliases: { // Aliases
68
+ * Quantity: Number("int"), // required
69
+ * Items: [ // AliasList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * },
73
+ * DefaultRootObject: "STRING_VALUE",
74
+ * Origins: { // Origins
75
+ * Quantity: Number("int"), // required
76
+ * Items: [ // OriginList // required
77
+ * { // Origin
78
+ * Id: "STRING_VALUE", // required
79
+ * DomainName: "STRING_VALUE", // required
80
+ * OriginPath: "STRING_VALUE",
81
+ * CustomHeaders: { // CustomHeaders
82
+ * Quantity: Number("int"), // required
83
+ * Items: [ // OriginCustomHeadersList
84
+ * { // OriginCustomHeader
85
+ * HeaderName: "STRING_VALUE", // required
86
+ * HeaderValue: "STRING_VALUE", // required
87
+ * },
88
+ * ],
89
+ * },
90
+ * S3OriginConfig: { // S3OriginConfig
91
+ * OriginAccessIdentity: "STRING_VALUE", // required
92
+ * },
93
+ * CustomOriginConfig: { // CustomOriginConfig
94
+ * HTTPPort: Number("int"), // required
95
+ * HTTPSPort: Number("int"), // required
96
+ * OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
97
+ * OriginSslProtocols: { // OriginSslProtocols
98
+ * Quantity: Number("int"), // required
99
+ * Items: [ // SslProtocolsList // 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: { // OriginShield
109
+ * Enabled: true || false, // required
110
+ * OriginShieldRegion: "STRING_VALUE",
111
+ * },
112
+ * OriginAccessControlId: "STRING_VALUE",
113
+ * },
114
+ * ],
115
+ * },
116
+ * OriginGroups: { // OriginGroups
117
+ * Quantity: Number("int"), // required
118
+ * Items: [ // OriginGroupList
119
+ * { // OriginGroup
120
+ * Id: "STRING_VALUE", // required
121
+ * FailoverCriteria: { // OriginGroupFailoverCriteria
122
+ * StatusCodes: { // StatusCodes
123
+ * Quantity: Number("int"), // required
124
+ * Items: [ // StatusCodeList // required
125
+ * Number("int"),
126
+ * ],
127
+ * },
128
+ * },
129
+ * Members: { // OriginGroupMembers
130
+ * Quantity: Number("int"), // required
131
+ * Items: [ // OriginGroupMemberList // required
132
+ * { // OriginGroupMember
133
+ * OriginId: "STRING_VALUE", // required
134
+ * },
135
+ * ],
136
+ * },
137
+ * },
138
+ * ],
139
+ * },
140
+ * DefaultCacheBehavior: { // DefaultCacheBehavior
141
+ * TargetOriginId: "STRING_VALUE", // required
142
+ * TrustedSigners: { // TrustedSigners
143
+ * Enabled: true || false, // required
144
+ * Quantity: Number("int"), // required
145
+ * Items: [ // AwsAccountNumberList
146
+ * "STRING_VALUE",
147
+ * ],
148
+ * },
149
+ * TrustedKeyGroups: { // TrustedKeyGroups
150
+ * Enabled: true || false, // required
151
+ * Quantity: Number("int"), // required
152
+ * Items: [ // TrustedKeyGroupIdList
153
+ * "STRING_VALUE",
154
+ * ],
155
+ * },
156
+ * ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
157
+ * AllowedMethods: { // AllowedMethods
158
+ * Quantity: Number("int"), // required
159
+ * Items: [ // MethodsList // required
160
+ * "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
161
+ * ],
162
+ * CachedMethods: { // 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: { // LambdaFunctionAssociations
172
+ * Quantity: Number("int"), // required
173
+ * Items: [ // LambdaFunctionAssociationList
174
+ * { // LambdaFunctionAssociation
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: { // FunctionAssociations
182
+ * Quantity: Number("int"), // required
183
+ * Items: [ // FunctionAssociationList
184
+ * { // FunctionAssociation
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: { // ForwardedValues
196
+ * QueryString: true || false, // required
197
+ * Cookies: { // CookiePreference
198
+ * Forward: "none" || "whitelist" || "all", // required
199
+ * WhitelistedNames: { // CookieNames
200
+ * Quantity: Number("int"), // required
201
+ * Items: [ // CookieNameList
202
+ * "STRING_VALUE",
203
+ * ],
204
+ * },
205
+ * },
206
+ * Headers: { // Headers
207
+ * Quantity: Number("int"), // required
208
+ * Items: [ // HeaderList
209
+ * "STRING_VALUE",
210
+ * ],
211
+ * },
212
+ * QueryStringCacheKeys: { // QueryStringCacheKeys
213
+ * Quantity: Number("int"), // required
214
+ * Items: [ // QueryStringCacheKeysList
215
+ * "STRING_VALUE",
216
+ * ],
217
+ * },
218
+ * },
219
+ * MinTTL: Number("long"),
220
+ * DefaultTTL: Number("long"),
221
+ * MaxTTL: Number("long"),
222
+ * },
223
+ * CacheBehaviors: { // CacheBehaviors
224
+ * Quantity: Number("int"), // required
225
+ * Items: [ // CacheBehaviorList
226
+ * { // CacheBehavior
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: "<MethodsList>", // required
247
+ * CachedMethods: {
248
+ * Quantity: Number("int"), // required
249
+ * Items: "<MethodsList>", // required
250
+ * },
251
+ * },
252
+ * SmoothStreaming: true || false,
253
+ * Compress: true || false,
254
+ * LambdaFunctionAssociations: {
255
+ * Quantity: Number("int"), // required
256
+ * Items: [
257
+ * {
258
+ * LambdaFunctionARN: "STRING_VALUE", // required
259
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
260
+ * IncludeBody: true || false,
261
+ * },
262
+ * ],
263
+ * },
264
+ * FunctionAssociations: {
265
+ * Quantity: Number("int"), // required
266
+ * Items: [
267
+ * {
268
+ * FunctionARN: "STRING_VALUE", // required
269
+ * EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
270
+ * },
271
+ * ],
272
+ * },
273
+ * FieldLevelEncryptionId: "STRING_VALUE",
274
+ * RealtimeLogConfigArn: "STRING_VALUE",
275
+ * CachePolicyId: "STRING_VALUE",
276
+ * OriginRequestPolicyId: "STRING_VALUE",
277
+ * ResponseHeadersPolicyId: "STRING_VALUE",
278
+ * ForwardedValues: {
279
+ * QueryString: true || false, // required
280
+ * Cookies: {
281
+ * Forward: "none" || "whitelist" || "all", // required
282
+ * WhitelistedNames: {
283
+ * Quantity: Number("int"), // required
284
+ * Items: [
285
+ * "STRING_VALUE",
286
+ * ],
287
+ * },
288
+ * },
289
+ * Headers: {
290
+ * Quantity: Number("int"), // required
291
+ * Items: [
292
+ * "STRING_VALUE",
293
+ * ],
294
+ * },
295
+ * QueryStringCacheKeys: {
296
+ * Quantity: Number("int"), // required
297
+ * Items: [
298
+ * "STRING_VALUE",
299
+ * ],
300
+ * },
301
+ * },
302
+ * MinTTL: Number("long"),
303
+ * DefaultTTL: Number("long"),
304
+ * MaxTTL: Number("long"),
305
+ * },
306
+ * ],
307
+ * },
308
+ * CustomErrorResponses: { // CustomErrorResponses
309
+ * Quantity: Number("int"), // required
310
+ * Items: [ // CustomErrorResponseList
311
+ * { // CustomErrorResponse
312
+ * ErrorCode: Number("int"), // required
313
+ * ResponsePagePath: "STRING_VALUE",
314
+ * ResponseCode: "STRING_VALUE",
315
+ * ErrorCachingMinTTL: Number("long"),
316
+ * },
317
+ * ],
318
+ * },
319
+ * Comment: "STRING_VALUE", // required
320
+ * Logging: { // LoggingConfig
321
+ * Enabled: true || false, // required
322
+ * IncludeCookies: true || false, // required
323
+ * Bucket: "STRING_VALUE", // required
324
+ * Prefix: "STRING_VALUE", // required
325
+ * },
326
+ * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
327
+ * Enabled: true || false, // required
328
+ * ViewerCertificate: { // ViewerCertificate
329
+ * CloudFrontDefaultCertificate: true || false,
330
+ * IAMCertificateId: "STRING_VALUE",
331
+ * ACMCertificateArn: "STRING_VALUE",
332
+ * SSLSupportMethod: "sni-only" || "vip" || "static-ip",
333
+ * MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
334
+ * Certificate: "STRING_VALUE",
335
+ * CertificateSource: "cloudfront" || "iam" || "acm",
336
+ * },
337
+ * Restrictions: { // Restrictions
338
+ * GeoRestriction: { // GeoRestriction
339
+ * RestrictionType: "blacklist" || "whitelist" || "none", // required
340
+ * Quantity: Number("int"), // required
341
+ * Items: [ // LocationList
342
+ * "STRING_VALUE",
343
+ * ],
344
+ * },
345
+ * },
346
+ * WebACLId: "STRING_VALUE",
347
+ * HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
348
+ * IsIPV6Enabled: true || false,
349
+ * ContinuousDeploymentPolicyId: "STRING_VALUE",
350
+ * Staging: true || false,
351
+ * },
352
+ * Id: "STRING_VALUE", // required
353
+ * IfMatch: "STRING_VALUE",
354
+ * };
64
355
  * const command = new UpdateDistributionCommand(input);
65
356
  * const response = await client.send(command);
66
357
  * ```
@@ -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 = { // UpdateDistributionWithStagingConfigRequest
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 = { // UpdateFieldLevelEncryptionConfigRequest
30
+ * FieldLevelEncryptionConfig: { // FieldLevelEncryptionConfig
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * Comment: "STRING_VALUE",
33
+ * QueryArgProfileConfig: { // QueryArgProfileConfig
34
+ * ForwardWhenQueryArgProfileIsUnknown: true || false, // required
35
+ * QueryArgProfiles: { // QueryArgProfiles
36
+ * Quantity: Number("int"), // required
37
+ * Items: [ // QueryArgProfileList
38
+ * { // QueryArgProfile
39
+ * QueryArg: "STRING_VALUE", // required
40
+ * ProfileId: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * },
44
+ * },
45
+ * ContentTypeProfileConfig: { // ContentTypeProfileConfig
46
+ * ForwardWhenContentTypeIsUnknown: true || false, // required
47
+ * ContentTypeProfiles: { // ContentTypeProfiles
48
+ * Quantity: Number("int"), // required
49
+ * Items: [ // ContentTypeProfileList
50
+ * { // ContentTypeProfile
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 = { // UpdateFieldLevelEncryptionProfileRequest
30
+ * FieldLevelEncryptionProfileConfig: { // FieldLevelEncryptionProfileConfig
31
+ * Name: "STRING_VALUE", // required
32
+ * CallerReference: "STRING_VALUE", // required
33
+ * Comment: "STRING_VALUE",
34
+ * EncryptionEntities: { // EncryptionEntities
35
+ * Quantity: Number("int"), // required
36
+ * Items: [ // EncryptionEntityList
37
+ * { // EncryptionEntity
38
+ * PublicKeyId: "STRING_VALUE", // required
39
+ * ProviderId: "STRING_VALUE", // required
40
+ * FieldPatterns: { // FieldPatterns
41
+ * Quantity: Number("int"), // required
42
+ * Items: [ // FieldPatternList
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 = { // UpdateFunctionRequest
35
+ * Name: "STRING_VALUE", // required
36
+ * IfMatch: "STRING_VALUE", // required
37
+ * FunctionConfig: { // 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 = { // UpdateKeyGroupRequest
47
+ * KeyGroupConfig: { // KeyGroupConfig
48
+ * Name: "STRING_VALUE", // required
49
+ * Items: [ // PublicKeyIdList // 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 = { // UpdateOriginAccessControlRequest
30
+ * OriginAccessControlConfig: { // 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 = { // UpdateOriginRequestPolicyRequest
48
+ * OriginRequestPolicyConfig: { // OriginRequestPolicyConfig
49
+ * Comment: "STRING_VALUE",
50
+ * Name: "STRING_VALUE", // required
51
+ * HeadersConfig: { // OriginRequestPolicyHeadersConfig
52
+ * HeaderBehavior: "none" || "whitelist" || "allViewer" || "allViewerAndWhitelistCloudFront" || "allExcept", // required
53
+ * Headers: { // Headers
54
+ * Quantity: Number("int"), // required
55
+ * Items: [ // HeaderList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * },
60
+ * CookiesConfig: { // OriginRequestPolicyCookiesConfig
61
+ * CookieBehavior: "none" || "whitelist" || "all" || "allExcept", // required
62
+ * Cookies: { // CookieNames
63
+ * Quantity: Number("int"), // required
64
+ * Items: [ // CookieNameList
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * },
68
+ * },
69
+ * QueryStringsConfig: { // OriginRequestPolicyQueryStringsConfig
70
+ * QueryStringBehavior: "none" || "whitelist" || "all" || "allExcept", // required
71
+ * QueryStrings: { // QueryStringNames
72
+ * Quantity: Number("int"), // required
73
+ * Items: [ // QueryStringNamesList
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 = { // UpdatePublicKeyRequest
31
+ * PublicKeyConfig: { // 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 = { // UpdateRealtimeLogConfigRequest
50
+ * EndPoints: [ // EndPointList
51
+ * { // EndPoint
52
+ * StreamType: "STRING_VALUE", // required
53
+ * KinesisStreamConfig: { // KinesisStreamConfig
54
+ * RoleARN: "STRING_VALUE", // required
55
+ * StreamARN: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * ],
59
+ * Fields: [ // FieldList
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 = { // UpdateResponseHeadersPolicyRequest
48
+ * ResponseHeadersPolicyConfig: { // ResponseHeadersPolicyConfig
49
+ * Comment: "STRING_VALUE",
50
+ * Name: "STRING_VALUE", // required
51
+ * CorsConfig: { // ResponseHeadersPolicyCorsConfig
52
+ * AccessControlAllowOrigins: { // ResponseHeadersPolicyAccessControlAllowOrigins
53
+ * Quantity: Number("int"), // required
54
+ * Items: [ // AccessControlAllowOriginsList // required
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * },
58
+ * AccessControlAllowHeaders: { // ResponseHeadersPolicyAccessControlAllowHeaders
59
+ * Quantity: Number("int"), // required
60
+ * Items: [ // AccessControlAllowHeadersList // required
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
64
+ * AccessControlAllowMethods: { // ResponseHeadersPolicyAccessControlAllowMethods
65
+ * Quantity: Number("int"), // required
66
+ * Items: [ // AccessControlAllowMethodsList // required
67
+ * "GET" || "POST" || "OPTIONS" || "PUT" || "DELETE" || "PATCH" || "HEAD" || "ALL",
68
+ * ],
69
+ * },
70
+ * AccessControlAllowCredentials: true || false, // required
71
+ * AccessControlExposeHeaders: { // ResponseHeadersPolicyAccessControlExposeHeaders
72
+ * Quantity: Number("int"), // required
73
+ * Items: [ // AccessControlExposeHeadersList
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * },
77
+ * AccessControlMaxAgeSec: Number("int"),
78
+ * OriginOverride: true || false, // required
79
+ * },
80
+ * SecurityHeadersConfig: { // ResponseHeadersPolicySecurityHeadersConfig
81
+ * XSSProtection: { // ResponseHeadersPolicyXSSProtection
82
+ * Override: true || false, // required
83
+ * Protection: true || false, // required
84
+ * ModeBlock: true || false,
85
+ * ReportUri: "STRING_VALUE",
86
+ * },
87
+ * FrameOptions: { // ResponseHeadersPolicyFrameOptions
88
+ * Override: true || false, // required
89
+ * FrameOption: "DENY" || "SAMEORIGIN", // required
90
+ * },
91
+ * ReferrerPolicy: { // ResponseHeadersPolicyReferrerPolicy
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: { // ResponseHeadersPolicyContentSecurityPolicy
96
+ * Override: true || false, // required
97
+ * ContentSecurityPolicy: "STRING_VALUE", // required
98
+ * },
99
+ * ContentTypeOptions: { // ResponseHeadersPolicyContentTypeOptions
100
+ * Override: true || false, // required
101
+ * },
102
+ * StrictTransportSecurity: { // ResponseHeadersPolicyStrictTransportSecurity
103
+ * Override: true || false, // required
104
+ * IncludeSubdomains: true || false,
105
+ * Preload: true || false,
106
+ * AccessControlMaxAgeSec: Number("int"), // required
107
+ * },
108
+ * },
109
+ * ServerTimingHeadersConfig: { // ResponseHeadersPolicyServerTimingHeadersConfig
110
+ * Enabled: true || false, // required
111
+ * SamplingRate: Number("double"),
112
+ * },
113
+ * CustomHeadersConfig: { // ResponseHeadersPolicyCustomHeadersConfig
114
+ * Quantity: Number("int"), // required
115
+ * Items: [ // ResponseHeadersPolicyCustomHeaderList
116
+ * { // ResponseHeadersPolicyCustomHeader
117
+ * Header: "STRING_VALUE", // required
118
+ * Value: "STRING_VALUE", // required
119
+ * Override: true || false, // required
120
+ * },
121
+ * ],
122
+ * },
123
+ * RemoveHeadersConfig: { // ResponseHeadersPolicyRemoveHeadersConfig
124
+ * Quantity: Number("int"), // required
125
+ * Items: [ // ResponseHeadersPolicyRemoveHeaderList
126
+ * { // ResponseHeadersPolicyRemoveHeader
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 = { // UpdateStreamingDistributionRequest
30
+ * StreamingDistributionConfig: { // StreamingDistributionConfig
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * S3Origin: { // S3Origin
33
+ * DomainName: "STRING_VALUE", // required
34
+ * OriginAccessIdentity: "STRING_VALUE", // required
35
+ * },
36
+ * Aliases: { // Aliases
37
+ * Quantity: Number("int"), // required
38
+ * Items: [ // AliasList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * Comment: "STRING_VALUE", // required
43
+ * Logging: { // StreamingLoggingConfig
44
+ * Enabled: true || false, // required
45
+ * Bucket: "STRING_VALUE", // required
46
+ * Prefix: "STRING_VALUE", // required
47
+ * },
48
+ * TrustedSigners: { // TrustedSigners
49
+ * Enabled: true || false, // required
50
+ * Quantity: Number("int"), // required
51
+ * Items: [ // AwsAccountNumberList
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
  * ```