@aws-sdk/client-migration-hub 3.36.0 → 3.36.1
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 +11 -0
- package/dist-cjs/MigrationHub.js +0 -8
- package/dist-cjs/MigrationHubClient.js +0 -13
- package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -41
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -25
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -28
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -54
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -24
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -24
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -40
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -25
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -27
- package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -26
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -38
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -24
- package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -37
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -24
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -27
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -41
- package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -49
- package/dist-cjs/models/models_0.js +0 -156
- package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -10
- package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -10
- package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- 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/models/models_0.d.ts +165 -648
- 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 +3 -3
|
@@ -6,42 +6,11 @@ export interface ListMigrationTasksCommandInput extends ListMigrationTasksReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListMigrationTasksCommandOutput extends ListMigrationTasksResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Lists all, or filtered by resource name, migration tasks associated with the user
|
|
11
|
-
* account making this call. This API has the following traits:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>Can show a summary list of the most recent migration tasks.</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>Can show a summary list of migration tasks associated with a given discovered
|
|
18
|
-
* resource.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>Lists migration tasks 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, ListMigrationTasksCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
28
|
-
* // const { MigrationHubClient, ListMigrationTasksCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
29
|
-
* const client = new MigrationHubClient(config);
|
|
30
|
-
* const command = new ListMigrationTasksCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link ListMigrationTasksCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link ListMigrationTasksCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
9
|
+
|
|
39
10
|
export declare class ListMigrationTasksCommand extends $Command<ListMigrationTasksCommandInput, ListMigrationTasksCommandOutput, MigrationHubClientResolvedConfig> {
|
|
40
11
|
readonly input: ListMigrationTasksCommandInput;
|
|
41
12
|
constructor(input: ListMigrationTasksCommandInput);
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
13
|
+
|
|
45
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMigrationTasksCommandInput, ListMigrationTasksCommandOutput>;
|
|
46
15
|
private serialize;
|
|
47
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListProgressUpdateStreamsCommandInput extends ListProgressUpdat
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListProgressUpdateStreamsCommandOutput extends ListProgressUpdateStreamsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Lists progress update streams associated with the user account making this call.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MigrationHubClient, ListProgressUpdateStreamsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
15
|
-
* // const { MigrationHubClient, ListProgressUpdateStreamsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
16
|
-
* const client = new MigrationHubClient(config);
|
|
17
|
-
* const command = new ListProgressUpdateStreamsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListProgressUpdateStreamsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListProgressUpdateStreamsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListProgressUpdateStreamsCommand extends $Command<ListProgressUpdateStreamsCommandInput, ListProgressUpdateStreamsCommandOutput, MigrationHubClientResolvedConfig> {
|
|
27
11
|
readonly input: ListProgressUpdateStreamsCommandInput;
|
|
28
12
|
constructor(input: ListProgressUpdateStreamsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProgressUpdateStreamsCommandInput, ListProgressUpdateStreamsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface NotifyApplicationStateCommandInput extends NotifyApplicationSta
|
|
|
6
6
|
}
|
|
7
7
|
export interface NotifyApplicationStateCommandOutput extends NotifyApplicationStateResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Sets the migration state of an application. For a given application identified by the
|
|
11
|
-
* value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
|
|
12
|
-
* three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
|
|
13
|
-
* COMPLETED</code>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { MigrationHubClient, NotifyApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
18
|
-
* // const { MigrationHubClient, NotifyApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
19
|
-
* const client = new MigrationHubClient(config);
|
|
20
|
-
* const command = new NotifyApplicationStateCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link NotifyApplicationStateCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link NotifyApplicationStateCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class NotifyApplicationStateCommand extends $Command<NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput, MigrationHubClientResolvedConfig> {
|
|
30
11
|
readonly input: NotifyApplicationStateCommandInput;
|
|
31
12
|
constructor(input: NotifyApplicationStateCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,46 +6,11 @@ export interface NotifyMigrationTaskStateCommandInput extends NotifyMigrationTas
|
|
|
6
6
|
}
|
|
7
7
|
export interface NotifyMigrationTaskStateCommandOutput extends NotifyMigrationTaskStateResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Notifies Migration Hub of the current status, progress, or other detail regarding a
|
|
11
|
-
* migration task. This API has the following traits:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
|
|
15
|
-
* the latest progress and status.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>MigrationTaskName</code> is used for addressing updates to the correct
|
|
20
|
-
* target.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>
|
|
24
|
-
* <code>ProgressUpdateStream</code> is used for access control and to provide a
|
|
25
|
-
* namespace for each migration tool.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MigrationHubClient, NotifyMigrationTaskStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
32
|
-
* // const { MigrationHubClient, NotifyMigrationTaskStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
33
|
-
* const client = new MigrationHubClient(config);
|
|
34
|
-
* const command = new NotifyMigrationTaskStateCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link NotifyMigrationTaskStateCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link NotifyMigrationTaskStateCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
9
|
+
|
|
43
10
|
export declare class NotifyMigrationTaskStateCommand extends $Command<NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput, MigrationHubClientResolvedConfig> {
|
|
44
11
|
readonly input: NotifyMigrationTaskStateCommandInput;
|
|
45
12
|
constructor(input: NotifyMigrationTaskStateCommandInput);
|
|
46
|
-
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
13
|
+
|
|
49
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput>;
|
|
50
15
|
private serialize;
|
|
51
16
|
private deserialize;
|
|
@@ -6,54 +6,11 @@ export interface PutResourceAttributesCommandInput extends PutResourceAttributes
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutResourceAttributesCommandOutput extends PutResourceAttributesResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Provides identifying details of the resource being migrated so that it can be associated
|
|
11
|
-
* in the Application Discovery Service repository. This association occurs asynchronously
|
|
12
|
-
* after <code>PutResourceAttributes</code> returns.</p>
|
|
13
|
-
* <important>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Keep in mind that subsequent calls to PutResourceAttributes will override
|
|
17
|
-
* previously stored attributes. For example, if it is first called with a MAC
|
|
18
|
-
* address, but later, it is desired to <i>add</i> an IP address, it
|
|
19
|
-
* will then be required to call it with <i>both</i> the IP and MAC
|
|
20
|
-
* addresses to prevent overriding the MAC address.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Note the instructions regarding the special use case of the <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList">
|
|
24
|
-
* <code>ResourceAttributeList</code>
|
|
25
|
-
* </a> parameter when specifying any
|
|
26
|
-
* "VM" related value.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
* </important>
|
|
30
|
-
*
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Because this is an asynchronous call, it will always return 200, whether an
|
|
33
|
-
* association occurs or not. To confirm if an association was found based on the provided
|
|
34
|
-
* details, call <code>ListDiscoveredResources</code>.</p>
|
|
35
|
-
* </note>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { MigrationHubClient, PutResourceAttributesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
40
|
-
* // const { MigrationHubClient, PutResourceAttributesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
41
|
-
* const client = new MigrationHubClient(config);
|
|
42
|
-
* const command = new PutResourceAttributesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link PutResourceAttributesCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link PutResourceAttributesCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
9
|
+
|
|
51
10
|
export declare class PutResourceAttributesCommand extends $Command<PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput, MigrationHubClientResolvedConfig> {
|
|
52
11
|
readonly input: PutResourceAttributesCommandInput;
|
|
53
12
|
constructor(input: PutResourceAttributesCommandInput);
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
13
|
+
|
|
57
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput>;
|
|
58
15
|
private serialize;
|
|
59
16
|
private deserialize;
|