@aws-sdk/client-cloudfront-keyvaluestore 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 (107) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +253 -0
  3. package/dist-cjs/CloudFrontKeyValueStore.js +23 -0
  4. package/dist-cjs/CloudFrontKeyValueStoreClient.js +43 -0
  5. package/dist-cjs/commands/DeleteKeyCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +51 -0
  7. package/dist-cjs/commands/GetKeyCommand.js +52 -0
  8. package/dist-cjs/commands/ListKeysCommand.js +52 -0
  9. package/dist-cjs/commands/PutKeyCommand.js +52 -0
  10. package/dist-cjs/commands/UpdateKeysCommand.js +52 -0
  11. package/dist-cjs/commands/index.js +9 -0
  12. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  13. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  14. package/dist-cjs/endpoint/ruleset.js +7 -0
  15. package/dist-cjs/extensionConfiguration.js +2 -0
  16. package/dist-cjs/index.js +12 -0
  17. package/dist-cjs/models/CloudFrontKeyValueStoreServiceException.js +12 -0
  18. package/dist-cjs/models/index.js +4 -0
  19. package/dist-cjs/models/models_0.js +119 -0
  20. package/dist-cjs/pagination/Interfaces.js +2 -0
  21. package/dist-cjs/pagination/ListKeysPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +5 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +557 -0
  24. package/dist-cjs/runtimeConfig.browser.js +39 -0
  25. package/dist-cjs/runtimeConfig.js +50 -0
  26. package/dist-cjs/runtimeConfig.native.js +15 -0
  27. package/dist-cjs/runtimeConfig.shared.js +24 -0
  28. package/dist-cjs/runtimeExtensions.js +22 -0
  29. package/dist-es/CloudFrontKeyValueStore.js +19 -0
  30. package/dist-es/CloudFrontKeyValueStoreClient.js +39 -0
  31. package/dist-es/commands/DeleteKeyCommand.js +47 -0
  32. package/dist-es/commands/DescribeKeyValueStoreCommand.js +47 -0
  33. package/dist-es/commands/GetKeyCommand.js +48 -0
  34. package/dist-es/commands/ListKeysCommand.js +48 -0
  35. package/dist-es/commands/PutKeyCommand.js +48 -0
  36. package/dist-es/commands/UpdateKeysCommand.js +48 -0
  37. package/dist-es/commands/index.js +6 -0
  38. package/dist-es/endpoint/EndpointParameters.js +7 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +4 -0
  41. package/dist-es/extensionConfiguration.js +1 -0
  42. package/dist-es/index.js +7 -0
  43. package/dist-es/models/CloudFrontKeyValueStoreServiceException.js +8 -0
  44. package/dist-es/models/index.js +1 -0
  45. package/dist-es/models/models_0.js +104 -0
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/dist-es/pagination/ListKeysPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +2 -0
  49. package/dist-es/protocols/Aws_restJson1.js +542 -0
  50. package/dist-es/runtimeConfig.browser.js +34 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +11 -0
  53. package/dist-es/runtimeConfig.shared.js +20 -0
  54. package/dist-es/runtimeExtensions.js +18 -0
  55. package/dist-types/CloudFrontKeyValueStore.d.ts +52 -0
  56. package/dist-types/CloudFrontKeyValueStoreClient.d.ts +175 -0
  57. package/dist-types/commands/DeleteKeyCommand.d.ts +95 -0
  58. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +90 -0
  59. package/dist-types/commands/GetKeyCommand.d.ts +89 -0
  60. package/dist-types/commands/ListKeysCommand.d.ts +96 -0
  61. package/dist-types/commands/PutKeyCommand.d.ts +96 -0
  62. package/dist-types/commands/UpdateKeysCommand.d.ts +105 -0
  63. package/dist-types/commands/index.d.ts +6 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +21 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/extensionConfiguration.d.ts +8 -0
  68. package/dist-types/index.d.ts +15 -0
  69. package/dist-types/models/CloudFrontKeyValueStoreServiceException.d.ts +13 -0
  70. package/dist-types/models/index.d.ts +1 -0
  71. package/dist-types/models/models_0.d.ts +403 -0
  72. package/dist-types/pagination/Interfaces.d.ts +8 -0
  73. package/dist-types/pagination/ListKeysPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +2 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  77. package/dist-types/runtimeConfig.d.ts +46 -0
  78. package/dist-types/runtimeConfig.native.d.ts +45 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/ts3.4/CloudFrontKeyValueStore.d.ts +109 -0
  82. package/dist-types/ts3.4/CloudFrontKeyValueStoreClient.d.ts +157 -0
  83. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +35 -0
  84. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +33 -0
  86. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +35 -0
  87. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +33 -0
  88. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +35 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  90. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  91. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  92. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  93. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  94. package/dist-types/ts3.4/index.d.ts +10 -0
  95. package/dist-types/ts3.4/models/CloudFrontKeyValueStoreServiceException.d.ts +8 -0
  96. package/dist-types/ts3.4/models/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +139 -0
  98. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  99. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  101. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  106. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  107. package/package.json +102 -0
