@aws-sdk/client-migration-hub 3.699.0 → 3.710.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/README.md +32 -0
- package/dist-cjs/index.js +182 -2
- package/dist-es/MigrationHub.js +8 -0
- package/dist-es/commands/AssociateSourceResourceCommand.js +22 -0
- package/dist-es/commands/DisassociateSourceResourceCommand.js +22 -0
- package/dist-es/commands/ListMigrationTaskUpdatesCommand.js +22 -0
- package/dist-es/commands/ListSourceResourcesCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/ListMigrationTaskUpdatesPaginator.js +4 -0
- package/dist-es/pagination/ListSourceResourcesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +97 -0
- package/dist-types/MigrationHub.d.ts +28 -0
- package/dist-types/MigrationHubClient.d.ts +6 -2
- package/dist-types/commands/AssociateSourceResourceCommand.d.ts +108 -0
- package/dist-types/commands/DisassociateSourceResourceCommand.d.ts +103 -0
- package/dist-types/commands/ListMigrationTaskUpdatesCommand.d.ts +109 -0
- package/dist-types/commands/ListSourceResourcesCommand.d.ts +105 -0
- package/dist-types/commands/PutResourceAttributesCommand.d.ts +0 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +250 -3
- package/dist-types/pagination/ListMigrationTaskUpdatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSourceResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/MigrationHub.d.ts +68 -0
- package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/AssociateSourceResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateSourceResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMigrationTaskUpdatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSourceResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/dist-types/ts3.4/pagination/ListMigrationTaskUpdatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSourceResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +35 -35
|
@@ -15,6 +15,12 @@ export const se_AssociateDiscoveredResourceCommand = async (input, context) => {
|
|
|
15
15
|
body = JSON.stringify(_json(input));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
+
export const se_AssociateSourceResourceCommand = async (input, context) => {
|
|
19
|
+
const headers = sharedHeaders("AssociateSourceResource");
|
|
20
|
+
let body;
|
|
21
|
+
body = JSON.stringify(_json(input));
|
|
22
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
+
};
|
|
18
24
|
export const se_CreateProgressUpdateStreamCommand = async (input, context) => {
|
|
19
25
|
const headers = sharedHeaders("CreateProgressUpdateStream");
|
|
20
26
|
let body;
|
|
@@ -51,6 +57,12 @@ export const se_DisassociateDiscoveredResourceCommand = async (input, context) =
|
|
|
51
57
|
body = JSON.stringify(_json(input));
|
|
52
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
59
|
};
|
|
60
|
+
export const se_DisassociateSourceResourceCommand = async (input, context) => {
|
|
61
|
+
const headers = sharedHeaders("DisassociateSourceResource");
|
|
62
|
+
let body;
|
|
63
|
+
body = JSON.stringify(_json(input));
|
|
64
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
+
};
|
|
54
66
|
export const se_ImportMigrationTaskCommand = async (input, context) => {
|
|
55
67
|
const headers = sharedHeaders("ImportMigrationTask");
|
|
56
68
|
let body;
|
|
@@ -81,12 +93,24 @@ export const se_ListMigrationTasksCommand = async (input, context) => {
|
|
|
81
93
|
body = JSON.stringify(_json(input));
|
|
82
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
95
|
};
|
|
96
|
+
export const se_ListMigrationTaskUpdatesCommand = async (input, context) => {
|
|
97
|
+
const headers = sharedHeaders("ListMigrationTaskUpdates");
|
|
98
|
+
let body;
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
100
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
+
};
|
|
84
102
|
export const se_ListProgressUpdateStreamsCommand = async (input, context) => {
|
|
85
103
|
const headers = sharedHeaders("ListProgressUpdateStreams");
|
|
86
104
|
let body;
|
|
87
105
|
body = JSON.stringify(_json(input));
|
|
88
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
107
|
};
|
|
108
|
+
export const se_ListSourceResourcesCommand = async (input, context) => {
|
|
109
|
+
const headers = sharedHeaders("ListSourceResources");
|
|
110
|
+
let body;
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
112
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
+
};
|
|
90
114
|
export const se_NotifyApplicationStateCommand = async (input, context) => {
|
|
91
115
|
const headers = sharedHeaders("NotifyApplicationState");
|
|
92
116
|
let body;
|
|
@@ -131,6 +155,19 @@ export const de_AssociateDiscoveredResourceCommand = async (output, context) =>
|
|
|
131
155
|
};
|
|
132
156
|
return response;
|
|
133
157
|
};
|
|
158
|
+
export const de_AssociateSourceResourceCommand = async (output, context) => {
|
|
159
|
+
if (output.statusCode >= 300) {
|
|
160
|
+
return de_CommandError(output, context);
|
|
161
|
+
}
|
|
162
|
+
const data = await parseBody(output.body, context);
|
|
163
|
+
let contents = {};
|
|
164
|
+
contents = _json(data);
|
|
165
|
+
const response = {
|
|
166
|
+
$metadata: deserializeMetadata(output),
|
|
167
|
+
...contents,
|
|
168
|
+
};
|
|
169
|
+
return response;
|
|
170
|
+
};
|
|
134
171
|
export const de_CreateProgressUpdateStreamCommand = async (output, context) => {
|
|
135
172
|
if (output.statusCode >= 300) {
|
|
136
173
|
return de_CommandError(output, context);
|
|
@@ -209,6 +246,19 @@ export const de_DisassociateDiscoveredResourceCommand = async (output, context)
|
|
|
209
246
|
};
|
|
210
247
|
return response;
|
|
211
248
|
};
|
|
249
|
+
export const de_DisassociateSourceResourceCommand = async (output, context) => {
|
|
250
|
+
if (output.statusCode >= 300) {
|
|
251
|
+
return de_CommandError(output, context);
|
|
252
|
+
}
|
|
253
|
+
const data = await parseBody(output.body, context);
|
|
254
|
+
let contents = {};
|
|
255
|
+
contents = _json(data);
|
|
256
|
+
const response = {
|
|
257
|
+
$metadata: deserializeMetadata(output),
|
|
258
|
+
...contents,
|
|
259
|
+
};
|
|
260
|
+
return response;
|
|
261
|
+
};
|
|
212
262
|
export const de_ImportMigrationTaskCommand = async (output, context) => {
|
|
213
263
|
if (output.statusCode >= 300) {
|
|
214
264
|
return de_CommandError(output, context);
|
|
@@ -274,6 +324,19 @@ export const de_ListMigrationTasksCommand = async (output, context) => {
|
|
|
274
324
|
};
|
|
275
325
|
return response;
|
|
276
326
|
};
|
|
327
|
+
export const de_ListMigrationTaskUpdatesCommand = async (output, context) => {
|
|
328
|
+
if (output.statusCode >= 300) {
|
|
329
|
+
return de_CommandError(output, context);
|
|
330
|
+
}
|
|
331
|
+
const data = await parseBody(output.body, context);
|
|
332
|
+
let contents = {};
|
|
333
|
+
contents = de_ListMigrationTaskUpdatesResult(data, context);
|
|
334
|
+
const response = {
|
|
335
|
+
$metadata: deserializeMetadata(output),
|
|
336
|
+
...contents,
|
|
337
|
+
};
|
|
338
|
+
return response;
|
|
339
|
+
};
|
|
277
340
|
export const de_ListProgressUpdateStreamsCommand = async (output, context) => {
|
|
278
341
|
if (output.statusCode >= 300) {
|
|
279
342
|
return de_CommandError(output, context);
|
|
@@ -287,6 +350,19 @@ export const de_ListProgressUpdateStreamsCommand = async (output, context) => {
|
|
|
287
350
|
};
|
|
288
351
|
return response;
|
|
289
352
|
};
|
|
353
|
+
export const de_ListSourceResourcesCommand = async (output, context) => {
|
|
354
|
+
if (output.statusCode >= 300) {
|
|
355
|
+
return de_CommandError(output, context);
|
|
356
|
+
}
|
|
357
|
+
const data = await parseBody(output.body, context);
|
|
358
|
+
let contents = {};
|
|
359
|
+
contents = _json(data);
|
|
360
|
+
const response = {
|
|
361
|
+
$metadata: deserializeMetadata(output),
|
|
362
|
+
...contents,
|
|
363
|
+
};
|
|
364
|
+
return response;
|
|
365
|
+
};
|
|
290
366
|
export const de_NotifyApplicationStateCommand = async (output, context) => {
|
|
291
367
|
if (output.statusCode >= 300) {
|
|
292
368
|
return de_CommandError(output, context);
|
|
@@ -518,6 +594,12 @@ const de_ListMigrationTasksResult = (output, context) => {
|
|
|
518
594
|
NextToken: __expectString,
|
|
519
595
|
});
|
|
520
596
|
};
|
|
597
|
+
const de_ListMigrationTaskUpdatesResult = (output, context) => {
|
|
598
|
+
return take(output, {
|
|
599
|
+
MigrationTaskUpdateList: (_) => de_MigrationTaskUpdateList(_, context),
|
|
600
|
+
NextToken: __expectString,
|
|
601
|
+
});
|
|
602
|
+
};
|
|
521
603
|
const de_MigrationTask = (output, context) => {
|
|
522
604
|
return take(output, {
|
|
523
605
|
MigrationTaskName: __expectString,
|
|
@@ -545,6 +627,21 @@ const de_MigrationTaskSummaryList = (output, context) => {
|
|
|
545
627
|
});
|
|
546
628
|
return retVal;
|
|
547
629
|
};
|
|
630
|
+
const de_MigrationTaskUpdate = (output, context) => {
|
|
631
|
+
return take(output, {
|
|
632
|
+
MigrationTaskState: _json,
|
|
633
|
+
UpdateDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
634
|
+
UpdateType: __expectString,
|
|
635
|
+
});
|
|
636
|
+
};
|
|
637
|
+
const de_MigrationTaskUpdateList = (output, context) => {
|
|
638
|
+
const retVal = (output || [])
|
|
639
|
+
.filter((e) => e != null)
|
|
640
|
+
.map((entry) => {
|
|
641
|
+
return de_MigrationTaskUpdate(entry, context);
|
|
642
|
+
});
|
|
643
|
+
return retVal;
|
|
644
|
+
};
|
|
548
645
|
const deserializeMetadata = (output) => ({
|
|
549
646
|
httpStatusCode: output.statusCode,
|
|
550
647
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput } from "./commands/AssociateCreatedArtifactCommand";
|
|
3
3
|
import { AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput } from "./commands/AssociateDiscoveredResourceCommand";
|
|
4
|
+
import { AssociateSourceResourceCommandInput, AssociateSourceResourceCommandOutput } from "./commands/AssociateSourceResourceCommand";
|
|
4
5
|
import { CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput } from "./commands/CreateProgressUpdateStreamCommand";
|
|
5
6
|
import { DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput } from "./commands/DeleteProgressUpdateStreamCommand";
|
|
6
7
|
import { DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput } from "./commands/DescribeApplicationStateCommand";
|
|
7
8
|
import { DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput } from "./commands/DescribeMigrationTaskCommand";
|
|
8
9
|
import { DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput } from "./commands/DisassociateCreatedArtifactCommand";
|
|
9
10
|
import { DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput } from "./commands/DisassociateDiscoveredResourceCommand";
|
|
11
|
+
import { DisassociateSourceResourceCommandInput, DisassociateSourceResourceCommandOutput } from "./commands/DisassociateSourceResourceCommand";
|
|
10
12
|
import { ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput } from "./commands/ImportMigrationTaskCommand";
|
|
11
13
|
import { ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput } from "./commands/ListApplicationStatesCommand";
|
|
12
14
|
import { ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput } from "./commands/ListCreatedArtifactsCommand";
|
|
13
15
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
14
16
|
import { ListMigrationTasksCommandInput, ListMigrationTasksCommandOutput } from "./commands/ListMigrationTasksCommand";
|
|
17
|
+
import { ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput } from "./commands/ListMigrationTaskUpdatesCommand";
|
|
15
18
|
import { ListProgressUpdateStreamsCommandInput, ListProgressUpdateStreamsCommandOutput } from "./commands/ListProgressUpdateStreamsCommand";
|
|
19
|
+
import { ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput } from "./commands/ListSourceResourcesCommand";
|
|
16
20
|
import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput } from "./commands/NotifyApplicationStateCommand";
|
|
17
21
|
import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "./commands/NotifyMigrationTaskStateCommand";
|
|
18
22
|
import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "./commands/PutResourceAttributesCommand";
|
|
@@ -30,6 +34,12 @@ export interface MigrationHub {
|
|
|
30
34
|
associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDiscoveredResourceCommandOutput>;
|
|
31
35
|
associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
|
|
32
36
|
associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
|
|
37
|
+
/**
|
|
38
|
+
* @see {@link AssociateSourceResourceCommand}
|
|
39
|
+
*/
|
|
40
|
+
associateSourceResource(args: AssociateSourceResourceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSourceResourceCommandOutput>;
|
|
41
|
+
associateSourceResource(args: AssociateSourceResourceCommandInput, cb: (err: any, data?: AssociateSourceResourceCommandOutput) => void): void;
|
|
42
|
+
associateSourceResource(args: AssociateSourceResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSourceResourceCommandOutput) => void): void;
|
|
33
43
|
/**
|
|
34
44
|
* @see {@link CreateProgressUpdateStreamCommand}
|
|
35
45
|
*/
|
|
@@ -66,6 +76,12 @@ export interface MigrationHub {
|
|
|
66
76
|
disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDiscoveredResourceCommandOutput>;
|
|
67
77
|
disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
|
|
68
78
|
disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link DisassociateSourceResourceCommand}
|
|
81
|
+
*/
|
|
82
|
+
disassociateSourceResource(args: DisassociateSourceResourceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSourceResourceCommandOutput>;
|
|
83
|
+
disassociateSourceResource(args: DisassociateSourceResourceCommandInput, cb: (err: any, data?: DisassociateSourceResourceCommandOutput) => void): void;
|
|
84
|
+
disassociateSourceResource(args: DisassociateSourceResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSourceResourceCommandOutput) => void): void;
|
|
69
85
|
/**
|
|
70
86
|
* @see {@link ImportMigrationTaskCommand}
|
|
71
87
|
*/
|
|
@@ -98,6 +114,12 @@ export interface MigrationHub {
|
|
|
98
114
|
listMigrationTasks(args: ListMigrationTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListMigrationTasksCommandOutput>;
|
|
99
115
|
listMigrationTasks(args: ListMigrationTasksCommandInput, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
|
|
100
116
|
listMigrationTasks(args: ListMigrationTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link ListMigrationTaskUpdatesCommand}
|
|
119
|
+
*/
|
|
120
|
+
listMigrationTaskUpdates(args: ListMigrationTaskUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListMigrationTaskUpdatesCommandOutput>;
|
|
121
|
+
listMigrationTaskUpdates(args: ListMigrationTaskUpdatesCommandInput, cb: (err: any, data?: ListMigrationTaskUpdatesCommandOutput) => void): void;
|
|
122
|
+
listMigrationTaskUpdates(args: ListMigrationTaskUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMigrationTaskUpdatesCommandOutput) => void): void;
|
|
101
123
|
/**
|
|
102
124
|
* @see {@link ListProgressUpdateStreamsCommand}
|
|
103
125
|
*/
|
|
@@ -105,6 +127,12 @@ export interface MigrationHub {
|
|
|
105
127
|
listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListProgressUpdateStreamsCommandOutput>;
|
|
106
128
|
listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
|
|
107
129
|
listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link ListSourceResourcesCommand}
|
|
132
|
+
*/
|
|
133
|
+
listSourceResources(args: ListSourceResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceResourcesCommandOutput>;
|
|
134
|
+
listSourceResources(args: ListSourceResourcesCommandInput, cb: (err: any, data?: ListSourceResourcesCommandOutput) => void): void;
|
|
135
|
+
listSourceResources(args: ListSourceResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceResourcesCommandOutput) => void): void;
|
|
108
136
|
/**
|
|
109
137
|
* @see {@link NotifyApplicationStateCommand}
|
|
110
138
|
*/
|
|
@@ -9,18 +9,22 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput } from "./commands/AssociateCreatedArtifactCommand";
|
|
11
11
|
import { AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput } from "./commands/AssociateDiscoveredResourceCommand";
|
|
12
|
+
import { AssociateSourceResourceCommandInput, AssociateSourceResourceCommandOutput } from "./commands/AssociateSourceResourceCommand";
|
|
12
13
|
import { CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput } from "./commands/CreateProgressUpdateStreamCommand";
|
|
13
14
|
import { DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput } from "./commands/DeleteProgressUpdateStreamCommand";
|
|
14
15
|
import { DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput } from "./commands/DescribeApplicationStateCommand";
|
|
15
16
|
import { DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput } from "./commands/DescribeMigrationTaskCommand";
|
|
16
17
|
import { DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput } from "./commands/DisassociateCreatedArtifactCommand";
|
|
17
18
|
import { DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput } from "./commands/DisassociateDiscoveredResourceCommand";
|
|
19
|
+
import { DisassociateSourceResourceCommandInput, DisassociateSourceResourceCommandOutput } from "./commands/DisassociateSourceResourceCommand";
|
|
18
20
|
import { ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput } from "./commands/ImportMigrationTaskCommand";
|
|
19
21
|
import { ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput } from "./commands/ListApplicationStatesCommand";
|
|
20
22
|
import { ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput } from "./commands/ListCreatedArtifactsCommand";
|
|
21
23
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
22
24
|
import { ListMigrationTasksCommandInput, ListMigrationTasksCommandOutput } from "./commands/ListMigrationTasksCommand";
|
|
25
|
+
import { ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput } from "./commands/ListMigrationTaskUpdatesCommand";
|
|
23
26
|
import { ListProgressUpdateStreamsCommandInput, ListProgressUpdateStreamsCommandOutput } from "./commands/ListProgressUpdateStreamsCommand";
|
|
27
|
+
import { ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput } from "./commands/ListSourceResourcesCommand";
|
|
24
28
|
import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput } from "./commands/NotifyApplicationStateCommand";
|
|
25
29
|
import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "./commands/NotifyMigrationTaskStateCommand";
|
|
26
30
|
import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "./commands/PutResourceAttributesCommand";
|
|
@@ -30,11 +34,11 @@ export { __Client };
|
|
|
30
34
|
/**
|
|
31
35
|
* @public
|
|
32
36
|
*/
|
|
33
|
-
export type ServiceInputTypes = AssociateCreatedArtifactCommandInput | AssociateDiscoveredResourceCommandInput | CreateProgressUpdateStreamCommandInput | DeleteProgressUpdateStreamCommandInput | DescribeApplicationStateCommandInput | DescribeMigrationTaskCommandInput | DisassociateCreatedArtifactCommandInput | DisassociateDiscoveredResourceCommandInput | ImportMigrationTaskCommandInput | ListApplicationStatesCommandInput | ListCreatedArtifactsCommandInput | ListDiscoveredResourcesCommandInput | ListMigrationTasksCommandInput | ListProgressUpdateStreamsCommandInput | NotifyApplicationStateCommandInput | NotifyMigrationTaskStateCommandInput | PutResourceAttributesCommandInput;
|
|
37
|
+
export type ServiceInputTypes = AssociateCreatedArtifactCommandInput | AssociateDiscoveredResourceCommandInput | AssociateSourceResourceCommandInput | CreateProgressUpdateStreamCommandInput | DeleteProgressUpdateStreamCommandInput | DescribeApplicationStateCommandInput | DescribeMigrationTaskCommandInput | DisassociateCreatedArtifactCommandInput | DisassociateDiscoveredResourceCommandInput | DisassociateSourceResourceCommandInput | ImportMigrationTaskCommandInput | ListApplicationStatesCommandInput | ListCreatedArtifactsCommandInput | ListDiscoveredResourcesCommandInput | ListMigrationTaskUpdatesCommandInput | ListMigrationTasksCommandInput | ListProgressUpdateStreamsCommandInput | ListSourceResourcesCommandInput | NotifyApplicationStateCommandInput | NotifyMigrationTaskStateCommandInput | PutResourceAttributesCommandInput;
|
|
34
38
|
/**
|
|
35
39
|
* @public
|
|
36
40
|
*/
|
|
37
|
-
export type ServiceOutputTypes = AssociateCreatedArtifactCommandOutput | AssociateDiscoveredResourceCommandOutput | CreateProgressUpdateStreamCommandOutput | DeleteProgressUpdateStreamCommandOutput | DescribeApplicationStateCommandOutput | DescribeMigrationTaskCommandOutput | DisassociateCreatedArtifactCommandOutput | DisassociateDiscoveredResourceCommandOutput | ImportMigrationTaskCommandOutput | ListApplicationStatesCommandOutput | ListCreatedArtifactsCommandOutput | ListDiscoveredResourcesCommandOutput | ListMigrationTasksCommandOutput | ListProgressUpdateStreamsCommandOutput | NotifyApplicationStateCommandOutput | NotifyMigrationTaskStateCommandOutput | PutResourceAttributesCommandOutput;
|
|
41
|
+
export type ServiceOutputTypes = AssociateCreatedArtifactCommandOutput | AssociateDiscoveredResourceCommandOutput | AssociateSourceResourceCommandOutput | CreateProgressUpdateStreamCommandOutput | DeleteProgressUpdateStreamCommandOutput | DescribeApplicationStateCommandOutput | DescribeMigrationTaskCommandOutput | DisassociateCreatedArtifactCommandOutput | DisassociateDiscoveredResourceCommandOutput | DisassociateSourceResourceCommandOutput | ImportMigrationTaskCommandOutput | ListApplicationStatesCommandOutput | ListCreatedArtifactsCommandOutput | ListDiscoveredResourcesCommandOutput | ListMigrationTaskUpdatesCommandOutput | ListMigrationTasksCommandOutput | ListProgressUpdateStreamsCommandOutput | ListSourceResourcesCommandOutput | NotifyApplicationStateCommandOutput | NotifyMigrationTaskStateCommandOutput | PutResourceAttributesCommandOutput;
|
|
38
42
|
/**
|
|
39
43
|
* @public
|
|
40
44
|
*/
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
|
|
4
|
+
import { AssociateSourceResourceRequest, AssociateSourceResourceResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateSourceResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateSourceResourceCommandInput extends AssociateSourceResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateSourceResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateSourceResourceCommandOutput extends AssociateSourceResourceResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateSourceResourceCommand_base: {
|
|
25
|
+
new (input: AssociateSourceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSourceResourceCommandInput, AssociateSourceResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AssociateSourceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSourceResourceCommandInput, AssociateSourceResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates a source resource with a migration task. For example, the source resource can
|
|
31
|
+
* be a source server, an application, or a migration wave.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { MigrationHubClient, AssociateSourceResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
36
|
+
* // const { MigrationHubClient, AssociateSourceResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
37
|
+
* const client = new MigrationHubClient(config);
|
|
38
|
+
* const input = { // AssociateSourceResourceRequest
|
|
39
|
+
* ProgressUpdateStream: "STRING_VALUE", // required
|
|
40
|
+
* MigrationTaskName: "STRING_VALUE", // required
|
|
41
|
+
* SourceResource: { // SourceResource
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* StatusDetail: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* DryRun: true || false,
|
|
47
|
+
* };
|
|
48
|
+
* const command = new AssociateSourceResourceCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param AssociateSourceResourceCommandInput - {@link AssociateSourceResourceCommandInput}
|
|
55
|
+
* @returns {@link AssociateSourceResourceCommandOutput}
|
|
56
|
+
* @see {@link AssociateSourceResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link AssociateSourceResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link MigrationHubClientResolvedConfig | config} for MigrationHubClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link DryRunOperation} (client fault)
|
|
64
|
+
* <p>Exception raised to indicate a successfully authorized action when the
|
|
65
|
+
* <code>DryRun</code> flag is set to "true".</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerError} (server fault)
|
|
68
|
+
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
69
|
+
* encountered.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
72
|
+
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
73
|
+
* the wrong format or data type.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
77
|
+
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
78
|
+
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
81
|
+
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
82
|
+
* encountered.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link UnauthorizedOperation} (client fault)
|
|
88
|
+
* <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
|
|
89
|
+
* flag is set to "true".</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link MigrationHubServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from MigrationHub service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class AssociateSourceResourceCommand extends AssociateSourceResourceCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: AssociateSourceResourceRequest;
|
|
101
|
+
output: {};
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: AssociateSourceResourceCommandInput;
|
|
105
|
+
output: AssociateSourceResourceCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
|
|
4
|
+
import { DisassociateSourceResourceRequest, DisassociateSourceResourceResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateSourceResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateSourceResourceCommandInput extends DisassociateSourceResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateSourceResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateSourceResourceCommandOutput extends DisassociateSourceResourceResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateSourceResourceCommand_base: {
|
|
25
|
+
new (input: DisassociateSourceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSourceResourceCommandInput, DisassociateSourceResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DisassociateSourceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSourceResourceCommandInput, DisassociateSourceResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes the association between a source resource and a migration task.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MigrationHubClient, DisassociateSourceResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
35
|
+
* // const { MigrationHubClient, DisassociateSourceResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
36
|
+
* const client = new MigrationHubClient(config);
|
|
37
|
+
* const input = { // DisassociateSourceResourceRequest
|
|
38
|
+
* ProgressUpdateStream: "STRING_VALUE", // required
|
|
39
|
+
* MigrationTaskName: "STRING_VALUE", // required
|
|
40
|
+
* SourceResourceName: "STRING_VALUE", // required
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateSourceResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DisassociateSourceResourceCommandInput - {@link DisassociateSourceResourceCommandInput}
|
|
50
|
+
* @returns {@link DisassociateSourceResourceCommandOutput}
|
|
51
|
+
* @see {@link DisassociateSourceResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DisassociateSourceResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link MigrationHubClientResolvedConfig | config} for MigrationHubClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link DryRunOperation} (client fault)
|
|
59
|
+
* <p>Exception raised to indicate a successfully authorized action when the
|
|
60
|
+
* <code>DryRun</code> flag is set to "true".</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerError} (server fault)
|
|
63
|
+
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
64
|
+
* encountered.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
67
|
+
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
68
|
+
* the wrong format or data type.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
72
|
+
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
73
|
+
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
76
|
+
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
77
|
+
* encountered.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link UnauthorizedOperation} (client fault)
|
|
83
|
+
* <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
|
|
84
|
+
* flag is set to "true".</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link MigrationHubServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from MigrationHub service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DisassociateSourceResourceCommand extends DisassociateSourceResourceCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DisassociateSourceResourceRequest;
|
|
96
|
+
output: {};
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DisassociateSourceResourceCommandInput;
|
|
100
|
+
output: DisassociateSourceResourceCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
|
|
4
|
+
import { ListMigrationTaskUpdatesRequest, ListMigrationTaskUpdatesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListMigrationTaskUpdatesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListMigrationTaskUpdatesCommandInput extends ListMigrationTaskUpdatesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListMigrationTaskUpdatesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListMigrationTaskUpdatesCommandOutput extends ListMigrationTaskUpdatesResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListMigrationTaskUpdatesCommand_base: {
|
|
25
|
+
new (input: ListMigrationTaskUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListMigrationTaskUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This is a paginated API that returns all the migration-task states for the specified
|
|
31
|
+
* <code>MigrationTaskName</code> and <code>ProgressUpdateStream</code>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { MigrationHubClient, ListMigrationTaskUpdatesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
36
|
+
* // const { MigrationHubClient, ListMigrationTaskUpdatesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
37
|
+
* const client = new MigrationHubClient(config);
|
|
38
|
+
* const input = { // ListMigrationTaskUpdatesRequest
|
|
39
|
+
* ProgressUpdateStream: "STRING_VALUE", // required
|
|
40
|
+
* MigrationTaskName: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListMigrationTaskUpdatesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListMigrationTaskUpdatesResult
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // MigrationTaskUpdateList: [ // MigrationTaskUpdateList
|
|
49
|
+
* // { // MigrationTaskUpdate
|
|
50
|
+
* // UpdateDateTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // UpdateType: "MIGRATION_TASK_STATE_UPDATED",
|
|
52
|
+
* // MigrationTaskState: { // Task
|
|
53
|
+
* // Status: "NOT_STARTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED", // required
|
|
54
|
+
* // StatusDetail: "STRING_VALUE",
|
|
55
|
+
* // ProgressPercent: Number("int"),
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListMigrationTaskUpdatesCommandInput - {@link ListMigrationTaskUpdatesCommandInput}
|
|
64
|
+
* @returns {@link ListMigrationTaskUpdatesCommandOutput}
|
|
65
|
+
* @see {@link ListMigrationTaskUpdatesCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListMigrationTaskUpdatesCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link MigrationHubClientResolvedConfig | config} for MigrationHubClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerError} (server fault)
|
|
73
|
+
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
74
|
+
* encountered.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
77
|
+
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
78
|
+
* the wrong format or data type.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
82
|
+
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
83
|
+
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
86
|
+
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
87
|
+
* encountered.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link MigrationHubServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from MigrationHub service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListMigrationTaskUpdatesCommand extends ListMigrationTaskUpdatesCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: ListMigrationTaskUpdatesRequest;
|
|
102
|
+
output: ListMigrationTaskUpdatesResult;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: ListMigrationTaskUpdatesCommandInput;
|
|
106
|
+
output: ListMigrationTaskUpdatesCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|