@aws-sdk/client-cloudfront-keyvaluestore 3.456.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +253 -0
  3. package/dist-cjs/CloudFrontKeyValueStore.js +23 -0
  4. package/dist-cjs/CloudFrontKeyValueStoreClient.js +43 -0
  5. package/dist-cjs/commands/DeleteKeyCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +51 -0
  7. package/dist-cjs/commands/GetKeyCommand.js +52 -0
  8. package/dist-cjs/commands/ListKeysCommand.js +52 -0
  9. package/dist-cjs/commands/PutKeyCommand.js +52 -0
  10. package/dist-cjs/commands/UpdateKeysCommand.js +52 -0
  11. package/dist-cjs/commands/index.js +9 -0
  12. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  13. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  14. package/dist-cjs/endpoint/ruleset.js +7 -0
  15. package/dist-cjs/extensionConfiguration.js +2 -0
  16. package/dist-cjs/index.js +12 -0
  17. package/dist-cjs/models/CloudFrontKeyValueStoreServiceException.js +12 -0
  18. package/dist-cjs/models/index.js +4 -0
  19. package/dist-cjs/models/models_0.js +119 -0
  20. package/dist-cjs/pagination/Interfaces.js +2 -0
  21. package/dist-cjs/pagination/ListKeysPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +5 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +557 -0
  24. package/dist-cjs/runtimeConfig.browser.js +39 -0
  25. package/dist-cjs/runtimeConfig.js +50 -0
  26. package/dist-cjs/runtimeConfig.native.js +15 -0
  27. package/dist-cjs/runtimeConfig.shared.js +24 -0
  28. package/dist-cjs/runtimeExtensions.js +22 -0
  29. package/dist-es/CloudFrontKeyValueStore.js +19 -0
  30. package/dist-es/CloudFrontKeyValueStoreClient.js +39 -0
  31. package/dist-es/commands/DeleteKeyCommand.js +47 -0
  32. package/dist-es/commands/DescribeKeyValueStoreCommand.js +47 -0
  33. package/dist-es/commands/GetKeyCommand.js +48 -0
  34. package/dist-es/commands/ListKeysCommand.js +48 -0
  35. package/dist-es/commands/PutKeyCommand.js +48 -0
  36. package/dist-es/commands/UpdateKeysCommand.js +48 -0
  37. package/dist-es/commands/index.js +6 -0
  38. package/dist-es/endpoint/EndpointParameters.js +7 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +4 -0
  41. package/dist-es/extensionConfiguration.js +1 -0
  42. package/dist-es/index.js +7 -0
  43. package/dist-es/models/CloudFrontKeyValueStoreServiceException.js +8 -0
  44. package/dist-es/models/index.js +1 -0
  45. package/dist-es/models/models_0.js +104 -0
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/dist-es/pagination/ListKeysPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +2 -0
  49. package/dist-es/protocols/Aws_restJson1.js +542 -0
  50. package/dist-es/runtimeConfig.browser.js +34 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +11 -0
  53. package/dist-es/runtimeConfig.shared.js +20 -0
  54. package/dist-es/runtimeExtensions.js +18 -0
  55. package/dist-types/CloudFrontKeyValueStore.d.ts +52 -0
  56. package/dist-types/CloudFrontKeyValueStoreClient.d.ts +175 -0
  57. package/dist-types/commands/DeleteKeyCommand.d.ts +95 -0
  58. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +90 -0
  59. package/dist-types/commands/GetKeyCommand.d.ts +89 -0
  60. package/dist-types/commands/ListKeysCommand.d.ts +96 -0
  61. package/dist-types/commands/PutKeyCommand.d.ts +96 -0
  62. package/dist-types/commands/UpdateKeysCommand.d.ts +105 -0
  63. package/dist-types/commands/index.d.ts +6 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +21 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/extensionConfiguration.d.ts +8 -0
  68. package/dist-types/index.d.ts +15 -0
  69. package/dist-types/models/CloudFrontKeyValueStoreServiceException.d.ts +13 -0
  70. package/dist-types/models/index.d.ts +1 -0
  71. package/dist-types/models/models_0.d.ts +403 -0
  72. package/dist-types/pagination/Interfaces.d.ts +8 -0
  73. package/dist-types/pagination/ListKeysPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +2 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  77. package/dist-types/runtimeConfig.d.ts +46 -0
  78. package/dist-types/runtimeConfig.native.d.ts +45 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/ts3.4/CloudFrontKeyValueStore.d.ts +109 -0
  82. package/dist-types/ts3.4/CloudFrontKeyValueStoreClient.d.ts +157 -0
  83. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +35 -0
  84. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +33 -0
  86. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +35 -0
  87. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +33 -0
  88. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +35 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  90. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  91. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  92. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  93. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  94. package/dist-types/ts3.4/index.d.ts +10 -0
  95. package/dist-types/ts3.4/models/CloudFrontKeyValueStoreServiceException.d.ts +8 -0
  96. package/dist-types/ts3.4/models/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +139 -0
  98. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  99. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  101. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  106. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  107. package/package.json +102 -0
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "../commands/ListKeysCommand";
3
+ import { CloudFrontKeyValueStorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListKeys(config: CloudFrontKeyValueStorePaginationConfiguration, input: ListKeysCommandInput, ...additionalArguments: any): Paginator<ListKeysCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListKeysPaginator";
@@ -0,0 +1,56 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "../commands/DeleteKeyCommand";
4
+ import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "../commands/DescribeKeyValueStoreCommand";
5
+ import { GetKeyCommandInput, GetKeyCommandOutput } from "../commands/GetKeyCommand";
6
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "../commands/ListKeysCommand";
7
+ import { PutKeyCommandInput, PutKeyCommandOutput } from "../commands/PutKeyCommand";
8
+ import { UpdateKeysCommandInput, UpdateKeysCommandOutput } from "../commands/UpdateKeysCommand";
9
+ /**
10
+ * serializeAws_restJson1DeleteKeyCommand
11
+ */
12
+ export declare const se_DeleteKeyCommand: (input: DeleteKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ /**
14
+ * serializeAws_restJson1DescribeKeyValueStoreCommand
15
+ */
16
+ export declare const se_DescribeKeyValueStoreCommand: (input: DescribeKeyValueStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ /**
18
+ * serializeAws_restJson1GetKeyCommand
19
+ */
20
+ export declare const se_GetKeyCommand: (input: GetKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ /**
22
+ * serializeAws_restJson1ListKeysCommand
23
+ */
24
+ export declare const se_ListKeysCommand: (input: ListKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ /**
26
+ * serializeAws_restJson1PutKeyCommand
27
+ */
28
+ export declare const se_PutKeyCommand: (input: PutKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ /**
30
+ * serializeAws_restJson1UpdateKeysCommand
31
+ */
32
+ export declare const se_UpdateKeysCommand: (input: UpdateKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * deserializeAws_restJson1DeleteKeyCommand
35
+ */
36
+ export declare const de_DeleteKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKeyCommandOutput>;
37
+ /**
38
+ * deserializeAws_restJson1DescribeKeyValueStoreCommand
39
+ */
40
+ export declare const de_DescribeKeyValueStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeKeyValueStoreCommandOutput>;
41
+ /**
42
+ * deserializeAws_restJson1GetKeyCommand
43
+ */
44
+ export declare const de_GetKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKeyCommandOutput>;
45
+ /**
46
+ * deserializeAws_restJson1ListKeysCommand
47
+ */
48
+ export declare const de_ListKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKeysCommandOutput>;
49
+ /**
50
+ * deserializeAws_restJson1PutKeyCommand
51
+ */
52
+ export declare const de_PutKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutKeyCommandOutput>;
53
+ /**
54
+ * deserializeAws_restJson1UpdateKeysCommand
55
+ */
56
+ export declare const de_UpdateKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateKeysCommandOutput>;
@@ -0,0 +1,46 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ };
@@ -0,0 +1,46 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ };
@@ -0,0 +1,45 @@
1
+ import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
+ apiVersion: string;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: import("@smithy/types").Encoder;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: import("@smithy/types").Encoder;
20
+ disableHostPrefix: boolean;
21
+ serviceId: string;
22
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ region: string | import("@smithy/types").Provider<any>;
25
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
26
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
27
+ maxAttempts: number | import("@smithy/types").Provider<number>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
34
+ logger?: import("@smithy/types").Logger | undefined;
35
+ }) => import("@smithy/types").EndpointV2;
36
+ tls?: boolean | undefined;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
39
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
40
+ signingEscapePath?: boolean | undefined;
41
+ systemClockOffset?: number | undefined;
42
+ signingRegion?: string | undefined;
43
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
+ };
@@ -0,0 +1,19 @@
1
+ import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ logger: import("@smithy/types").Logger;
15
+ serviceId: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: import("@smithy/types").Encoder;
19
+ };
@@ -0,0 +1,17 @@
1
+ import { CloudFrontKeyValueStoreExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: CloudFrontKeyValueStoreExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,109 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CloudFrontKeyValueStoreClient } from "./CloudFrontKeyValueStoreClient";
3
+ import {
4
+ DeleteKeyCommandInput,
5
+ DeleteKeyCommandOutput,
6
+ } from "./commands/DeleteKeyCommand";
7
+ import {
8
+ DescribeKeyValueStoreCommandInput,
9
+ DescribeKeyValueStoreCommandOutput,
10
+ } from "./commands/DescribeKeyValueStoreCommand";
11
+ import {
12
+ GetKeyCommandInput,
13
+ GetKeyCommandOutput,
14
+ } from "./commands/GetKeyCommand";
15
+ import {
16
+ ListKeysCommandInput,
17
+ ListKeysCommandOutput,
18
+ } from "./commands/ListKeysCommand";
19
+ import {
20
+ PutKeyCommandInput,
21
+ PutKeyCommandOutput,
22
+ } from "./commands/PutKeyCommand";
23
+ import {
24
+ UpdateKeysCommandInput,
25
+ UpdateKeysCommandOutput,
26
+ } from "./commands/UpdateKeysCommand";
27
+ export interface CloudFrontKeyValueStore {
28
+ deleteKey(
29
+ args: DeleteKeyCommandInput,
30
+ options?: __HttpHandlerOptions
31
+ ): Promise<DeleteKeyCommandOutput>;
32
+ deleteKey(
33
+ args: DeleteKeyCommandInput,
34
+ cb: (err: any, data?: DeleteKeyCommandOutput) => void
35
+ ): void;
36
+ deleteKey(
37
+ args: DeleteKeyCommandInput,
38
+ options: __HttpHandlerOptions,
39
+ cb: (err: any, data?: DeleteKeyCommandOutput) => void
40
+ ): void;
41
+ describeKeyValueStore(
42
+ args: DescribeKeyValueStoreCommandInput,
43
+ options?: __HttpHandlerOptions
44
+ ): Promise<DescribeKeyValueStoreCommandOutput>;
45
+ describeKeyValueStore(
46
+ args: DescribeKeyValueStoreCommandInput,
47
+ cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void
48
+ ): void;
49
+ describeKeyValueStore(
50
+ args: DescribeKeyValueStoreCommandInput,
51
+ options: __HttpHandlerOptions,
52
+ cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void
53
+ ): void;
54
+ getKey(
55
+ args: GetKeyCommandInput,
56
+ options?: __HttpHandlerOptions
57
+ ): Promise<GetKeyCommandOutput>;
58
+ getKey(
59
+ args: GetKeyCommandInput,
60
+ cb: (err: any, data?: GetKeyCommandOutput) => void
61
+ ): void;
62
+ getKey(
63
+ args: GetKeyCommandInput,
64
+ options: __HttpHandlerOptions,
65
+ cb: (err: any, data?: GetKeyCommandOutput) => void
66
+ ): void;
67
+ listKeys(
68
+ args: ListKeysCommandInput,
69
+ options?: __HttpHandlerOptions
70
+ ): Promise<ListKeysCommandOutput>;
71
+ listKeys(
72
+ args: ListKeysCommandInput,
73
+ cb: (err: any, data?: ListKeysCommandOutput) => void
74
+ ): void;
75
+ listKeys(
76
+ args: ListKeysCommandInput,
77
+ options: __HttpHandlerOptions,
78
+ cb: (err: any, data?: ListKeysCommandOutput) => void
79
+ ): void;
80
+ putKey(
81
+ args: PutKeyCommandInput,
82
+ options?: __HttpHandlerOptions
83
+ ): Promise<PutKeyCommandOutput>;
84
+ putKey(
85
+ args: PutKeyCommandInput,
86
+ cb: (err: any, data?: PutKeyCommandOutput) => void
87
+ ): void;
88
+ putKey(
89
+ args: PutKeyCommandInput,
90
+ options: __HttpHandlerOptions,
91
+ cb: (err: any, data?: PutKeyCommandOutput) => void
92
+ ): void;
93
+ updateKeys(
94
+ args: UpdateKeysCommandInput,
95
+ options?: __HttpHandlerOptions
96
+ ): Promise<UpdateKeysCommandOutput>;
97
+ updateKeys(
98
+ args: UpdateKeysCommandInput,
99
+ cb: (err: any, data?: UpdateKeysCommandOutput) => void
100
+ ): void;
101
+ updateKeys(
102
+ args: UpdateKeysCommandInput,
103
+ options: __HttpHandlerOptions,
104
+ cb: (err: any, data?: UpdateKeysCommandOutput) => void
105
+ ): void;
106
+ }
107
+ export declare class CloudFrontKeyValueStore
108
+ extends CloudFrontKeyValueStoreClient
109
+ implements CloudFrontKeyValueStore {}
@@ -0,0 +1,157 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ AwsAuthInputConfig,
7
+ AwsAuthResolvedConfig,
8
+ } from "@aws-sdk/middleware-signing";
9
+ import {
10
+ UserAgentInputConfig,
11
+ UserAgentResolvedConfig,
12
+ } from "@aws-sdk/middleware-user-agent";
13
+ import { Credentials as __Credentials } from "@aws-sdk/types";
14
+ import {
15
+ RegionInputConfig,
16
+ RegionResolvedConfig,
17
+ } from "@smithy/config-resolver";
18
+ import {
19
+ EndpointInputConfig,
20
+ EndpointResolvedConfig,
21
+ } from "@smithy/middleware-endpoint";
22
+ import {
23
+ RetryInputConfig,
24
+ RetryResolvedConfig,
25
+ } from "@smithy/middleware-retry";
26
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
27
+ import {
28
+ Client as __Client,
29
+ DefaultsMode as __DefaultsMode,
30
+ SmithyConfiguration as __SmithyConfiguration,
31
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
+ } from "@smithy/smithy-client";
33
+ import {
34
+ BodyLengthCalculator as __BodyLengthCalculator,
35
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
+ ChecksumConstructor as __ChecksumConstructor,
37
+ Decoder as __Decoder,
38
+ Encoder as __Encoder,
39
+ HashConstructor as __HashConstructor,
40
+ HttpHandlerOptions as __HttpHandlerOptions,
41
+ Logger as __Logger,
42
+ Provider as __Provider,
43
+ Provider,
44
+ StreamCollector as __StreamCollector,
45
+ UrlParser as __UrlParser,
46
+ UserAgent as __UserAgent,
47
+ } from "@smithy/types";
48
+ import {
49
+ DeleteKeyCommandInput,
50
+ DeleteKeyCommandOutput,
51
+ } from "./commands/DeleteKeyCommand";
52
+ import {
53
+ DescribeKeyValueStoreCommandInput,
54
+ DescribeKeyValueStoreCommandOutput,
55
+ } from "./commands/DescribeKeyValueStoreCommand";
56
+ import {
57
+ GetKeyCommandInput,
58
+ GetKeyCommandOutput,
59
+ } from "./commands/GetKeyCommand";
60
+ import {
61
+ ListKeysCommandInput,
62
+ ListKeysCommandOutput,
63
+ } from "./commands/ListKeysCommand";
64
+ import {
65
+ PutKeyCommandInput,
66
+ PutKeyCommandOutput,
67
+ } from "./commands/PutKeyCommand";
68
+ import {
69
+ UpdateKeysCommandInput,
70
+ UpdateKeysCommandOutput,
71
+ } from "./commands/UpdateKeysCommand";
72
+ import {
73
+ ClientInputEndpointParameters,
74
+ ClientResolvedEndpointParameters,
75
+ EndpointParameters,
76
+ } from "./endpoint/EndpointParameters";
77
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
78
+ export { __Client };
79
+ export type ServiceInputTypes =
80
+ | DeleteKeyCommandInput
81
+ | DescribeKeyValueStoreCommandInput
82
+ | GetKeyCommandInput
83
+ | ListKeysCommandInput
84
+ | PutKeyCommandInput
85
+ | UpdateKeysCommandInput;
86
+ export type ServiceOutputTypes =
87
+ | DeleteKeyCommandOutput
88
+ | DescribeKeyValueStoreCommandOutput
89
+ | GetKeyCommandOutput
90
+ | ListKeysCommandOutput
91
+ | PutKeyCommandOutput
92
+ | UpdateKeysCommandOutput;
93
+ export interface ClientDefaults
94
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
95
+ requestHandler?: __HttpHandler;
96
+ sha256?: __ChecksumConstructor | __HashConstructor;
97
+ urlParser?: __UrlParser;
98
+ bodyLengthChecker?: __BodyLengthCalculator;
99
+ streamCollector?: __StreamCollector;
100
+ base64Decoder?: __Decoder;
101
+ base64Encoder?: __Encoder;
102
+ utf8Decoder?: __Decoder;
103
+ utf8Encoder?: __Encoder;
104
+ runtime?: string;
105
+ disableHostPrefix?: boolean;
106
+ serviceId?: string;
107
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
108
+ useFipsEndpoint?: boolean | __Provider<boolean>;
109
+ region?: string | __Provider<string>;
110
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
111
+ defaultUserAgentProvider?: Provider<__UserAgent>;
112
+ maxAttempts?: number | __Provider<number>;
113
+ retryMode?: string | __Provider<string>;
114
+ logger?: __Logger;
115
+ extensions?: RuntimeExtension[];
116
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
117
+ }
118
+ export type CloudFrontKeyValueStoreClientConfigType = Partial<
119
+ __SmithyConfiguration<__HttpHandlerOptions>
120
+ > &
121
+ ClientDefaults &
122
+ RegionInputConfig &
123
+ EndpointInputConfig<EndpointParameters> &
124
+ RetryInputConfig &
125
+ HostHeaderInputConfig &
126
+ AwsAuthInputConfig &
127
+ UserAgentInputConfig &
128
+ ClientInputEndpointParameters;
129
+ export interface CloudFrontKeyValueStoreClientConfig
130
+ extends CloudFrontKeyValueStoreClientConfigType {}
131
+ export type CloudFrontKeyValueStoreClientResolvedConfigType =
132
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
133
+ Required<ClientDefaults> &
134
+ RuntimeExtensionsConfig &
135
+ RegionResolvedConfig &
136
+ EndpointResolvedConfig<EndpointParameters> &
137
+ RetryResolvedConfig &
138
+ HostHeaderResolvedConfig &
139
+ AwsAuthResolvedConfig &
140
+ UserAgentResolvedConfig &
141
+ ClientResolvedEndpointParameters;
142
+ export interface CloudFrontKeyValueStoreClientResolvedConfig
143
+ extends CloudFrontKeyValueStoreClientResolvedConfigType {}
144
+ export declare class CloudFrontKeyValueStoreClient extends __Client<
145
+ __HttpHandlerOptions,
146
+ ServiceInputTypes,
147
+ ServiceOutputTypes,
148
+ CloudFrontKeyValueStoreClientResolvedConfig
149
+ > {
150
+ readonly config: CloudFrontKeyValueStoreClientResolvedConfig;
151
+ constructor(
152
+ ...[
153
+ configuration,
154
+ ]: __CheckOptionalClientConfig<CloudFrontKeyValueStoreClientConfig>
155
+ );
156
+ destroy(): void;
157
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudFrontKeyValueStoreClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontKeyValueStoreClient";
14
+ import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface DeleteKeyCommandInput extends DeleteKeyRequest {}
17
+ export interface DeleteKeyCommandOutput
18
+ extends DeleteKeyResponse,
19
+ __MetadataBearer {}
20
+ export declare class DeleteKeyCommand extends $Command<
21
+ DeleteKeyCommandInput,
22
+ DeleteKeyCommandOutput,
23
+ CloudFrontKeyValueStoreClientResolvedConfig
24
+ > {
25
+ readonly input: DeleteKeyCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: DeleteKeyCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: CloudFrontKeyValueStoreClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<DeleteKeyCommandInput, DeleteKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudFrontKeyValueStoreClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontKeyValueStoreClient";
14
+ import {
15
+ DescribeKeyValueStoreRequest,
16
+ DescribeKeyValueStoreResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeKeyValueStoreCommandInput
20
+ extends DescribeKeyValueStoreRequest {}
21
+ export interface DescribeKeyValueStoreCommandOutput
22
+ extends DescribeKeyValueStoreResponse,
23
+ __MetadataBearer {}
24
+ export declare class DescribeKeyValueStoreCommand extends $Command<
25
+ DescribeKeyValueStoreCommandInput,
26
+ DescribeKeyValueStoreCommandOutput,
27
+ CloudFrontKeyValueStoreClientResolvedConfig
28
+ > {
29
+ readonly input: DescribeKeyValueStoreCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DescribeKeyValueStoreCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: CloudFrontKeyValueStoreClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DescribeKeyValueStoreCommandInput,
38
+ DescribeKeyValueStoreCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,33 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudFrontKeyValueStoreClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontKeyValueStoreClient";
14
+ import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface GetKeyCommandInput extends GetKeyRequest {}
17
+ export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {}
18
+ export declare class GetKeyCommand extends $Command<
19
+ GetKeyCommandInput,
20
+ GetKeyCommandOutput,
21
+ CloudFrontKeyValueStoreClientResolvedConfig
22
+ > {
23
+ readonly input: GetKeyCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
+ constructor(input: GetKeyCommandInput);
26
+ resolveMiddleware(
27
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
+ configuration: CloudFrontKeyValueStoreClientResolvedConfig,
29
+ options?: __HttpHandlerOptions
30
+ ): Handler<GetKeyCommandInput, GetKeyCommandOutput>;
31
+ private serialize;
32
+ private deserialize;
33
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudFrontKeyValueStoreClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudFrontKeyValueStoreClient";
14
+ import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListKeysCommandInput extends ListKeysRequest {}
17
+ export interface ListKeysCommandOutput
18
+ extends ListKeysResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListKeysCommand extends $Command<
21
+ ListKeysCommandInput,
22
+ ListKeysCommandOutput,
23
+ CloudFrontKeyValueStoreClientResolvedConfig
24
+ > {
25
+ readonly input: ListKeysCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListKeysCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: CloudFrontKeyValueStoreClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListKeysCommandInput, ListKeysCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }