@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
@@ -12,6 +12,7 @@ import { CreateFieldLevelEncryptionProfileCommand, } from "./commands/CreateFiel
12
12
  import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand";
13
13
  import { CreateInvalidationCommand, } from "./commands/CreateInvalidationCommand";
14
14
  import { CreateKeyGroupCommand, } from "./commands/CreateKeyGroupCommand";
15
+ import { CreateKeyValueStoreCommand, } from "./commands/CreateKeyValueStoreCommand";
15
16
  import { CreateMonitoringSubscriptionCommand, } from "./commands/CreateMonitoringSubscriptionCommand";
16
17
  import { CreateOriginAccessControlCommand, } from "./commands/CreateOriginAccessControlCommand";
17
18
  import { CreateOriginRequestPolicyCommand, } from "./commands/CreateOriginRequestPolicyCommand";
@@ -28,6 +29,7 @@ import { DeleteFieldLevelEncryptionConfigCommand, } from "./commands/DeleteField
28
29
  import { DeleteFieldLevelEncryptionProfileCommand, } from "./commands/DeleteFieldLevelEncryptionProfileCommand";
29
30
  import { DeleteFunctionCommand, } from "./commands/DeleteFunctionCommand";
30
31
  import { DeleteKeyGroupCommand, } from "./commands/DeleteKeyGroupCommand";
32
+ import { DeleteKeyValueStoreCommand, } from "./commands/DeleteKeyValueStoreCommand";
31
33
  import { DeleteMonitoringSubscriptionCommand, } from "./commands/DeleteMonitoringSubscriptionCommand";
32
34
  import { DeleteOriginAccessControlCommand, } from "./commands/DeleteOriginAccessControlCommand";
33
35
  import { DeleteOriginRequestPolicyCommand, } from "./commands/DeleteOriginRequestPolicyCommand";
@@ -36,6 +38,7 @@ import { DeleteRealtimeLogConfigCommand, } from "./commands/DeleteRealtimeLogCon
36
38
  import { DeleteResponseHeadersPolicyCommand, } from "./commands/DeleteResponseHeadersPolicyCommand";
37
39
  import { DeleteStreamingDistributionCommand, } from "./commands/DeleteStreamingDistributionCommand";
38
40
  import { DescribeFunctionCommand, } from "./commands/DescribeFunctionCommand";
41
+ import { DescribeKeyValueStoreCommand, } from "./commands/DescribeKeyValueStoreCommand";
39
42
  import { GetCachePolicyCommand, } from "./commands/GetCachePolicyCommand";
40
43
  import { GetCachePolicyConfigCommand, } from "./commands/GetCachePolicyConfigCommand";
41
44
  import { GetCloudFrontOriginAccessIdentityCommand, } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
@@ -80,6 +83,7 @@ import { ListFieldLevelEncryptionProfilesCommand, } from "./commands/ListFieldLe
80
83
  import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
81
84
  import { ListInvalidationsCommand, } from "./commands/ListInvalidationsCommand";
82
85
  import { ListKeyGroupsCommand, } from "./commands/ListKeyGroupsCommand";
86
+ import { ListKeyValueStoresCommand, } from "./commands/ListKeyValueStoresCommand";
83
87
  import { ListOriginAccessControlsCommand, } from "./commands/ListOriginAccessControlsCommand";
84
88
  import { ListOriginRequestPoliciesCommand, } from "./commands/ListOriginRequestPoliciesCommand";
85
89
  import { ListPublicKeysCommand, } from "./commands/ListPublicKeysCommand";
@@ -100,6 +104,7 @@ import { UpdateFieldLevelEncryptionConfigCommand, } from "./commands/UpdateField
100
104
  import { UpdateFieldLevelEncryptionProfileCommand, } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
101
105
  import { UpdateFunctionCommand, } from "./commands/UpdateFunctionCommand";
102
106
  import { UpdateKeyGroupCommand, } from "./commands/UpdateKeyGroupCommand";
107
+ import { UpdateKeyValueStoreCommand, } from "./commands/UpdateKeyValueStoreCommand";
103
108
  import { UpdateOriginAccessControlCommand, } from "./commands/UpdateOriginAccessControlCommand";
104
109
  import { UpdateOriginRequestPolicyCommand, } from "./commands/UpdateOriginRequestPolicyCommand";
