@aws-sdk/client-cloudfront 3.454.0 → 3.456.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 (60) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/CloudFront.js +10 -0
  3. package/dist-cjs/commands/CreateKeyValueStoreCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteKeyValueStoreCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +51 -0
  6. package/dist-cjs/commands/ListKeyValueStoresCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateKeyValueStoreCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +63 -18
  10. package/dist-cjs/models/models_1.js +29 -1
  11. package/dist-cjs/pagination/ListKeyValueStoresPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restXml.js +514 -5
  14. package/dist-es/CloudFront.js +10 -0
  15. package/dist-es/commands/CreateKeyValueStoreCommand.js +47 -0
  16. package/dist-es/commands/DeleteKeyValueStoreCommand.js +47 -0
  17. package/dist-es/commands/DescribeKeyValueStoreCommand.js +47 -0
  18. package/dist-es/commands/ListKeyValueStoresCommand.js +47 -0
  19. package/dist-es/commands/UpdateKeyValueStoreCommand.js +47 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/models/models_0.js +55 -14
  22. package/dist-es/models/models_1.js +27 -0
  23. package/dist-es/pagination/ListKeyValueStoresPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restXml.js +501 -2
  26. package/dist-types/CloudFront.d.ts +35 -0
  27. package/dist-types/CloudFrontClient.d.ts +7 -2
  28. package/dist-types/commands/CreateFunctionCommand.d.ts +16 -0
  29. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +103 -0
  30. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +1 -2
  31. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +88 -0
  32. package/dist-types/commands/DescribeFunctionCommand.d.ts +8 -0
  33. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +90 -0
  34. package/dist-types/commands/ListFunctionsCommand.d.ts +8 -0
  35. package/dist-types/commands/ListKeyValueStoresCommand.d.ts +95 -0
  36. package/dist-types/commands/PublishFunctionCommand.d.ts +8 -0
  37. package/dist-types/commands/TestFunctionCommand.d.ts +8 -0
  38. package/dist-types/commands/UpdateFunctionCommand.d.ts +16 -0
  39. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +99 -0
  40. package/dist-types/commands/index.d.ts +5 -0
  41. package/dist-types/models/models_0.d.ts +198 -380
  42. package/dist-types/models/models_1.d.ts +518 -3
  43. package/dist-types/pagination/ListKeyValueStoresPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_restXml.d.ts +45 -0
  46. package/dist-types/ts3.4/CloudFront.d.ts +85 -0
  47. package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
  48. package/dist-types/ts3.4/commands/CreateKeyValueStoreCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DeleteKeyValueStoreCommand.d.ts +34 -0
  51. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListKeyValueStoresCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +67 -67
  56. package/dist-types/ts3.4/models/models_1.d.ts +113 -2
  57. package/dist-types/ts3.4/pagination/ListKeyValueStoresPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  59. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
  60. package/package.json +1 -1
