@aws-sdk/client-cloudfront-keyvaluestore 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist-cjs/commands/DeleteKeyCommand.js +19 -41
  2. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +19 -41
  3. package/dist-cjs/commands/GetKeyCommand.js +19 -41
  4. package/dist-cjs/commands/ListKeysCommand.js +19 -41
  5. package/dist-cjs/commands/PutKeyCommand.js +19 -41
  6. package/dist-cjs/commands/UpdateKeysCommand.js +19 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +6 -1
  8. package/dist-cjs/pagination/ListKeysPaginator.js +2 -24
  9. package/dist-es/commands/DeleteKeyCommand.js +19 -41
  10. package/dist-es/commands/DescribeKeyValueStoreCommand.js +19 -41
  11. package/dist-es/commands/GetKeyCommand.js +19 -41
  12. package/dist-es/commands/ListKeysCommand.js +19 -41
  13. package/dist-es/commands/PutKeyCommand.js +19 -41
  14. package/dist-es/commands/UpdateKeysCommand.js +19 -41
  15. package/dist-es/endpoint/EndpointParameters.js +5 -0
  16. package/dist-es/pagination/ListKeysPaginator.js +2 -23
  17. package/dist-types/commands/DeleteKeyCommand.d.ts +6 -21
  18. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +6 -21
  19. package/dist-types/commands/GetKeyCommand.d.ts +6 -21
  20. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  21. package/dist-types/commands/PutKeyCommand.d.ts +6 -21
  22. package/dist-types/commands/UpdateKeysCommand.d.ts +6 -21
  23. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  24. package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +12 -24
  27. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +12 -23
  28. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  29. package/dist-types/ts3.4/commands/PutKeyCommand.d.ts +12 -23
  30. package/dist-types/ts3.4/commands/UpdateKeysCommand.d.ts +14 -23
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  32. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +3 -3
  33. package/package.json +11 -11
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface DeleteKeyCommandInput extends DeleteKeyRequest {}
17
11
  export interface DeleteKeyCommandOutput
18
12
  extends DeleteKeyResponse,
19
13
  __MetadataBearer {}
