@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.
Files changed (56) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/MigrationHub.js +0 -8
  3. package/dist-cjs/MigrationHubClient.js +0 -13
  4. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -41
  5. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -25
  6. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -28
  7. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -54
  8. package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -24
  9. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -24
  10. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -40
  11. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -25
  12. package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -27
  13. package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -26
  14. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -38
  15. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -24
  16. package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -37
  17. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -24
  18. package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -27
  19. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -41
  20. package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -49
  21. package/dist-cjs/models/models_0.js +0 -156
  22. package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -10
  23. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -10
  24. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -10
  25. package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -10
  26. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -10
  27. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  28. package/dist-cjs/runtimeConfig.browser.js +1 -5
  29. package/dist-cjs/runtimeConfig.js +1 -5
  30. package/dist-cjs/runtimeConfig.native.js +0 -3
  31. package/dist-cjs/runtimeConfig.shared.js +0 -3
  32. package/dist-types/ts3.4/MigrationHub.d.ts +18 -205
  33. package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -94
  34. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +2 -37
  35. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +2 -21
  36. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +2 -24
  37. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -50
  38. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +2 -20
  39. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +2 -20
  40. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +2 -36
  41. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -21
  42. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +2 -23
  43. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +2 -22
  44. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +2 -34
  45. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +2 -20
  46. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +2 -33
  47. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +2 -20
  48. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +2 -23
  49. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +2 -37
  50. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +2 -45
  51. package/dist-types/ts3.4/models/models_0.d.ts +165 -648
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  56. package/package.json +3 -3
@@ -4,22 +4,13 @@ exports.paginateListApplicationStates = void 0;
4
4
  const ListApplicationStatesCommand_1 = require("../commands/ListApplicationStatesCommand");
5
5
  const MigrationHub_1 = require("../MigrationHub");
6
6
  const MigrationHubClient_1 = require("../MigrationHubClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListApplicationStatesCommand_1.ListApplicationStatesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listApplicationStates(input, ...args);
20
12
  };