@@ -1,6 +1,377 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
- import { ActiveTrustedSigners, Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
3
+ import { ActiveTrustedSigners, Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, KeyValueStore, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicyContentSecurityPolicy, ResponseHeadersPolicyContentTypeOptions, ResponseHeadersPolicyCorsConfig, ResponseHeadersPolicyCustomHeadersConfig, ResponseHeadersPolicyRemoveHeadersConfig, Restrictions, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const FrameOptionsList: {
9
+ readonly DENY: "DENY";
10
+ readonly SAMEORIGIN: "SAMEORIGIN";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type FrameOptionsList = (typeof FrameOptionsList)[keyof typeof FrameOptionsList];
16
+ /**
17
+ * @public
18
+ * <p>Determines whether CloudFront includes the <code>X-Frame-Options</code> HTTP response header
19
+ * and the header's value.</p>
20
+ * <p>For more information about the <code>X-Frame-Options</code> HTTP response header, see
21
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">X-Frame-Options</a> in the MDN Web Docs.</p>
22
+ */
23
+ export interface ResponseHeadersPolicyFrameOptions {
24
+ /**
25
+ * @public
26
+ * <p>A Boolean that determines whether CloudFront overrides the <code>X-Frame-Options</code> HTTP
27
+ * response header received from the origin with the one specified in this response headers
28
+ * policy.</p>
29
+ */
30
+ Override: boolean | undefined;
31
+ /**
32
+ * @public
33
+ * <p>The value of the <code>X-Frame-Options</code> HTTP response header. Valid values are
34
+ * <code>DENY</code> and <code>SAMEORIGIN</code>.</p>
35
+ * <p>For more information about these values, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">X-Frame-Options</a> in the MDN Web Docs.</p>
36
+ */
37
+ FrameOption: FrameOptionsList | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const ReferrerPolicyList: {
44
+ readonly no_referrer: "no-referrer";
45
+ readonly no_referrer_when_downgrade: "no-referrer-when-downgrade";
46
+ readonly origin: "origin";
47
+ readonly origin_when_cross_origin: "origin-when-cross-origin";
48
+ readonly same_origin: "same-origin";
49
+ readonly strict_origin: "strict-origin";
50
+ readonly strict_origin_when_cross_origin: "strict-origin-when-cross-origin";
51
+ readonly unsafe_url: "unsafe-url";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type ReferrerPolicyList = (typeof ReferrerPolicyList)[keyof typeof ReferrerPolicyList];
57
+ /**
58
+ * @public
59
+ * <p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header
60
+ * and the header's value.</p>
61
+ * <p>For more information about the <code>Referrer-Policy</code> HTTP response header, see
62
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy">Referrer-Policy</a> in the MDN Web Docs.</p>
63
+ */
64
+ export interface ResponseHeadersPolicyReferrerPolicy {
65
+ /**
66
+ * @public
67
+ * <p>A Boolean that determines whether CloudFront overrides the <code>Referrer-Policy</code> HTTP
68
+ * response header received from the origin with the one specified in this response headers
69
+ * policy.</p>
70
+ */
71
+ Override: boolean | undefined;
72
+ /**
73
+ * @public
74
+ * <p>The value of the <code>Referrer-Policy</code> HTTP response header. Valid values
75
+ * are:</p>
76
+ * <ul>
77
+ * <li>
78
+ * <p>
79
+ * <code>no-referrer</code>
80
+ * </p>
81
+ * </li>
82
+ * <li>
83
+ * <p>
84
+ * <code>no-referrer-when-downgrade</code>
85
+ * </p>
86
+ * </li>
87
+ * <li>
88
+ * <p>
89
+ * <code>origin</code>
90
+ * </p>
91
+ * </li>
92
+ * <li>
93
+ * <p>
94
+ * <code>origin-when-cross-origin</code>
95
+ * </p>
96
+ * </li>
97
+ * <li>
98
+ * <p>
99
+ * <code>same-origin</code>
100
+ * </p>
101
+ * </li>
102
+ * <li>
103
+ * <p>
104
+ * <code>strict-origin</code>
105
+ * </p>
106
+ * </li>
107
+ * <li>
108
+ * <p>
109
+ * <code>strict-origin-when-cross-origin</code>
110
+ * </p>
111
+ * </li>
112
+ * <li>
113
+ * <p>
114
+ * <code>unsafe-url</code>
115
+ * </p>
116
+ * </li>
117
+ * </ul>
118
+ * <p>For more information about these values, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy">Referrer-Policy</a> in the MDN Web Docs.</p>
119
+ */
120
+ ReferrerPolicy: ReferrerPolicyList | undefined;
121
+ }
122
+ /**
123
+ * @public
124
+ * <p>Determines whether CloudFront includes the <code>Strict-Transport-Security</code> HTTP
125
+ * response header and the header's value.</p>
126
+ * <p>For more information about the <code>Strict-Transport-Security</code> HTTP response
127
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security">Strict-Transport-Security</a> in the MDN Web Docs.</p>
128
+ */
129
+ export interface ResponseHeadersPolicyStrictTransportSecurity {
130
+ /**
131
+ * @public
132
+ * <p>A Boolean that determines whether CloudFront overrides the
133
+ * <code>Strict-Transport-Security</code> HTTP response header received from the origin
134
+ * with the one specified in this response headers policy.</p>
135
+ */
136
+ Override: boolean | undefined;
137
+ /**
138
+ * @public
139
+ * <p>A Boolean that determines whether CloudFront includes the <code>includeSubDomains</code>
140
+ * directive in the <code>Strict-Transport-Security</code> HTTP response header.</p>
141
+ */
142
+ IncludeSubdomains?: boolean;
143
+ /**
144
+ * @public
145
+ * <p>A Boolean that determines whether CloudFront includes the <code>preload</code> directive in
146
+ * the <code>Strict-Transport-Security</code> HTTP response header.</p>
147
+ */
148
+ Preload?: boolean;
149
+ /**
150
+ * @public
151
+ * <p>A number that CloudFront uses as the value for the <code>max-age</code> directive in the
152
+ * <code>Strict-Transport-Security</code> HTTP response header.</p>
153
+ */
154
+ AccessControlMaxAgeSec: number | undefined;
155
+ }
156
+ /**
157
+ * @public
158
+ * <p>Determines whether CloudFront includes the <code>X-XSS-Protection</code> HTTP response
159
+ * header and the header's value.</p>
160
+ * <p>For more information about the <code>X-XSS-Protection</code> HTTP response header, see
161
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
162
+ */
163
+ export interface ResponseHeadersPolicyXSSProtection {
164
+ /**
165
+ * @public
166
+ * <p>A Boolean that determines whether CloudFront overrides the <code>X-XSS-Protection</code>
167
+ * HTTP response header received from the origin with the one specified in this response
168
+ * headers policy.</p>
169
+ */
170
+ Override: boolean | undefined;
171
+ /**
172
+ * @public
173
+ * <p>A Boolean that determines the value of the <code>X-XSS-Protection</code> HTTP response
174
+ * header. When this setting is <code>true</code>, the value of the
175
+ * <code>X-XSS-Protection</code> header is <code>1</code>. When this setting is
176
+ * <code>false</code>, the value of the <code>X-XSS-Protection</code> header is
177
+ * <code>0</code>.</p>
178
+ * <p>For more information about these settings, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
179
+ */
180
+ Protection: boolean | undefined;
181
+ /**
182
+ * @public
183
+ * <p>A Boolean that determines whether CloudFront includes the <code>mode=block</code> directive
184
+ * in the <code>X-XSS-Protection</code> header.</p>
185
+ * <p>For more information about this directive, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
186
+ */
187
+ ModeBlock?: boolean;
188
+ /**
189
+ * @public
190
+ * <p>A reporting URI, which CloudFront uses as the value of the <code>report</code> directive in
191
+ * the <code>X-XSS-Protection</code> header.</p>
192
+ * <p>You cannot specify a <code>ReportUri</code> when <code>ModeBlock</code> is
193
+ * <code>true</code>.</p>
194
+ * <p>For more information about using a reporting URL, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
195
+ */
196
+ ReportUri?: string;
197
+ }
198
+ /**
199
+ * @public
200
+ * <p>A configuration for a set of security-related HTTP response headers. CloudFront adds these
201
+ * headers to HTTP responses that it sends for requests that match a cache behavior
202
+ * associated with this response headers policy.</p>
203
+ */
204
+ export interface ResponseHeadersPolicySecurityHeadersConfig {
205
+ /**
206
+ * @public
207
+ * <p>Determines whether CloudFront includes the <code>X-XSS-Protection</code> HTTP response
208
+ * header and the header's value.</p>
209
+ * <p>For more information about the <code>X-XSS-Protection</code> HTTP response header, see
210
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
211
+ */
212
+ XSSProtection?: ResponseHeadersPolicyXSSProtection;
213
+ /**
214
+ * @public
215
+ * <p>Determines whether CloudFront includes the <code>X-Frame-Options</code> HTTP response header
216
+ * and the header's value.</p>
217
+ * <p>For more information about the <code>X-Frame-Options</code> HTTP response header, see
218
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">X-Frame-Options</a> in the MDN Web Docs.</p>
219
+ */
220
+ FrameOptions?: ResponseHeadersPolicyFrameOptions;
221
+ /**
222
+ * @public
223
+ * <p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header
224
+ * and the header's value.</p>
225
+ * <p>For more information about the <code>Referrer-Policy</code> HTTP response header, see
226
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy">Referrer-Policy</a> in the MDN Web Docs.</p>
227
+ */
228
+ ReferrerPolicy?: ResponseHeadersPolicyReferrerPolicy;
229
+ /**
230
+ * @public
231
+ * <p>The policy directives and their values that CloudFront includes as values for the
232
+ * <code>Content-Security-Policy</code> HTTP response header.</p>
233
+ * <p>For more information about the <code>Content-Security-Policy</code> HTTP response
234
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> in the MDN Web Docs.</p>
235
+ */
236
+ ContentSecurityPolicy?: ResponseHeadersPolicyContentSecurityPolicy;
237
+ /**
238
+ * @public
239
+ * <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
240
+ * header with its value set to <code>nosniff</code>.</p>
241
+ * <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
242
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options">X-Content-Type-Options</a> in the MDN Web Docs.</p>
243
+ */
244
+ ContentTypeOptions?: ResponseHeadersPolicyContentTypeOptions;
245
+ /**
246
+ * @public
247
+ * <p>Determines whether CloudFront includes the <code>Strict-Transport-Security</code> HTTP
248
+ * response header and the header's value.</p>
249
+ * <p>For more information about the <code>Strict-Transport-Security</code> HTTP response
250
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security">Strict-Transport-Security</a> in the MDN Web Docs.</p>
251
+ */
252
+ StrictTransportSecurity?: ResponseHeadersPolicyStrictTransportSecurity;
253
+ }
254
+ /**
255
+ * @public
256
+ * <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
257
+ * sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to
258
+ * requests that match a cache behavior that's associated with this response headers
259
+ * policy.</p>
260
+ * <p>You can use the <code>Server-Timing</code> header to view metrics that can help you
261
+ * gain insights about the behavior and performance of CloudFront. For example, you can see which
262
+ * cache layer served a cache hit, or the first byte latency from the origin when there was
263
+ * a cache miss. You can use the metrics in the <code>Server-Timing</code> header to
264
+ * troubleshoot issues or test the efficiency of your CloudFront configuration. For more
265
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header">Server-Timing header</a> in the
266
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
267
+ */
268
+ export interface ResponseHeadersPolicyServerTimingHeadersConfig {
269
+ /**
270
+ * @public
271
+ * <p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to
272
+ * HTTP responses that it sends in response to requests that match a cache behavior that's
273
+ * associated with this response headers policy.</p>
274
+ */
275
+ Enabled: boolean | undefined;
276
+ /**
277
+ * @public
278
+ * <p>A number 0–100 (inclusive) that specifies the percentage of responses that you want
279
+ * CloudFront to add the <code>Server-Timing</code> header to. When you set the sampling rate to
280
+ * 100, CloudFront adds the <code>Server-Timing</code> header to the HTTP response for every
281
+ * request that matches the cache behavior that this response headers policy is attached
282
+ * to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests
283
+ * that match the cache behavior. You can set the sampling rate to any number 0–100 with up
284
+ * to four decimal places.</p>
285
+ */
286
+ SamplingRate?: number;
287
+ }
288
+ /**
289
+ * @public
290
+ * <p>A response headers policy configuration.</p>
291
+ * <p>A response headers policy configuration contains metadata about the response headers policy,
292
+ * and configurations for sets of HTTP response headers.</p>
293
+ */
294
+ export interface ResponseHeadersPolicyConfig {
295
+ /**
296
+ * @public
297
+ * <p>A comment to describe the response headers policy.</p>
298
+ * <p>The comment cannot be longer than 128 characters.</p>
299
+ */
300
+ Comment?: string;
301
+ /**
302
+ * @public
303
+ * <p>A name to identify the response headers policy.</p>
304
+ * <p>The name must be unique for response headers policies in this Amazon Web Services account.</p>
305
+ */
306
+ Name: string | undefined;
307
+ /**
308
+ * @public
309
+ * <p>A configuration for a set of HTTP response headers that are used for cross-origin
310
+ * resource sharing (CORS).</p>
311
+ */
312
+ CorsConfig?: ResponseHeadersPolicyCorsConfig;
313
+ /**
314
+ * @public
315
+ * <p>A configuration for a set of security-related HTTP response headers.</p>
316
+ */
317
+ SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
318
+ /**
319
+ * @public
320
+ * <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
321
+ * sent from CloudFront.</p>
322
+ */
323
+ ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
324
+ /**
325
+ * @public
326
+ * <p>A configuration for a set of custom HTTP response headers.</p>
327
+ */
328
+ CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
329
+ /**
330
+ * @public
331
+ * <p>A configuration for a set of HTTP headers to remove from the HTTP response.</p>
332
+ */
333
+ RemoveHeadersConfig?: ResponseHeadersPolicyRemoveHeadersConfig;
334
+ }
335
+ /**
336
+ * @public
337
+ */
338
+ export interface CreateResponseHeadersPolicyRequest {
339
+ /**
340
+ * @public
341
+ * <p>Contains metadata about the response headers policy, and a set of configurations that
342
+ * specify the HTTP headers.</p>
343
+ */
344
+ ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
345
+ }
346
+ /**
347
+ * @public
348
+ * <p>A response headers policy.</p>
349
+ * <p>A response headers policy contains information about a set of HTTP response headers.</p>
350
+ * <p>After you create a response headers policy, you can use its ID to attach it to one or more
351
+ * cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the
352
+ * response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to
353
+ * requests that match the cache behavior. CloudFront adds or removes response headers according
354
+ * to the configuration of the response headers policy.</p>
355
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html">Adding or removing HTTP headers in CloudFront responses</a> in the
356
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
357
+ */
358
+ export interface ResponseHeadersPolicy {
359
+ /**
360
+ * @public
361
+ * <p>The identifier for the response headers policy.</p>
362
+ */
363
+ Id: string | undefined;
364
+ /**
365
+ * @public
366
+ * <p>The date and time when the response headers policy was last modified.</p>
367
+ */
368
+ LastModifiedTime: Date | undefined;
369
+ /**
370
+ * @public
371
+ * <p>A response headers policy configuration.</p>
372
+ */
373
+ ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
374
+ }
4
375
  /**
5
376
  * @public
6
377
  */
@@ -718,6 +1089,34 @@ export declare class ResourceInUse extends __BaseException {
718
1089
  */
719
1090
  constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
720
1091
  }
1092
+ /**
1093
+ * @public
1094
+ */
1095
+ export interface DeleteKeyValueStoreRequest {
1096
+ /**
1097
+ * @public
1098
+ * <p>The name of the Key Value Store.</p>
1099
+ */
1100
+ Name: string | undefined;
1101
+ /**
1102
+ * @public
1103
+ * <p>The Key Value Store to delete, if a match occurs.</p>
1104
+ */
1105
+ IfMatch: string | undefined;
1106
+ }
1107
+ /**
1108
+ * @public
1109
+ * <p>The Key Value Store entity was not found.</p>
1110
+ */
1111
+ export declare class EntityNotFound extends __BaseException {
1112
+ readonly name: "EntityNotFound";
1113
+ readonly $fault: "client";
1114
+ Message?: string;
1115
+ /**
1116
+ * @internal
1117
+ */
1118
+ constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
1119
+ }
721
1120
  /**
722
1121
  * @public
723
1122
  */
@@ -988,6 +1387,31 @@ export interface DescribeFunctionResult {
988
1387
  */
989
1388
  ETag?: string;
990
1389
  }
1390
+ /**
1391
+ * @public
1392
+ */
1393
+ export interface DescribeKeyValueStoreRequest {
1394
+ /**
1395
+ * @public
1396
+ * <p>The name of the Key Value Store.</p>
1397
+ */
1398
+ Name: string | undefined;
1399
+ }
1400
+ /**
1401
+ * @public
1402
+ */
1403
+ export interface DescribeKeyValueStoreResult {
1404
+ /**
1405
+ * @public
1406
+ * <p>The resulting Key Value Store.</p>
1407
+ */
1408
+ KeyValueStore?: KeyValueStore;
1409
+ /**
1410
+ * @public
1411
+ * <p>The ETag of the resulting Key Value Store.</p>
1412
+ */
1413
+ ETag?: string;
1414
+ }
991
1415
  /**
992
1416
  * @public
993
1417
  */
@@ -2600,7 +3024,7 @@ export interface FieldLevelEncryptionSummary {
2600
3024
  }
2601
3025
  /**
2602
3026
  * @public
2603
- * <p>List of field-level encrpytion configurations.</p>
3027
+ * <p>List of field-level encryption configurations.</p>
2604
3028
  */
2605
3029
  export interface FieldLevelEncryptionList {
2606
3030
  /**
@@ -2669,7 +3093,7 @@ export interface FieldLevelEncryptionProfileSummary {
2669
3093
  Id: string | undefined;
2670
3094
  /**
2671
3095
  * @public
2672
- * <p>The time when the the field-level encryption profile summary was last updated.</p>
3096
+ * <p>The time when the field-level encryption profile summary was last updated.</p>
2673
3097
  */
2674
3098
  LastModifiedTime: Date | undefined;
2675
3099
  /**
@@ -2964,6 +3388,62 @@ export interface ListKeyGroupsResult {
2964
3388
  */
2965
3389
  KeyGroupList?: KeyGroupList;
2966
3390
  }
3391
+ /**
3392
+ * @public
3393
+ */
3394
+ export interface ListKeyValueStoresRequest {
3395
+ /**
3396
+ * @public
3397
+ * <p>The marker associated with the Key Value Stores list.</p>
3398
+ */
3399
+ Marker?: string;
3400
+ /**
3401
+ * @public
3402
+ * <p>The maximum number of items in the Key Value Stores list.</p>
3403
+ */
3404
+ MaxItems?: number;
3405
+ /**
3406
+ * @public
3407
+ * <p>The status of the request for the Key Value Stores list.</p>
3408
+ */
3409
+ Status?: string;
3410
+ }
3411
+ /**
3412
+ * @public
3413
+ * <p>The Key Value Store list.</p>
3414
+ */
3415
+ export interface KeyValueStoreList {
3416
+ /**
3417
+ * @public
3418
+ * <p>The next marker associated with the Key Value Store list.</p>
3419
+ */
3420
+ NextMarker?: string;
3421
+ /**
3422
+ * @public
3423
+ * <p>The maximum number of items in the Key Value Store list.</p>
3424
+ */
3425
+ MaxItems: number | undefined;
3426
+ /**
3427
+ * @public
3428
+ * <p>The quantity of the Key Value Store list.</p>
3429
+ */
3430
+ Quantity: number | undefined;
3431
+ /**
3432
+ * @public
3433
+ * <p>The items of the Key Value Store list.</p>
3434
+ */
3435
+ Items?: KeyValueStore[];
3436
+ }
3437
+ /**
3438
+ * @public
3439
+ */
3440
+ export interface ListKeyValueStoresResult {
3441
+ /**
3442
+ * @public
3443
+ * <p>The resulting Key Value Stores list.</p>
3444
+ */
3445
+ KeyValueStoreList?: KeyValueStoreList;
3446
+ }
2967
3447
  /**
2968
3448
  * @public
2969
3449
  */
@@ -4130,6 +4610,41 @@ export interface UpdateKeyGroupResult {
4130
4610
  */
4131
4611
  ETag?: string;
4132
4612
  }
4613
+ /**
4614
+ * @public
4615
+ */
4616
+ export interface UpdateKeyValueStoreRequest {
4617
+ /**
4618
+ * @public
4619
+ * <p>The name of the Key Value Store to update.</p>
4620
+ */
4621
+ Name: string | undefined;
4622
+ /**
4623
+ * @public
4624
+ * <p>The comment of the Key Value Store to update.</p>
4625
+ */
4626
+ Comment: string | undefined;
4627
+ /**
4628
+ * @public
4629
+ * <p>The Key Value Store to update, if a match occurs.</p>
4630
+ */
4631
+ IfMatch: string | undefined;
4632
+ }
4633
+ /**
4634
+ * @public
4635
+ */
4636
+ export interface UpdateKeyValueStoreResult {
4637
+ /**
4638
+ * @public
4639
+ * <p>The resulting Key Value Store to update.</p>
4640
+ */
4641
+ KeyValueStore?: KeyValueStore;
4642
+ /**
4643
+ * @public
4644
+ * <p>The ETag of the resulting Key Value Store.</p>
4645
+ */
4646
+ ETag?: string;
4647
+ }
4133
4648
  /**
4134
4649
  * @public
4135
4650
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListKeyValueStoresCommandInput, ListKeyValueStoresCommandOutput } from "../commands/ListKeyValueStoresCommand";
3
+ import { CloudFrontPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListKeyValueStores(config: CloudFrontPaginationConfiguration, input: ListKeyValueStoresCommandInput, ...additionalArguments: any): Paginator<ListKeyValueStoresCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./Interfaces";
2
2
  export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
3
3
  export * from "./ListDistributionsPaginator";
4
4
  export * from "./ListInvalidationsPaginator";
5
+ export * from "./ListKeyValueStoresPaginator";
5
6
  export * from "./ListStreamingDistributionsPaginator";