@aws-sdk/client-ebs 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 (37) hide show
  1. package/dist-cjs/commands/CompleteSnapshotCommand.js +18 -41
  2. package/dist-cjs/commands/GetSnapshotBlockCommand.js +18 -41
  3. package/dist-cjs/commands/ListChangedBlocksCommand.js +18 -41
  4. package/dist-cjs/commands/ListSnapshotBlocksCommand.js +18 -41
  5. package/dist-cjs/commands/PutSnapshotBlockCommand.js +18 -41
  6. package/dist-cjs/commands/StartSnapshotCommand.js +18 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-cjs/pagination/ListChangedBlocksPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListSnapshotBlocksPaginator.js +2 -24
  10. package/dist-es/commands/CompleteSnapshotCommand.js +18 -41
  11. package/dist-es/commands/GetSnapshotBlockCommand.js +18 -41
  12. package/dist-es/commands/ListChangedBlocksCommand.js +18 -41
  13. package/dist-es/commands/ListSnapshotBlocksCommand.js +18 -41
  14. package/dist-es/commands/PutSnapshotBlockCommand.js +18 -41
  15. package/dist-es/commands/StartSnapshotCommand.js +18 -41
  16. package/dist-es/endpoint/EndpointParameters.js +6 -0
  17. package/dist-es/pagination/ListChangedBlocksPaginator.js +2 -23
  18. package/dist-es/pagination/ListSnapshotBlocksPaginator.js +2 -23
  19. package/dist-types/commands/CompleteSnapshotCommand.d.ts +6 -21
  20. package/dist-types/commands/GetSnapshotBlockCommand.d.ts +6 -21
  21. package/dist-types/commands/ListChangedBlocksCommand.d.ts +6 -21
  22. package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +6 -21
  23. package/dist-types/commands/PutSnapshotBlockCommand.d.ts +6 -21
  24. package/dist-types/commands/StartSnapshotCommand.d.ts +6 -21
  25. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  26. package/dist-types/pagination/ListChangedBlocksPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +14 -23
  29. package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +13 -20
  30. package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +14 -23
  31. package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +14 -23
  32. package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +13 -20
  33. package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +14 -23
  34. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  35. package/dist-types/ts3.4/pagination/ListChangedBlocksPaginator.d.ts +3 -3
  36. package/dist-types/ts3.4/pagination/ListSnapshotBlocksPaginator.d.ts +3 -3
  37. 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
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {}
20
14
  export interface CompleteSnapshotCommandOutput
21
15
  extends CompleteSnapshotResponse,
22
16
  __MetadataBearer {}
