@aws-sdk/client-ebs 3.35.0 → 3.38.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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/EBS.js +0 -23
- package/dist-cjs/EBSClient.js +0 -28
- package/dist-cjs/commands/CompleteSnapshotCommand.js +0 -27
- package/dist-cjs/commands/GetSnapshotBlockCommand.js +0 -25
- package/dist-cjs/commands/ListChangedBlocksCommand.js +0 -26
- package/dist-cjs/commands/ListSnapshotBlocksCommand.js +0 -25
- package/dist-cjs/commands/PutSnapshotBlockCommand.js +0 -28
- package/dist-cjs/commands/StartSnapshotCommand.js +0 -28
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -12
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -70
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListChangedBlocksPaginator.js +0 -11
- package/dist-cjs/pagination/ListSnapshotBlocksPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/EBS.js +0 -1
- package/dist-es/EBSClient.js +0 -1
- package/dist-es/commands/CompleteSnapshotCommand.js +0 -1
- package/dist-es/commands/GetSnapshotBlockCommand.js +0 -1
- package/dist-es/commands/ListChangedBlocksCommand.js +0 -1
- package/dist-es/commands/ListSnapshotBlocksCommand.js +0 -1
- package/dist-es/commands/PutSnapshotBlockCommand.js +0 -1
- package/dist-es/commands/StartSnapshotCommand.js +0 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -12
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListChangedBlocksPaginator.js +0 -1
- package/dist-es/pagination/ListSnapshotBlocksPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +4 -11
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/EBS.d.ts +7 -49
- package/dist-types/ts3.4/EBSClient.d.ts +24 -108
- package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +5 -30
- package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/index.d.ts +4 -11
- package/dist-types/ts3.4/models/models_0.d.ts +106 -416
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/EBS.js.map +0 -1
- package/dist-cjs/EBSClient.js.map +0 -1
- package/dist-cjs/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist-cjs/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist-cjs/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist-cjs/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist-cjs/commands/StartSnapshotCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/EBS.js.map +0 -1
- package/dist-es/EBSClient.js.map +0 -1
- package/dist-es/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist-es/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist-es/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist-es/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist-es/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist-es/commands/StartSnapshotCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist-es/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EBS.ts +0 -258
- package/src/EBSClient.ts +0 -273
- package/src/commands/CompleteSnapshotCommand.ts +0 -97
- package/src/commands/GetSnapshotBlockCommand.ts +0 -95
- package/src/commands/ListChangedBlocksCommand.ts +0 -96
- package/src/commands/ListSnapshotBlocksCommand.ts +0 -95
- package/src/commands/PutSnapshotBlockCommand.ts +0 -107
- package/src/commands/StartSnapshotCommand.ts +0 -98
- package/src/endpoints.ts +0 -83
- package/src/index.ts +0 -12
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -824
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListChangedBlocksPaginator.ts +0 -59
- package/src/pagination/ListSnapshotBlocksPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -1238
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/EBS.js
CHANGED
|
@@ -8,28 +8,6 @@ const ListSnapshotBlocksCommand_1 = require("./commands/ListSnapshotBlocksComman
|
|
|
8
8
|
const PutSnapshotBlockCommand_1 = require("./commands/PutSnapshotBlockCommand");
|
|
9
9
|
const StartSnapshotCommand_1 = require("./commands/StartSnapshotCommand");
|
|
10
10
|
const EBSClient_1 = require("./EBSClient");
|
|
11
|
-
/**
|
|
12
|
-
* <p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to
|
|
13
|
-
* your snapshots, read data on your snapshots, and identify the differences or changes between
|
|
14
|
-
* two snapshots. If you’re an independent software vendor (ISV) who offers backup services for
|
|
15
|
-
* Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
|
|
16
|
-
* your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
|
|
17
|
-
* from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>You can create incremental snapshots directly from data on-premises into volumes and the
|
|
20
|
-
* cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
|
|
21
|
-
* write your on-premises data to an snapshot during a disaster. Then after recovery, you can
|
|
22
|
-
* restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
|
|
23
|
-
* maintain complex mechanisms to copy data to and from Amazon EBS.</p>
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* <p>This API reference provides detailed information about the actions, data types,
|
|
27
|
-
* parameters, and errors of the EBS direct APIs. For more information about the elements that
|
|
28
|
-
* 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
|
|
29
|
-
* Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
|
|
30
|
-
* 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
|
|
31
|
-
* the <i>Amazon Web Services General Reference</i>.</p>
|
|
32
|
-
*/
|
|
33
11
|
class EBS extends EBSClient_1.EBSClient {
|
|
34
12
|
completeSnapshot(args, optionsOrCb, cb) {
|
|
35
13
|
const command = new CompleteSnapshotCommand_1.CompleteSnapshotCommand(args);
|
|
@@ -117,4 +95,3 @@ class EBS extends EBSClient_1.EBSClient {
|
|
|
117
95
|
}
|
|
118
96
|
}
|
|
119
97
|
exports.EBS = EBS;
|
|
120
|
-
//# sourceMappingURL=EBS.js.map
|
package/dist-cjs/EBSClient.js
CHANGED
|
@@ -10,28 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to
|
|
15
|
-
* your snapshots, read data on your snapshots, and identify the differences or changes between
|
|
16
|
-
* two snapshots. If you’re an independent software vendor (ISV) who offers backup services for
|
|
17
|
-
* Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
|
|
18
|
-
* your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
|
|
19
|
-
* from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
|
|
20
|
-
*
|
|
21
|
-
* <p>You can create incremental snapshots directly from data on-premises into volumes and the
|
|
22
|
-
* cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
|
|
23
|
-
* write your on-premises data to an snapshot during a disaster. Then after recovery, you can
|
|
24
|
-
* restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
|
|
25
|
-
* maintain complex mechanisms to copy data to and from Amazon EBS.</p>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* <p>This API reference provides detailed information about the actions, data types,
|
|
29
|
-
* parameters, and errors of the EBS direct APIs. For more information about the elements that
|
|
30
|
-
* 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
|
|
31
|
-
* Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
|
|
32
|
-
* 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
|
|
33
|
-
* the <i>Amazon Web Services General Reference</i>.</p>
|
|
34
|
-
*/
|
|
35
13
|
class EBSClient extends smithy_client_1.Client {
|
|
36
14
|
constructor(configuration) {
|
|
37
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -50,14 +28,8 @@ class EBSClient extends smithy_client_1.Client {
|
|
|
50
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
51
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
52
30
|
}
|
|
53
|
-
/**
|
|
54
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
55
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
56
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
57
|
-
*/
|
|
58
31
|
destroy() {
|
|
59
32
|
super.destroy();
|
|
60
33
|
}
|
|
61
34
|
}
|
|
62
35
|
exports.EBSClient = EBSClient;
|
|
63
|
-
//# sourceMappingURL=EBSClient.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Seals and completes the snapshot after all of the required blocks of data have been
|
|
10
|
-
* written to it. Completing the snapshot changes the status to <code>completed</code>. You
|
|
11
|
-
* cannot write new blocks to a snapshot after it has been completed.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EBSClient, CompleteSnapshotCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
16
|
-
* // const { EBSClient, CompleteSnapshotCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
17
|
-
* const client = new EBSClient(config);
|
|
18
|
-
* const command = new CompleteSnapshotCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CompleteSnapshotCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CompleteSnapshotCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CompleteSnapshotCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class CompleteSnapshotCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.CompleteSnapshotCommand = CompleteSnapshotCommand;
|
|
63
|
-
//# sourceMappingURL=CompleteSnapshotCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EBSClient, GetSnapshotBlockCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
14
|
-
* // const { EBSClient, GetSnapshotBlockCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
15
|
-
* const client = new EBSClient(config);
|
|
16
|
-
* const command = new GetSnapshotBlockCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetSnapshotBlockCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetSnapshotBlockCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetSnapshotBlockCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetSnapshotBlockCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetSnapshotBlockCommand = GetSnapshotBlockCommand;
|
|
61
|
-
//# sourceMappingURL=GetSnapshotBlockCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the blocks that are different between two
|
|
10
|
-
* Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EBSClient, ListChangedBlocksCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
15
|
-
* // const { EBSClient, ListChangedBlocksCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
16
|
-
* const client = new EBSClient(config);
|
|
17
|
-
* const command = new ListChangedBlocksCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListChangedBlocksCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListChangedBlocksCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListChangedBlocksCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class ListChangedBlocksCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.ListChangedBlocksCommand = ListChangedBlocksCommand;
|
|
62
|
-
//# sourceMappingURL=ListChangedBlocksCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EBSClient, ListSnapshotBlocksCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
14
|
-
* // const { EBSClient, ListSnapshotBlocksCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
15
|
-
* const client = new EBSClient(config);
|
|
16
|
-
* const command = new ListSnapshotBlocksCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListSnapshotBlocksCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListSnapshotBlocksCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListSnapshotBlocksCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListSnapshotBlocksCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListSnapshotBlocksCommand = ListSnapshotBlocksCommand;
|
|
61
|
-
//# sourceMappingURL=ListSnapshotBlocksCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Writes a block of data to a snapshot. If the specified block contains
|
|
10
|
-
* data, the existing data is overwritten. The target snapshot must be in the
|
|
11
|
-
* <code>pending</code> state.</p>
|
|
12
|
-
* <p>Data written to a snapshot must be aligned with 512-KiB sectors.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EBSClient, PutSnapshotBlockCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
17
|
-
* // const { EBSClient, PutSnapshotBlockCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
18
|
-
* const client = new EBSClient(config);
|
|
19
|
-
* const command = new PutSnapshotBlockCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link PutSnapshotBlockCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link PutSnapshotBlockCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class PutSnapshotBlockCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class PutSnapshotBlockCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.PutSnapshotBlockCommand = PutSnapshotBlockCommand;
|
|
64
|
-
//# sourceMappingURL=PutSnapshotBlockCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state
|
|
10
|
-
* after the request completes. </p>
|
|
11
|
-
* <p>After creating the snapshot, use <a href="https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html"> PutSnapshotBlock</a> to
|
|
12
|
-
* write blocks of data to the snapshot.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EBSClient, StartSnapshotCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
17
|
-
* // const { EBSClient, StartSnapshotCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
18
|
-
* const client = new EBSClient(config);
|
|
19
|
-
* const command = new StartSnapshotCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link StartSnapshotCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link StartSnapshotCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EBSClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class StartSnapshotCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class StartSnapshotCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.StartSnapshotCommand = StartSnapshotCommand;
|
|
64
|
-
//# sourceMappingURL=StartSnapshotCommand.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CompleteSnapshotCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetSnapshotBlockCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListChangedBlocksCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListSnapshotBlocksCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./PutSnapshotBlockCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./StartSnapshotCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -61,7 +61,7 @@ const partitionHash = {
|
|
|
61
61
|
hostname: "ebs.{region}.amazonaws.com.cn",
|
|
62
62
|
},
|
|
63
63
|
"aws-iso": {
|
|
64
|
-
regions: ["us-iso-east-1"],
|
|
64
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
65
65
|
hostname: "ebs.{region}.c2s.ic.gov",
|
|
66
66
|
},
|
|
67
67
|
"aws-iso-b": {
|
|
@@ -80,4 +80,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
80
80
|
partitionHash,
|
|
81
81
|
});
|
|
82
82
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
83
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./EBSClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./EBS"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./pagination
|
|
10
|
-
tslib_1.__exportStar(require("./commands/ListSnapshotBlocksCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./pagination/ListSnapshotBlocksPaginator"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/PutSnapshotBlockCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/StartSnapshotCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./EBSClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -9,27 +9,18 @@ var AccessDeniedExceptionReason;
|
|
|
9
9
|
})(AccessDeniedExceptionReason = exports.AccessDeniedExceptionReason || (exports.AccessDeniedExceptionReason = {}));
|
|
10
10
|
var AccessDeniedException;
|
|
11
11
|
(function (AccessDeniedException) {
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
12
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
16
13
|
...obj,
|
|
17
14
|
});
|
|
18
15
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
19
16
|
var Block;
|
|
20
17
|
(function (Block) {
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
18
|
Block.filterSensitiveLog = (obj) => ({
|
|
25
19
|
...obj,
|
|
26
20
|
});
|
|
27
21
|
})(Block = exports.Block || (exports.Block = {}));
|
|
28
22
|
var ChangedBlock;
|
|
29
23
|
(function (ChangedBlock) {
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
24
|
ChangedBlock.filterSensitiveLog = (obj) => ({
|
|
34
25
|
...obj,
|
|
35
26
|
});
|
|
@@ -44,9 +35,6 @@ var ChecksumAlgorithm;
|
|
|
44
35
|
})(ChecksumAlgorithm = exports.ChecksumAlgorithm || (exports.ChecksumAlgorithm = {}));
|
|
45
36
|
var CompleteSnapshotRequest;
|
|
46
37
|
(function (CompleteSnapshotRequest) {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
38
|
CompleteSnapshotRequest.filterSensitiveLog = (obj) => ({
|
|
51
39
|
...obj,
|
|
52
40
|
});
|
|
@@ -59,18 +47,12 @@ var Status;
|
|
|
59
47
|
})(Status = exports.Status || (exports.Status = {}));
|
|
60
48
|
var CompleteSnapshotResponse;
|
|
61
49
|
(function (CompleteSnapshotResponse) {
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
50
|
CompleteSnapshotResponse.filterSensitiveLog = (obj) => ({
|
|
66
51
|
...obj,
|
|
67
52
|
});
|
|
68
53
|
})(CompleteSnapshotResponse = exports.CompleteSnapshotResponse || (exports.CompleteSnapshotResponse = {}));
|
|
69
54
|
var InternalServerException;
|
|
70
55
|
(function (InternalServerException) {
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
56
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
75
57
|
...obj,
|
|
76
58
|
});
|
|
@@ -82,9 +64,6 @@ var RequestThrottledExceptionReason;
|
|
|
82
64
|
})(RequestThrottledExceptionReason = exports.RequestThrottledExceptionReason || (exports.RequestThrottledExceptionReason = {}));
|
|
83
65
|
var RequestThrottledException;
|
|
84
66
|
(function (RequestThrottledException) {
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
67
|
RequestThrottledException.filterSensitiveLog = (obj) => ({
|
|
89
68
|
...obj,
|
|
90
69
|
});
|
|
@@ -96,9 +75,6 @@ var ResourceNotFoundExceptionReason;
|
|
|
96
75
|
})(ResourceNotFoundExceptionReason = exports.ResourceNotFoundExceptionReason || (exports.ResourceNotFoundExceptionReason = {}));
|
|
97
76
|
var ResourceNotFoundException;
|
|
98
77
|
(function (ResourceNotFoundException) {
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
78
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
103
79
|
...obj,
|
|
104
80
|
});
|
|
@@ -109,9 +85,6 @@ var ServiceQuotaExceededExceptionReason;
|
|
|
109
85
|
})(ServiceQuotaExceededExceptionReason = exports.ServiceQuotaExceededExceptionReason || (exports.ServiceQuotaExceededExceptionReason = {}));
|
|
110
86
|
var ServiceQuotaExceededException;
|
|
111
87
|
(function (ServiceQuotaExceededException) {
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
88
|
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
116
89
|
...obj,
|
|
117
90
|
});
|
|
@@ -132,45 +105,30 @@ var ValidationExceptionReason;
|
|
|
132
105
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
133
106
|
var ValidationException;
|
|
134
107
|
(function (ValidationException) {
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
108
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
139
109
|
...obj,
|
|
140
110
|
});
|
|
141
111
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
142
112
|
var ConcurrentLimitExceededException;
|
|
143
113
|
(function (ConcurrentLimitExceededException) {
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
114
|
ConcurrentLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
148
115
|
...obj,
|
|
149
116
|
});
|
|
150
117
|
})(ConcurrentLimitExceededException = exports.ConcurrentLimitExceededException || (exports.ConcurrentLimitExceededException = {}));
|
|
151
118
|
var ConflictException;
|
|
152
119
|
(function (ConflictException) {
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
120
|
ConflictException.filterSensitiveLog = (obj) => ({
|
|
157
121
|
...obj,
|
|
158
122
|
});
|
|
159
123
|
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
160
124
|
var GetSnapshotBlockRequest;
|
|
161
125
|
(function (GetSnapshotBlockRequest) {
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
126
|
GetSnapshotBlockRequest.filterSensitiveLog = (obj) => ({
|
|
166
127
|
...obj,
|
|
167
128
|
});
|
|
168
129
|
})(GetSnapshotBlockRequest = exports.GetSnapshotBlockRequest || (exports.GetSnapshotBlockRequest = {}));
|
|
169
130
|
var GetSnapshotBlockResponse;
|
|
170
131
|
(function (GetSnapshotBlockResponse) {
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
132
|
GetSnapshotBlockResponse.filterSensitiveLog = (obj) => ({
|
|
175
133
|
...obj,
|
|
176
134
|
...(obj.BlockData && { BlockData: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -178,18 +136,12 @@ var GetSnapshotBlockResponse;
|
|
|
178
136
|
})(GetSnapshotBlockResponse = exports.GetSnapshotBlockResponse || (exports.GetSnapshotBlockResponse = {}));
|
|
179
137
|
var ListChangedBlocksRequest;
|
|
180
138
|
(function (ListChangedBlocksRequest) {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
139
|
ListChangedBlocksRequest.filterSensitiveLog = (obj) => ({
|
|
185
140
|
...obj,
|
|
186
141
|
});
|
|
187
142
|
})(ListChangedBlocksRequest = exports.ListChangedBlocksRequest || (exports.ListChangedBlocksRequest = {}));
|
|
188
143
|
var ListChangedBlocksResponse;
|
|
189
144
|
(function (ListChangedBlocksResponse) {
|
|
190
|
-
/**
|
|
191
|
-
* @internal
|
|
192
|
-
*/
|
|
193
145
|
ListChangedBlocksResponse.filterSensitiveLog = (obj) => ({
|
|
194
146
|
...obj,
|
|
195
147
|
...(obj.ChangedBlocks && { ChangedBlocks: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -197,18 +149,12 @@ var ListChangedBlocksResponse;
|
|
|
197
149
|
})(ListChangedBlocksResponse = exports.ListChangedBlocksResponse || (exports.ListChangedBlocksResponse = {}));
|
|
198
150
|
var ListSnapshotBlocksRequest;
|
|
199
151
|
(function (ListSnapshotBlocksRequest) {
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
152
|
ListSnapshotBlocksRequest.filterSensitiveLog = (obj) => ({
|
|
204
153
|
...obj,
|
|
205
154
|
});
|
|
206
155
|
})(ListSnapshotBlocksRequest = exports.ListSnapshotBlocksRequest || (exports.ListSnapshotBlocksRequest = {}));
|
|
207
156
|
var ListSnapshotBlocksResponse;
|
|
208
157
|
(function (ListSnapshotBlocksResponse) {
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
158
|
ListSnapshotBlocksResponse.filterSensitiveLog = (obj) => ({
|
|
213
159
|
...obj,
|
|
214
160
|
...(obj.Blocks && { Blocks: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -216,9 +162,6 @@ var ListSnapshotBlocksResponse;
|
|
|
216
162
|
})(ListSnapshotBlocksResponse = exports.ListSnapshotBlocksResponse || (exports.ListSnapshotBlocksResponse = {}));
|
|
217
163
|
var PutSnapshotBlockRequest;
|
|
218
164
|
(function (PutSnapshotBlockRequest) {
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
165
|
PutSnapshotBlockRequest.filterSensitiveLog = (obj) => ({
|
|
223
166
|
...obj,
|
|
224
167
|
...(obj.BlockData && { BlockData: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -226,27 +169,18 @@ var PutSnapshotBlockRequest;
|
|
|
226
169
|
})(PutSnapshotBlockRequest = exports.PutSnapshotBlockRequest || (exports.PutSnapshotBlockRequest = {}));
|
|
227
170
|
var PutSnapshotBlockResponse;
|
|
228
171
|
(function (PutSnapshotBlockResponse) {
|
|
229
|
-
/**
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
172
|
PutSnapshotBlockResponse.filterSensitiveLog = (obj) => ({
|
|
233
173
|
...obj,
|
|
234
174
|
});
|
|
235
175
|
})(PutSnapshotBlockResponse = exports.PutSnapshotBlockResponse || (exports.PutSnapshotBlockResponse = {}));
|
|
236
176
|
var Tag;
|
|
237
177
|
(function (Tag) {
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
241
178
|
Tag.filterSensitiveLog = (obj) => ({
|
|
242
179
|
...obj,
|
|
243
180
|
});
|
|
244
181
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
245
182
|
var StartSnapshotRequest;
|
|
246
183
|
(function (StartSnapshotRequest) {
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
184
|
StartSnapshotRequest.filterSensitiveLog = (obj) => ({
|
|
251
185
|
...obj,
|
|
252
186
|
...(obj.KmsKeyArn && { KmsKeyArn: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -254,12 +188,8 @@ var StartSnapshotRequest;
|
|
|
254
188
|
})(StartSnapshotRequest = exports.StartSnapshotRequest || (exports.StartSnapshotRequest = {}));
|
|
255
189
|
var StartSnapshotResponse;
|
|
256
190
|
(function (StartSnapshotResponse) {
|
|
257
|
-
/**
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
191
|
StartSnapshotResponse.filterSensitiveLog = (obj) => ({
|
|
261
192
|
...obj,
|
|
262
193
|
...(obj.KmsKeyArn && { KmsKeyArn: smithy_client_1.SENSITIVE_STRING }),
|
|
263
194
|
});
|
|
264
195
|
})(StartSnapshotResponse = exports.StartSnapshotResponse || (exports.StartSnapshotResponse = {}));
|
|
265
|
-
//# sourceMappingURL=models_0.js.map
|