21
13
  async function* paginateListApplicationStates(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListApplicationStates(config, input, ...additionalArgume
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListApplicationStates = paginateListApplicationStates;
@@ -4,22 +4,13 @@ exports.paginateListCreatedArtifacts = void 0;
4
4
  const ListCreatedArtifactsCommand_1 = require("../commands/ListCreatedArtifactsCommand");
5
5
  const MigrationHub_1 = require("../MigrationHub");
6
6
  const MigrationHubClient_1 = require("../MigrationHubClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCreatedArtifactsCommand_1.ListCreatedArtifactsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCreatedArtifacts(input, ...args);
20
12
  };
21
13
  async function* paginateListCreatedArtifacts(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCreatedArtifacts(config, input, ...additionalArgumen
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCreatedArtifacts = paginateListCreatedArtifacts;
@@ -4,22 +4,13 @@ exports.paginateListDiscoveredResources = void 0;
4
4
  const ListDiscoveredResourcesCommand_1 = require("../commands/ListDiscoveredResourcesCommand");
5
5
  const MigrationHub_1 = require("../MigrationHub");
6
6
  const MigrationHubClient_1 = require("../MigrationHubClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListDiscoveredResourcesCommand_1.ListDiscoveredResourcesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listDiscoveredResources(input, ...args);
20
12
  };
21
13
  async function* paginateListDiscoveredResources(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListDiscoveredResources(config, input, ...additionalArgu
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListDiscoveredResources = paginateListDiscoveredResources;
@@ -4,22 +4,13 @@ exports.paginateListMigrationTasks = void 0;
4
4
  const ListMigrationTasksCommand_1 = require("../commands/ListMigrationTasksCommand");
5
5
  const MigrationHub_1 = require("../MigrationHub");
6
6
  const MigrationHubClient_1 = require("../MigrationHubClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListMigrationTasksCommand_1.ListMigrationTasksCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listMigrationTasks(input, ...args);
20
12
  };
21
13
  async function* paginateListMigrationTasks(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListMigrationTasks(config, input, ...additionalArguments
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListMigrationTasks = paginateListMigrationTasks;
@@ -4,22 +4,13 @@ exports.paginateListProgressUpdateStreams = void 0;
4
4
  const ListProgressUpdateStreamsCommand_1 = require("../commands/ListProgressUpdateStreamsCommand");
5
5
  const MigrationHub_1 = require("../MigrationHub");
6
6
  const MigrationHubClient_1 = require("../MigrationHubClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListProgressUpdateStreamsCommand_1.ListProgressUpdateStreamsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listProgressUpdateStreams(input, ...args);
20
12
  };
21
13
  async function* paginateListProgressUpdateStreams(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListProgressUpdateStreams(config, input, ...additionalAr
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListProgressUpdateStreams = paginateListProgressUpdateStreams;
@@ -2545,14 +2545,12 @@ const deserializeMetadata = (output) => {
2545
2545
  cfId: output.headers["x-amz-cf-id"],
2546
2546
  });
2547
2547
  };
2548
- // Collect low-level response body stream to Uint8Array.
2549
2548
  const collectBody = (streamBody = new Uint8Array(), context) => {
2550
2549
  if (streamBody instanceof Uint8Array) {
2551
2550
  return Promise.resolve(streamBody);
2552
2551
  }
2553
2552
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
2554
2553
  };
2555
- // Encode Uint8Array data into string with utf-8.
2556
2554
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2557
2555
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
2558
2556
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -2578,9 +2576,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
2578
2576
  }
2579
2577
  return {};
2580
2578
  });
2581
- /**
2582
- * Load an error code for the aws.rest-json-1.1 protocol.
2583
- */
2584
2579
  const loadRestJsonErrorCode = (output, data) => {
2585
2580
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2586
2581
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -17,260 +17,73 @@ import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput
17
17
  import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "./commands/NotifyMigrationTaskStateCommand";
18
18
  import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "./commands/PutResourceAttributesCommand";
19
19
  import { MigrationHubClient } from "./MigrationHubClient";
20
- /**
21
- * <p>The AWS Migration Hub API methods help to obtain server and application migration status
22
- * and integrate your resource-specific migration tool by providing a programmatic interface
23
- * to Migration Hub.</p>
24
- * <p>Remember that you must set your AWS Migration Hub home region before you call any of
25
- * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
26
- * must make the API calls while in your home region.</p>
27
- */
20
+
28
21
  export declare class MigrationHub extends MigrationHubClient {
29
- /**
30
- * <p>Associates a created artifact of an AWS cloud resource, the target receiving the
31
- * migration, with the migration task performed by a migration tool. This API has the
32
- * following traits:</p>
33
- * <ul>
34
- * <li>
35
- * <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to
36
- * indicate which AWS artifact is associated with a migration task.</p>
37
- * </li>
38
- * <li>
39
- * <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
40
- * which will contain information about type and region; for example:
41
- * <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
42
- * </li>
43
- * <li>
44
- * <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
45
- * or DMS endpoint, etc.</p>
46
- * </li>
47
- * </ul>
48
- */
22
+
49
23
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, options?: __HttpHandlerOptions): Promise<AssociateCreatedArtifactCommandOutput>;
50
24
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void): void;
51
25
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void): void;
52
- /**
53
- * <p>Associates a discovered resource ID from Application Discovery Service with a migration
54
- * task.</p>
55
- */
26
+
56
27
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDiscoveredResourceCommandOutput>;
57
28
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
58
29
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
59
- /**
60
- * <p>Creates a progress update stream which is an AWS resource used for access control as
61
- * well as a namespace for migration task names that is implicitly linked to your AWS account.
62
- * It must uniquely identify the migration tool as it is used for all updates made by the
63
- * tool; however, it does not need to be unique for each AWS account because it is scoped to
64
- * the AWS account.</p>
65
- */
30
+
66
31
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateProgressUpdateStreamCommandOutput>;
67
32
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void): void;
68
33
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void): void;
69
- /**
70
- * <p>Deletes a progress update stream, including all of its tasks, which was previously
71
- * created as an AWS resource used for access control. This API has the following
72
- * traits:</p>
73
- * <ul>
74
- * <li>
75
- * <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the
76
- * stream name (same as a <code>CreateProgressUpdateStream</code> call).</p>
77
- * </li>
78
- * <li>
79
- * <p>The call will return, and a background process will asynchronously delete the
80
- * stream and all of its resources (tasks, associated resources, resource attributes,
81
- * created artifacts).</p>
82
- * </li>
83
- * <li>
84
- * <p>If the stream takes time to be deleted, it might still show up on a
85
- * <code>ListProgressUpdateStreams</code> call.</p>
86
- * </li>
87
- * <li>
88
- * <p>
89
- * <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>,
90
- * <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs related to the
91
- * tasks belonging to the stream will throw "InvalidInputException" if the stream of the
92
- * same name is in the process of being deleted.</p>
93
- * </li>
94
- * <li>
95
- * <p>Once the stream and all of its resources are deleted,
96
- * <code>CreateProgressUpdateStream</code> for a stream of the same name will
97
- * succeed, and that stream will be an entirely new logical resource (without any
98
- * resources associated with the old stream).</p>
99
- * </li>
100
- * </ul>
101
- */
34
+
102
35
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProgressUpdateStreamCommandOutput>;
103
36
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void): void;
104
37
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void): void;
105
- /**
106
- * <p>Gets the migration status of an application.</p>
107
- */
38
+
108
39
  describeApplicationState(args: DescribeApplicationStateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationStateCommandOutput>;
109
40
  describeApplicationState(args: DescribeApplicationStateCommandInput, cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void): void;
110
41
  describeApplicationState(args: DescribeApplicationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void): void;
111
- /**
112
- * <p>Retrieves a list of all attributes associated with a specific migration task.</p>
113
- */
42
+
114
43
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMigrationTaskCommandOutput>;
115
44
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void): void;
116
45
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void): void;
117
- /**
118
- * <p>Disassociates a created artifact of an AWS resource with a migration task performed by a
119
- * migration tool that was previously associated. This API has the following traits:</p>
120
- * <ul>
121
- * <li>
122
- * <p>A migration user can call the <code>DisassociateCreatedArtifacts</code> operation
123
- * to disassociate a created AWS Artifact from a migration task.</p>
124
- * </li>
125
- * <li>
126
- * <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
127
- * which will contain information about type and region; for example:
128
- * <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
129
- * </li>
130
- * <li>
131
- * <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
132
- * or RDS instance, etc.</p>
133
- * </li>
134
- * </ul>
135
- */
46
+
136
47
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateCreatedArtifactCommandOutput>;
137
48
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void): void;
138
49
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void): void;
139
- /**
140
- * <p>Disassociate an Application Discovery Service discovered resource from a migration
141
- * task.</p>
142
- */
50
+
143
51
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDiscoveredResourceCommandOutput>;
144
52
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
145
53
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
146
- /**
147
- * <p>Registers a new migration task which represents a server, database, etc., being migrated
148
- * to AWS by a migration tool.</p>
149
- * <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as
150
- * the migration tool must first register the migration task with Migration Hub.</p>
151
- */
54
+
152
55
  importMigrationTask(args: ImportMigrationTaskCommandInput, options?: __HttpHandlerOptions): Promise<ImportMigrationTaskCommandOutput>;