23
- export declare class CompleteSnapshotCommand extends $Command<
24
- CompleteSnapshotCommandInput,
25
- CompleteSnapshotCommandOutput,
26
- EBSClientResolvedConfig
27
- > {
28
- readonly input: CompleteSnapshotCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: CompleteSnapshotCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: EBSClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const CompleteSnapshotCommand_base: {
18
+ new (
19
+ input: CompleteSnapshotCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ CompleteSnapshotCommandInput,
22
+ CompleteSnapshotCommandOutput,
23
+ EBSClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class CompleteSnapshotCommand extends CompleteSnapshotCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadOutputTypes,
9
5
  } from "@smithy/types";
10
6
  import {
@@ -26,19 +22,16 @@ export interface GetSnapshotBlockCommandOutput
26
22
  __MetadataBearer {
27
23
  BlockData?: StreamingBlobPayloadOutputTypes;
28
24
  }
29
- export declare class GetSnapshotBlockCommand extends $Command<
30
- GetSnapshotBlockCommandInput,
31
- GetSnapshotBlockCommandOutput,
32
- EBSClientResolvedConfig
33
- > {
34
- readonly input: GetSnapshotBlockCommandInput;
35
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
36
- constructor(input: GetSnapshotBlockCommandInput);
37
- resolveMiddleware(
38
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
39
- configuration: EBSClientResolvedConfig,
40
- options?: __HttpHandlerOptions
41
- ): Handler<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput>;
42
- private serialize;
43
- private deserialize;
44
- }
25
+ declare const GetSnapshotBlockCommand_base: {
26
+ new (
27
+ input: GetSnapshotBlockCommandInput
28
+ ): import("@smithy/smithy-client").CommandImpl<
29
+ GetSnapshotBlockCommandInput,
30
+ GetSnapshotBlockCommandOutput,
31
+ EBSClientResolvedConfig,
32
+ ServiceInputTypes,
33
+ ServiceOutputTypes
34
+ >;
35
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
36
+ };
37
+ export declare class GetSnapshotBlockCommand extends GetSnapshotBlockCommand_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
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface ListChangedBlocksCommandInput
21
15
  export interface ListChangedBlocksCommandOutput
22
16
  extends ListChangedBlocksResponse,
23
17
  __MetadataBearer {}
24
- export declare class ListChangedBlocksCommand extends $Command<
25
- ListChangedBlocksCommandInput,
26
- ListChangedBlocksCommandOutput,
27
- EBSClientResolvedConfig
28
- > {
29
- readonly input: ListChangedBlocksCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListChangedBlocksCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: EBSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const ListChangedBlocksCommand_base: {
19
+ new (
20
+ input: ListChangedBlocksCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListChangedBlocksCommandInput,
23
+ ListChangedBlocksCommandOutput,
24
+ EBSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListChangedBlocksCommand extends ListChangedBlocksCommand_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
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface ListSnapshotBlocksCommandInput
21
15
  export interface ListSnapshotBlocksCommandOutput
22
16
  extends ListSnapshotBlocksResponse,
23
17
  __MetadataBearer {}
24
- export declare class ListSnapshotBlocksCommand extends $Command<
25
- ListSnapshotBlocksCommandInput,
26
- ListSnapshotBlocksCommandOutput,
27
- EBSClientResolvedConfig
28
- > {
29
- readonly input: ListSnapshotBlocksCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListSnapshotBlocksCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: EBSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const ListSnapshotBlocksCommand_base: {
19
+ new (
20
+ input: ListSnapshotBlocksCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListSnapshotBlocksCommandInput,
23
+ ListSnapshotBlocksCommandOutput,
24
+ EBSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListSnapshotBlocksCommand extends ListSnapshotBlocksCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadInputTypes,
9
5
  } from "@smithy/types";
10
6
  import {
@@ -27,19 +23,16 @@ export interface PutSnapshotBlockCommandInput
27
23
  export interface PutSnapshotBlockCommandOutput
28
24
  extends PutSnapshotBlockResponse,
29
25
  __MetadataBearer {}
30
- export declare class PutSnapshotBlockCommand extends $Command<
31
- PutSnapshotBlockCommandInput,
32
- PutSnapshotBlockCommandOutput,
33
- EBSClientResolvedConfig
34
- > {
35
- readonly input: PutSnapshotBlockCommandInput;
36
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
37
- constructor(input: PutSnapshotBlockCommandInput);
38
- resolveMiddleware(
39
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
40
- configuration: EBSClientResolvedConfig,
41
- options?: __HttpHandlerOptions
42
- ): Handler<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput>;
43
- private serialize;
44
- private deserialize;
45
- }
26
+ declare const PutSnapshotBlockCommand_base: {
27
+ new (
28
+ input: PutSnapshotBlockCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ PutSnapshotBlockCommandInput,
31
+ PutSnapshotBlockCommandOutput,
32
+ EBSClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class PutSnapshotBlockCommand extends PutSnapshotBlockCommand_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
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface StartSnapshotCommandInput extends StartSnapshotRequest {}
20
14
  export interface StartSnapshotCommandOutput
21
15
  extends StartSnapshotResponse,
22
16
  __MetadataBearer {}
23
- export declare class StartSnapshotCommand extends $Command<
24
- StartSnapshotCommandInput,
25
- StartSnapshotCommandOutput,
26
- EBSClientResolvedConfig
27
- > {
28
- readonly input: StartSnapshotCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: StartSnapshotCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: EBSClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<StartSnapshotCommandInput, StartSnapshotCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const StartSnapshotCommand_base: {
18
+ new (
19
+ input: StartSnapshotCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ StartSnapshotCommandInput,
22
+ StartSnapshotCommandOutput,
23
+ EBSClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class StartSnapshotCommand extends StartSnapshotCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
@@ -4,8 +4,8 @@ import {
4
4
  ListChangedBlocksCommandOutput,
5
5
  } from "../commands/ListChangedBlocksCommand";
6
6
  import { EBSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListChangedBlocks(
7
+ export declare const paginateListChangedBlocks: (
8
8
  config: EBSPaginationConfiguration,
9
9
  input: ListChangedBlocksCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListChangedBlocksCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListChangedBlocksCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSnapshotBlocksCommandOutput,
5
5
  } from "../commands/ListSnapshotBlocksCommand";
6
6
  import { EBSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSnapshotBlocks(
7
+ export declare const paginateListSnapshotBlocks: (
8
8
  config: EBSPaginationConfiguration,
9
9
  input: ListSnapshotBlocksCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSnapshotBlocksCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSnapshotBlocksCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ebs",
3
3
  "description": "AWS SDK for JavaScript Ebs 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-stream": "^2.0.23",