@aws-sdk/client-ebs 3.335.0 → 3.338.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/EBSClient.js +2 -1
  2. package/dist-cjs/commands/CompleteSnapshotCommand.js +2 -1
  3. package/dist-cjs/commands/GetSnapshotBlockCommand.js +2 -1
  4. package/dist-cjs/commands/ListChangedBlocksCommand.js +2 -1
  5. package/dist-cjs/commands/ListSnapshotBlocksCommand.js +2 -1
  6. package/dist-cjs/commands/PutSnapshotBlockCommand.js +2 -1
  7. package/dist-cjs/commands/StartSnapshotCommand.js +2 -1
  8. package/dist-cjs/index.js +2 -2
  9. package/dist-cjs/models/EBSServiceException.js +2 -1
  10. package/dist-es/EBSClient.js +1 -0
  11. package/dist-es/commands/CompleteSnapshotCommand.js +1 -0
  12. package/dist-es/commands/GetSnapshotBlockCommand.js +1 -0
  13. package/dist-es/commands/ListChangedBlocksCommand.js +1 -0
  14. package/dist-es/commands/ListSnapshotBlocksCommand.js +1 -0
  15. package/dist-es/commands/PutSnapshotBlockCommand.js +1 -0
  16. package/dist-es/commands/StartSnapshotCommand.js +1 -0
  17. package/dist-es/index.js +2 -2
  18. package/dist-es/models/EBSServiceException.js +1 -0
  19. package/dist-types/EBSClient.d.ts +3 -3
  20. package/dist-types/commands/CompleteSnapshotCommand.d.ts +4 -0
  21. package/dist-types/commands/GetSnapshotBlockCommand.d.ts +4 -0
  22. package/dist-types/commands/ListChangedBlocksCommand.d.ts +4 -0
  23. package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +4 -0
  24. package/dist-types/commands/PutSnapshotBlockCommand.d.ts +4 -0
  25. package/dist-types/commands/StartSnapshotCommand.d.ts +4 -0
  26. package/dist-types/index.d.ts +26 -2
  27. package/dist-types/models/EBSServiceException.d.ts +1 -0
  28. package/dist-types/ts3.4/EBSClient.d.ts +3 -3
  29. package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +1 -0
  30. package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +1 -0
  31. package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +1 -0
  32. package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +1 -0
  33. package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +1 -0
  34. package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +1 -0
  35. package/dist-types/ts3.4/index.d.ts +2 -2
  36. package/dist-types/ts3.4/models/EBSServiceException.d.ts +1 -0
  37. package/package.json +30 -30
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EBSClient = void 0;
3
+ exports.EBSClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class EBSClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompleteSnapshotCommand = void 0;
3
+ exports.CompleteSnapshotCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CompleteSnapshotCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSnapshotBlockCommand = void 0;
3
+ exports.GetSnapshotBlockCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetSnapshotBlockCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListChangedBlocksCommand = void 0;
3
+ exports.ListChangedBlocksCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListChangedBlocksCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListSnapshotBlocksCommand = void 0;
3
+ exports.ListSnapshotBlocksCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListSnapshotBlocksCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutSnapshotBlockCommand = void 0;
3
+ exports.PutSnapshotBlockCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class PutSnapshotBlockCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSnapshotCommand = void 0;
3
+ exports.StartSnapshotCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class StartSnapshotCommand extends smithy_client_1.Command {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EBSServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./EBS"), exports);
6
5
  tslib_1.__exportStar(require("./EBSClient"), exports);
6
+ tslib_1.__exportStar(require("./EBS"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var EBSServiceException_1 = require("./models/EBSServiceException");
11
11
  Object.defineProperty(exports, "EBSServiceException", { enumerable: true, get: function () { return EBSServiceException_1.EBSServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EBSServiceException = void 0;
3
+ exports.EBSServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class EBSServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class EBSClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CompleteSnapshotCommand, se_CompleteSnapshotCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CompleteSnapshotCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetSnapshotBlockResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_GetSnapshotBlockCommand, se_GetSnapshotBlockCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class GetSnapshotBlockCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChangedBlocksResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_ListChangedBlocksCommand, se_ListChangedBlocksCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class ListChangedBlocksCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListSnapshotBlocksResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_ListSnapshotBlocksCommand, se_ListSnapshotBlocksCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class ListSnapshotBlocksCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutSnapshotBlockRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_PutSnapshotBlockCommand, se_PutSnapshotBlockCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class PutSnapshotBlockCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StartSnapshotRequestFilterSensitiveLog, StartSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_StartSnapshotCommand, se_StartSnapshotCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class StartSnapshotCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./EBS";
2
1
  export * from "./EBSClient";
2
+ export * from "./EBS";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { EBSServiceException } from "./models/EBSServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class EBSServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -15,6 +15,7 @@ import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from
15
15
  import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
16
16
  import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
17
17
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
18
+ export { __Client };
18
19
  /**
19
20
  * @public
20
21
  */
@@ -134,7 +135,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
134
135
  /**
135
136
  * @public
136
137
  */
137
- type EBSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
138
+ export type EBSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
138
139
  /**
139
140
  * @public
140
141
  *
@@ -145,7 +146,7 @@ export interface EBSClientConfig extends EBSClientConfigType {
145
146
  /**
146
147
  * @public
147
148
  */
148
- type EBSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
149
+ export type EBSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
149
150
  /**
150
151
  * @public
151
152
  *
@@ -189,4 +190,3 @@ export declare class EBSClient extends __Client<__HttpHandlerOptions, ServiceInp
189
190
  */
190
191
  destroy(): void;
191
192
  }
192
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -4,6 +4,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
5
5
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
6
6
  import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
7
+ /**
8
+ * @public
9
+ */
10
+ export { __MetadataBearer, $Command };
7
11
  /**
8
12
  * @public
9
13
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,30 @@
1
- export * from "./EBS";
1
+ /**
2
+ * <p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to
3
+ * your snapshots, read data on your snapshots, and identify the differences or changes between
4
+ * two snapshots. If you’re an independent software vendor (ISV) who offers backup services for
5
+ * Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
6
+ * your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
7
+ * from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
8
+ *
9
+ * <p>You can create incremental snapshots directly from data on-premises into volumes and the
10
+ * cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
11
+ * write your on-premises data to an snapshot during a disaster. Then after recovery, you can
12
+ * restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
13
+ * maintain complex mechanisms to copy data to and from Amazon EBS.</p>
14
+ *
15
+ *
16
+ * <p>This API reference provides detailed information about the actions, data types,
17
+ * parameters, and errors of the EBS direct APIs. For more information about the elements that
18
+ * make up the EBS direct APIs, and examples of how to use them effectively, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User
19
+ * Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
20
+ * and service quotas for the EBS direct APIs, see <a href="https://docs.aws.amazon.com/general/latest/gr/ebs-service.html">Amazon Elastic Block Store Endpoints and Quotas</a> in
21
+ * the <i>Amazon Web Services General Reference</i>.</p>
22
+ *
23
+ * @packageDocumentation
24
+ */
2
25
  export * from "./EBSClient";
26
+ export * from "./EBS";
3
27
  export * from "./commands";
4
- export * from "./models";
5
28
  export * from "./pagination";
29
+ export * from "./models";
6
30
  export { EBSServiceException } from "./models/EBSServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -76,6 +76,7 @@ import {
76
76
  ClientResolvedEndpointParameters,
77
77
  EndpointParameters,
78
78
  } from "./endpoint/EndpointParameters";
79
+ export { __Client };
79
80
  export type ServiceInputTypes =
80
81
  | CompleteSnapshotCommandInput
81
82
  | GetSnapshotBlockCommandInput
@@ -115,7 +116,7 @@ export interface ClientDefaults
115
116
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
117
  sdkStreamMixin?: __SdkStreamMixinInjector;
117
118
  }
118
- type EBSClientConfigType = Partial<
119
+ export type EBSClientConfigType = Partial<
119
120
  __SmithyConfiguration<__HttpHandlerOptions>
120
121
  > &
121
122
  ClientDefaults &
@@ -127,7 +128,7 @@ type EBSClientConfigType = Partial<
127
128
  UserAgentInputConfig &
128
129
  ClientInputEndpointParameters;
129
130
  export interface EBSClientConfig extends EBSClientConfigType {}
130
- type EBSClientResolvedConfigType =
131
+ export type EBSClientResolvedConfigType =
131
132
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
132
133
  Required<ClientDefaults> &
133
134
  RegionResolvedConfig &
@@ -148,4 +149,3 @@ export declare class EBSClient extends __Client<
148
149
  constructor(configuration: EBSClientConfig);
149
150
  destroy(): void;
150
151
  }
151
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  CompleteSnapshotRequest,
16
16
  CompleteSnapshotResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {}
19
20
  export interface CompleteSnapshotCommandOutput
20
21
  extends CompleteSnapshotResponse,
@@ -16,6 +16,7 @@ import {
16
16
  GetSnapshotBlockRequest,
17
17
  GetSnapshotBlockResponse,
18
18
  } from "../models/models_0";
19
+ export { __MetadataBearer, $Command };
19
20
  export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {}
20
21
  export interface GetSnapshotBlockCommandOutput
21
22
  extends __WithSdkStreamMixin<GetSnapshotBlockResponse, "BlockData">,
@@ -15,6 +15,7 @@ import {
15
15
  ListChangedBlocksRequest,
16
16
  ListChangedBlocksResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListChangedBlocksCommandInput
19
20
  extends ListChangedBlocksRequest {}
20
21
  export interface ListChangedBlocksCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListSnapshotBlocksRequest,
16
16
  ListSnapshotBlocksResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListSnapshotBlocksCommandInput
19
20
  extends ListSnapshotBlocksRequest {}
20
21
  export interface ListSnapshotBlocksCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  PutSnapshotBlockRequest,
16
16
  PutSnapshotBlockResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export type PutSnapshotBlockCommandInputType = Pick<
19
20
  PutSnapshotBlockRequest,
20
21
  Exclude<keyof PutSnapshotBlockRequest, "BlockData">
@@ -15,6 +15,7 @@ import {
15
15
  StartSnapshotRequest,
16
16
  StartSnapshotResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface StartSnapshotCommandInput extends StartSnapshotRequest {}
19
20
  export interface StartSnapshotCommandOutput
20
21
  extends StartSnapshotResponse,
@@ -1,6 +1,6 @@
1
- export * from "./EBS";
2
1
  export * from "./EBSClient";
2
+ export * from "./EBS";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { EBSServiceException } from "./models/EBSServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class EBSServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
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.335.0",
4
+ "version": "3.338.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",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.335.0",
25
- "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.335.0",
27
- "@aws-sdk/fetch-http-handler": "3.329.0",
28
- "@aws-sdk/hash-node": "3.329.0",
29
- "@aws-sdk/invalid-dependency": "3.329.0",
30
- "@aws-sdk/middleware-content-length": "3.329.0",
31
- "@aws-sdk/middleware-endpoint": "3.329.0",
32
- "@aws-sdk/middleware-host-header": "3.329.0",
33
- "@aws-sdk/middleware-logger": "3.329.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.329.0",
35
- "@aws-sdk/middleware-retry": "3.329.0",
36
- "@aws-sdk/middleware-serde": "3.329.0",
37
- "@aws-sdk/middleware-signing": "3.329.0",
38
- "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.332.0",
40
- "@aws-sdk/node-config-provider": "3.329.0",
41
- "@aws-sdk/node-http-handler": "3.329.0",
42
- "@aws-sdk/smithy-client": "3.329.0",
43
- "@aws-sdk/types": "3.329.0",
44
- "@aws-sdk/url-parser": "3.329.0",
24
+ "@aws-sdk/client-sts": "3.338.0",
25
+ "@aws-sdk/config-resolver": "3.338.0",
26
+ "@aws-sdk/credential-provider-node": "3.338.0",
27
+ "@aws-sdk/fetch-http-handler": "3.338.0",
28
+ "@aws-sdk/hash-node": "3.338.0",
29
+ "@aws-sdk/invalid-dependency": "3.338.0",
30
+ "@aws-sdk/middleware-content-length": "3.338.0",
31
+ "@aws-sdk/middleware-endpoint": "3.338.0",
32
+ "@aws-sdk/middleware-host-header": "3.338.0",
33
+ "@aws-sdk/middleware-logger": "3.338.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.338.0",
35
+ "@aws-sdk/middleware-retry": "3.338.0",
36
+ "@aws-sdk/middleware-serde": "3.338.0",
37
+ "@aws-sdk/middleware-signing": "3.338.0",
38
+ "@aws-sdk/middleware-stack": "3.338.0",
39
+ "@aws-sdk/middleware-user-agent": "3.338.0",
40
+ "@aws-sdk/node-config-provider": "3.338.0",
41
+ "@aws-sdk/node-http-handler": "3.338.0",
42
+ "@aws-sdk/smithy-client": "3.338.0",
43
+ "@aws-sdk/types": "3.338.0",
44
+ "@aws-sdk/url-parser": "3.338.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.329.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.329.0",
50
- "@aws-sdk/util-endpoints": "3.332.0",
51
- "@aws-sdk/util-retry": "3.329.0",
52
- "@aws-sdk/util-stream-browser": "3.329.0",
53
- "@aws-sdk/util-stream-node": "3.331.0",
54
- "@aws-sdk/util-user-agent-browser": "3.329.0",
55
- "@aws-sdk/util-user-agent-node": "3.329.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.338.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.338.0",
50
+ "@aws-sdk/util-endpoints": "3.338.0",
51
+ "@aws-sdk/util-retry": "3.338.0",
52
+ "@aws-sdk/util-stream-browser": "3.338.0",
53
+ "@aws-sdk/util-stream-node": "3.338.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.338.0",
55
+ "@aws-sdk/util-user-agent-node": "3.338.0",
56
56
  "@aws-sdk/util-utf8": "3.310.0",
57
57
  "@smithy/protocol-http": "^1.0.1",
58
58
  "@smithy/types": "^1.0.0",