@aws-sdk/client-cloudfront-keyvaluestore 3.1076.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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +18 -82
  2. package/dist-es/commandBuilder.js +8 -0
  3. package/dist-es/commands/DeleteKeyCommand.js +2 -17
  4. package/dist-es/commands/DescribeKeyValueStoreCommand.js +2 -17
  5. package/dist-es/commands/GetKeyCommand.js +2 -17
  6. package/dist-es/commands/ListKeysCommand.js +2 -17
  7. package/dist-es/commands/PutKeyCommand.js +2 -17
  8. package/dist-es/commands/UpdateKeysCommand.js +2 -17
  9. package/dist-es/index.js +1 -0
  10. package/dist-es/runtimeConfig.browser.js +0 -2
  11. package/dist-es/runtimeConfig.js +1 -2
  12. package/dist-es/runtimeConfig.native.js +0 -2
  13. package/dist-es/runtimeConfig.shared.js +2 -0
  14. package/dist-types/commandBuilder.d.ts +18 -0
  15. package/dist-types/commands/DeleteKeyCommand.d.ts +3 -8
  16. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +3 -8
  17. package/dist-types/commands/GetKeyCommand.d.ts +3 -8
  18. package/dist-types/commands/ListKeysCommand.d.ts +3 -8
  19. package/dist-types/commands/PutKeyCommand.d.ts +3 -8
  20. package/dist-types/commands/UpdateKeysCommand.d.ts +3 -8
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  23. package/dist-types/runtimeConfig.d.ts +1 -1
  24. package/dist-types/runtimeConfig.native.d.ts +1 -1
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  27. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +7 -16
  28. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +7 -16
  29. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  38. package/package.json +9 -11
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");
@@ -11,9 +12,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, resolveAwsSdkSigV4AConfig, AwsSdkSigV4Signer, AwsSdkSigV4ASigner, NODE_SIGV4A_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { SignatureV4MultiRegion } = require("@aws-sdk/signature-v4-multi-region");
13
14
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
16
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
16
17
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
18
+ const { Sha256 } = require("@smithy/core/checksum");
17
19
 
18
20
  const o = "ref";
19
21
  const a = -1, b = "isSet", c = "parsedArn", d = "stringEquals", e = "getAttr", f = "arnType", g = "partitionResult", h = { [o]: c }, i = { [o]: f }, j = { "fn": e, "argv": [h, "partition"] }, k = { "authSchemes": [{ "name": "sigv4a", "signingName": "cloudfront-keyvaluestore", "signingRegionSet": ["*"] }] }, l = [{ [o]: "KvsARN" }], m = [{ [o]: "Region" }], n = [{ [o]: "Endpoint" }];
@@ -213,7 +215,7 @@ const commonParams = {
213
215
  Region: { type: "builtInParams", name: "region" },
214
216
  };
215
217
 
216
- var version = "3.1075.0";
218
+ var version = "3.1077.0";
217
219
  var packageInfo = {
218
220
  version: version};
219
221
 
@@ -546,6 +548,7 @@ const getRuntimeConfig$1 = (config) => {
546
548
  serviceTarget: "CloudFrontKeyValueStore",
547
549
  },
548
550
  serviceId: config?.serviceId ?? "CloudFront KeyValueStore",
551
+ sha256: config?.sha256 ?? Sha256,
549
552
  signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
550
553
  urlParser: config?.urlParser ?? parseUrl,
551
554
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -580,7 +583,6 @@ const getRuntimeConfig = (config) => {
580
583
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
581
584
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
582
585
  }, config),
583
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
584
586
  sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
585
587
  streamCollector: config?.streamCollector ?? streamCollector,
586
588
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -670,94 +672,28 @@ class CloudFrontKeyValueStoreClient extends Client {
670
672
  }
671
673
  }
672
674
 