105
110
  import { UpdatePublicKeyCommand, } from "./commands/UpdatePublicKeyCommand";
@@ -119,6 +124,7 @@ const commands = {
119
124
  CreateFunctionCommand,
120
125
  CreateInvalidationCommand,
121
126
  CreateKeyGroupCommand,
127
+ CreateKeyValueStoreCommand,
122
128
  CreateMonitoringSubscriptionCommand,
123
129
  CreateOriginAccessControlCommand,
124
130
  CreateOriginRequestPolicyCommand,
@@ -135,6 +141,7 @@ const commands = {
135
141
  DeleteFieldLevelEncryptionProfileCommand,
136
142
  DeleteFunctionCommand,
137
143
  DeleteKeyGroupCommand,
144
+ DeleteKeyValueStoreCommand,
138
145
  DeleteMonitoringSubscriptionCommand,
139
146
  DeleteOriginAccessControlCommand,
140
147
  DeleteOriginRequestPolicyCommand,
@@ -143,6 +150,7 @@ const commands = {
143
150
  DeleteResponseHeadersPolicyCommand,
144
151
  DeleteStreamingDistributionCommand,
145
152
  DescribeFunctionCommand,
153
+ DescribeKeyValueStoreCommand,
146
154
  GetCachePolicyCommand,
147
155
  GetCachePolicyConfigCommand,
148
156
  GetCloudFrontOriginAccessIdentityCommand,
@@ -187,6 +195,7 @@ const commands = {
187
195
  ListFunctionsCommand,
188
196
  ListInvalidationsCommand,
189
197
  ListKeyGroupsCommand,
198
+ ListKeyValueStoresCommand,
190
199
  ListOriginAccessControlsCommand,
191
200
  ListOriginRequestPoliciesCommand,
192
201
  ListPublicKeysCommand,
@@ -207,6 +216,7 @@ const commands = {
207
216
  UpdateFieldLevelEncryptionProfileCommand,
208
217
  UpdateFunctionCommand,
209
218
  UpdateKeyGroupCommand,
219
+ UpdateKeyValueStoreCommand,
210
220
  UpdateOriginAccessControlCommand,
211
221
  UpdateOriginRequestPolicyCommand,
212
222
  UpdatePublicKeyCommand,
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateKeyValueStoreCommand, se_CreateKeyValueStoreCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class CreateKeyValueStoreCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateKeyValueStoreCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "CloudFrontClient";
26
+ const commandName = "CreateKeyValueStoreCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Cloudfront2020_05_31",
35
+ operation: "CreateKeyValueStore",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateKeyValueStoreCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateKeyValueStoreCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DeleteKeyValueStoreCommand, se_DeleteKeyValueStoreCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class DeleteKeyValueStoreCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteKeyValueStoreCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "CloudFrontClient";
26
+ const commandName = "DeleteKeyValueStoreCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Cloudfront2020_05_31",
35
+ operation: "DeleteKeyValueStore",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DeleteKeyValueStoreCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DeleteKeyValueStoreCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DescribeKeyValueStoreCommand, se_DescribeKeyValueStoreCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class DescribeKeyValueStoreCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeKeyValueStoreCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "CloudFrontClient";
26
+ const commandName = "DescribeKeyValueStoreCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Cloudfront2020_05_31",
35
+ operation: "DescribeKeyValueStore",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DescribeKeyValueStoreCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DescribeKeyValueStoreCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListKeyValueStoresCommand, se_ListKeyValueStoresCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class ListKeyValueStoresCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListKeyValueStoresCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "CloudFrontClient";
26
+ const commandName = "ListKeyValueStoresCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Cloudfront2020_05_31",
35
+ operation: "ListKeyValueStores",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListKeyValueStoresCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListKeyValueStoresCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateKeyValueStoreCommand, se_UpdateKeyValueStoreCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class UpdateKeyValueStoreCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateKeyValueStoreCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "CloudFrontClient";
26
+ const commandName = "UpdateKeyValueStoreCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Cloudfront2020_05_31",
35
+ operation: "UpdateKeyValueStore",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateKeyValueStoreCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateKeyValueStoreCommand(output, context);
46
+ }
47
+ }
@@ -10,6 +10,7 @@ export * from "./CreateFieldLevelEncryptionProfileCommand";
10
10
  export * from "./CreateFunctionCommand";
11
11
  export * from "./CreateInvalidationCommand";
12
12
  export * from "./CreateKeyGroupCommand";
13
+ export * from "./CreateKeyValueStoreCommand";
13
14
  export * from "./CreateMonitoringSubscriptionCommand";
14
15
  export * from "./CreateOriginAccessControlCommand";
15
16
  export * from "./CreateOriginRequestPolicyCommand";
@@ -26,6 +27,7 @@ export * from "./DeleteFieldLevelEncryptionConfigCommand";
26
27
  export * from "./DeleteFieldLevelEncryptionProfileCommand";
27
28
  export * from "./DeleteFunctionCommand";
28
29
  export * from "./DeleteKeyGroupCommand";
30
+ export * from "./DeleteKeyValueStoreCommand";
29
31
  export * from "./DeleteMonitoringSubscriptionCommand";
30
32
  export * from "./DeleteOriginAccessControlCommand";
31
33
  export * from "./DeleteOriginRequestPolicyCommand";
@@ -34,6 +36,7 @@ export * from "./DeleteRealtimeLogConfigCommand";
34
36
  export * from "./DeleteResponseHeadersPolicyCommand";
35
37
  export * from "./DeleteStreamingDistributionCommand";
36
38
  export * from "./DescribeFunctionCommand";
39
+ export * from "./DescribeKeyValueStoreCommand";
37
40
  export * from "./GetCachePolicyCommand";
38
41
  export * from "./GetCachePolicyConfigCommand";
39
42
  export * from "./GetCloudFrontOriginAccessIdentityCommand";
@@ -78,6 +81,7 @@ export * from "./ListFieldLevelEncryptionProfilesCommand";
78
81
  export * from "./ListFunctionsCommand";
79
82
  export * from "./ListInvalidationsCommand";
80
83
  export * from "./ListKeyGroupsCommand";
84
+ export * from "./ListKeyValueStoresCommand";
81
85
  export * from "./ListOriginAccessControlsCommand";
82
86
  export * from "./ListOriginRequestPoliciesCommand";
83
87
  export * from "./ListPublicKeysCommand";
@@ -98,6 +102,7 @@ export * from "./UpdateFieldLevelEncryptionConfigCommand";
98
102
  export * from "./UpdateFieldLevelEncryptionProfileCommand";
99
103
  export * from "./UpdateFunctionCommand";
100
104
  export * from "./UpdateKeyGroupCommand";
105
+ export * from "./UpdateKeyValueStoreCommand";
101
106
  export * from "./UpdateOriginAccessControlCommand";
102
107
  export * from "./UpdateOriginRequestPolicyCommand";
103
108
  export * from "./UpdatePublicKeyCommand";
@@ -177,6 +177,19 @@ export class CannotChangeImmutablePublicKeyFields extends __BaseException {
177
177
  this.Message = opts.Message;
178
178
  }
179
179
  }
180
+ export class CannotDeleteEntityWhileInUse extends __BaseException {
181
+ constructor(opts) {
182
+ super({
183
+ name: "CannotDeleteEntityWhileInUse",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ this.name = "CannotDeleteEntityWhileInUse";
188
+ this.$fault = "client";
189
+ Object.setPrototypeOf(this, CannotDeleteEntityWhileInUse.prototype);
190
+ this.Message = opts.Message;
191
+ }
192
+ }
180
193
  export const CertificateSource = {
181
194
  acm: "acm",
182
195
  cloudfront: "cloudfront",
@@ -1460,6 +1473,48 @@ export class TooManyPublicKeysInKeyGroup extends __BaseException {
1460
1473
  this.Message = opts.Message;
1461
1474
  }
1462
1475
  }
1476
+ export const ImportSourceType = {
1477
+ S3: "S3",
1478
+ };
1479
+ export class EntityAlreadyExists extends __BaseException {
1480
+ constructor(opts) {
1481
+ super({
1482
+ name: "EntityAlreadyExists",
1483
+ $fault: "client",
1484
+ ...opts,
1485
+ });
1486
+ this.name = "EntityAlreadyExists";
1487
+ this.$fault = "client";
1488
+ Object.setPrototypeOf(this, EntityAlreadyExists.prototype);
1489
+ this.Message = opts.Message;
1490
+ }
1491
+ }
1492
+ export class EntityLimitExceeded extends __BaseException {
1493
+ constructor(opts) {
1494
+ super({
1495
+ name: "EntityLimitExceeded",
1496
+ $fault: "client",
1497
+ ...opts,
1498
+ });
1499
+ this.name = "EntityLimitExceeded";
1500
+ this.$fault = "client";
1501
+ Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
1502
+ this.Message = opts.Message;
1503
+ }
1504
+ }
1505
+ export class EntitySizeLimitExceeded extends __BaseException {
1506
+ constructor(opts) {
1507
+ super({
1508
+ name: "EntitySizeLimitExceeded",
1509
+ $fault: "client",
1510
+ ...opts,
1511
+ });
1512
+ this.name = "EntitySizeLimitExceeded";
1513
+ this.$fault = "client";
1514
+ Object.setPrototypeOf(this, EntitySizeLimitExceeded.prototype);
1515
+ this.Message = opts.Message;
1516
+ }
1517
+ }
1463
1518
  export const RealtimeMetricsSubscriptionStatus = {
1464
1519
  Disabled: "Disabled",
1465
1520
  Enabled: "Enabled",
@@ -1651,20 +1706,6 @@ export class TooManyRealtimeLogConfigs extends __BaseException {
1651
1706
  this.Message = opts.Message;
1652
1707
  }
1653
1708
  }
1654
- export const FrameOptionsList = {
1655
- DENY: "DENY",
1656
- SAMEORIGIN: "SAMEORIGIN",
1657
- };
1658
- export const ReferrerPolicyList = {
1659
- no_referrer: "no-referrer",
1660
- no_referrer_when_downgrade: "no-referrer-when-downgrade",
1661
- origin: "origin",
1662
- origin_when_cross_origin: "origin-when-cross-origin",
1663
- same_origin: "same-origin",
1664
- strict_origin: "strict-origin",
1665
- strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
1666
- unsafe_url: "unsafe-url",
1667
- };
1668
1709
  export const OriginCustomHeaderFilterSensitiveLog = (obj) => ({
1669
1710
  ...obj,
1670
1711
  ...(obj.HeaderValue && { HeaderValue: SENSITIVE_STRING }),
@@ -1,6 +1,20 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
3
  import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
4
+ export const FrameOptionsList = {
5
+ DENY: "DENY",
6
+ SAMEORIGIN: "SAMEORIGIN",
7
+ };
8
+ export const ReferrerPolicyList = {
9
+ no_referrer: "no-referrer",
10
+ no_referrer_when_downgrade: "no-referrer-when-downgrade",
11
+ origin: "origin",
12
+ origin_when_cross_origin: "origin-when-cross-origin",
13
+ same_origin: "same-origin",
14
+ strict_origin: "strict-origin",
15
+ strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
16
+ unsafe_url: "unsafe-url",
17
+ };
4
18
  export class ResponseHeadersPolicyAlreadyExists extends __BaseException {
5
19
  constructor(opts) {
6
20
  super({
@@ -235,6 +249,19 @@ export class ResourceInUse extends __BaseException {
235
249
  this.Message = opts.Message;
236
250
  }
237
251
  }
252
+ export class EntityNotFound extends __BaseException {
253
+ constructor(opts) {
254
+ super({
255
+ name: "EntityNotFound",
256
+ $fault: "client",
257
+ ...opts,
258
+ });
259
+ this.name = "EntityNotFound";
260
+ this.$fault = "client";
261
+ Object.setPrototypeOf(this, EntityNotFound.prototype);
262
+ this.Message = opts.Message;
263
+ }
264
+ }
238
265
  export class NoSuchMonitoringSubscription extends __BaseException {
239
266
  constructor(opts) {
240
267
  super({
@@ -0,0 +1,25 @@
1
+ import { CloudFrontClient } from "../CloudFrontClient";
2
+ import { ListKeyValueStoresCommand, } from "../commands/ListKeyValueStoresCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListKeyValueStoresCommand(input), ...args);
5
+ };
6
+ export async function* paginateListKeyValueStores(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxItems"] = config.pageSize;
13
+ if (config.client instanceof CloudFrontClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected CloudFront | CloudFrontClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.KeyValueStoreList.NextMarker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -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";