@aws-sdk/client-cloudfront-keyvaluestore 3.477.0 → 3.481.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 (33) hide show
  1. package/dist-cjs/commands/DeleteKeyCommand.js +19 -41
  2. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +19 -41
  3. package/dist-cjs/commands/GetKeyCommand.js +19 -41
  4. package/dist-cjs/commands/ListKeysCommand.js +19 -41
  5. package/dist-cjs/commands/PutKeyCommand.js +19 -41
  6. package/dist-cjs/commands/UpdateKeysCommand.js +19 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +6 -1
  8. package/dist-cjs/pagination/ListKeysPaginator.js +2 -24
  9. package/dist-es/commands/DeleteKeyCommand.js +19 -41
  10. package/dist-es/commands/DescribeKeyValueStoreCommand.js +19 -41
  11. package/dist-es/commands/GetKeyCommand.js +19 -41
  12. package/dist-es/commands/ListKeysCommand.js +19 -41
  13. package/dist-es/commands/PutKeyCommand.js +19 -41
  14. package/dist-es/commands/UpdateKeysCommand.js +19 -41
  15. package/dist-es/endpoint/EndpointParameters.js +5 -0
  16. package/dist-es/pagination/ListKeysPaginator.js +2 -23
  17. package/dist-types/commands/DeleteKeyCommand.d.ts +6 -21
  18. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +6 -21
  19. package/dist-types/commands/GetKeyCommand.d.ts +6 -21
  20. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  21. package/dist-types/commands/PutKeyCommand.d.ts +6 -21
  22. package/dist-types/commands/UpdateKeysCommand.d.ts +6 -21
  23. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  24. package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +12 -24
  27. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +12 -23
  28. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  29. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +12 -23
  30. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +14 -23
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  32. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +3 -3
  33. package/package.json +11 -11
