@aws-sdk/client-cloudfront-keyvaluestore 3.478.0 → 3.484.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 (29) 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-es/commands/DeleteKeyCommand.js +19 -41
  9. package/dist-es/commands/DescribeKeyValueStoreCommand.js +19 -41
  10. package/dist-es/commands/GetKeyCommand.js +19 -41
  11. package/dist-es/commands/ListKeysCommand.js +19 -41
  12. package/dist-es/commands/PutKeyCommand.js +19 -41
  13. package/dist-es/commands/UpdateKeysCommand.js +19 -41
  14. package/dist-es/endpoint/EndpointParameters.js +5 -0
  15. package/dist-types/commands/DeleteKeyCommand.d.ts +6 -21
  16. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +6 -21
  17. package/dist-types/commands/GetKeyCommand.d.ts +6 -21
  18. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  19. package/dist-types/commands/PutKeyCommand.d.ts +6 -21
  20. package/dist-types/commands/UpdateKeysCommand.d.ts +6 -21
  21. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  22. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
  23. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +12 -24
  24. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +12 -23
  25. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +12 -23
  27. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  29. 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 { 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,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;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface DeleteKeyCommandInput extends DeleteKeyRequest {}
17
11
  export interface DeleteKeyCommandOutput
18
12
  extends DeleteKeyResponse,
19
13
  __MetadataBearer {}
20
- export declare class DeleteKeyCommand extends $Command<
21
- DeleteKeyCommandInput,
22
- DeleteKeyCommandOutput,
23
- CloudFrontKeyValueStoreClientResolvedConfig
24
- > {
25
- readonly input: DeleteKeyCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: DeleteKeyCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<DeleteKeyCommandInput, DeleteKeyCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const DeleteKeyCommand_base: {
15
+ new (
16
+ input: DeleteKeyCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ DeleteKeyCommandInput,
19
+ DeleteKeyCommandOutput,
20
+ CloudFrontKeyValueStoreClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class DeleteKeyCommand extends DeleteKeyCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface DescribeKeyValueStoreCommandInput
21
15
  export interface DescribeKeyValueStoreCommandOutput
22
16
  extends DescribeKeyValueStoreResponse,
23
17
  __MetadataBearer {}
24
- export declare class DescribeKeyValueStoreCommand extends $Command<
25
- DescribeKeyValueStoreCommandInput,
26
- DescribeKeyValueStoreCommandOutput,
27
- CloudFrontKeyValueStoreClientResolvedConfig
28
- > {
29
- readonly input: DescribeKeyValueStoreCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DescribeKeyValueStoreCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const DescribeKeyValueStoreCommand_base: {
19
+ new (
20
+ input: DescribeKeyValueStoreCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  DescribeKeyValueStoreCommandInput,
38
- DescribeKeyValueStoreCommandOutput
23
+ DescribeKeyValueStoreCommandOutput,
24
+ CloudFrontKeyValueStoreClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DescribeKeyValueStoreCommand extends DescribeKeyValueStoreCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,14 @@ import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface GetKeyCommandInput extends GetKeyRequest {}
17
11
  export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {}
18
- export declare class GetKeyCommand extends $Command<
19
- GetKeyCommandInput,
20
- GetKeyCommandOutput,
21
- CloudFrontKeyValueStoreClientResolvedConfig
22
- > {
23
- readonly input: GetKeyCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: GetKeyCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<GetKeyCommandInput, GetKeyCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const GetKeyCommand_base: {
13
+ new (input: GetKeyCommandInput): import("@smithy/smithy-client").CommandImpl<
14
+ GetKeyCommandInput,
15
+ GetKeyCommandOutput,
16
+ CloudFrontKeyValueStoreClientResolvedConfig,
17
+ ServiceInputTypes,
18
+ ServiceOutputTypes
19
+ >;
20
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
+ };
22
+ export declare class GetKeyCommand extends GetKeyCommand_base {}