673
- class DeleteKeyCommand extends Command
674
- .classBuilder()
675
- .ep({
676
- ...commonParams,
675
+ const command = makeBuilder(commonParams, "CloudFrontKeyValueStore", "CloudFrontKeyValueStoreClient", getEndpointPlugin);
676
+ const _ep0 = {
677
677
  KvsARN: { type: "contextParams", name: "KvsARN" },
678
- })
679
- .m(function (Command, cs, config, o) {
680
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
681
- })
682
- .s("CloudFrontKeyValueStore", "DeleteKey", {})
683
- .n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand")
684
- .sc(DeleteKey$)
685
- .build() {
678
+ };
679
+ const _mw0 = (Command, cs, config, o) => [];
680
+
681
+ class DeleteKeyCommand extends command(_ep0, _mw0, "DeleteKey", DeleteKey$) {
686
682
  }
687
683
 
688
- class DescribeKeyValueStoreCommand extends Command
689
- .classBuilder()
690
- .ep({
691
- ...commonParams,
692
- KvsARN: { type: "contextParams", name: "KvsARN" },
693
- })
694
- .m(function (Command, cs, config, o) {
695
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
696
- })
697
- .s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {})
698
- .n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand")
699
- .sc(DescribeKeyValueStore$)
700
- .build() {
684
+ class DescribeKeyValueStoreCommand extends command(_ep0, _mw0, "DescribeKeyValueStore", DescribeKeyValueStore$) {
701
685
  }
702
686
 
703
- class GetKeyCommand extends Command
704
- .classBuilder()
705
- .ep({
706
- ...commonParams,
707
- KvsARN: { type: "contextParams", name: "KvsARN" },
708
- })
709
- .m(function (Command, cs, config, o) {
710
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
711
- })
712
- .s("CloudFrontKeyValueStore", "GetKey", {})
713
- .n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
714
- .sc(GetKey$)
715
- .build() {
687
+ class GetKeyCommand extends command(_ep0, _mw0, "GetKey", GetKey$) {
716
688
  }
717
689
 
718
- class ListKeysCommand extends Command
719
- .classBuilder()
720
- .ep({
721
- ...commonParams,
722
- KvsARN: { type: "contextParams", name: "KvsARN" },
723
- })
724
- .m(function (Command, cs, config, o) {
725
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
726
- })
727
- .s("CloudFrontKeyValueStore", "ListKeys", {})
728
- .n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
729
- .sc(ListKeys$)
730
- .build() {
690
+ class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
731
691
  }
732
692
 
733
- class PutKeyCommand extends Command
734
- .classBuilder()
735
- .ep({
736
- ...commonParams,
737
- KvsARN: { type: "contextParams", name: "KvsARN" },
738
- })
739
- .m(function (Command, cs, config, o) {
740
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
741
- })
742
- .s("CloudFrontKeyValueStore", "PutKey", {})
743
- .n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
744
- .sc(PutKey$)
745
- .build() {
693
+ class PutKeyCommand extends command(_ep0, _mw0, "PutKey", PutKey$) {
746
694
  }
747
695
 
748
- class UpdateKeysCommand extends Command
749
- .classBuilder()
750
- .ep({
751
- ...commonParams,
752
- KvsARN: { type: "contextParams", name: "KvsARN" },
753
- })
754
- .m(function (Command, cs, config, o) {
755
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
756
- })
757
- .s("CloudFrontKeyValueStore", "UpdateKeys", {})
758
- .n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
759
- .sc(UpdateKeys$)
760
- .build() {
696
+ class UpdateKeysCommand extends command(_ep0, _mw0, "UpdateKeys", UpdateKeys$) {
761
697
  }
762
698
 
763
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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
40
39
  streamCollector: config?.streamCollector ?? streamCollector,
41
40
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,6 +1,7 @@
1
1
  import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
3
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
4
+ import { Sha256 } from "@smithy/core/checksum";
4
5
  import { NoOpLogger } from "@smithy/core/client";
5
6
  import { parseUrl } from "@smithy/core/protocols";
6
7
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -37,6 +38,7 @@ export const getRuntimeConfig = (config) => {
37
38
  serviceTarget: "CloudFrontKeyValueStore",
38
39
  },
39
40
  serviceId: config?.serviceId ?? "CloudFront KeyValueStore",
41
+ sha256: config?.sha256 ?? Sha256,
40
42
  signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
41
43
  urlParser: config?.urlParser ?? parseUrl,
42
44
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -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";
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
19
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
20
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
27
26
  [setting: string]: unknown;
28
27
  };
29
28
  apiVersion: string;
29
+ sha256: import("@smithy/types").HashConstructor;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
32
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueSt
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
22
22
  defaultNamespace?: string;
23
23
  };
24
24
  serviceId: string;
25
+ sha256: import("@smithy/types").HashConstructor;
25
26
  signerConstructor: typeof SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  utf8Decoder: import("@smithy/types").Decoder;
@@ -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";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
26
  sigv4aSigningRegionSet:
28
27
  | string[]
29
28
  | import("@smithy/types").Provider<string[] | undefined>;
@@ -47,6 +46,7 @@ export declare const getRuntimeConfig: (
47
46
  [setting: string]: unknown;
48
47
  };
49
48
  apiVersion: string;
49
+ sha256: import("@smithy/types").HashConstructor;
50
50
  urlParser: import("@smithy/types").UrlParser;
51
51
  base64Decoder: import("@smithy/types").Decoder;
52
52
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
3
3
  config: CloudFrontKeyValueStoreClientConfig
4
4
  ) => {
5
5
  runtime: string;
6
- sha256: import("@smithy/types").HashConstructor;
7
6
  requestHandler:
8
7
  | import("@smithy/types").NodeHttpHandlerOptions
9
8
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
20
19
  [setting: string]: unknown;
21
20
  };
22
21
  apiVersion: string;
22
+ sha256: import("@smithy/types").HashConstructor;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
25
  streamCollector: (
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (
27
27
  defaultNamespace?: string;
28
28
  };
29
29
  serviceId: string;
30
+ sha256: import("@smithy/types").HashConstructor;
30
31
  signerConstructor:
31
32
  | typeof SignatureV4MultiRegion
32
33
  | (new (
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.1076.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,16 +19,14 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/signature-v4-multi-region": "^3.996.36",
27
- "@aws-sdk/types": "^3.973.14",
28
- "@smithy/core": "^3.27.0",
29
- "@smithy/fetch-http-handler": "^5.6.0",
30
- "@smithy/node-http-handler": "^4.9.0",
31
- "@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",
32
30
  "tslib": "^2.6.2"
33
31
  },
34
32
  "devDependencies": {