@@ -1,48 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetKeyResponseFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_GetKeyCommand, se_GetKeyCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class GetKeyCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- KvsARN: { type: "contextParams", name: "KvsARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetKeyCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CloudFrontKeyValueStoreClient";
27
- const commandName = "GetKeyCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetKeyResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CloudFrontKeyValueStore",
36
- operation: "GetKey",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetKeyCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetKeyCommand(output, context);
47
- }
8
+ export class GetKeyCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ KvsARN: { type: "contextParams", name: "KvsARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("CloudFrontKeyValueStore", "GetKey", {})
21
+ .n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
22
+ .f(void 0, GetKeyResponseFilterSensitiveLog)
23
+ .ser(se_GetKeyCommand)
24
+ .de(de_GetKeyCommand)
25
+ .build() {
48
26
  }
@@ -1,48 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListKeysResponseFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_ListKeysCommand, se_ListKeysCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListKeysCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- KvsARN: { type: "contextParams", name: "KvsARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListKeysCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CloudFrontKeyValueStoreClient";
27
- const commandName = "ListKeysCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: ListKeysResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CloudFrontKeyValueStore",
36
- operation: "ListKeys",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListKeysCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListKeysCommand(output, context);
47
- }
8
+ export class ListKeysCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ KvsARN: { type: "contextParams", name: "KvsARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("CloudFrontKeyValueStore", "ListKeys", {})
21
+ .n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
22
+ .f(void 0, ListKeysResponseFilterSensitiveLog)
23
+ .ser(se_ListKeysCommand)
24
+ .de(de_ListKeysCommand)
25
+ .build() {
48
26
  }
@@ -1,48 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { PutKeyRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_PutKeyCommand, se_PutKeyCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class PutKeyCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- KvsARN: { type: "contextParams", name: "KvsARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, PutKeyCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CloudFrontKeyValueStoreClient";
27
- const commandName = "PutKeyCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: PutKeyRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CloudFrontKeyValueStore",
36
- operation: "PutKey",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_PutKeyCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_PutKeyCommand(output, context);
47
- }
8
+ export class PutKeyCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ KvsARN: { type: "contextParams", name: "KvsARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("CloudFrontKeyValueStore", "PutKey", {})
21
+ .n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
22
+ .f(PutKeyRequestFilterSensitiveLog, void 0)
23
+ .ser(se_PutKeyCommand)
24
+ .de(de_PutKeyCommand)
25
+ .build() {
48
26
  }
@@ -1,48 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateKeysRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_UpdateKeysCommand, se_UpdateKeysCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateKeysCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- KvsARN: { type: "contextParams", name: "KvsARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateKeysCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CloudFrontKeyValueStoreClient";
27
- const commandName = "UpdateKeysCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateKeysRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CloudFrontKeyValueStore",
36
- operation: "UpdateKeys",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateKeysCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateKeysCommand(output, context);
47
- }
8
+ export class UpdateKeysCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ KvsARN: { type: "contextParams", name: "KvsARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("CloudFrontKeyValueStore", "UpdateKeys", {})
21
+ .n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
22
+ .f(UpdateKeysRequestFilterSensitiveLog, void 0)
23
+ .ser(se_UpdateKeysCommand)
24
+ .de(de_UpdateKeysCommand)
25
+ .build() {
48
26
  }
@@ -5,3 +5,8 @@ export const resolveClientEndpointParameters = (options) => {
5
5
  defaultSigningName: "cloudfront-keyvaluestore",
6
6
  };
7
7
  };
8
+ export const commonParams = {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFrontKeyValueStoreClient } from "../CloudFrontKeyValueStoreClient";
2
3
  import { ListKeysCommand } from "../commands/ListKeysCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListKeysCommand(input), ...args);
5
- };
6
- export async function* paginateListKeys(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudFrontKeyValueStoreClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFrontKeyValueStore | CloudFrontKeyValueStoreClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListKeys = createPaginator(CloudFrontKeyValueStoreClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteKeyCommandInput extends DeleteKeyRequest {
21
20
  */
22
21
  export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteKeyCommand_base: {
24
+ new (input: DeleteKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKeyCommandInput, DeleteKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the key value pair specified by the key.</p>
@@ -73,23 +76,5 @@ export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBea
73
76
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
74
77
  *
75
78
  */
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;
79
+ export declare class DeleteKeyCommand extends DeleteKeyCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeKeyValueStoreCommandInput extends DescribeKeyValueStore
21
20
  */
22
21
  export interface DescribeKeyValueStoreCommandOutput extends DescribeKeyValueStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeKeyValueStoreCommand_base: {
24
+ new (input: DescribeKeyValueStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns metadata information about Key Value Store.</p>
@@ -68,23 +71,5 @@ export interface DescribeKeyValueStoreCommandOutput extends DescribeKeyValueStor
68
71
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
69
72
  *
70
73
  */
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;
74
+ export declare class DescribeKeyValueStoreCommand extends DescribeKeyValueStoreCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetKeyCommandInput extends GetKeyRequest {
21
20
  */
22
21
  export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetKeyCommand_base: {
24
+ new (input: GetKeyCommandInput): import("@smithy/smithy-client").CommandImpl<GetKeyCommandInput, GetKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a key value pair.</p>
@@ -67,23 +70,5 @@ export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {
67
70
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
68
71
  *
69
72
  */
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;
73
+ export declare class GetKeyCommand extends GetKeyCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListKeysCommandInput extends ListKeysRequest {
21
20
  */
22
21
  export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListKeysCommand_base: {
24
+ new (input: ListKeysCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of key value pairs.</p>
@@ -74,23 +77,5 @@ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBeare
74
77
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
75
78
  *
76
79
  */
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;
80
+ export declare class ListKeysCommand extends ListKeysCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { PutKeyRequest, PutKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutKeyCommandInput extends PutKeyRequest {
21
20
  */
22
21
  export interface PutKeyCommandOutput extends PutKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const PutKeyCommand_base: {
24
+ new (input: PutKeyCommandInput): import("@smithy/smithy-client").CommandImpl<PutKeyCommandInput, PutKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new key value pair or replaces the value of an existing key.</p>
@@ -74,23 +77,5 @@ export interface PutKeyCommandOutput extends PutKeyResponse, __MetadataBearer {
74
77
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
75
78
  *
76
79
  */
77
- export declare class PutKeyCommand extends $Command<PutKeyCommandInput, PutKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
78
- readonly input: PutKeyCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: PutKeyCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutKeyCommandInput, PutKeyCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class PutKeyCommand extends PutKeyCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
5
4
  import { UpdateKeysRequest, UpdateKeysResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateKeysCommandInput extends UpdateKeysRequest {
21
20
  */
22
21
  export interface UpdateKeysCommandOutput extends UpdateKeysResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateKeysCommand_base: {
24
+ new (input: UpdateKeysCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKeysCommandInput, UpdateKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.</p>
@@ -83,23 +86,5 @@ export interface UpdateKeysCommandOutput extends UpdateKeysResponse, __MetadataB
83
86
  * <p>Base exception class for all service exceptions from CloudFrontKeyValueStore service.</p>
84
87
  *
85
88
  */
86
- export declare class UpdateKeysCommand extends $Command<UpdateKeysCommandInput, UpdateKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig> {
87
- readonly input: UpdateKeysCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: UpdateKeysCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontKeyValueStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKeysCommandInput, UpdateKeysCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class UpdateKeysCommand extends UpdateKeysCommand_base {
105
90
  }
@@ -13,6 +13,20 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
13
13
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
14
  defaultSigningName: string;
15
15
  };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
16
30
  export interface EndpointParameters extends __EndpointParameters {
17
31
  KvsARN?: string;
18
32
  Region?: string;
@@ -4,4 +4,4 @@ import { CloudFrontKeyValueStorePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListKeys(config: CloudFrontKeyValueStorePaginationConfiguration, input: ListKeysCommandInput, ...additionalArguments: any): Paginator<ListKeysCommandOutput>;
7
+ export declare const paginateListKeys: (config: CloudFrontKeyValueStorePaginationConfiguration, input: ListKeysCommandInput, ...rest: any[]) => Paginator<ListKeysCommandOutput>;