@aws-sdk/client-cloudfront-keyvaluestore 3.1077.0 → 3.1078.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.
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveParams, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -214,7 +215,7 @@ const commonParams = {
214
215
  Region: { type: "builtInParams", name: "region" },
215
216
  };
216
217
 
217
- var version = "3.1076.0";
218
+ var version = "3.1077.0";
218
219
  var packageInfo = {
219
220
  version: version};
220
221
 
@@ -671,94 +672,28 @@ class CloudFrontKeyValueStoreClient extends Client {
671
672
  }
672
673
  }
673
674
 
674
- class DeleteKeyCommand extends Command
675
- .classBuilder()
676
- .ep({
677
- ...commonParams,
675
+ const command = makeBuilder(commonParams, "CloudFrontKeyValueStore", "CloudFrontKeyValueStoreClient", getEndpointPlugin);
676
+ const _ep0 = {
678
677
  KvsARN: { type: "contextParams", name: "KvsARN" },
679
- })
680
- .m(function (Command, cs, config, o) {
681
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
682
- })
683
- .s("CloudFrontKeyValueStore", "DeleteKey", {})
684
- .n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand")
685
- .sc(DeleteKey$)
686
- .build() {
678
+ };
679
+ const _mw0 = (Command, cs, config, o) => [];
680
+
681
+ class DeleteKeyCommand extends command(_ep0, _mw0, "DeleteKey", DeleteKey$) {
687
682
  }
688
683
 
689
- class DescribeKeyValueStoreCommand extends Command
690
- .classBuilder()
691
- .ep({
692
- ...commonParams,
693
- KvsARN: { type: "contextParams", name: "KvsARN" },
694
- })
695
- .m(function (Command, cs, config, o) {
696
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
697
- })
698
- .s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {})
699
- .n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand")
700
- .sc(DescribeKeyValueStore$)
701
- .build() {
684
+ class DescribeKeyValueStoreCommand extends command(_ep0, _mw0, "DescribeKeyValueStore", DescribeKeyValueStore$) {
702
685
  }
703
686
 
704
- class GetKeyCommand extends Command
705
- .classBuilder()
706
- .ep({
707
- ...commonParams,
708
- KvsARN: { type: "contextParams", name: "KvsARN" },
709
- })
710
- .m(function (Command, cs, config, o) {
711
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
712
- })
713
- .s("CloudFrontKeyValueStore", "GetKey", {})
714
- .n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
715
- .sc(GetKey$)
716
- .build() {
687
+ class GetKeyCommand extends command(_ep0, _mw0, "GetKey", GetKey$) {
717
688
  }
718
689
 
719
- class ListKeysCommand extends Command
720
- .classBuilder()
721
- .ep({
722
- ...commonParams,
723
- KvsARN: { type: "contextParams", name: "KvsARN" },
724
- })
725
- .m(function (Command, cs, config, o) {
726
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
727
- })
728
- .s("CloudFrontKeyValueStore", "ListKeys", {})
729
- .n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
730
- .sc(ListKeys$)
731
- .build() {
690
+ class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
732
691
  }
733
692
 
734
- class PutKeyCommand extends Command
735
- .classBuilder()
736
- .ep({
737
- ...commonParams,
738
- KvsARN: { type: "contextParams", name: "KvsARN" },
739
- })
740
- .m(function (Command, cs, config, o) {
741
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
742
- })
743
- .s("CloudFrontKeyValueStore", "PutKey", {})
744
- .n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
745
- .sc(PutKey$)
746
- .build() {
693
+ class PutKeyCommand extends command(_ep0, _mw0, "PutKey", PutKey$) {
747
694
  }
748
695
 
749
- class UpdateKeysCommand extends Command
750
- .classBuilder()
751
- .ep({
752
- ...commonParams,
753
- KvsARN: { type: "contextParams", name: "KvsARN" },
754
- })
755
- .m(function (Command, cs, config, o) {
756
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
- })
758
- .s("CloudFrontKeyValueStore", "UpdateKeys", {})
759
- .n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
760
- .sc(UpdateKeys$)
761
- .build() {
696
+ class UpdateKeysCommand extends command(_ep0, _mw0, "UpdateKeys", UpdateKeys$) {
762
697
  }
763
698
 
764
699
  const paginateListKeys = createPaginator(CloudFrontKeyValueStoreClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,8 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "CloudFrontKeyValueStore", "CloudFrontKeyValueStoreClient", getEndpointPlugin);
5
+ export const _ep0 = {
6
+ KvsARN: { type: "contextParams", name: "KvsARN" },
7
+ };
8
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteKeyCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "DeleteKey", {})
16
- .n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand")
17
- .sc(DeleteKey$)
18
- .build() {
3
+ export class DeleteKeyCommand extends command(_ep0, _mw0, "DeleteKey", DeleteKey$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeKeyValueStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeKeyValueStoreCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {})
16
- .n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand")
17
- .sc(DescribeKeyValueStore$)
18
- .build() {
3
+ export class DescribeKeyValueStoreCommand extends command(_ep0, _mw0, "DescribeKeyValueStore", DescribeKeyValueStore$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetKeyCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "GetKey", {})
16
- .n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
17
- .sc(GetKey$)
18
- .build() {
3
+ export class GetKeyCommand extends command(_ep0, _mw0, "GetKey", GetKey$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListKeys$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListKeysCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "ListKeys", {})
16
- .n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
17
- .sc(ListKeys$)
18
- .build() {
3
+ export class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutKeyCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "PutKey", {})
16
- .n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
17
- .sc(PutKey$)
18
- .build() {
3
+ export class PutKeyCommand extends command(_ep0, _mw0, "PutKey", PutKey$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateKeys$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateKeysCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- KvsARN: { type: "contextParams", name: "KvsARN" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("CloudFrontKeyValueStore", "UpdateKeys", {})
16
- .n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
17
- .sc(UpdateKeys$)
18
- .build() {
3
+ export class UpdateKeysCommand extends command(_ep0, _mw0, "UpdateKeys", UpdateKeys$) {
19
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudFrontKeyValueStoreClient";
2
2
  export * from "./CloudFrontKeyValueStore";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CloudFrontKeyValueStoreClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteKeyCommandInput extends DeleteKeyRequest {
22
19
  export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteKeyCommand_base: {
25
- new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<DeleteKeyCommandInput, DeleteKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<DeleteKeyCommandInput, DeleteKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<DeleteKeyCommandInput, DeleteKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<DeleteKeyCommandInput, DeleteKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the key value pair specified by the key.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeKeyValueStoreCommandInput extends DescribeKeyValueStore
22
19
  export interface DescribeKeyValueStoreCommandOutput extends DescribeKeyValueStoreResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeKeyValueStoreCommand_base: {
25
- new (input: DescribeKeyValueStoreCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeKeyValueStoreCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeKeyValueStoreCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeKeyValueStoreCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns metadata information about Key Value Store.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { GetKeyRequest, GetKeyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetKeyCommandInput extends GetKeyRequest {
22
19
  export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetKeyCommand_base: {
25
- new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<GetKeyCommandInput, GetKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<GetKeyCommandInput, GetKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<GetKeyCommandInput, GetKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<GetKeyCommandInput, GetKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a key value pair.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { ListKeysRequest, ListKeysResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListKeysCommandInput extends ListKeysRequest {
22
19
  export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListKeysCommand_base: {
25
- new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of key value pairs.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { PutKeyRequest, PutKeyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutKeyCommandInput extends PutKeyRequest {
22
19
  export interface PutKeyCommandOutput extends PutKeyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutKeyCommand_base: {
25
- new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<PutKeyCommandInput, PutKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<PutKeyCommandInput, PutKeyCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<PutKeyCommandInput, PutKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<PutKeyCommandInput, PutKeyCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new key value pair or replaces the value of an existing key.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
4
2
  import type { UpdateKeysRequest, UpdateKeysResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateKeysCommandInput extends UpdateKeysRequest {
22
19
  export interface UpdateKeysCommandOutput extends UpdateKeysResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateKeysCommand_base: {
25
- new (input: UpdateKeysCommandInput): import("@smithy/core/client").CommandImpl<UpdateKeysCommandInput, UpdateKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateKeysCommandInput): import("@smithy/core/client").CommandImpl<UpdateKeysCommandInput, UpdateKeysCommandOutput, CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateKeysCommandInput): import("@smithy/core/client").CommandImpl<UpdateKeysCommandInput, UpdateKeysCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateKeysCommandInput): import("@smithy/core/client").CommandImpl<UpdateKeysCommandInput, UpdateKeysCommandOutput, import("..").CloudFrontKeyValueStoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.</p>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { CloudFrontKeyValueStoreExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./models/errors";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ CloudFrontKeyValueStoreClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./CloudFrontKeyValueStoreClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ CloudFrontKeyValueStoreClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ CloudFrontKeyValueStoreClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface DeleteKeyCommandInput extends DeleteKeyRequest {}
12
5
  export interface DeleteKeyCommandOutput
13
6
  extends DeleteKeyResponse,
@@ -16,20 +9,18 @@ declare const DeleteKeyCommand_base: {
16
9
  new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<
17
10
  DeleteKeyCommandInput,
18
11
  DeleteKeyCommandOutput,
19
- CloudFrontKeyValueStoreClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (input: DeleteKeyCommandInput): import("@smithy/core/client").CommandImpl<
24
17
  DeleteKeyCommandInput,
25
18
  DeleteKeyCommandOutput,
26
- CloudFrontKeyValueStoreClientResolvedConfig,
27
- ServiceInputTypes,
28
- ServiceOutputTypes
19
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
20
+ import("..").ServiceInputTypes,
21
+ import("..").ServiceOutputTypes
29
22
  >;
30
- getEndpointParameterInstructions(): {
31
- [x: string]: unknown;
32
- };
23
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
33
24
  };
34
25
  export declare class DeleteKeyCommand extends DeleteKeyCommand_base {
35
26
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import {
9
3
  DescribeKeyValueStoreRequest,
10
4
  DescribeKeyValueStoreResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface DescribeKeyValueStoreCommandInput
15
8
  extends DescribeKeyValueStoreRequest {}
16
9
  export interface DescribeKeyValueStoreCommandOutput
@@ -22,22 +15,20 @@ declare const DescribeKeyValueStoreCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  DescribeKeyValueStoreCommandInput,
24
17
  DescribeKeyValueStoreCommandOutput,
25
- CloudFrontKeyValueStoreClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: DescribeKeyValueStoreCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  DescribeKeyValueStoreCommandInput,
33
26
  DescribeKeyValueStoreCommandOutput,
34
- CloudFrontKeyValueStoreClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class DescribeKeyValueStoreCommand extends DescribeKeyValueStoreCommand_base {
43
34
  protected static __types: {
@@ -1,33 +1,24 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface GetKeyCommandInput extends GetKeyRequest {}
12
5
  export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {}
13
6
  declare const GetKeyCommand_base: {
14
7
  new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<
15
8
  GetKeyCommandInput,
16
9
  GetKeyCommandOutput,
17
- CloudFrontKeyValueStoreClientResolvedConfig,
18
- ServiceInputTypes,
19
- ServiceOutputTypes
10
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
11
+ import("..").ServiceInputTypes,
12
+ import("..").ServiceOutputTypes
20
13
  >;
21
14
  new (input: GetKeyCommandInput): import("@smithy/core/client").CommandImpl<
22
15
  GetKeyCommandInput,
23
16
  GetKeyCommandOutput,
24
- CloudFrontKeyValueStoreClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
21
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
22
  };
32
23
  export declare class GetKeyCommand extends GetKeyCommand_base {
33
24
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface ListKeysCommandInput extends ListKeysRequest {}
12
5
  export interface ListKeysCommandOutput
13
6
  extends ListKeysResponse,
@@ -16,20 +9,18 @@ declare const ListKeysCommand_base: {
16
9
  new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<
17
10
  ListKeysCommandInput,
18
11
  ListKeysCommandOutput,
19
- CloudFrontKeyValueStoreClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<
24
17
  ListKeysCommandInput,
25
18
  ListKeysCommandOutput,
26
- CloudFrontKeyValueStoreClientResolvedConfig,
27
- ServiceInputTypes,
28
- ServiceOutputTypes
19
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
20
+ import("..").ServiceInputTypes,
21
+ import("..").ServiceOutputTypes
29
22
  >;
30
- getEndpointParameterInstructions(): {
31
- [x: string]: unknown;
32
- };
23
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
33
24
  };
34
25
  export declare class ListKeysCommand extends ListKeysCommand_base {
35
26
  protected static __types: {
@@ -1,33 +1,24 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import { PutKeyRequest, PutKeyResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface PutKeyCommandInput extends PutKeyRequest {}
12
5
  export interface PutKeyCommandOutput extends PutKeyResponse, __MetadataBearer {}
13
6
  declare const PutKeyCommand_base: {
14
7
  new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<
15
8
  PutKeyCommandInput,
16
9
  PutKeyCommandOutput,
17
- CloudFrontKeyValueStoreClientResolvedConfig,
18
- ServiceInputTypes,
19
- ServiceOutputTypes
10
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
11
+ import("..").ServiceInputTypes,
12
+ import("..").ServiceOutputTypes
20
13
  >;
21
14
  new (input: PutKeyCommandInput): import("@smithy/core/client").CommandImpl<
22
15
  PutKeyCommandInput,
23
16
  PutKeyCommandOutput,
24
- CloudFrontKeyValueStoreClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
21
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
22
  };
32
23
  export declare class PutKeyCommand extends PutKeyCommand_base {
33
24
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudFrontKeyValueStoreClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudFrontKeyValueStoreClient";
8
2
  import { UpdateKeysRequest, UpdateKeysResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UpdateKeysCommandInput extends UpdateKeysRequest {}
12
5
  export interface UpdateKeysCommandOutput
13
6
  extends UpdateKeysResponse,
@@ -18,22 +11,20 @@ declare const UpdateKeysCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UpdateKeysCommandInput,
20
13
  UpdateKeysCommandOutput,
21
- CloudFrontKeyValueStoreClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UpdateKeysCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UpdateKeysCommandInput,
29
22
  UpdateKeysCommandOutput,
30
- CloudFrontKeyValueStoreClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CloudFrontKeyValueStoreClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UpdateKeysCommand extends UpdateKeysCommand_base {
39
30
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudFrontKeyValueStoreExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/errors";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront-keyvaluestore",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Keyvaluestore Client for Node.js, Browser and React Native",
4
- "version": "3.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,14 +19,14 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/signature-v4-multi-region": "^3.996.37",
25
- "@aws-sdk/types": "^3.973.14",
26
- "@smithy/core": "^3.28.0",
27
- "@smithy/fetch-http-handler": "^5.6.1",
28
- "@smithy/node-http-handler": "^4.9.1",
29
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/signature-v4-multi-region": "^3.996.38",
25
+ "@aws-sdk/types": "^3.973.15",
26
+ "@smithy/core": "^3.29.0",
27
+ "@smithy/fetch-http-handler": "^5.6.2",
28
+ "@smithy/node-http-handler": "^4.9.2",
29
+ "@smithy/types": "^4.15.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {