@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/src/MigrationHub.ts
DELETED
|
@@ -1,788 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateCreatedArtifactCommand,
|
|
5
|
-
AssociateCreatedArtifactCommandInput,
|
|
6
|
-
AssociateCreatedArtifactCommandOutput,
|
|
7
|
-
} from "./commands/AssociateCreatedArtifactCommand";
|
|
8
|
-
import {
|
|
9
|
-
AssociateDiscoveredResourceCommand,
|
|
10
|
-
AssociateDiscoveredResourceCommandInput,
|
|
11
|
-
AssociateDiscoveredResourceCommandOutput,
|
|
12
|
-
} from "./commands/AssociateDiscoveredResourceCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateProgressUpdateStreamCommand,
|
|
15
|
-
CreateProgressUpdateStreamCommandInput,
|
|
16
|
-
CreateProgressUpdateStreamCommandOutput,
|
|
17
|
-
} from "./commands/CreateProgressUpdateStreamCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteProgressUpdateStreamCommand,
|
|
20
|
-
DeleteProgressUpdateStreamCommandInput,
|
|
21
|
-
DeleteProgressUpdateStreamCommandOutput,
|
|
22
|
-
} from "./commands/DeleteProgressUpdateStreamCommand";
|
|
23
|
-
import {
|
|
24
|
-
DescribeApplicationStateCommand,
|
|
25
|
-
DescribeApplicationStateCommandInput,
|
|
26
|
-
DescribeApplicationStateCommandOutput,
|
|
27
|
-
} from "./commands/DescribeApplicationStateCommand";
|
|
28
|
-
import {
|
|
29
|
-
DescribeMigrationTaskCommand,
|
|
30
|
-
DescribeMigrationTaskCommandInput,
|
|
31
|
-
DescribeMigrationTaskCommandOutput,
|
|
32
|
-
} from "./commands/DescribeMigrationTaskCommand";
|
|
33
|
-
import {
|
|
34
|
-
DisassociateCreatedArtifactCommand,
|
|
35
|
-
DisassociateCreatedArtifactCommandInput,
|
|
36
|
-
DisassociateCreatedArtifactCommandOutput,
|
|
37
|
-
} from "./commands/DisassociateCreatedArtifactCommand";
|
|
38
|
-
import {
|
|
39
|
-
DisassociateDiscoveredResourceCommand,
|
|
40
|
-
DisassociateDiscoveredResourceCommandInput,
|
|
41
|
-
DisassociateDiscoveredResourceCommandOutput,
|
|
42
|
-
} from "./commands/DisassociateDiscoveredResourceCommand";
|
|
43
|
-
import {
|
|
44
|
-
ImportMigrationTaskCommand,
|
|
45
|
-
ImportMigrationTaskCommandInput,
|
|
46
|
-
ImportMigrationTaskCommandOutput,
|
|
47
|
-
} from "./commands/ImportMigrationTaskCommand";
|
|
48
|
-
import {
|
|
49
|
-
ListApplicationStatesCommand,
|
|
50
|
-
ListApplicationStatesCommandInput,
|
|
51
|
-
ListApplicationStatesCommandOutput,
|
|
52
|
-
} from "./commands/ListApplicationStatesCommand";
|
|
53
|
-
import {
|
|
54
|
-
ListCreatedArtifactsCommand,
|
|
55
|
-
ListCreatedArtifactsCommandInput,
|
|
56
|
-
ListCreatedArtifactsCommandOutput,
|
|
57
|
-
} from "./commands/ListCreatedArtifactsCommand";
|
|
58
|
-
import {
|
|
59
|
-
ListDiscoveredResourcesCommand,
|
|
60
|
-
ListDiscoveredResourcesCommandInput,
|
|
61
|
-
ListDiscoveredResourcesCommandOutput,
|
|
62
|
-
} from "./commands/ListDiscoveredResourcesCommand";
|
|
63
|
-
import {
|
|
64
|
-
ListMigrationTasksCommand,
|
|
65
|
-
ListMigrationTasksCommandInput,
|
|
66
|
-
ListMigrationTasksCommandOutput,
|
|
67
|
-
} from "./commands/ListMigrationTasksCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListProgressUpdateStreamsCommand,
|
|
70
|
-
ListProgressUpdateStreamsCommandInput,
|
|
71
|
-
ListProgressUpdateStreamsCommandOutput,
|
|
72
|
-
} from "./commands/ListProgressUpdateStreamsCommand";
|
|
73
|
-
import {
|
|
74
|
-
NotifyApplicationStateCommand,
|
|
75
|
-
NotifyApplicationStateCommandInput,
|
|
76
|
-
NotifyApplicationStateCommandOutput,
|
|
77
|
-
} from "./commands/NotifyApplicationStateCommand";
|
|
78
|
-
import {
|
|
79
|
-
NotifyMigrationTaskStateCommand,
|
|
80
|
-
NotifyMigrationTaskStateCommandInput,
|
|
81
|
-
NotifyMigrationTaskStateCommandOutput,
|
|
82
|
-
} from "./commands/NotifyMigrationTaskStateCommand";
|
|
83
|
-
import {
|
|
84
|
-
PutResourceAttributesCommand,
|
|
85
|
-
PutResourceAttributesCommandInput,
|
|
86
|
-
PutResourceAttributesCommandOutput,
|
|
87
|
-
} from "./commands/PutResourceAttributesCommand";
|
|
88
|
-
import { MigrationHubClient } from "./MigrationHubClient";
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* <p>The AWS Migration Hub API methods help to obtain server and application migration status
|
|
92
|
-
* and integrate your resource-specific migration tool by providing a programmatic interface
|
|
93
|
-
* to Migration Hub.</p>
|
|
94
|
-
* <p>Remember that you must set your AWS Migration Hub home region before you call any of
|
|
95
|
-
* these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
|
|
96
|
-
* must make the API calls while in your home region.</p>
|
|
97
|
-
*/
|
|
98
|
-
export class MigrationHub extends MigrationHubClient {
|
|
99
|
-
/**
|
|
100
|
-
* <p>Associates a created artifact of an AWS cloud resource, the target receiving the
|
|
101
|
-
* migration, with the migration task performed by a migration tool. This API has the
|
|
102
|
-
* following traits:</p>
|
|
103
|
-
* <ul>
|
|
104
|
-
* <li>
|
|
105
|
-
* <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to
|
|
106
|
-
* indicate which AWS artifact is associated with a migration task.</p>
|
|
107
|
-
* </li>
|
|
108
|
-
* <li>
|
|
109
|
-
* <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
|
|
110
|
-
* which will contain information about type and region; for example:
|
|
111
|
-
* <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
|
|
112
|
-
* </li>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
|
|
115
|
-
* or DMS endpoint, etc.</p>
|
|
116
|
-
* </li>
|
|
117
|
-
* </ul>
|
|
118
|
-
*/
|
|
119
|
-
public associateCreatedArtifact(
|
|
120
|
-
args: AssociateCreatedArtifactCommandInput,
|
|
121
|
-
options?: __HttpHandlerOptions
|
|
122
|
-
): Promise<AssociateCreatedArtifactCommandOutput>;
|
|
123
|
-
public associateCreatedArtifact(
|
|
124
|
-
args: AssociateCreatedArtifactCommandInput,
|
|
125
|
-
cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void
|
|
126
|
-
): void;
|
|
127
|
-
public associateCreatedArtifact(
|
|
128
|
-
args: AssociateCreatedArtifactCommandInput,
|
|
129
|
-
options: __HttpHandlerOptions,
|
|
130
|
-
cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void
|
|
131
|
-
): void;
|
|
132
|
-
public associateCreatedArtifact(
|
|
133
|
-
args: AssociateCreatedArtifactCommandInput,
|
|
134
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateCreatedArtifactCommandOutput) => void),
|
|
135
|
-
cb?: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void
|
|
136
|
-
): Promise<AssociateCreatedArtifactCommandOutput> | void {
|
|
137
|
-
const command = new AssociateCreatedArtifactCommand(args);
|
|
138
|
-
if (typeof optionsOrCb === "function") {
|
|
139
|
-
this.send(command, optionsOrCb);
|
|
140
|
-
} else if (typeof cb === "function") {
|
|
141
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
-
} else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* <p>Associates a discovered resource ID from Application Discovery Service with a migration
|
|
150
|
-
* task.</p>
|
|
151
|
-
*/
|
|
152
|
-
public associateDiscoveredResource(
|
|
153
|
-
args: AssociateDiscoveredResourceCommandInput,
|
|
154
|
-
options?: __HttpHandlerOptions
|
|
155
|
-
): Promise<AssociateDiscoveredResourceCommandOutput>;
|
|
156
|
-
public associateDiscoveredResource(
|
|
157
|
-
args: AssociateDiscoveredResourceCommandInput,
|
|
158
|
-
cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void
|
|
159
|
-
): void;
|
|
160
|
-
public associateDiscoveredResource(
|
|
161
|
-
args: AssociateDiscoveredResourceCommandInput,
|
|
162
|
-
options: __HttpHandlerOptions,
|
|
163
|
-
cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void
|
|
164
|
-
): void;
|
|
165
|
-
public associateDiscoveredResource(
|
|
166
|
-
args: AssociateDiscoveredResourceCommandInput,
|
|
167
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateDiscoveredResourceCommandOutput) => void),
|
|
168
|
-
cb?: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void
|
|
169
|
-
): Promise<AssociateDiscoveredResourceCommandOutput> | void {
|
|
170
|
-
const command = new AssociateDiscoveredResourceCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
} else if (typeof cb === "function") {
|
|
174
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
} else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* <p>Creates a progress update stream which is an AWS resource used for access control as
|
|
183
|
-
* well as a namespace for migration task names that is implicitly linked to your AWS account.
|
|
184
|
-
* It must uniquely identify the migration tool as it is used for all updates made by the
|
|
185
|
-
* tool; however, it does not need to be unique for each AWS account because it is scoped to
|
|
186
|
-
* the AWS account.</p>
|
|
187
|
-
*/
|
|
188
|
-
public createProgressUpdateStream(
|
|
189
|
-
args: CreateProgressUpdateStreamCommandInput,
|
|
190
|
-
options?: __HttpHandlerOptions
|
|
191
|
-
): Promise<CreateProgressUpdateStreamCommandOutput>;
|
|
192
|
-
public createProgressUpdateStream(
|
|
193
|
-
args: CreateProgressUpdateStreamCommandInput,
|
|
194
|
-
cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void
|
|
195
|
-
): void;
|
|
196
|
-
public createProgressUpdateStream(
|
|
197
|
-
args: CreateProgressUpdateStreamCommandInput,
|
|
198
|
-
options: __HttpHandlerOptions,
|
|
199
|
-
cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void
|
|
200
|
-
): void;
|
|
201
|
-
public createProgressUpdateStream(
|
|
202
|
-
args: CreateProgressUpdateStreamCommandInput,
|
|
203
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProgressUpdateStreamCommandOutput) => void),
|
|
204
|
-
cb?: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void
|
|
205
|
-
): Promise<CreateProgressUpdateStreamCommandOutput> | void {
|
|
206
|
-
const command = new CreateProgressUpdateStreamCommand(args);
|
|
207
|
-
if (typeof optionsOrCb === "function") {
|
|
208
|
-
this.send(command, optionsOrCb);
|
|
209
|
-
} else if (typeof cb === "function") {
|
|
210
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
} else {
|
|
213
|
-
return this.send(command, optionsOrCb);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* <p>Deletes a progress update stream, including all of its tasks, which was previously
|
|
219
|
-
* created as an AWS resource used for access control. This API has the following
|
|
220
|
-
* traits:</p>
|
|
221
|
-
* <ul>
|
|
222
|
-
* <li>
|
|
223
|
-
* <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the
|
|
224
|
-
* stream name (same as a <code>CreateProgressUpdateStream</code> call).</p>
|
|
225
|
-
* </li>
|
|
226
|
-
* <li>
|
|
227
|
-
* <p>The call will return, and a background process will asynchronously delete the
|
|
228
|
-
* stream and all of its resources (tasks, associated resources, resource attributes,
|
|
229
|
-
* created artifacts).</p>
|
|
230
|
-
* </li>
|
|
231
|
-
* <li>
|
|
232
|
-
* <p>If the stream takes time to be deleted, it might still show up on a
|
|
233
|
-
* <code>ListProgressUpdateStreams</code> call.</p>
|
|
234
|
-
* </li>
|
|
235
|
-
* <li>
|
|
236
|
-
* <p>
|
|
237
|
-
* <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>,
|
|
238
|
-
* <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs related to the
|
|
239
|
-
* tasks belonging to the stream will throw "InvalidInputException" if the stream of the
|
|
240
|
-
* same name is in the process of being deleted.</p>
|
|
241
|
-
* </li>
|
|
242
|
-
* <li>
|
|
243
|
-
* <p>Once the stream and all of its resources are deleted,
|
|
244
|
-
* <code>CreateProgressUpdateStream</code> for a stream of the same name will
|
|
245
|
-
* succeed, and that stream will be an entirely new logical resource (without any
|
|
246
|
-
* resources associated with the old stream).</p>
|
|
247
|
-
* </li>
|
|
248
|
-
* </ul>
|
|
249
|
-
*/
|
|
250
|
-
public deleteProgressUpdateStream(
|
|
251
|
-
args: DeleteProgressUpdateStreamCommandInput,
|
|
252
|
-
options?: __HttpHandlerOptions
|
|
253
|
-
): Promise<DeleteProgressUpdateStreamCommandOutput>;
|
|
254
|
-
public deleteProgressUpdateStream(
|
|
255
|
-
args: DeleteProgressUpdateStreamCommandInput,
|
|
256
|
-
cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void
|
|
257
|
-
): void;
|
|
258
|
-
public deleteProgressUpdateStream(
|
|
259
|
-
args: DeleteProgressUpdateStreamCommandInput,
|
|
260
|
-
options: __HttpHandlerOptions,
|
|
261
|
-
cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void
|
|
262
|
-
): void;
|
|
263
|
-
public deleteProgressUpdateStream(
|
|
264
|
-
args: DeleteProgressUpdateStreamCommandInput,
|
|
265
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void),
|
|
266
|
-
cb?: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void
|
|
267
|
-
): Promise<DeleteProgressUpdateStreamCommandOutput> | void {
|
|
268
|
-
const command = new DeleteProgressUpdateStreamCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
} else if (typeof cb === "function") {
|
|
272
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
} else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* <p>Gets the migration status of an application.</p>
|
|
281
|
-
*/
|
|
282
|
-
public describeApplicationState(
|
|
283
|
-
args: DescribeApplicationStateCommandInput,
|
|
284
|
-
options?: __HttpHandlerOptions
|
|
285
|
-
): Promise<DescribeApplicationStateCommandOutput>;
|
|
286
|
-
public describeApplicationState(
|
|
287
|
-
args: DescribeApplicationStateCommandInput,
|
|
288
|
-
cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void
|
|
289
|
-
): void;
|
|
290
|
-
public describeApplicationState(
|
|
291
|
-
args: DescribeApplicationStateCommandInput,
|
|
292
|
-
options: __HttpHandlerOptions,
|
|
293
|
-
cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void
|
|
294
|
-
): void;
|
|
295
|
-
public describeApplicationState(
|
|
296
|
-
args: DescribeApplicationStateCommandInput,
|
|
297
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeApplicationStateCommandOutput) => void),
|
|
298
|
-
cb?: (err: any, data?: DescribeApplicationStateCommandOutput) => void
|
|
299
|
-
): Promise<DescribeApplicationStateCommandOutput> | void {
|
|
300
|
-
const command = new DescribeApplicationStateCommand(args);
|
|
301
|
-
if (typeof optionsOrCb === "function") {
|
|
302
|
-
this.send(command, optionsOrCb);
|
|
303
|
-
} else if (typeof cb === "function") {
|
|
304
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
} else {
|
|
307
|
-
return this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* <p>Retrieves a list of all attributes associated with a specific migration task.</p>
|
|
313
|
-
*/
|
|
314
|
-
public describeMigrationTask(
|
|
315
|
-
args: DescribeMigrationTaskCommandInput,
|
|
316
|
-
options?: __HttpHandlerOptions
|
|
317
|
-
): Promise<DescribeMigrationTaskCommandOutput>;
|
|
318
|
-
public describeMigrationTask(
|
|
319
|
-
args: DescribeMigrationTaskCommandInput,
|
|
320
|
-
cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void
|
|
321
|
-
): void;
|
|
322
|
-
public describeMigrationTask(
|
|
323
|
-
args: DescribeMigrationTaskCommandInput,
|
|
324
|
-
options: __HttpHandlerOptions,
|
|
325
|
-
cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void
|
|
326
|
-
): void;
|
|
327
|
-
public describeMigrationTask(
|
|
328
|
-
args: DescribeMigrationTaskCommandInput,
|
|
329
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMigrationTaskCommandOutput) => void),
|
|
330
|
-
cb?: (err: any, data?: DescribeMigrationTaskCommandOutput) => void
|
|
331
|
-
): Promise<DescribeMigrationTaskCommandOutput> | void {
|
|
332
|
-
const command = new DescribeMigrationTaskCommand(args);
|
|
333
|
-
if (typeof optionsOrCb === "function") {
|
|
334
|
-
this.send(command, optionsOrCb);
|
|
335
|
-
} else if (typeof cb === "function") {
|
|
336
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
-
} else {
|
|
339
|
-
return this.send(command, optionsOrCb);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* <p>Disassociates a created artifact of an AWS resource with a migration task performed by a
|
|
345
|
-
* migration tool that was previously associated. This API has the following traits:</p>
|
|
346
|
-
* <ul>
|
|
347
|
-
* <li>
|
|
348
|
-
* <p>A migration user can call the <code>DisassociateCreatedArtifacts</code> operation
|
|
349
|
-
* to disassociate a created AWS Artifact from a migration task.</p>
|
|
350
|
-
* </li>
|
|
351
|
-
* <li>
|
|
352
|
-
* <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
|
|
353
|
-
* which will contain information about type and region; for example:
|
|
354
|
-
* <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
|
|
355
|
-
* </li>
|
|
356
|
-
* <li>
|
|
357
|
-
* <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
|
|
358
|
-
* or RDS instance, etc.</p>
|
|
359
|
-
* </li>
|
|
360
|
-
* </ul>
|
|
361
|
-
*/
|
|
362
|
-
public disassociateCreatedArtifact(
|
|
363
|
-
args: DisassociateCreatedArtifactCommandInput,
|
|
364
|
-
options?: __HttpHandlerOptions
|
|
365
|
-
): Promise<DisassociateCreatedArtifactCommandOutput>;
|
|
366
|
-
public disassociateCreatedArtifact(
|
|
367
|
-
args: DisassociateCreatedArtifactCommandInput,
|
|
368
|
-
cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void
|
|
369
|
-
): void;
|
|
370
|
-
public disassociateCreatedArtifact(
|
|
371
|
-
args: DisassociateCreatedArtifactCommandInput,
|
|
372
|
-
options: __HttpHandlerOptions,
|
|
373
|
-
cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void
|
|
374
|
-
): void;
|
|
375
|
-
public disassociateCreatedArtifact(
|
|
376
|
-
args: DisassociateCreatedArtifactCommandInput,
|
|
377
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateCreatedArtifactCommandOutput) => void),
|
|
378
|
-
cb?: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void
|
|
379
|
-
): Promise<DisassociateCreatedArtifactCommandOutput> | void {
|
|
380
|
-
const command = new DisassociateCreatedArtifactCommand(args);
|
|
381
|
-
if (typeof optionsOrCb === "function") {
|
|
382
|
-
this.send(command, optionsOrCb);
|
|
383
|
-
} else if (typeof cb === "function") {
|
|
384
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
385
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
386
|
-
} else {
|
|
387
|
-
return this.send(command, optionsOrCb);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* <p>Disassociate an Application Discovery Service discovered resource from a migration
|
|
393
|
-
* task.</p>
|
|
394
|
-
*/
|
|
395
|
-
public disassociateDiscoveredResource(
|
|
396
|
-
args: DisassociateDiscoveredResourceCommandInput,
|
|
397
|
-
options?: __HttpHandlerOptions
|
|
398
|
-
): Promise<DisassociateDiscoveredResourceCommandOutput>;
|
|
399
|
-
public disassociateDiscoveredResource(
|
|
400
|
-
args: DisassociateDiscoveredResourceCommandInput,
|
|
401
|
-
cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void
|
|
402
|
-
): void;
|
|
403
|
-
public disassociateDiscoveredResource(
|
|
404
|
-
args: DisassociateDiscoveredResourceCommandInput,
|
|
405
|
-
options: __HttpHandlerOptions,
|
|
406
|
-
cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void
|
|
407
|
-
): void;
|
|
408
|
-
public disassociateDiscoveredResource(
|
|
409
|
-
args: DisassociateDiscoveredResourceCommandInput,
|
|
410
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void),
|
|
411
|
-
cb?: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void
|
|
412
|
-
): Promise<DisassociateDiscoveredResourceCommandOutput> | void {
|
|
413
|
-
const command = new DisassociateDiscoveredResourceCommand(args);
|
|
414
|
-
if (typeof optionsOrCb === "function") {
|
|
415
|
-
this.send(command, optionsOrCb);
|
|
416
|
-
} else if (typeof cb === "function") {
|
|
417
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
418
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
419
|
-
} else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* <p>Registers a new migration task which represents a server, database, etc., being migrated
|
|
426
|
-
* to AWS by a migration tool.</p>
|
|
427
|
-
* <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as
|
|
428
|
-
* the migration tool must first register the migration task with Migration Hub.</p>
|
|
429
|
-
*/
|
|
430
|
-
public importMigrationTask(
|
|
431
|
-
args: ImportMigrationTaskCommandInput,
|
|
432
|
-
options?: __HttpHandlerOptions
|
|
433
|
-
): Promise<ImportMigrationTaskCommandOutput>;
|
|
434
|
-
public importMigrationTask(
|
|
435
|
-
args: ImportMigrationTaskCommandInput,
|
|
436
|
-
cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void
|
|
437
|
-
): void;
|
|
438
|
-
public importMigrationTask(
|
|
439
|
-
args: ImportMigrationTaskCommandInput,
|
|
440
|
-
options: __HttpHandlerOptions,
|
|
441
|
-
cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void
|
|
442
|
-
): void;
|
|
443
|
-
public importMigrationTask(
|
|
444
|
-
args: ImportMigrationTaskCommandInput,
|
|
445
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportMigrationTaskCommandOutput) => void),
|
|
446
|
-
cb?: (err: any, data?: ImportMigrationTaskCommandOutput) => void
|
|
447
|
-
): Promise<ImportMigrationTaskCommandOutput> | void {
|
|
448
|
-
const command = new ImportMigrationTaskCommand(args);
|
|
449
|
-
if (typeof optionsOrCb === "function") {
|
|
450
|
-
this.send(command, optionsOrCb);
|
|
451
|
-
} else if (typeof cb === "function") {
|
|
452
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
-
} else {
|
|
455
|
-
return this.send(command, optionsOrCb);
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* <p>Lists all the migration statuses for your applications. If you use the optional
|
|
461
|
-
* <code>ApplicationIds</code> parameter, only the migration statuses for those
|
|
462
|
-
* applications will be returned.</p>
|
|
463
|
-
*/
|
|
464
|
-
public listApplicationStates(
|
|
465
|
-
args: ListApplicationStatesCommandInput,
|
|
466
|
-
options?: __HttpHandlerOptions
|
|
467
|
-
): Promise<ListApplicationStatesCommandOutput>;
|
|
468
|
-
public listApplicationStates(
|
|
469
|
-
args: ListApplicationStatesCommandInput,
|
|
470
|
-
cb: (err: any, data?: ListApplicationStatesCommandOutput) => void
|
|
471
|
-
): void;
|
|
472
|
-
public listApplicationStates(
|
|
473
|
-
args: ListApplicationStatesCommandInput,
|
|
474
|
-
options: __HttpHandlerOptions,
|
|
475
|
-
cb: (err: any, data?: ListApplicationStatesCommandOutput) => void
|
|
476
|
-
): void;
|
|
477
|
-
public listApplicationStates(
|
|
478
|
-
args: ListApplicationStatesCommandInput,
|
|
479
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationStatesCommandOutput) => void),
|
|
480
|
-
cb?: (err: any, data?: ListApplicationStatesCommandOutput) => void
|
|
481
|
-
): Promise<ListApplicationStatesCommandOutput> | void {
|
|
482
|
-
const command = new ListApplicationStatesCommand(args);
|
|
483
|
-
if (typeof optionsOrCb === "function") {
|
|
484
|
-
this.send(command, optionsOrCb);
|
|
485
|
-
} else if (typeof cb === "function") {
|
|
486
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
488
|
-
} else {
|
|
489
|
-
return this.send(command, optionsOrCb);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* <p>Lists the created artifacts attached to a given migration task in an update stream. This
|
|
495
|
-
* API has the following traits:</p>
|
|
496
|
-
* <ul>
|
|
497
|
-
* <li>
|
|
498
|
-
* <p>Gets the list of the created artifacts while
|
|
499
|
-
* migration is taking place.</p>
|
|
500
|
-
* </li>
|
|
501
|
-
* <li>
|
|
502
|
-
* <p>Shows the artifacts created by the migration tool that was associated by the
|
|
503
|
-
* <code>AssociateCreatedArtifact</code> API. </p>
|
|
504
|
-
* </li>
|
|
505
|
-
* <li>
|
|
506
|
-
* <p>Lists created artifacts in a paginated interface. </p>
|
|
507
|
-
* </li>
|
|
508
|
-
* </ul>
|
|
509
|
-
*/
|
|
510
|
-
public listCreatedArtifacts(
|
|
511
|
-
args: ListCreatedArtifactsCommandInput,
|
|
512
|
-
options?: __HttpHandlerOptions
|
|
513
|
-
): Promise<ListCreatedArtifactsCommandOutput>;
|
|
514
|
-
public listCreatedArtifacts(
|
|
515
|
-
args: ListCreatedArtifactsCommandInput,
|
|
516
|
-
cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public listCreatedArtifacts(
|
|
519
|
-
args: ListCreatedArtifactsCommandInput,
|
|
520
|
-
options: __HttpHandlerOptions,
|
|
521
|
-
cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void
|
|
522
|
-
): void;
|
|
523
|
-
public listCreatedArtifacts(
|
|
524
|
-
args: ListCreatedArtifactsCommandInput,
|
|
525
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCreatedArtifactsCommandOutput) => void),
|
|
526
|
-
cb?: (err: any, data?: ListCreatedArtifactsCommandOutput) => void
|
|
527
|
-
): Promise<ListCreatedArtifactsCommandOutput> | void {
|
|
528
|
-
const command = new ListCreatedArtifactsCommand(args);
|
|
529
|
-
if (typeof optionsOrCb === "function") {
|
|
530
|
-
this.send(command, optionsOrCb);
|
|
531
|
-
} else if (typeof cb === "function") {
|
|
532
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
} else {
|
|
535
|
-
return this.send(command, optionsOrCb);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* <p>Lists discovered resources associated with the given <code>MigrationTask</code>.</p>
|
|
541
|
-
*/
|
|
542
|
-
public listDiscoveredResources(
|
|
543
|
-
args: ListDiscoveredResourcesCommandInput,
|
|
544
|
-
options?: __HttpHandlerOptions
|
|
545
|
-
): Promise<ListDiscoveredResourcesCommandOutput>;
|
|
546
|
-
public listDiscoveredResources(
|
|
547
|
-
args: ListDiscoveredResourcesCommandInput,
|
|
548
|
-
cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public listDiscoveredResources(
|
|
551
|
-
args: ListDiscoveredResourcesCommandInput,
|
|
552
|
-
options: __HttpHandlerOptions,
|
|
553
|
-
cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void
|
|
554
|
-
): void;
|
|
555
|
-
public listDiscoveredResources(
|
|
556
|
-
args: ListDiscoveredResourcesCommandInput,
|
|
557
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDiscoveredResourcesCommandOutput) => void),
|
|
558
|
-
cb?: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void
|
|
559
|
-
): Promise<ListDiscoveredResourcesCommandOutput> | void {
|
|
560
|
-
const command = new ListDiscoveredResourcesCommand(args);
|
|
561
|
-
if (typeof optionsOrCb === "function") {
|
|
562
|
-
this.send(command, optionsOrCb);
|
|
563
|
-
} else if (typeof cb === "function") {
|
|
564
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
566
|
-
} else {
|
|
567
|
-
return this.send(command, optionsOrCb);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* <p>Lists all, or filtered by resource name, migration tasks associated with the user
|
|
573
|
-
* account making this call. This API has the following traits:</p>
|
|
574
|
-
* <ul>
|
|
575
|
-
* <li>
|
|
576
|
-
* <p>Can show a summary list of the most recent migration tasks.</p>
|
|
577
|
-
* </li>
|
|
578
|
-
* <li>
|
|
579
|
-
* <p>Can show a summary list of migration tasks associated with a given discovered
|
|
580
|
-
* resource.</p>
|
|
581
|
-
* </li>
|
|
582
|
-
* <li>
|
|
583
|
-
* <p>Lists migration tasks in a paginated interface.</p>
|
|
584
|
-
* </li>
|
|
585
|
-
* </ul>
|
|
586
|
-
*/
|
|
587
|
-
public listMigrationTasks(
|
|
588
|
-
args: ListMigrationTasksCommandInput,
|
|
589
|
-
options?: __HttpHandlerOptions
|
|
590
|
-
): Promise<ListMigrationTasksCommandOutput>;
|
|
591
|
-
public listMigrationTasks(
|
|
592
|
-
args: ListMigrationTasksCommandInput,
|
|
593
|
-
cb: (err: any, data?: ListMigrationTasksCommandOutput) => void
|
|
594
|
-
): void;
|
|
595
|
-
public listMigrationTasks(
|
|
596
|
-
args: ListMigrationTasksCommandInput,
|
|
597
|
-
options: __HttpHandlerOptions,
|
|
598
|
-
cb: (err: any, data?: ListMigrationTasksCommandOutput) => void
|
|
599
|
-
): void;
|
|
600
|
-
public listMigrationTasks(
|
|
601
|
-
args: ListMigrationTasksCommandInput,
|
|
602
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMigrationTasksCommandOutput) => void),
|
|
603
|
-
cb?: (err: any, data?: ListMigrationTasksCommandOutput) => void
|
|
604
|
-
): Promise<ListMigrationTasksCommandOutput> | void {
|
|
605
|
-
const command = new ListMigrationTasksCommand(args);
|
|
606
|
-
if (typeof optionsOrCb === "function") {
|
|
607
|
-
this.send(command, optionsOrCb);
|
|
608
|
-
} else if (typeof cb === "function") {
|
|
609
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
610
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
611
|
-
} else {
|
|
612
|
-
return this.send(command, optionsOrCb);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* <p>Lists progress update streams associated with the user account making this call.</p>
|
|
618
|
-
*/
|
|
619
|
-
public listProgressUpdateStreams(
|
|
620
|
-
args: ListProgressUpdateStreamsCommandInput,
|
|
621
|
-
options?: __HttpHandlerOptions
|
|
622
|
-
): Promise<ListProgressUpdateStreamsCommandOutput>;
|
|
623
|
-
public listProgressUpdateStreams(
|
|
624
|
-
args: ListProgressUpdateStreamsCommandInput,
|
|
625
|
-
cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void
|
|
626
|
-
): void;
|
|
627
|
-
public listProgressUpdateStreams(
|
|
628
|
-
args: ListProgressUpdateStreamsCommandInput,
|
|
629
|
-
options: __HttpHandlerOptions,
|
|
630
|
-
cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void
|
|
631
|
-
): void;
|
|
632
|
-
public listProgressUpdateStreams(
|
|
633
|
-
args: ListProgressUpdateStreamsCommandInput,
|
|
634
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProgressUpdateStreamsCommandOutput) => void),
|
|
635
|
-
cb?: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void
|
|
636
|
-
): Promise<ListProgressUpdateStreamsCommandOutput> | void {
|
|
637
|
-
const command = new ListProgressUpdateStreamsCommand(args);
|
|
638
|
-
if (typeof optionsOrCb === "function") {
|
|
639
|
-
this.send(command, optionsOrCb);
|
|
640
|
-
} else if (typeof cb === "function") {
|
|
641
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
642
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
643
|
-
} else {
|
|
644
|
-
return this.send(command, optionsOrCb);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* <p>Sets the migration state of an application. For a given application identified by the
|
|
650
|
-
* value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
|
|
651
|
-
* three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
|
|
652
|
-
* COMPLETED</code>.</p>
|
|
653
|
-
*/
|
|
654
|
-
public notifyApplicationState(
|
|
655
|
-
args: NotifyApplicationStateCommandInput,
|
|
656
|
-
options?: __HttpHandlerOptions
|
|
657
|
-
): Promise<NotifyApplicationStateCommandOutput>;
|
|
658
|
-
public notifyApplicationState(
|
|
659
|
-
args: NotifyApplicationStateCommandInput,
|
|
660
|
-
cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void
|
|
661
|
-
): void;
|
|
662
|
-
public notifyApplicationState(
|
|
663
|
-
args: NotifyApplicationStateCommandInput,
|
|
664
|
-
options: __HttpHandlerOptions,
|
|
665
|
-
cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void
|
|
666
|
-
): void;
|
|
667
|
-
public notifyApplicationState(
|
|
668
|
-
args: NotifyApplicationStateCommandInput,
|
|
669
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: NotifyApplicationStateCommandOutput) => void),
|
|
670
|
-
cb?: (err: any, data?: NotifyApplicationStateCommandOutput) => void
|
|
671
|
-
): Promise<NotifyApplicationStateCommandOutput> | void {
|
|
672
|
-
const command = new NotifyApplicationStateCommand(args);
|
|
673
|
-
if (typeof optionsOrCb === "function") {
|
|
674
|
-
this.send(command, optionsOrCb);
|
|
675
|
-
} else if (typeof cb === "function") {
|
|
676
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
677
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
678
|
-
} else {
|
|
679
|
-
return this.send(command, optionsOrCb);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* <p>Notifies Migration Hub of the current status, progress, or other detail regarding a
|
|
685
|
-
* migration task. This API has the following traits:</p>
|
|
686
|
-
* <ul>
|
|
687
|
-
* <li>
|
|
688
|
-
* <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
|
|
689
|
-
* the latest progress and status.</p>
|
|
690
|
-
* </li>
|
|
691
|
-
* <li>
|
|
692
|
-
* <p>
|
|
693
|
-
* <code>MigrationTaskName</code> is used for addressing updates to the correct
|
|
694
|
-
* target.</p>
|
|
695
|
-
* </li>
|
|
696
|
-
* <li>
|
|
697
|
-
* <p>
|
|
698
|
-
* <code>ProgressUpdateStream</code> is used for access control and to provide a
|
|
699
|
-
* namespace for each migration tool.</p>
|
|
700
|
-
* </li>
|
|
701
|
-
* </ul>
|
|
702
|
-
*/
|
|
703
|
-
public notifyMigrationTaskState(
|
|
704
|
-
args: NotifyMigrationTaskStateCommandInput,
|
|
705
|
-
options?: __HttpHandlerOptions
|
|
706
|
-
): Promise<NotifyMigrationTaskStateCommandOutput>;
|
|
707
|
-
public notifyMigrationTaskState(
|
|
708
|
-
args: NotifyMigrationTaskStateCommandInput,
|
|
709
|
-
cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void
|
|
710
|
-
): void;
|
|
711
|
-
public notifyMigrationTaskState(
|
|
712
|
-
args: NotifyMigrationTaskStateCommandInput,
|
|
713
|
-
options: __HttpHandlerOptions,
|
|
714
|
-
cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void
|
|
715
|
-
): void;
|
|
716
|
-
public notifyMigrationTaskState(
|
|
717
|
-
args: NotifyMigrationTaskStateCommandInput,
|
|
718
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: NotifyMigrationTaskStateCommandOutput) => void),
|
|
719
|
-
cb?: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void
|
|
720
|
-
): Promise<NotifyMigrationTaskStateCommandOutput> | void {
|
|
721
|
-
const command = new NotifyMigrationTaskStateCommand(args);
|
|
722
|
-
if (typeof optionsOrCb === "function") {
|
|
723
|
-
this.send(command, optionsOrCb);
|
|
724
|
-
} else if (typeof cb === "function") {
|
|
725
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
726
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
727
|
-
} else {
|
|
728
|
-
return this.send(command, optionsOrCb);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* <p>Provides identifying details of the resource being migrated so that it can be associated
|
|
734
|
-
* in the Application Discovery Service repository. This association occurs asynchronously
|
|
735
|
-
* after <code>PutResourceAttributes</code> returns.</p>
|
|
736
|
-
* <important>
|
|
737
|
-
* <ul>
|
|
738
|
-
* <li>
|
|
739
|
-
* <p>Keep in mind that subsequent calls to PutResourceAttributes will override
|
|
740
|
-
* previously stored attributes. For example, if it is first called with a MAC
|
|
741
|
-
* address, but later, it is desired to <i>add</i> an IP address, it
|
|
742
|
-
* will then be required to call it with <i>both</i> the IP and MAC
|
|
743
|
-
* addresses to prevent overriding the MAC address.</p>
|
|
744
|
-
* </li>
|
|
745
|
-
* <li>
|
|
746
|
-
* <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">
|
|
747
|
-
* <code>ResourceAttributeList</code>
|
|
748
|
-
* </a> parameter when specifying any
|
|
749
|
-
* "VM" related value.</p>
|
|
750
|
-
* </li>
|
|
751
|
-
* </ul>
|
|
752
|
-
* </important>
|
|
753
|
-
*
|
|
754
|
-
* <note>
|
|
755
|
-
* <p>Because this is an asynchronous call, it will always return 200, whether an
|
|
756
|
-
* association occurs or not. To confirm if an association was found based on the provided
|
|
757
|
-
* details, call <code>ListDiscoveredResources</code>.</p>
|
|
758
|
-
* </note>
|
|
759
|
-
*/
|
|
760
|
-
public putResourceAttributes(
|
|
761
|
-
args: PutResourceAttributesCommandInput,
|
|
762
|
-
options?: __HttpHandlerOptions
|
|
763
|
-
): Promise<PutResourceAttributesCommandOutput>;
|
|
764
|
-
public putResourceAttributes(
|
|
765
|
-
args: PutResourceAttributesCommandInput,
|
|
766
|
-
cb: (err: any, data?: PutResourceAttributesCommandOutput) => void
|
|
767
|
-
): void;
|
|
768
|
-
public putResourceAttributes(
|
|
769
|
-
args: PutResourceAttributesCommandInput,
|
|
770
|
-
options: __HttpHandlerOptions,
|
|
771
|
-
cb: (err: any, data?: PutResourceAttributesCommandOutput) => void
|
|
772
|
-
): void;
|
|
773
|
-
public putResourceAttributes(
|
|
774
|
-
args: PutResourceAttributesCommandInput,
|
|
775
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourceAttributesCommandOutput) => void),
|
|
776
|
-
cb?: (err: any, data?: PutResourceAttributesCommandOutput) => void
|
|
777
|
-
): Promise<PutResourceAttributesCommandOutput> | void {
|
|
778
|
-
const command = new PutResourceAttributesCommand(args);
|
|
779
|
-
if (typeof optionsOrCb === "function") {
|
|
780
|
-
this.send(command, optionsOrCb);
|
|
781
|
-
} else if (typeof cb === "function") {
|
|
782
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
783
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
784
|
-
} else {
|
|
785
|
-
return this.send(command, optionsOrCb);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|