20
- export declare class DeleteKeyCommand extends $Command<
21
- DeleteKeyCommandInput,
22
- DeleteKeyCommandOutput,
23
- CloudFrontKeyValueStoreClientResolvedConfig
24
- > {
25
- readonly input: DeleteKeyCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: DeleteKeyCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<DeleteKeyCommandInput, DeleteKeyCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const DeleteKeyCommand_base: {
15
+ new (
16
+ input: DeleteKeyCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ DeleteKeyCommandInput,
19
+ DeleteKeyCommandOutput,
20
+ CloudFrontKeyValueStoreClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class DeleteKeyCommand extends DeleteKeyCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface DescribeKeyValueStoreCommandInput
21
15
  export interface DescribeKeyValueStoreCommandOutput
22
16
  extends DescribeKeyValueStoreResponse,
23
17
  __MetadataBearer {}
24
- export declare class DescribeKeyValueStoreCommand extends $Command<
25
- DescribeKeyValueStoreCommandInput,
26
- DescribeKeyValueStoreCommandOutput,
27
- CloudFrontKeyValueStoreClientResolvedConfig
28
- > {
29
- readonly input: DescribeKeyValueStoreCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DescribeKeyValueStoreCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const DescribeKeyValueStoreCommand_base: {
19
+ new (
20
+ input: DescribeKeyValueStoreCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  DescribeKeyValueStoreCommandInput,
38
- DescribeKeyValueStoreCommandOutput
23
+ DescribeKeyValueStoreCommandOutput,
24
+ CloudFrontKeyValueStoreClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DescribeKeyValueStoreCommand extends DescribeKeyValueStoreCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,14 @@ import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface GetKeyCommandInput extends GetKeyRequest {}
17
11
  export interface GetKeyCommandOutput extends GetKeyResponse, __MetadataBearer {}
18
- export declare class GetKeyCommand extends $Command<
19
- GetKeyCommandInput,
20
- GetKeyCommandOutput,
21
- CloudFrontKeyValueStoreClientResolvedConfig
22
- > {
23
- readonly input: GetKeyCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: GetKeyCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<GetKeyCommandInput, GetKeyCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const GetKeyCommand_base: {
13
+ new (input: GetKeyCommandInput): import("@smithy/smithy-client").CommandImpl<
14
+ GetKeyCommandInput,
15
+ GetKeyCommandOutput,
16
+ CloudFrontKeyValueStoreClientResolvedConfig,
17
+ ServiceInputTypes,
18
+ ServiceOutputTypes
19
+ >;
20
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
+ };
22
+ export declare class GetKeyCommand extends GetKeyCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface ListKeysCommandInput extends ListKeysRequest {}
17
11
  export interface ListKeysCommandOutput
18
12
  extends ListKeysResponse,
19
13
  __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
- }
14
+ declare const ListKeysCommand_base: {
15
+ new (
16
+ input: ListKeysCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ListKeysCommandInput,
19
+ ListKeysCommandOutput,
20
+ CloudFrontKeyValueStoreClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ListKeysCommand extends ListKeysCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,14 @@ import { PutKeyRequest, PutKeyResponse } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface PutKeyCommandInput extends PutKeyRequest {}
17
11
  export interface PutKeyCommandOutput extends PutKeyResponse, __MetadataBearer {}
18
- export declare class PutKeyCommand extends $Command<
19
- PutKeyCommandInput,
20
- PutKeyCommandOutput,
21
- CloudFrontKeyValueStoreClientResolvedConfig
22
- > {
23
- readonly input: PutKeyCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: PutKeyCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<PutKeyCommandInput, PutKeyCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const PutKeyCommand_base: {
13
+ new (input: PutKeyCommandInput): import("@smithy/smithy-client").CommandImpl<
14
+ PutKeyCommandInput,
15
+ PutKeyCommandOutput,
16
+ CloudFrontKeyValueStoreClientResolvedConfig,
17
+ ServiceInputTypes,
18
+ ServiceOutputTypes
19
+ >;
20
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
+ };
22
+ export declare class PutKeyCommand extends PutKeyCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudFrontKeyValueStoreClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface UpdateKeysCommandInput extends UpdateKeysRequest {}
17
11
  export interface UpdateKeysCommandOutput
18
12
  extends UpdateKeysResponse,
19
13
  __MetadataBearer {}
20
- export declare class UpdateKeysCommand extends $Command<
21
- UpdateKeysCommandInput,
22
- UpdateKeysCommandOutput,
23
- CloudFrontKeyValueStoreClientResolvedConfig
24
- > {
25
- readonly input: UpdateKeysCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: UpdateKeysCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudFrontKeyValueStoreClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateKeysCommandInput, UpdateKeysCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const UpdateKeysCommand_base: {
15
+ new (
16
+ input: UpdateKeysCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ UpdateKeysCommandInput,
19
+ UpdateKeysCommandOutput,
20
+ CloudFrontKeyValueStoreClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class UpdateKeysCommand extends UpdateKeysCommand_base {}
@@ -24,6 +24,20 @@ export declare const resolveClientEndpointParameters: <T>(
24
24
  ClientInputEndpointParameters & {
25
25
  defaultSigningName: string;
26
26
  };
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
27
41
  export interface EndpointParameters extends __EndpointParameters {
28
42
  KvsARN?: string;
29
43
  Region?: string;
@@ -4,8 +4,8 @@ import {
4
4
  ListKeysCommandOutput,
5
5
  } from "../commands/ListKeysCommand";
6
6
  import { CloudFrontKeyValueStorePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListKeys(
7
+ export declare const paginateListKeys: (
8
8
  config: CloudFrontKeyValueStorePaginationConfiguration,
9
9
  input: ListKeysCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListKeysCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListKeysCommandOutput>;
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.477.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",