@aws-sdk/client-migration-hub 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/MigrationHub.js +0 -9
- package/dist-cjs/MigrationHubClient.js +0 -14
- package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -42
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -26
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -29
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -55
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -25
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -25
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -41
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -26
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -28
- package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -27
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -39
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -25
- package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -38
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -25
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -28
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -42
- package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -50
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -26
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -157
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -11
- package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -11
- package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -11
- package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.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/MigrationHub.js +0 -1
- package/dist-es/MigrationHubClient.js +0 -1
- package/dist-es/commands/AssociateCreatedArtifactCommand.js +0 -1
- package/dist-es/commands/AssociateDiscoveredResourceCommand.js +0 -1
- package/dist-es/commands/CreateProgressUpdateStreamCommand.js +0 -1
- package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +0 -1
- package/dist-es/commands/DescribeApplicationStateCommand.js +0 -1
- package/dist-es/commands/DescribeMigrationTaskCommand.js +0 -1
- package/dist-es/commands/DisassociateCreatedArtifactCommand.js +0 -1
- package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +0 -1
- package/dist-es/commands/ImportMigrationTaskCommand.js +0 -1
- package/dist-es/commands/ListApplicationStatesCommand.js +0 -1
- package/dist-es/commands/ListCreatedArtifactsCommand.js +0 -1
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +0 -1
- package/dist-es/commands/ListMigrationTasksCommand.js +0 -1
- package/dist-es/commands/ListProgressUpdateStreamsCommand.js +0 -1
- package/dist-es/commands/NotifyApplicationStateCommand.js +0 -1
- package/dist-es/commands/NotifyMigrationTaskStateCommand.js +0 -1
- package/dist-es/commands/PutResourceAttributesCommand.js +0 -1
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -26
- 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/ListApplicationStatesPaginator.js +0 -1
- package/dist-es/pagination/ListCreatedArtifactsPaginator.js +0 -1
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +0 -1
- package/dist-es/pagination/ListMigrationTasksPaginator.js +0 -1
- package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +0 -1
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_1.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 +17 -0
- package/dist-types/index.d.ts +4 -25
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/MigrationHub.d.ts +18 -205
- package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +4 -25
- package/dist-types/ts3.4/models/models_0.d.ts +165 -648
- package/dist-types/ts3.4/pagination/index.d.ts +6 -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/MigrationHub.js.map +0 -1
- package/dist-cjs/MigrationHubClient.js.map +0 -1
- package/dist-cjs/commands/AssociateCreatedArtifactCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeApplicationStateCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ImportMigrationTaskCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationStatesCommand.js.map +0 -1
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js.map +0 -1
- package/dist-cjs/commands/ListMigrationTasksCommand.js.map +0 -1
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
- package/dist-cjs/commands/NotifyApplicationStateCommand.js.map +0 -1
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
- package/dist-cjs/commands/PutResourceAttributesCommand.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/ListApplicationStatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMigrationTasksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.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/MigrationHub.js.map +0 -1
- package/dist-es/MigrationHubClient.js.map +0 -1
- package/dist-es/commands/AssociateCreatedArtifactCommand.js.map +0 -1
- package/dist-es/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
- package/dist-es/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
- package/dist-es/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
- package/dist-es/commands/DescribeApplicationStateCommand.js.map +0 -1
- package/dist-es/commands/DescribeMigrationTaskCommand.js.map +0 -1
- package/dist-es/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
- package/dist-es/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
- package/dist-es/commands/ImportMigrationTaskCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationStatesCommand.js.map +0 -1
- package/dist-es/commands/ListCreatedArtifactsCommand.js.map +0 -1
- package/dist-es/commands/ListDiscoveredResourcesCommand.js.map +0 -1
- package/dist-es/commands/ListMigrationTasksCommand.js.map +0 -1
- package/dist-es/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
- package/dist-es/commands/NotifyApplicationStateCommand.js.map +0 -1
- package/dist-es/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
- package/dist-es/commands/PutResourceAttributesCommand.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/ListApplicationStatesPaginator.js.map +0 -1
- package/dist-es/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
- package/dist-es/pagination/ListMigrationTasksPaginator.js.map +0 -1
- package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.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/MigrationHub.ts +0 -788
- package/src/MigrationHubClient.ts +0 -340
- package/src/commands/AssociateCreatedArtifactCommand.ts +0 -112
- package/src/commands/AssociateDiscoveredResourceCommand.ts +0 -99
- package/src/commands/CreateProgressUpdateStreamCommand.ts +0 -102
- package/src/commands/DeleteProgressUpdateStreamCommand.ts +0 -128
- package/src/commands/DescribeApplicationStateCommand.ts +0 -95
- package/src/commands/DescribeMigrationTaskCommand.ts +0 -95
- package/src/commands/DisassociateCreatedArtifactCommand.ts +0 -114
- package/src/commands/DisassociateDiscoveredResourceCommand.ts +0 -104
- package/src/commands/ImportMigrationTaskCommand.ts +0 -98
- package/src/commands/ListApplicationStatesCommand.ts +0 -97
- package/src/commands/ListCreatedArtifactsCommand.ts +0 -109
- package/src/commands/ListDiscoveredResourcesCommand.ts +0 -95
- package/src/commands/ListMigrationTasksCommand.ts +0 -108
- package/src/commands/ListProgressUpdateStreamsCommand.ts +0 -98
- package/src/commands/NotifyApplicationStateCommand.ts +0 -98
- package/src/commands/NotifyMigrationTaskStateCommand.ts +0 -112
- package/src/commands/PutResourceAttributesCommand.ts +0 -120
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -26
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1319
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListApplicationStatesPaginator.ts +0 -59
- package/src/pagination/ListCreatedArtifactsPaginator.ts +0 -59
- package/src/pagination/ListDiscoveredResourcesPaginator.ts +0 -59
- package/src/pagination/ListMigrationTasksPaginator.ts +0 -59
- package/src/pagination/ListProgressUpdateStreamsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -3163
- 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/MigrationHub.js
CHANGED
|
@@ -19,14 +19,6 @@ const NotifyApplicationStateCommand_1 = require("./commands/NotifyApplicationSta
|
|
|
19
19
|
const NotifyMigrationTaskStateCommand_1 = require("./commands/NotifyMigrationTaskStateCommand");
|
|
20
20
|
const PutResourceAttributesCommand_1 = require("./commands/PutResourceAttributesCommand");
|
|
21
21
|
const MigrationHubClient_1 = require("./MigrationHubClient");
|
|
22
|
-
/**
|
|
23
|
-
* <p>The AWS Migration Hub API methods help to obtain server and application migration status
|
|
24
|
-
* and integrate your resource-specific migration tool by providing a programmatic interface
|
|
25
|
-
* to Migration Hub.</p>
|
|
26
|
-
* <p>Remember that you must set your AWS Migration Hub home region before you call any of
|
|
27
|
-
* these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
|
|
28
|
-
* must make the API calls while in your home region.</p>
|
|
29
|
-
*/
|
|
30
22
|
class MigrationHub extends MigrationHubClient_1.MigrationHubClient {
|
|
31
23
|
associateCreatedArtifact(args, optionsOrCb, cb) {
|
|
32
24
|
const command = new AssociateCreatedArtifactCommand_1.AssociateCreatedArtifactCommand(args);
|
|
@@ -268,4 +260,3 @@ class MigrationHub extends MigrationHubClient_1.MigrationHubClient {
|
|
|
268
260
|
}
|
|
269
261
|
}
|
|
270
262
|
exports.MigrationHub = MigrationHub;
|
|
271
|
-
//# sourceMappingURL=MigrationHub.js.map
|
|
@@ -10,14 +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>The AWS Migration Hub API methods help to obtain server and application migration status
|
|
15
|
-
* and integrate your resource-specific migration tool by providing a programmatic interface
|
|
16
|
-
* to Migration Hub.</p>
|
|
17
|
-
* <p>Remember that you must set your AWS Migration Hub home region before you call any of
|
|
18
|
-
* these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
|
|
19
|
-
* must make the API calls while in your home region.</p>
|
|
20
|
-
*/
|
|
21
13
|
class MigrationHubClient extends smithy_client_1.Client {
|
|
22
14
|
constructor(configuration) {
|
|
23
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -36,14 +28,8 @@ class MigrationHubClient extends smithy_client_1.Client {
|
|
|
36
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
37
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
38
30
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
31
|
destroy() {
|
|
45
32
|
super.destroy();
|
|
46
33
|
}
|
|
47
34
|
}
|
|
48
35
|
exports.MigrationHubClient = MigrationHubClient;
|
|
49
|
-
//# sourceMappingURL=MigrationHubClient.js.map
|
|
@@ -5,52 +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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Associates a created artifact of an AWS cloud resource, the target receiving the
|
|
10
|
-
* migration, with the migration task performed by a migration tool. This API has the
|
|
11
|
-
* following traits:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to
|
|
15
|
-
* indicate which AWS artifact is associated with a migration task.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
|
|
19
|
-
* which will contain information about type and region; for example:
|
|
20
|
-
* <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
|
|
24
|
-
* or DMS endpoint, etc.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* </ul>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { MigrationHubClient, AssociateCreatedArtifactCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
31
|
-
* // const { MigrationHubClient, AssociateCreatedArtifactCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
32
|
-
* const client = new MigrationHubClient(config);
|
|
33
|
-
* const command = new AssociateCreatedArtifactCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link AssociateCreatedArtifactCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link AssociateCreatedArtifactCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
8
|
class AssociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
9
|
constructor(input) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
10
|
super();
|
|
48
11
|
this.input = input;
|
|
49
|
-
// End section: command_constructor
|
|
50
12
|
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
55
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -75,4 +34,3 @@ class AssociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
75
34
|
}
|
|
76
35
|
}
|
|
77
36
|
exports.AssociateCreatedArtifactCommand = AssociateCreatedArtifactCommand;
|
|
78
|
-
//# sourceMappingURL=AssociateCreatedArtifactCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Associates a discovered resource ID from Application Discovery Service with a migration
|
|
10
|
-
* task.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MigrationHubClient, AssociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
15
|
-
* // const { MigrationHubClient, AssociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
16
|
-
* const client = new MigrationHubClient(config);
|
|
17
|
-
* const command = new AssociateDiscoveredResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AssociateDiscoveredResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AssociateDiscoveredResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class AssociateDiscoveredResourceCommand 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 AssociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.AssociateDiscoveredResourceCommand = AssociateDiscoveredResourceCommand;
|
|
62
|
-
//# sourceMappingURL=AssociateDiscoveredResourceCommand.js.map
|
|
@@ -5,39 +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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a progress update stream which is an AWS resource used for access control as
|
|
10
|
-
* well as a namespace for migration task names that is implicitly linked to your AWS account.
|
|
11
|
-
* It must uniquely identify the migration tool as it is used for all updates made by the
|
|
12
|
-
* tool; however, it does not need to be unique for each AWS account because it is scoped to
|
|
13
|
-
* the AWS account.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { MigrationHubClient, CreateProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
18
|
-
* // const { MigrationHubClient, CreateProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
19
|
-
* const client = new MigrationHubClient(config);
|
|
20
|
-
* const command = new CreateProgressUpdateStreamCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateProgressUpdateStreamCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateProgressUpdateStreamCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class CreateProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class CreateProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.CreateProgressUpdateStreamCommand = CreateProgressUpdateStreamCommand;
|
|
65
|
-
//# sourceMappingURL=CreateProgressUpdateStreamCommand.js.map
|
|
@@ -5,65 +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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a progress update stream, including all of its tasks, which was previously
|
|
10
|
-
* created as an AWS resource used for access control. This API has the following
|
|
11
|
-
* traits:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the
|
|
15
|
-
* stream name (same as a <code>CreateProgressUpdateStream</code> call).</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>The call will return, and a background process will asynchronously delete the
|
|
19
|
-
* stream and all of its resources (tasks, associated resources, resource attributes,
|
|
20
|
-
* created artifacts).</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>If the stream takes time to be deleted, it might still show up on a
|
|
24
|
-
* <code>ListProgressUpdateStreams</code> call.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>,
|
|
29
|
-
* <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs related to the
|
|
30
|
-
* tasks belonging to the stream will throw "InvalidInputException" if the stream of the
|
|
31
|
-
* same name is in the process of being deleted.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Once the stream and all of its resources are deleted,
|
|
35
|
-
* <code>CreateProgressUpdateStream</code> for a stream of the same name will
|
|
36
|
-
* succeed, and that stream will be an entirely new logical resource (without any
|
|
37
|
-
* resources associated with the old stream).</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ul>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { MigrationHubClient, DeleteProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
44
|
-
* // const { MigrationHubClient, DeleteProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
45
|
-
* const client = new MigrationHubClient(config);
|
|
46
|
-
* const command = new DeleteProgressUpdateStreamCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link DeleteProgressUpdateStreamCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link DeleteProgressUpdateStreamCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
8
|
class DeleteProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
9
|
constructor(input) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
10
|
super();
|
|
61
11
|
this.input = input;
|
|
62
|
-
// End section: command_constructor
|
|
63
12
|
}
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
68
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -88,4 +34,3 @@ class DeleteProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
88
34
|
}
|
|
89
35
|
}
|
|
90
36
|
exports.DeleteProgressUpdateStreamCommand = DeleteProgressUpdateStreamCommand;
|
|
91
|
-
//# sourceMappingURL=DeleteProgressUpdateStreamCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets the migration status of an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MigrationHubClient, DescribeApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
14
|
-
* // const { MigrationHubClient, DescribeApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
15
|
-
* const client = new MigrationHubClient(config);
|
|
16
|
-
* const command = new DescribeApplicationStateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeApplicationStateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeApplicationStateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeApplicationStateCommand 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 DescribeApplicationStateCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeApplicationStateCommand = DescribeApplicationStateCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeApplicationStateCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a list of all attributes associated with a specific migration task.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MigrationHubClient, DescribeMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
14
|
-
* // const { MigrationHubClient, DescribeMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
15
|
-
* const client = new MigrationHubClient(config);
|
|
16
|
-
* const command = new DescribeMigrationTaskCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeMigrationTaskCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeMigrationTaskCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeMigrationTaskCommand 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 DescribeMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeMigrationTaskCommand = DescribeMigrationTaskCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeMigrationTaskCommand.js.map
|
|
@@ -5,51 +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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disassociates a created artifact of an AWS resource with a migration task performed by a
|
|
10
|
-
* migration tool that was previously associated. This API has the following traits:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>A migration user can call the <code>DisassociateCreatedArtifacts</code> operation
|
|
14
|
-
* to disassociate a created AWS Artifact from a migration task.</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
|
|
18
|
-
* which will contain information about type and region; for example:
|
|
19
|
-
* <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
|
|
23
|
-
* or RDS instance, etc.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* </ul>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MigrationHubClient, DisassociateCreatedArtifactCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
30
|
-
* // const { MigrationHubClient, DisassociateCreatedArtifactCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
31
|
-
* const client = new MigrationHubClient(config);
|
|
32
|
-
* const command = new DisassociateCreatedArtifactCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DisassociateCreatedArtifactCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DisassociateCreatedArtifactCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
8
|
class DisassociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
9
|
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
10
|
super();
|
|
47
11
|
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -74,4 +34,3 @@ class DisassociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
74
34
|
}
|
|
75
35
|
}
|
|
76
36
|
exports.DisassociateCreatedArtifactCommand = DisassociateCreatedArtifactCommand;
|
|
77
|
-
//# sourceMappingURL=DisassociateCreatedArtifactCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disassociate an Application Discovery Service discovered resource from a migration
|
|
10
|
-
* task.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MigrationHubClient, DisassociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
15
|
-
* // const { MigrationHubClient, DisassociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
16
|
-
* const client = new MigrationHubClient(config);
|
|
17
|
-
* const command = new DisassociateDiscoveredResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DisassociateDiscoveredResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DisassociateDiscoveredResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DisassociateDiscoveredResourceCommand 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 DisassociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DisassociateDiscoveredResourceCommand = DisassociateDiscoveredResourceCommand;
|
|
62
|
-
//# sourceMappingURL=DisassociateDiscoveredResourceCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Registers a new migration task which represents a server, database, etc., being migrated
|
|
10
|
-
* to AWS by a migration tool.</p>
|
|
11
|
-
* <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as
|
|
12
|
-
* the migration tool must first register the migration task with Migration Hub.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { MigrationHubClient, ImportMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
17
|
-
* // const { MigrationHubClient, ImportMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
18
|
-
* const client = new MigrationHubClient(config);
|
|
19
|
-
* const command = new ImportMigrationTaskCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ImportMigrationTaskCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ImportMigrationTaskCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class ImportMigrationTaskCommand 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 ImportMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.ImportMigrationTaskCommand = ImportMigrationTaskCommand;
|
|
64
|
-
//# sourceMappingURL=ImportMigrationTaskCommand.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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists all the migration statuses for your applications. If you use the optional
|
|
10
|
-
* <code>ApplicationIds</code> parameter, only the migration statuses for those
|
|
11
|
-
* applications will be returned.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { MigrationHubClient, ListApplicationStatesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
16
|
-
* // const { MigrationHubClient, ListApplicationStatesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
17
|
-
* const client = new MigrationHubClient(config);
|
|
18
|
-
* const command = new ListApplicationStatesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListApplicationStatesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListApplicationStatesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListApplicationStatesCommand 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 ListApplicationStatesCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.ListApplicationStatesCommand = ListApplicationStatesCommand;
|
|
63
|
-
//# sourceMappingURL=ListApplicationStatesCommand.js.map
|
|
@@ -5,49 +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_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the created artifacts attached to a given migration task in an update stream. This
|
|
10
|
-
* API has the following traits:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>Gets the list of the created artifacts while
|
|
14
|
-
* migration is taking place.</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>Shows the artifacts created by the migration tool that was associated by the
|
|
18
|
-
* <code>AssociateCreatedArtifact</code> API. </p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>Lists created artifacts in a paginated interface. </p>
|
|
22
|
-
* </li>
|
|
23
|
-
* </ul>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { MigrationHubClient, ListCreatedArtifactsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
28
|
-
* // const { MigrationHubClient, ListCreatedArtifactsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
29
|
-
* const client = new MigrationHubClient(config);
|
|
30
|
-
* const command = new ListCreatedArtifactsCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link ListCreatedArtifactsCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link ListCreatedArtifactsCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class ListCreatedArtifactsCommand extends smithy_client_1.Command {
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
9
|
constructor(input) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
10
|
super();
|
|
45
11
|
this.input = input;
|
|
46
|
-
// End section: command_constructor
|
|
47
12
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
52
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -72,4 +34,3 @@ class ListCreatedArtifactsCommand extends smithy_client_1.Command {
|
|
|
72
34
|
}
|
|
73
35
|
}
|
|
74
36
|
exports.ListCreatedArtifactsCommand = ListCreatedArtifactsCommand;
|
|
75
|
-
//# sourceMappingURL=ListCreatedArtifactsCommand.js.map
|