153
56
  importMigrationTask(args: ImportMigrationTaskCommandInput, cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void): void;
154
57
  importMigrationTask(args: ImportMigrationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void): void;
155
- /**
156
- * <p>Lists all the migration statuses for your applications. If you use the optional
157
- * <code>ApplicationIds</code> parameter, only the migration statuses for those
158
- * applications will be returned.</p>
159
- */
58
+
160
59
  listApplicationStates(args: ListApplicationStatesCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationStatesCommandOutput>;
161
60
  listApplicationStates(args: ListApplicationStatesCommandInput, cb: (err: any, data?: ListApplicationStatesCommandOutput) => void): void;
162
61
  listApplicationStates(args: ListApplicationStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationStatesCommandOutput) => void): void;
163
- /**
164
- * <p>Lists the created artifacts attached to a given migration task in an update stream. This
165
- * API has the following traits:</p>
166
- * <ul>
167
- * <li>
168
- * <p>Gets the list of the created artifacts while
169
- * migration is taking place.</p>
170
- * </li>
171
- * <li>
172
- * <p>Shows the artifacts created by the migration tool that was associated by the
173
- * <code>AssociateCreatedArtifact</code> API. </p>
174
- * </li>
175
- * <li>
176
- * <p>Lists created artifacts in a paginated interface. </p>
177
- * </li>
178
- * </ul>
179
- */
62
+
180
63
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, options?: __HttpHandlerOptions): Promise<ListCreatedArtifactsCommandOutput>;
181
64
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void): void;
182
65
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void): void;
183
- /**
184
- * <p>Lists discovered resources associated with the given <code>MigrationTask</code>.</p>
185
- */
66
+
186
67
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoveredResourcesCommandOutput>;
187
68
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
188
69
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
189
- /**
190
- * <p>Lists all, or filtered by resource name, migration tasks associated with the user
191
- * account making this call. This API has the following traits:</p>
192
- * <ul>
193
- * <li>
194
- * <p>Can show a summary list of the most recent migration tasks.</p>
195
- * </li>
196
- * <li>
197
- * <p>Can show a summary list of migration tasks associated with a given discovered
198
- * resource.</p>
199
- * </li>
200
- * <li>
201
- * <p>Lists migration tasks in a paginated interface.</p>
202
- * </li>
203
- * </ul>
204
- */
70
+
205
71
  listMigrationTasks(args: ListMigrationTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListMigrationTasksCommandOutput>;
206
72
  listMigrationTasks(args: ListMigrationTasksCommandInput, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
207
73
  listMigrationTasks(args: ListMigrationTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
208
- /**
209
- * <p>Lists progress update streams associated with the user account making this call.</p>
210
- */
74
+
211
75
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListProgressUpdateStreamsCommandOutput>;
212
76
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
213
77
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
214
- /**
215
- * <p>Sets the migration state of an application. For a given application identified by the
216
- * value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
217
- * three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
218
- * COMPLETED</code>.</p>
219
- */
78
+
220
79
  notifyApplicationState(args: NotifyApplicationStateCommandInput, options?: __HttpHandlerOptions): Promise<NotifyApplicationStateCommandOutput>;
221
80
  notifyApplicationState(args: NotifyApplicationStateCommandInput, cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void): void;
222
81
  notifyApplicationState(args: NotifyApplicationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void): void;
223
- /**
224
- * <p>Notifies Migration Hub of the current status, progress, or other detail regarding a
225
- * migration task. This API has the following traits:</p>
226
- * <ul>
227
- * <li>
228
- * <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
229
- * the latest progress and status.</p>
230
- * </li>
231
- * <li>
232
- * <p>
233
- * <code>MigrationTaskName</code> is used for addressing updates to the correct
234
- * target.</p>
235
- * </li>
236
- * <li>
237
- * <p>
238
- * <code>ProgressUpdateStream</code> is used for access control and to provide a
239
- * namespace for each migration tool.</p>
240
- * </li>
241
- * </ul>
242
- */
82
+
243
83
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, options?: __HttpHandlerOptions): Promise<NotifyMigrationTaskStateCommandOutput>;
244
84
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void): void;
245
85
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void): void;
246
- /**
247
- * <p>Provides identifying details of the resource being migrated so that it can be associated
248
- * in the Application Discovery Service repository. This association occurs asynchronously
249
- * after <code>PutResourceAttributes</code> returns.</p>
250
- * <important>
251
- * <ul>
252
- * <li>
253
- * <p>Keep in mind that subsequent calls to PutResourceAttributes will override
254
- * previously stored attributes. For example, if it is first called with a MAC
255
- * address, but later, it is desired to <i>add</i> an IP address, it
256
- * will then be required to call it with <i>both</i> the IP and MAC
257
- * addresses to prevent overriding the MAC address.</p>
258
- * </li>
259
- * <li>
260
- * <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">
261
- * <code>ResourceAttributeList</code>
262
- * </a> parameter when specifying any
263
- * "VM" related value.</p>
264
- * </li>
265
- * </ul>
266
- * </important>
267
- *
268
- * <note>
269
- * <p>Because this is an asynchronous call, it will always return 200, whether an
270
- * association occurs or not. To confirm if an association was found based on the provided
271
- * details, call <code>ListDiscoveredResources</code>.</p>
272
- * </note>
273
- */
86
+
274
87
  putResourceAttributes(args: PutResourceAttributesCommandInput, options?: __HttpHandlerOptions): Promise<PutResourceAttributesCommandOutput>;
275
88
  putResourceAttributes(args: PutResourceAttributesCommandInput, cb: (err: any, data?: PutResourceAttributesCommandOutput) => void): void;
276
89
  putResourceAttributes(args: PutResourceAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourceAttributesCommandOutput) => void): void;