@@ -0,0 +1,52 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CloudFrontKeyValueStoreClient } from "./CloudFrontKeyValueStoreClient";
3
+ import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
4
+ import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
5
+ import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyCommand";
6
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
7
+ import { PutKeyCommandInput, PutKeyCommandOutput } from "./commands/PutKeyCommand";
8
+ import { UpdateKeysCommandInput, UpdateKeysCommandOutput } from "./commands/UpdateKeysCommand";
9
+ export interface CloudFrontKeyValueStore {
10
+ /**
11
+ * @see {@link DeleteKeyCommand}
12
+ */
13
+ deleteKey(args: DeleteKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyCommandOutput>;
14
+ deleteKey(args: DeleteKeyCommandInput, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
15
+ deleteKey(args: DeleteKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
16
+ /**
17
+ * @see {@link DescribeKeyValueStoreCommand}
18
+ */
19
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKeyValueStoreCommandOutput>;
20
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
21
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
22
+ /**
23
+ * @see {@link GetKeyCommand}
24
+ */
25
+ getKey(args: GetKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyCommandOutput>;
26
+ getKey(args: GetKeyCommandInput, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
27
+ getKey(args: GetKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
28
+ /**
29
+ * @see {@link ListKeysCommand}
30
+ */
31
+ listKeys(args: ListKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListKeysCommandOutput>;
32
+ listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
33
+ listKeys(args: ListKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
34
+ /**
35
+ * @see {@link PutKeyCommand}
36
+ */
37
+ putKey(args: PutKeyCommandInput, options?: __HttpHandlerOptions): Promise<PutKeyCommandOutput>;
38
+ putKey(args: PutKeyCommandInput, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
39
+ putKey(args: PutKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
40
+ /**
41
+ * @see {@link UpdateKeysCommand}
42
+ */
43
+ updateKeys(args: UpdateKeysCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeysCommandOutput>;
44
+ updateKeys(args: UpdateKeysCommandInput, cb: (err: any, data?: UpdateKeysCommandOutput) => void): void;
45
+ updateKeys(args: UpdateKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeysCommandOutput) => void): void;
46
+ }
47
+ /**
48
+ * @public
49
+ * <p>Amazon CloudFront KeyValueStore Service to View and Update Data in a KVS Resource</p>
50
+ */
51
+ export declare class CloudFrontKeyValueStore extends CloudFrontKeyValueStoreClient implements CloudFrontKeyValueStore {
52
+ }
@@ -0,0 +1,175 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
3
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
12
+ import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
13
+ import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyCommand";
14
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
15
+ import { PutKeyCommandInput, PutKeyCommandOutput } from "./commands/PutKeyCommand";
16
+ import { UpdateKeysCommandInput, UpdateKeysCommandOutput } from "./commands/UpdateKeysCommand";
17
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
18
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
19
+ export { __Client };
20
+ /**
21
+ * @public
22
+ */
23
+ export type ServiceInputTypes = DeleteKeyCommandInput | DescribeKeyValueStoreCommandInput | GetKeyCommandInput | ListKeysCommandInput | PutKeyCommandInput | UpdateKeysCommandInput;
24
+ /**
25
+ * @public
26
+ */
27
+ export type ServiceOutputTypes = DeleteKeyCommandOutput | DescribeKeyValueStoreCommandOutput | GetKeyCommandOutput | ListKeysCommandOutput | PutKeyCommandOutput | UpdateKeysCommandOutput;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
32
+ /**
33
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
34
+ */
35
+ requestHandler?: __HttpHandler;
36
+ /**
37
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
38
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
39
+ * @internal
40
+ */
41
+ sha256?: __ChecksumConstructor | __HashConstructor;
42
+ /**
43
+ * The function that will be used to convert strings into HTTP endpoints.
44
+ * @internal
45
+ */
46
+ urlParser?: __UrlParser;
47
+ /**
48
+ * A function that can calculate the length of a request body.
49
+ * @internal
50
+ */
51
+ bodyLengthChecker?: __BodyLengthCalculator;
52
+ /**
53
+ * A function that converts a stream into an array of bytes.
54
+ * @internal
55
+ */
56
+ streamCollector?: __StreamCollector;
57
+ /**
58
+ * The function that will be used to convert a base64-encoded string to a byte array.
59
+ * @internal
60
+ */
61
+ base64Decoder?: __Decoder;
62
+ /**
63
+ * The function that will be used to convert binary data to a base64-encoded string.
64
+ * @internal
65
+ */
66
+ base64Encoder?: __Encoder;
67
+ /**
68
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
69
+ * @internal
70
+ */
71
+ utf8Decoder?: __Decoder;
72
+ /**
73
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
74
+ * @internal
75
+ */
76
+ utf8Encoder?: __Encoder;
77
+ /**
78
+ * The runtime environment.
79
+ * @internal
80
+ */
81
+ runtime?: string;
82
+ /**
83
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
84
+ * trait of an operation.
85
+ */
86
+ disableHostPrefix?: boolean;
87
+ /**
88
+ * Unique service identifier.
89
+ * @internal
90
+ */
91
+ serviceId?: string;
92
+ /**
93
+ * Enables IPv6/IPv4 dualstack endpoint.
94
+ */
95
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
96
+ /**
97
+ * Enables FIPS compatible endpoints.
98
+ */
99
+ useFipsEndpoint?: boolean | __Provider<boolean>;
100
+ /**
101
+ * The AWS region to which this client will send requests
102
+ */
103
+ region?: string | __Provider<string>;
104
+ /**
105
+ * Default credentials provider; Not available in browser runtime.
106
+ * @internal
107
+ */
108
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
109
+ /**
110
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
111
+ * @internal
112
+ */
113
+ defaultUserAgentProvider?: Provider<__UserAgent>;
114
+ /**
115
+ * Value for how many times a request will be made at most in case of retry.
116
+ */
117
+ maxAttempts?: number | __Provider<number>;
118
+ /**
119
+ * Specifies which retry algorithm to use.
120
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
121
+ *
122
+ */
123
+ retryMode?: string | __Provider<string>;
124
+ /**
125
+ * Optional logger for logging debug/info/warn/error.
126
+ */
127
+ logger?: __Logger;
128
+ /**
129
+ * Optional extensions
130
+ */
131
+ extensions?: RuntimeExtension[];
132
+ /**
133
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
134
+ */
135
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
136
+ }
137
+ /**
138
+ * @public
139
+ */
140
+ export type CloudFrontKeyValueStoreClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
141
+ /**
142
+ * @public
143
+ *
144
+ * The configuration interface of CloudFrontKeyValueStoreClient class constructor that set the region, credentials and other options.
145
+ */
146
+ export interface CloudFrontKeyValueStoreClientConfig extends CloudFrontKeyValueStoreClientConfigType {
147
+ }
148
+ /**
149
+ * @public
150
+ */
151
+ export type CloudFrontKeyValueStoreClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
152
+ /**
153
+ * @public
154
+ *
155
+ * The resolved configuration interface of CloudFrontKeyValueStoreClient class. This is resolved and normalized from the {@link CloudFrontKeyValueStoreClientConfig | constructor configuration interface}.
156
+ */
157
+ export interface CloudFrontKeyValueStoreClientResolvedConfig extends CloudFrontKeyValueStoreClientResolvedConfigType {
158
+ }
159
+ /**
160
+ * @public
161
+ * <p>Amazon CloudFront KeyValueStore Service to View and Update Data in a KVS Resource</p>
162
+ */
163
+ export declare class CloudFrontKeyValueStoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudFrontKeyValueStoreClientResolvedConfig> {
164
+ /**
165
+ * The resolved configuration of CloudFrontKeyValueStoreClient class. This is resolved and normalized from the {@link CloudFrontKeyValueStoreClientConfig | constructor configuration interface}.
166
+ */
167
+ readonly config: CloudFrontKeyValueStoreClientResolvedConfig;
168
+ constructor(...[configuration]: __CheckOptionalClientConfig<CloudFrontKeyValueStoreClientConfig>);
169
+ /**
170
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
171
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
172
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
173
+ */
174
+ destroy(): void;
175
+ }
@@ -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 { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
+ import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteKeyCommand}.
14
+ */
15
+ export interface DeleteKeyCommandInput extends DeleteKeyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteKeyCommand}.
21
+ */
22
+ export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the key value pair specified by the key.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontKeyValueStoreClient, DeleteKeyCommand } from "@aws-sdk/client-cloudfront-keyvaluestore"; // ES Modules import
31
+ * // const { CloudFrontKeyValueStoreClient, DeleteKeyCommand } = require("@aws-sdk/client-cloudfront-keyvaluestore"); // CommonJS import
32
+ * const client = new CloudFrontKeyValueStoreClient(config);
33
+ * const input = { // DeleteKeyRequest
34
+ * KvsARN: "STRING_VALUE", // required
35
+ * Key: "STRING_VALUE", // required
36
+ * IfMatch: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DeleteKeyCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DeleteKeyResponse
41
+ * // ItemCount: Number("int"), // required
42
+ * // TotalSizeInBytes: Number("long"), // required
43
+ * // ETag: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteKeyCommandInput - {@link DeleteKeyCommandInput}
49
+ * @returns {@link DeleteKeyCommandOutput}
50
+ * @see {@link DeleteKeyCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteKeyCommandOutput} for command's `response` shape.
52
+ * @see {@link CloudFrontKeyValueStoreClientResolvedConfig | config} for CloudFrontKeyValueStoreClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>Access denied.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>Resource is not in expected state.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>Internal server error.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>Resource was not found.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>Limit exceeded.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>Validation failed.</p>
71
+ *
72
+ * @throws {@link CloudFrontKeyValueStoreServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
74
+ *
75
+ */
76
+ export declare class DeleteKeyCommand extends $Command<DeleteKeyCommandInput, DeleteKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
77
+ readonly input: DeleteKeyCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: DeleteKeyCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKeyCommandInput, DeleteKeyCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }
@@ -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 { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
+ import { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResponse } from "../models/models_0";
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 DescribeKeyValueStoreResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns metadata information about Key Value Store.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontKeyValueStoreClient, DescribeKeyValueStoreCommand } from "@aws-sdk/client-cloudfront-keyvaluestore"; // ES Modules import
31
+ * // const { CloudFrontKeyValueStoreClient, DescribeKeyValueStoreCommand } = require("@aws-sdk/client-cloudfront-keyvaluestore"); // CommonJS import
32
+ * const client = new CloudFrontKeyValueStoreClient(config);
33
+ * const input = { // DescribeKeyValueStoreRequest
34
+ * KvsARN: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DescribeKeyValueStoreCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DescribeKeyValueStoreResponse
39
+ * // ItemCount: Number("int"), // required
40
+ * // TotalSizeInBytes: Number("long"), // required
41
+ * // KvsARN: "STRING_VALUE", // required
42
+ * // Created: new Date("TIMESTAMP"), // required
43
+ * // ETag: "STRING_VALUE", // required
44
+ * // LastModified: new Date("TIMESTAMP"),
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DescribeKeyValueStoreCommandInput - {@link DescribeKeyValueStoreCommandInput}
50
+ * @returns {@link DescribeKeyValueStoreCommandOutput}
51
+ * @see {@link DescribeKeyValueStoreCommandInput} for command's `input` shape.
52
+ * @see {@link DescribeKeyValueStoreCommandOutput} for command's `response` shape.
53
+ * @see {@link CloudFrontKeyValueStoreClientResolvedConfig | config} for CloudFrontKeyValueStoreClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>Access denied.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>Resource is not in expected state.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>Internal server error.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>Resource was not found.</p>
66
+ *
67
+ * @throws {@link CloudFrontKeyValueStoreServiceException}
68
+ * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
69
+ *
70
+ */
71
+ export declare class DescribeKeyValueStoreCommand extends $Command<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
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: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -0,0 +1,89 @@
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 { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
+ import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetKeyCommand}.
14
+ */
15
+ export interface GetKeyCommandInput extends GetKeyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetKeyCommand}.
21
+ */
22
+ export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a key value pair.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontKeyValueStoreClient, GetKeyCommand } from "@aws-sdk/client-cloudfront-keyvaluestore"; // ES Modules import
31
+ * // const { CloudFrontKeyValueStoreClient, GetKeyCommand } = require("@aws-sdk/client-cloudfront-keyvaluestore"); // CommonJS import
32
+ * const client = new CloudFrontKeyValueStoreClient(config);
33
+ * const input = { // GetKeyRequest
34
+ * KvsARN: "STRING_VALUE", // required
35
+ * Key: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetKeyCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetKeyResponse
40
+ * // Key: "STRING_VALUE", // required
41
+ * // Value: "STRING_VALUE", // required
42
+ * // ItemCount: Number("int"), // required
43
+ * // TotalSizeInBytes: Number("long"), // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetKeyCommandInput - {@link GetKeyCommandInput}
49
+ * @returns {@link GetKeyCommandOutput}
50
+ * @see {@link GetKeyCommandInput} for command's `input` shape.
51
+ * @see {@link GetKeyCommandOutput} for command's `response` shape.
52
+ * @see {@link CloudFrontKeyValueStoreClientResolvedConfig | config} for CloudFrontKeyValueStoreClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>Access denied.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>Resource is not in expected state.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>Internal server error.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>Resource was not found.</p>
65
+ *
66
+ * @throws {@link CloudFrontKeyValueStoreServiceException}
67
+ * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
68
+ *
69
+ */
70
+ export declare class GetKeyCommand extends $Command<GetKeyCommandInput, GetKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
71
+ readonly input: GetKeyCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: GetKeyCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetKeyCommandInput, GetKeyCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,96 @@
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 { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
+ import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListKeysCommand}.
14
+ */
15
+ export interface ListKeysCommandInput extends ListKeysRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListKeysCommand}.
21
+ */
22
+ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of key value pairs.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudFrontKeyValueStoreClient, ListKeysCommand } from "@aws-sdk/client-cloudfront-keyvaluestore"; // ES Modules import
31
+ * // const { CloudFrontKeyValueStoreClient, ListKeysCommand } = require("@aws-sdk/client-cloudfront-keyvaluestore"); // CommonJS import
32
+ * const client = new CloudFrontKeyValueStoreClient(config);
33
+ * const input = { // ListKeysRequest
34
+ * KvsARN: "STRING_VALUE", // required
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
38
+ * const command = new ListKeysCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListKeysResponse
41
+ * // NextToken: "STRING_VALUE",
42
+ * // Items: [ // ListKeysResponseList
43
+ * // { // ListKeysResponseListItem
44
+ * // Key: "STRING_VALUE", // required
45
+ * // Value: "STRING_VALUE", // required
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param ListKeysCommandInput - {@link ListKeysCommandInput}
53
+ * @returns {@link ListKeysCommandOutput}
54
+ * @see {@link ListKeysCommandInput} for command's `input` shape.
55
+ * @see {@link ListKeysCommandOutput} for command's `response` shape.
56
+ * @see {@link CloudFrontKeyValueStoreClientResolvedConfig | config} for CloudFrontKeyValueStoreClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>Access denied.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>Resource is not in expected state.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>Internal server error.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>Resource was not found.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>Validation failed.</p>
72
+ *
73
+ * @throws {@link CloudFrontKeyValueStoreServiceException}
74
+ * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
75
+ *
76
+ */
77
+ export declare class ListKeysCommand extends $Command<ListKeysCommandInput, ListKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
78
+ readonly input: ListKeysCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: ListKeysCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeysCommandInput, ListKeysCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }