@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 { CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncrypti
12
12
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
13
13
  import { CreateInvalidationCommandInput, CreateInvalidationCommandOutput } from "./commands/CreateInvalidationCommand";
14
14
  import { CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput } from "./commands/CreateKeyGroupCommand";
15
+ import { CreateKeyValueStoreCommandInput, CreateKeyValueStoreCommandOutput } from "./commands/CreateKeyValueStoreCommand";
15
16
  import { CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput } from "./commands/CreateMonitoringSubscriptionCommand";
16
17
  import { CreateOriginAccessControlCommandInput, CreateOriginAccessControlCommandOutput } from "./commands/CreateOriginAccessControlCommand";
17
18
  import { CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput } from "./commands/CreateOriginRequestPolicyCommand";
@@ -28,6 +29,7 @@ import { DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptio
28
29
  import { DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput } from "./commands/DeleteFieldLevelEncryptionProfileCommand";
29
30
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
30
31
  import { DeleteKeyGroupCommandInput, DeleteKeyGroupCommandOutput } from "./commands/DeleteKeyGroupCommand";
32
+ import { DeleteKeyValueStoreCommandInput, DeleteKeyValueStoreCommandOutput } from "./commands/DeleteKeyValueStoreCommand";
31
33
  import { DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionCommandOutput } from "./commands/DeleteMonitoringSubscriptionCommand";
32
34
  import { DeleteOriginAccessControlCommandInput, DeleteOriginAccessControlCommandOutput } from "./commands/DeleteOriginAccessControlCommand";
33
35
  import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "./commands/DeleteOriginRequestPolicyCommand";
@@ -36,6 +38,7 @@ import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutp
36
38
  import { DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput } from "./commands/DeleteResponseHeadersPolicyCommand";
37
39
  import { DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput } from "./commands/DeleteStreamingDistributionCommand";
38
40
  import { DescribeFunctionCommandInput, DescribeFunctionCommandOutput } from "./commands/DescribeFunctionCommand";
41
+ import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
39
42
  import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./commands/GetCachePolicyCommand";
40
43
  import { GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput } from "./commands/GetCachePolicyConfigCommand";
41
44
  import { GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
@@ -80,6 +83,7 @@ import { ListFieldLevelEncryptionProfilesCommandInput, ListFieldLevelEncryptionP
80
83
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
81
84
  import { ListInvalidationsCommandInput, ListInvalidationsCommandOutput } from "./commands/ListInvalidationsCommand";
82
85
  import { ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput } from "./commands/ListKeyGroupsCommand";
86
+ import { ListKeyValueStoresCommandInput, ListKeyValueStoresCommandOutput } from "./commands/ListKeyValueStoresCommand";
83
87
  import { ListOriginAccessControlsCommandInput, ListOriginAccessControlsCommandOutput } from "./commands/ListOriginAccessControlsCommand";
84
88
  import { ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput } from "./commands/ListOriginRequestPoliciesCommand";
85
89
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
@@ -100,6 +104,7 @@ import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptio
100
104
  import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
101
105
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
102
106
  import { UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput } from "./commands/UpdateKeyGroupCommand";
107
+ import { UpdateKeyValueStoreCommandInput, UpdateKeyValueStoreCommandOutput } from "./commands/UpdateKeyValueStoreCommand";
103
108
  import { UpdateOriginAccessControlCommandInput, UpdateOriginAccessControlCommandOutput } from "./commands/UpdateOriginAccessControlCommand";
104
109
  import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput } from "./commands/UpdateOriginRequestPolicyCommand";
105
110
  import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "./commands/UpdatePublicKeyCommand";
@@ -179,6 +184,12 @@ export interface CloudFront {
179
184
  createKeyGroup(args: CreateKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyGroupCommandOutput>;
180
185
  createKeyGroup(args: CreateKeyGroupCommandInput, cb: (err: any, data?: CreateKeyGroupCommandOutput) => void): void;
181
186
  createKeyGroup(args: CreateKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyGroupCommandOutput) => void): void;
187
+ /**
188
+ * @see {@link CreateKeyValueStoreCommand}
189
+ */
190
+ createKeyValueStore(args: CreateKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyValueStoreCommandOutput>;
191
+ createKeyValueStore(args: CreateKeyValueStoreCommandInput, cb: (err: any, data?: CreateKeyValueStoreCommandOutput) => void): void;
192
+ createKeyValueStore(args: CreateKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyValueStoreCommandOutput) => void): void;
182
193
  /**
183
194
  * @see {@link CreateMonitoringSubscriptionCommand}
184
195
  */
@@ -275,6 +286,12 @@ export interface CloudFront {
275
286
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyGroupCommandOutput>;
276
287
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
277
288
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
289
+ /**
290
+ * @see {@link DeleteKeyValueStoreCommand}
291
+ */
292
+ deleteKeyValueStore(args: DeleteKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyValueStoreCommandOutput>;
293
+ deleteKeyValueStore(args: DeleteKeyValueStoreCommandInput, cb: (err: any, data?: DeleteKeyValueStoreCommandOutput) => void): void;
294
+ deleteKeyValueStore(args: DeleteKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyValueStoreCommandOutput) => void): void;
278
295
  /**
279
296
  * @see {@link DeleteMonitoringSubscriptionCommand}
280
297
  */
@@ -323,6 +340,12 @@ export interface CloudFront {
323
340
  describeFunction(args: DescribeFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFunctionCommandOutput>;
324
341
  describeFunction(args: DescribeFunctionCommandInput, cb: (err: any, data?: DescribeFunctionCommandOutput) => void): void;
325
342
  describeFunction(args: DescribeFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFunctionCommandOutput) => void): void;
343
+ /**
344
+ * @see {@link DescribeKeyValueStoreCommand}
345
+ */
346
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKeyValueStoreCommandOutput>;
347
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
348
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
326
349
  /**
327
350
  * @see {@link GetCachePolicyCommand}
328
351
  */
@@ -587,6 +610,12 @@ export interface CloudFront {
587
610
  listKeyGroups(args: ListKeyGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyGroupsCommandOutput>;
588
611
  listKeyGroups(args: ListKeyGroupsCommandInput, cb: (err: any, data?: ListKeyGroupsCommandOutput) => void): void;
589
612
  listKeyGroups(args: ListKeyGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyGroupsCommandOutput) => void): void;
613
+ /**
614
+ * @see {@link ListKeyValueStoresCommand}
615
+ */
616
+ listKeyValueStores(args: ListKeyValueStoresCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyValueStoresCommandOutput>;
617
+ listKeyValueStores(args: ListKeyValueStoresCommandInput, cb: (err: any, data?: ListKeyValueStoresCommandOutput) => void): void;
618
+ listKeyValueStores(args: ListKeyValueStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyValueStoresCommandOutput) => void): void;
590
619
  /**
591
620
  * @see {@link ListOriginAccessControlsCommand}
592
621
  */
@@ -707,6 +736,12 @@ export interface CloudFront {
707
736
  updateKeyGroup(args: UpdateKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeyGroupCommandOutput>;
708
737
  updateKeyGroup(args: UpdateKeyGroupCommandInput, cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void): void;
709
738
  updateKeyGroup(args: UpdateKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void): void;
739
+ /**
740
+ * @see {@link UpdateKeyValueStoreCommand}
741
+ */
742
+ updateKeyValueStore(args: UpdateKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeyValueStoreCommandOutput>;
743
+ updateKeyValueStore(args: UpdateKeyValueStoreCommandInput, cb: (err: any, data?: UpdateKeyValueStoreCommandOutput) => void): void;
744
+ updateKeyValueStore(args: UpdateKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeyValueStoreCommandOutput) => void): void;
710
745
  /**
711
746
  * @see {@link UpdateOriginAccessControlCommand}
712
747
  */
@@ -20,6 +20,7 @@ import { CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncrypti
20
20
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
21
21
  import { CreateInvalidationCommandInput, CreateInvalidationCommandOutput } from "./commands/CreateInvalidationCommand";
22
22
  import { CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput } from "./commands/CreateKeyGroupCommand";
23
+ import { CreateKeyValueStoreCommandInput, CreateKeyValueStoreCommandOutput } from "./commands/CreateKeyValueStoreCommand";
23
24
  import { CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput } from "./commands/CreateMonitoringSubscriptionCommand";
24
25
  import { CreateOriginAccessControlCommandInput, CreateOriginAccessControlCommandOutput } from "./commands/CreateOriginAccessControlCommand";
25
26
  import { CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput } from "./commands/CreateOriginRequestPolicyCommand";
@@ -36,6 +37,7 @@ import { DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptio
36
37
  import { DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput } from "./commands/DeleteFieldLevelEncryptionProfileCommand";
37
38
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
38
39
  import { DeleteKeyGroupCommandInput, DeleteKeyGroupCommandOutput } from "./commands/DeleteKeyGroupCommand";
40
+ import { DeleteKeyValueStoreCommandInput, DeleteKeyValueStoreCommandOutput } from "./commands/DeleteKeyValueStoreCommand";
39
41
  import { DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionCommandOutput } from "./commands/DeleteMonitoringSubscriptionCommand";
40
42
  import { DeleteOriginAccessControlCommandInput, DeleteOriginAccessControlCommandOutput } from "./commands/DeleteOriginAccessControlCommand";
41
43
  import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "./commands/DeleteOriginRequestPolicyCommand";
@@ -44,6 +46,7 @@ import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutp
44
46
  import { DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput } from "./commands/DeleteResponseHeadersPolicyCommand";
45
47
  import { DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput } from "./commands/DeleteStreamingDistributionCommand";
46
48
  import { DescribeFunctionCommandInput, DescribeFunctionCommandOutput } from "./commands/DescribeFunctionCommand";
49
+ import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
47
50
  import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./commands/GetCachePolicyCommand";
48
51
  import { GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput } from "./commands/GetCachePolicyConfigCommand";
49
52
  import { GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
@@ -88,6 +91,7 @@ import { ListFieldLevelEncryptionProfilesCommandInput, ListFieldLevelEncryptionP
88
91
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
89
92
  import { ListInvalidationsCommandInput, ListInvalidationsCommandOutput } from "./commands/ListInvalidationsCommand";
90
93
  import { ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput } from "./commands/ListKeyGroupsCommand";
94
+ import { ListKeyValueStoresCommandInput, ListKeyValueStoresCommandOutput } from "./commands/ListKeyValueStoresCommand";
91
95
  import { ListOriginAccessControlsCommandInput, ListOriginAccessControlsCommandOutput } from "./commands/ListOriginAccessControlsCommand";
92
96
  import { ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput } from "./commands/ListOriginRequestPoliciesCommand";
93
97
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
@@ -108,6 +112,7 @@ import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptio
108
112
  import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
109
113
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
110
114
  import { UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput } from "./commands/UpdateKeyGroupCommand";
115
+ import { UpdateKeyValueStoreCommandInput, UpdateKeyValueStoreCommandOutput } from "./commands/UpdateKeyValueStoreCommand";
111
116
  import { UpdateOriginAccessControlCommandInput, UpdateOriginAccessControlCommandOutput } from "./commands/UpdateOriginAccessControlCommand";
112
117
  import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput } from "./commands/UpdateOriginRequestPolicyCommand";
113
118
  import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "./commands/UpdatePublicKeyCommand";
@@ -120,11 +125,11 @@ export { __Client };
120
125
  /**
121
126
  * @public
122
127
  */
123
- export type ServiceInputTypes = AssociateAliasCommandInput | CopyDistributionCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateContinuousDeploymentPolicyCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteContinuousDeploymentPolicyCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetContinuousDeploymentPolicyCommandInput | GetContinuousDeploymentPolicyConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListContinuousDeploymentPoliciesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateContinuousDeploymentPolicyCommandInput | UpdateDistributionCommandInput | UpdateDistributionWithStagingConfigCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
128
+ export type ServiceInputTypes = AssociateAliasCommandInput | CopyDistributionCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateContinuousDeploymentPolicyCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateKeyValueStoreCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteContinuousDeploymentPolicyCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteKeyValueStoreCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | DescribeKeyValueStoreCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetContinuousDeploymentPolicyCommandInput | GetContinuousDeploymentPolicyConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListContinuousDeploymentPoliciesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListKeyValueStoresCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateContinuousDeploymentPolicyCommandInput | UpdateDistributionCommandInput | UpdateDistributionWithStagingConfigCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateKeyValueStoreCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
124
129
  /**
125
130
  * @public
126
131
  */
127
- export type ServiceOutputTypes = AssociateAliasCommandOutput | CopyDistributionCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateContinuousDeploymentPolicyCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteContinuousDeploymentPolicyCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetContinuousDeploymentPolicyCommandOutput | GetContinuousDeploymentPolicyConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListContinuousDeploymentPoliciesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateContinuousDeploymentPolicyCommandOutput | UpdateDistributionCommandOutput | UpdateDistributionWithStagingConfigCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
132
+ export type ServiceOutputTypes = AssociateAliasCommandOutput | CopyDistributionCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateContinuousDeploymentPolicyCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateKeyValueStoreCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteContinuousDeploymentPolicyCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteKeyValueStoreCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | DescribeKeyValueStoreCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetContinuousDeploymentPolicyCommandOutput | GetContinuousDeploymentPolicyConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListContinuousDeploymentPoliciesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListKeyValueStoresCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateContinuousDeploymentPolicyCommandOutput | UpdateDistributionCommandOutput | UpdateDistributionWithStagingConfigCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateKeyValueStoreCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
128
133
  /**
129
134
  * @public
130
135
  */
@@ -45,6 +45,14 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
45
45
  * FunctionConfig: { // FunctionConfig
46
46
  * Comment: "STRING_VALUE", // required
47
47
  * Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
48
+ * KeyValueStoreAssociations: { // KeyValueStoreAssociations
49
+ * Quantity: Number("int"), // required
50
+ * Items: [ // KeyValueStoreAssociationList
51
+ * { // KeyValueStoreAssociation
52
+ * KeyValueStoreARN: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * },
48
56
  * },
49
57
  * FunctionCode: "BLOB_VALUE", // required
50
58
  * };
@@ -57,6 +65,14 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
57
65
  * // FunctionConfig: { // FunctionConfig
58
66
  * // Comment: "STRING_VALUE", // required
59
67
  * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
68
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
69
+ * // Quantity: Number("int"), // required
70
+ * // Items: [ // KeyValueStoreAssociationList
71
+ * // { // KeyValueStoreAssociation
72
+ * // KeyValueStoreARN: "STRING_VALUE", // required
73
+ * // },
74
+ * // ],
75
+ * // },
60
76
  * // },
61
77
  * // FunctionMetadata: { // FunctionMetadata
62
78
  * // FunctionARN: "STRING_VALUE", // required
@@ -0,0 +1,103 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
+ import { CreateKeyValueStoreRequest, CreateKeyValueStoreResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateKeyValueStoreCommand}.
14
+ */
15
+ export interface CreateKeyValueStoreCommandInput extends CreateKeyValueStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateKeyValueStoreCommand}.
21
+ */
22
+ export interface CreateKeyValueStoreCommandOutput extends CreateKeyValueStoreResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Specifies the Key Value Store resource to add to your account. In your account, the Key Value Store names must be unique. You can also import Key Value Store data in JSON format from an S3 bucket by providing a valid <code>ImportSource</code> that you own.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontClient, CreateKeyValueStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
31
+ * // const { CloudFrontClient, CreateKeyValueStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
32
+ * const client = new CloudFrontClient(config);
33
+ * const input = { // CreateKeyValueStoreRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * Comment: "STRING_VALUE",
36
+ * ImportSource: { // ImportSource
37
+ * SourceType: "S3", // required
38
+ * SourceARN: "STRING_VALUE", // required
39
+ * },
40
+ * };
41
+ * const command = new CreateKeyValueStoreCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // CreateKeyValueStoreResult
44
+ * // KeyValueStore: { // KeyValueStore
45
+ * // Name: "STRING_VALUE", // required
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Comment: "STRING_VALUE", // required
48
+ * // ARN: "STRING_VALUE", // required
49
+ * // Status: "STRING_VALUE",
50
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
51
+ * // },
52
+ * // ETag: "STRING_VALUE",
53
+ * // Location: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateKeyValueStoreCommandInput - {@link CreateKeyValueStoreCommandInput}
59
+ * @returns {@link CreateKeyValueStoreCommandOutput}
60
+ * @see {@link CreateKeyValueStoreCommandInput} for command's `input` shape.
61
+ * @see {@link CreateKeyValueStoreCommandOutput} for command's `response` shape.
62
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDenied} (client fault)
65
+ * <p>Access denied.</p>
66
+ *
67
+ * @throws {@link EntityAlreadyExists} (client fault)
68
+ * <p>The Key Value Store entity already exists. You must provide a unique Key Value Store
69
+ * entity.</p>
70
+ *
71
+ * @throws {@link EntityLimitExceeded} (client fault)
72
+ * <p>The Key Value Store entity limit has been exceeded.</p>
73
+ *
74
+ * @throws {@link EntitySizeLimitExceeded} (client fault)
75
+ * <p>The Key Value Store entity size limit was exceeded.</p>
76
+ *
77
+ * @throws {@link InvalidArgument} (client fault)
78
+ * <p>An argument is invalid.</p>
79
+ *
80
+ * @throws {@link CloudFrontServiceException}
81
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
82
+ *
83
+ */
84
+ export declare class CreateKeyValueStoreCommand extends $Command<CreateKeyValueStoreCommandInput, CreateKeyValueStoreCommandOutput, CloudFrontClientResolvedConfig> {
85
+ readonly input: CreateKeyValueStoreCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: CreateKeyValueStoreCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyValueStoreCommandInput, CreateKeyValueStoreCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
- import { CreateResponseHeadersPolicyRequest } from "../models/models_0";
6
- import { CreateResponseHeadersPolicyResult } from "../models/models_1";
5
+ import { CreateResponseHeadersPolicyRequest, CreateResponseHeadersPolicyResult } from "../models/models_1";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -0,0 +1,88 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
+ import { DeleteKeyValueStoreRequest } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteKeyValueStoreCommand}.
14
+ */
15
+ export interface DeleteKeyValueStoreCommandInput extends DeleteKeyValueStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteKeyValueStoreCommand}.
21
+ */
22
+ export interface DeleteKeyValueStoreCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Specifies the Key Value Store to delete.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontClient, DeleteKeyValueStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
31
+ * // const { CloudFrontClient, DeleteKeyValueStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
32
+ * const client = new CloudFrontClient(config);
33
+ * const input = { // DeleteKeyValueStoreRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * IfMatch: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteKeyValueStoreCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteKeyValueStoreCommandInput - {@link DeleteKeyValueStoreCommandInput}
44
+ * @returns {@link DeleteKeyValueStoreCommandOutput}
45
+ * @see {@link DeleteKeyValueStoreCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteKeyValueStoreCommandOutput} for command's `response` shape.
47
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDenied} (client fault)
50
+ * <p>Access denied.</p>
51
+ *
52
+ * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
53
+ * <p>The Key Value Store entity cannot be deleted while it is in use.</p>
54
+ *
55
+ * @throws {@link EntityNotFound} (client fault)
56
+ * <p>The Key Value Store entity was not found.</p>
57
+ *
58
+ * @throws {@link InvalidIfMatchVersion} (client fault)
59
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
60
+ *
61
+ * @throws {@link PreconditionFailed} (client fault)
62
+ * <p>The precondition in one or more of the request fields evaluated to
63
+ * <code>false</code>.</p>
64
+ *
65
+ * @throws {@link CloudFrontServiceException}
66
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
67
+ *
68
+ */
69
+ export declare class DeleteKeyValueStoreCommand extends $Command<DeleteKeyValueStoreCommandInput, DeleteKeyValueStoreCommandOutput, CloudFrontClientResolvedConfig> {
70
+ readonly input: DeleteKeyValueStoreCommandInput;
71
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
75
+ constructor(input: DeleteKeyValueStoreCommandInput);
76
+ /**
77
+ * @internal
78
+ */
79
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKeyValueStoreCommandInput, DeleteKeyValueStoreCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
83
+ private serialize;
84
+ /**
85
+ * @internal
86
+ */
87
+ private deserialize;
88
+ }
@@ -47,6 +47,14 @@ export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, _
47
47
  * // FunctionConfig: { // FunctionConfig
48
48
  * // Comment: "STRING_VALUE", // required
49
49
  * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
50
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
51
+ * // Quantity: Number("int"), // required
52
+ * // Items: [ // KeyValueStoreAssociationList
53
+ * // { // KeyValueStoreAssociation
54
+ * // KeyValueStoreARN: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // },
50
58
  * // },
51
59
  * // FunctionMetadata: { // FunctionMetadata
52
60
  * // FunctionARN: "STRING_VALUE", // required
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
+ import { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResult } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeKeyValueStoreCommand}.
14
+ */
15
+ export interface DescribeKeyValueStoreCommandInput extends DescribeKeyValueStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeKeyValueStoreCommand}.
21
+ */
22
+ export interface DescribeKeyValueStoreCommandOutput extends DescribeKeyValueStoreResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Specifies the Key Value Store and its configuration.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontClient, DescribeKeyValueStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
31
+ * // const { CloudFrontClient, DescribeKeyValueStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
32
+ * const client = new CloudFrontClient(config);
33
+ * const input = { // DescribeKeyValueStoreRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DescribeKeyValueStoreCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DescribeKeyValueStoreResult
39
+ * // KeyValueStore: { // KeyValueStore
40
+ * // Name: "STRING_VALUE", // required
41
+ * // Id: "STRING_VALUE", // required
42
+ * // Comment: "STRING_VALUE", // required
43
+ * // ARN: "STRING_VALUE", // required
44
+ * // Status: "STRING_VALUE",
45
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
46
+ * // },
47
+ * // ETag: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param DescribeKeyValueStoreCommandInput - {@link DescribeKeyValueStoreCommandInput}
53
+ * @returns {@link DescribeKeyValueStoreCommandOutput}
54
+ * @see {@link DescribeKeyValueStoreCommandInput} for command's `input` shape.
55
+ * @see {@link DescribeKeyValueStoreCommandOutput} for command's `response` shape.
56
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDenied} (client fault)
59
+ * <p>Access denied.</p>
60
+ *
61
+ * @throws {@link EntityNotFound} (client fault)
62
+ * <p>The Key Value Store entity was not found.</p>
63
+ *
64
+ * @throws {@link InvalidArgument} (client fault)
65
+ * <p>An argument is invalid.</p>
66
+ *
67
+ * @throws {@link CloudFrontServiceException}
68
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
69
+ *
70
+ */
71
+ export declare class DescribeKeyValueStoreCommand extends $Command<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, CloudFrontClientResolvedConfig> {
72
+ readonly input: DescribeKeyValueStoreCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: DescribeKeyValueStoreCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -56,6 +56,14 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
56
56
  * // FunctionConfig: { // FunctionConfig
57
57
  * // Comment: "STRING_VALUE", // required
58
58
  * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
59
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
60
+ * // Quantity: Number("int"), // required
61
+ * // Items: [ // KeyValueStoreAssociationList
62
+ * // { // KeyValueStoreAssociation
63
+ * // KeyValueStoreARN: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // },
59
67
  * // },
60
68
  * // FunctionMetadata: { // FunctionMetadata
61
69
  * // FunctionARN: "STRING_VALUE", // required
@@ -0,0 +1,95 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
+ import { ListKeyValueStoresRequest, ListKeyValueStoresResult } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListKeyValueStoresCommand}.
14
+ */
15
+ export interface ListKeyValueStoresCommandInput extends ListKeyValueStoresRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListKeyValueStoresCommand}.
21
+ */
22
+ export interface ListKeyValueStoresCommandOutput extends ListKeyValueStoresResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Specifies the Key Value Stores to list.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontClient, ListKeyValueStoresCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
31
+ * // const { CloudFrontClient, ListKeyValueStoresCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
32
+ * const client = new CloudFrontClient(config);
33
+ * const input = { // ListKeyValueStoresRequest
34
+ * Marker: "STRING_VALUE",
35
+ * MaxItems: Number("int"),
36
+ * Status: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListKeyValueStoresCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListKeyValueStoresResult
41
+ * // KeyValueStoreList: { // KeyValueStoreList
42
+ * // NextMarker: "STRING_VALUE",
43
+ * // MaxItems: Number("int"), // required
44
+ * // Quantity: Number("int"), // required
45
+ * // Items: [ // KeyValueStoreSummaryList
46
+ * // { // KeyValueStore
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Id: "STRING_VALUE", // required
49
+ * // Comment: "STRING_VALUE", // required
50
+ * // ARN: "STRING_VALUE", // required
51
+ * // Status: "STRING_VALUE",
52
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListKeyValueStoresCommandInput - {@link ListKeyValueStoresCommandInput}
61
+ * @returns {@link ListKeyValueStoresCommandOutput}
62
+ * @see {@link ListKeyValueStoresCommandInput} for command's `input` shape.
63
+ * @see {@link ListKeyValueStoresCommandOutput} for command's `response` shape.
64
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDenied} (client fault)
67
+ * <p>Access denied.</p>
68
+ *
69
+ * @throws {@link InvalidArgument} (client fault)
70
+ * <p>An argument is invalid.</p>
71
+ *
72
+ * @throws {@link CloudFrontServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
74
+ *
75
+ */
76
+ export declare class ListKeyValueStoresCommand extends $Command<ListKeyValueStoresCommandInput, ListKeyValueStoresCommandOutput, CloudFrontClientResolvedConfig> {
77
+ readonly input: ListKeyValueStoresCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: ListKeyValueStoresCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyValueStoresCommandInput, ListKeyValueStoresCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }