@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
|
@@ -0,0 +1,105 @@
|
|
|
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 { ListSourceResourcesRequest, ListSourceResourcesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSourceResourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSourceResourcesCommandInput extends ListSourceResourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSourceResourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSourceResourcesCommandOutput extends ListSourceResourcesResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSourceResourcesCommand_base: {
|
|
25
|
+
new (input: ListSourceResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListSourceResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all the source resource that are associated with 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, ListSourceResourcesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
|
|
36
|
+
* // const { MigrationHubClient, ListSourceResourcesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
|
|
37
|
+
* const client = new MigrationHubClient(config);
|
|
38
|
+
* const input = { // ListSourceResourcesRequest
|
|
39
|
+
* ProgressUpdateStream: "STRING_VALUE", // required
|
|
40
|
+
* MigrationTaskName: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListSourceResourcesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListSourceResourcesResult
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // SourceResourceList: [ // SourceResourceList
|
|
49
|
+
* // { // SourceResource
|
|
50
|
+
* // Name: "STRING_VALUE", // required
|
|
51
|
+
* // Description: "STRING_VALUE",
|
|
52
|
+
* // StatusDetail: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListSourceResourcesCommandInput - {@link ListSourceResourcesCommandInput}
|
|
60
|
+
* @returns {@link ListSourceResourcesCommandOutput}
|
|
61
|
+
* @see {@link ListSourceResourcesCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListSourceResourcesCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link MigrationHubClientResolvedConfig | config} for MigrationHubClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerError} (server fault)
|
|
69
|
+
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
70
|
+
* encountered.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
73
|
+
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
74
|
+
* the wrong format or data type.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
78
|
+
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
79
|
+
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
82
|
+
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
83
|
+
* encountered.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was denied due to request throttling.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link MigrationHubServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from MigrationHub service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListSourceResourcesCommand extends ListSourceResourcesCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListSourceResourcesRequest;
|
|
98
|
+
output: ListSourceResourcesResult;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListSourceResourcesCommandInput;
|
|
102
|
+
output: ListSourceResourcesCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -47,7 +47,6 @@ declare const PutResourceAttributesCommand_base: {
|
|
|
47
47
|
* </li>
|
|
48
48
|
* </ul>
|
|
49
49
|
* </important>
|
|
50
|
-
*
|
|
51
50
|
* <note>
|
|
52
51
|
* <p>Because this is an asynchronous call, it will always return 200, whether an
|
|
53
52
|
* association occurs or not. To confirm if an association was found based on the provided
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
export * from "./AssociateCreatedArtifactCommand";
|
|
2
2
|
export * from "./AssociateDiscoveredResourceCommand";
|
|
3
|
+
export * from "./AssociateSourceResourceCommand";
|
|
3
4
|
export * from "./CreateProgressUpdateStreamCommand";
|
|
4
5
|
export * from "./DeleteProgressUpdateStreamCommand";
|
|
5
6
|
export * from "./DescribeApplicationStateCommand";
|
|
6
7
|
export * from "./DescribeMigrationTaskCommand";
|
|
7
8
|
export * from "./DisassociateCreatedArtifactCommand";
|
|
8
9
|
export * from "./DisassociateDiscoveredResourceCommand";
|
|
10
|
+
export * from "./DisassociateSourceResourceCommand";
|
|
9
11
|
export * from "./ImportMigrationTaskCommand";
|
|
10
12
|
export * from "./ListApplicationStatesCommand";
|
|
11
13
|
export * from "./ListCreatedArtifactsCommand";
|
|
12
14
|
export * from "./ListDiscoveredResourcesCommand";
|
|
15
|
+
export * from "./ListMigrationTaskUpdatesCommand";
|
|
13
16
|
export * from "./ListMigrationTasksCommand";
|
|
14
17
|
export * from "./ListProgressUpdateStreamsCommand";
|
|
18
|
+
export * from "./ListSourceResourcesCommand";
|
|
15
19
|
export * from "./NotifyApplicationStateCommand";
|
|
16
20
|
export * from "./NotifyMigrationTaskStateCommand";
|
|
17
21
|
export * from "./PutResourceAttributesCommand";
|
|
@@ -287,6 +287,69 @@ export declare class PolicyErrorException extends __BaseException {
|
|
|
287
287
|
*/
|
|
288
288
|
constructor(opts: __ExceptionOptionType<PolicyErrorException, __BaseException>);
|
|
289
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* <p>A source resource can be a source server, a migration wave, an application, or any other
|
|
292
|
+
* resource that you track.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export interface SourceResource {
|
|
296
|
+
/**
|
|
297
|
+
* <p>This is the name that you want to use to identify the resource. If the resource is an
|
|
298
|
+
* AWS resource, we recommend that you set this parameter to the ARN of the resource.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
Name: string | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>A description that can be free-form text to record additional detail about the resource
|
|
304
|
+
* for clarity or later reference.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
Description?: string | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* <p>A free-form description of the status of the resource.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
StatusDetail?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export interface AssociateSourceResourceRequest {
|
|
318
|
+
/**
|
|
319
|
+
* <p>The name of the progress-update stream, which is used for access control as well as a
|
|
320
|
+
* namespace for migration-task names that is implicitly linked to your AWS account. The
|
|
321
|
+
* progress-update stream must uniquely identify the migration tool as it is used for all
|
|
322
|
+
* updates made by the tool; however, it does not need to be unique for each AWS account
|
|
323
|
+
* because it is scoped to the AWS account.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
ProgressUpdateStream: string | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* <p>A unique identifier that references the migration task. <i>Do not include
|
|
329
|
+
* sensitive data in this field.</i>
|
|
330
|
+
* </p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
MigrationTaskName: string | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* <p>The source resource that you want to associate.</p>
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
SourceResource: SourceResource | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* <p>This is an optional parameter that you can use to test whether the call will succeed.
|
|
341
|
+
* Set this parameter to <code>true</code> to verify that you have the permissions that are
|
|
342
|
+
* required to make the call, and that you have specified the other parameters in the call
|
|
343
|
+
* correctly.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
DryRun?: boolean | undefined;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
export interface AssociateSourceResourceResult {
|
|
352
|
+
}
|
|
290
353
|
/**
|
|
291
354
|
* @public
|
|
292
355
|
*/
|
|
@@ -399,8 +462,6 @@ export type ResourceAttributeType = (typeof ResourceAttributeType)[keyof typeof
|
|
|
399
462
|
/**
|
|
400
463
|
* <p>Attribute associated with a resource.</p>
|
|
401
464
|
* <p>Note the corresponding format required per type listed below:</p>
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
465
|
* <dl>
|
|
405
466
|
* <dt>IPV4</dt>
|
|
406
467
|
* <dd>
|
|
@@ -597,6 +658,45 @@ export interface DisassociateDiscoveredResourceRequest {
|
|
|
597
658
|
*/
|
|
598
659
|
export interface DisassociateDiscoveredResourceResult {
|
|
599
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export interface DisassociateSourceResourceRequest {
|
|
665
|
+
/**
|
|
666
|
+
* <p>The name of the progress-update stream, which is used for access control as well as a
|
|
667
|
+
* namespace for migration-task names that is implicitly linked to your AWS account. The
|
|
668
|
+
* progress-update stream must uniquely identify the migration tool as it is used for all
|
|
669
|
+
* updates made by the tool; however, it does not need to be unique for each AWS account
|
|
670
|
+
* because it is scoped to the AWS account.</p>
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
ProgressUpdateStream: string | undefined;
|
|
674
|
+
/**
|
|
675
|
+
* <p>A unique identifier that references the migration task. <i>Do not include
|
|
676
|
+
* sensitive data in this field.</i>
|
|
677
|
+
* </p>
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
MigrationTaskName: string | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* <p>The name that was specified for the source resource.</p>
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
SourceResourceName: string | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* <p>This is an optional parameter that you can use to test whether the call will succeed.
|
|
688
|
+
* Set this parameter to <code>true</code> to verify that you have the permissions that are
|
|
689
|
+
* required to make the call, and that you have specified the other parameters in the call
|
|
690
|
+
* correctly.</p>
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
DryRun?: boolean | undefined;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* @public
|
|
697
|
+
*/
|
|
698
|
+
export interface DisassociateSourceResourceResult {
|
|
699
|
+
}
|
|
600
700
|
/**
|
|
601
701
|
* @public
|
|
602
702
|
*/
|
|
@@ -837,6 +937,96 @@ export interface ListMigrationTasksResult {
|
|
|
837
937
|
*/
|
|
838
938
|
MigrationTaskSummaryList?: MigrationTaskSummary[] | undefined;
|
|
839
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
export interface ListMigrationTaskUpdatesRequest {
|
|
944
|
+
/**
|
|
945
|
+
* <p>The name of the progress-update stream, which is used for access control as well as a
|
|
946
|
+
* namespace for migration-task names that is implicitly linked to your AWS account. The
|
|
947
|
+
* progress-update stream must uniquely identify the migration tool as it is used for all
|
|
948
|
+
* updates made by the tool; however, it does not need to be unique for each AWS account
|
|
949
|
+
* because it is scoped to the AWS account.</p>
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
ProgressUpdateStream: string | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* <p>A unique identifier that references the migration task. <i>Do not include
|
|
955
|
+
* sensitive data in this field.</i>
|
|
956
|
+
* </p>
|
|
957
|
+
* @public
|
|
958
|
+
*/
|
|
959
|
+
MigrationTaskName: string | undefined;
|
|
960
|
+
/**
|
|
961
|
+
* <p>If <code>NextToken</code> was returned by a previous call, there are more results
|
|
962
|
+
* available. The value of <code>NextToken</code> is a unique pagination token for each page.
|
|
963
|
+
* To retrieve the next page of results, specify the <code>NextToken</code> value that the
|
|
964
|
+
* previous call returned. Keep all other arguments unchanged. Each pagination token expires
|
|
965
|
+
* after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken
|
|
966
|
+
* error.</p>
|
|
967
|
+
* @public
|
|
968
|
+
*/
|
|
969
|
+
NextToken?: string | undefined;
|
|
970
|
+
/**
|
|
971
|
+
* <p>The maximum number of results to include in the response. If more results exist than the
|
|
972
|
+
* value that you specify here for <code>MaxResults</code>, the response will include a token
|
|
973
|
+
* that you can use to retrieve the next set of results.</p>
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
MaxResults?: number | undefined;
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* @public
|
|
980
|
+
* @enum
|
|
981
|
+
*/
|
|
982
|
+
export declare const UpdateType: {
|
|
983
|
+
readonly MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED";
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
|
|
989
|
+
/**
|
|
990
|
+
* <p>A migration-task progress update.</p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
export interface MigrationTaskUpdate {
|
|
994
|
+
/**
|
|
995
|
+
* <p>The timestamp for the update.</p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
UpdateDateTime?: Date | undefined;
|
|
999
|
+
/**
|
|
1000
|
+
* <p>The type of the update.</p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
UpdateType?: UpdateType | undefined;
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>Task object encapsulating task information.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
MigrationTaskState?: Task | undefined;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
export interface ListMigrationTaskUpdatesResult {
|
|
1014
|
+
/**
|
|
1015
|
+
* <p>If the response includes a <code>NextToken</code> value, that means that there are more
|
|
1016
|
+
* results available. The value of <code>NextToken</code> is a unique pagination token for
|
|
1017
|
+
* each page. To retrieve the next page of results, call this API again and specify this
|
|
1018
|
+
* <code>NextToken</code> value in the request. Keep all other arguments unchanged. Each
|
|
1019
|
+
* pagination token expires after 24 hours. Using an expired pagination token will return an
|
|
1020
|
+
* HTTP 400 InvalidToken error.</p>
|
|
1021
|
+
* @public
|
|
1022
|
+
*/
|
|
1023
|
+
NextToken?: string | undefined;
|
|
1024
|
+
/**
|
|
1025
|
+
* <p>The list of migration-task updates.</p>
|
|
1026
|
+
* @public
|
|
1027
|
+
*/
|
|
1028
|
+
MigrationTaskUpdateList?: MigrationTaskUpdate[] | undefined;
|
|
1029
|
+
}
|
|
840
1030
|
/**
|
|
841
1031
|
* @public
|
|
842
1032
|
*/
|
|
@@ -885,6 +1075,64 @@ export interface ListProgressUpdateStreamsResult {
|
|
|
885
1075
|
*/
|
|
886
1076
|
NextToken?: string | undefined;
|
|
887
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
export interface ListSourceResourcesRequest {
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The name of the progress-update stream, which is used for access control as well as a
|
|
1084
|
+
* namespace for migration-task names that is implicitly linked to your AWS account. The
|
|
1085
|
+
* progress-update stream must uniquely identify the migration tool as it is used for all
|
|
1086
|
+
* updates made by the tool; however, it does not need to be unique for each AWS account
|
|
1087
|
+
* because it is scoped to the AWS account.</p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
ProgressUpdateStream: string | undefined;
|
|
1091
|
+
/**
|
|
1092
|
+
* <p>A unique identifier that references the migration task. <i>Do not store
|
|
1093
|
+
* confidential data in this field.</i>
|
|
1094
|
+
* </p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
MigrationTaskName: string | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>If <code>NextToken</code> was returned by a previous call, there are more results
|
|
1100
|
+
* available. The value of <code>NextToken</code> is a unique pagination token for each page.
|
|
1101
|
+
* To retrieve the next page of results, specify the <code>NextToken</code> value that the
|
|
1102
|
+
* previous call returned. Keep all other arguments unchanged. Each pagination token expires
|
|
1103
|
+
* after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken
|
|
1104
|
+
* error.</p>
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
1107
|
+
NextToken?: string | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>The maximum number of results to include in the response. If more results exist than the
|
|
1110
|
+
* value that you specify here for <code>MaxResults</code>, the response will include a token
|
|
1111
|
+
* that you can use to retrieve the next set of results.</p>
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1114
|
+
MaxResults?: number | undefined;
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
export interface ListSourceResourcesResult {
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>If the response includes a <code>NextToken</code> value, that means that there are more
|
|
1122
|
+
* results available. The value of <code>NextToken</code> is a unique pagination token for
|
|
1123
|
+
* each page. To retrieve the next page of results, call this API again and specify this
|
|
1124
|
+
* <code>NextToken</code> value in the request. Keep all other arguments unchanged. Each
|
|
1125
|
+
* pagination token expires after 24 hours. Using an expired pagination token will return an
|
|
1126
|
+
* HTTP 400 InvalidToken error.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
NextToken?: string | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>The list of source resources.</p>
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
1134
|
+
SourceResourceList?: SourceResource[] | undefined;
|
|
1135
|
+
}
|
|
888
1136
|
/**
|
|
889
1137
|
* @public
|
|
890
1138
|
*/
|
|
@@ -991,7 +1239,6 @@ export interface PutResourceAttributesRequest {
|
|
|
991
1239
|
* <important>
|
|
992
1240
|
* <ul>
|
|
993
1241
|
* <li>
|
|
994
|
-
*
|
|
995
1242
|
* <p>If any "VM" related value is set for a <code>ResourceAttribute</code> object,
|
|
996
1243
|
* it is required that <code>VM_MANAGER_ID</code>, as a minimum, is always set. If
|
|
997
1244
|
* <code>VM_MANAGER_ID</code> is not set, then all "VM" fields will be discarded
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput } from "../commands/ListMigrationTaskUpdatesCommand";
|
|
3
|
+
import { MigrationHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListMigrationTaskUpdates: (config: MigrationHubPaginationConfiguration, input: ListMigrationTaskUpdatesCommandInput, ...rest: any[]) => Paginator<ListMigrationTaskUpdatesCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput } from "../commands/ListSourceResourcesCommand";
|
|
3
|
+
import { MigrationHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListSourceResources: (config: MigrationHubPaginationConfiguration, input: ListSourceResourcesCommandInput, ...rest: any[]) => Paginator<ListSourceResourcesCommandOutput>;
|
|
@@ -2,5 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListApplicationStatesPaginator";
|
|
3
3
|
export * from "./ListCreatedArtifactsPaginator";
|
|
4
4
|
export * from "./ListDiscoveredResourcesPaginator";
|
|
5
|
+
export * from "./ListMigrationTaskUpdatesPaginator";
|
|
5
6
|
export * from "./ListMigrationTasksPaginator";
|
|
6
7
|
export * from "./ListProgressUpdateStreamsPaginator";
|
|
8
|
+
export * from "./ListSourceResourcesPaginator";
|
|
@@ -2,18 +2,22 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput } from "../commands/AssociateCreatedArtifactCommand";
|
|
4
4
|
import { AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput } from "../commands/AssociateDiscoveredResourceCommand";
|
|
5
|
+
import { AssociateSourceResourceCommandInput, AssociateSourceResourceCommandOutput } from "../commands/AssociateSourceResourceCommand";
|
|
5
6
|
import { CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput } from "../commands/CreateProgressUpdateStreamCommand";
|
|
6
7
|
import { DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput } from "../commands/DeleteProgressUpdateStreamCommand";
|
|
7
8
|
import { DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput } from "../commands/DescribeApplicationStateCommand";
|
|
8
9
|
import { DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput } from "../commands/DescribeMigrationTaskCommand";
|
|
9
10
|
import { DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput } from "../commands/DisassociateCreatedArtifactCommand";
|
|
10
11
|
import { DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput } from "../commands/DisassociateDiscoveredResourceCommand";
|
|
12
|
+
import { DisassociateSourceResourceCommandInput, DisassociateSourceResourceCommandOutput } from "../commands/DisassociateSourceResourceCommand";
|
|
11
13
|
import { ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput } from "../commands/ImportMigrationTaskCommand";
|
|
12
14
|
import { ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput } from "../commands/ListApplicationStatesCommand";
|
|
13
15
|
import { ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput } from "../commands/ListCreatedArtifactsCommand";
|
|
14
16
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "../commands/ListDiscoveredResourcesCommand";
|
|
15
17
|
import { ListMigrationTasksCommandInput, ListMigrationTasksCommandOutput } from "../commands/ListMigrationTasksCommand";
|
|
18
|
+
import { ListMigrationTaskUpdatesCommandInput, ListMigrationTaskUpdatesCommandOutput } from "../commands/ListMigrationTaskUpdatesCommand";
|
|
16
19
|
import { ListProgressUpdateStreamsCommandInput, ListProgressUpdateStreamsCommandOutput } from "../commands/ListProgressUpdateStreamsCommand";
|
|
20
|
+
import { ListSourceResourcesCommandInput, ListSourceResourcesCommandOutput } from "../commands/ListSourceResourcesCommand";
|
|
17
21
|
import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput } from "../commands/NotifyApplicationStateCommand";
|
|
18
22
|
import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "../commands/NotifyMigrationTaskStateCommand";
|
|
19
23
|
import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "../commands/PutResourceAttributesCommand";
|
|
@@ -25,6 +29,10 @@ export declare const se_AssociateCreatedArtifactCommand: (input: AssociateCreate
|
|
|
25
29
|
* serializeAws_json1_1AssociateDiscoveredResourceCommand
|
|
26
30
|
*/
|
|
27
31
|
export declare const se_AssociateDiscoveredResourceCommand: (input: AssociateDiscoveredResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* serializeAws_json1_1AssociateSourceResourceCommand
|
|
34
|
+
*/
|
|
35
|
+
export declare const se_AssociateSourceResourceCommand: (input: AssociateSourceResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
36
|
/**
|
|
29
37
|
* serializeAws_json1_1CreateProgressUpdateStreamCommand
|
|
30
38
|
*/
|
|
@@ -49,6 +57,10 @@ export declare const se_DisassociateCreatedArtifactCommand: (input: Disassociate
|
|
|
49
57
|
* serializeAws_json1_1DisassociateDiscoveredResourceCommand
|
|
50
58
|
*/
|
|
51
59
|
export declare const se_DisassociateDiscoveredResourceCommand: (input: DisassociateDiscoveredResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* serializeAws_json1_1DisassociateSourceResourceCommand
|
|
62
|
+
*/
|
|
63
|
+
export declare const se_DisassociateSourceResourceCommand: (input: DisassociateSourceResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
64
|
/**
|
|
53
65
|
* serializeAws_json1_1ImportMigrationTaskCommand
|
|
54
66
|
*/
|
|
@@ -69,10 +81,18 @@ export declare const se_ListDiscoveredResourcesCommand: (input: ListDiscoveredRe
|
|
|
69
81
|
* serializeAws_json1_1ListMigrationTasksCommand
|
|
70
82
|
*/
|
|
71
83
|
export declare const se_ListMigrationTasksCommand: (input: ListMigrationTasksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
|
+
/**
|
|
85
|
+
* serializeAws_json1_1ListMigrationTaskUpdatesCommand
|
|
86
|
+
*/
|
|
87
|
+
export declare const se_ListMigrationTaskUpdatesCommand: (input: ListMigrationTaskUpdatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
88
|
/**
|
|
73
89
|
* serializeAws_json1_1ListProgressUpdateStreamsCommand
|
|
74
90
|
*/
|
|
75
91
|
export declare const se_ListProgressUpdateStreamsCommand: (input: ListProgressUpdateStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
92
|
+
/**
|
|
93
|
+
* serializeAws_json1_1ListSourceResourcesCommand
|
|
94
|
+
*/
|
|
95
|
+
export declare const se_ListSourceResourcesCommand: (input: ListSourceResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
96
|
/**
|
|
77
97
|
* serializeAws_json1_1NotifyApplicationStateCommand
|
|
78
98
|
*/
|
|
@@ -93,6 +113,10 @@ export declare const de_AssociateCreatedArtifactCommand: (output: __HttpResponse
|
|
|
93
113
|
* deserializeAws_json1_1AssociateDiscoveredResourceCommand
|
|
94
114
|
*/
|
|
95
115
|
export declare const de_AssociateDiscoveredResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateDiscoveredResourceCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* deserializeAws_json1_1AssociateSourceResourceCommand
|
|
118
|
+
*/
|
|
119
|
+
export declare const de_AssociateSourceResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSourceResourceCommandOutput>;
|
|
96
120
|
/**
|
|
97
121
|
* deserializeAws_json1_1CreateProgressUpdateStreamCommand
|
|
98
122
|
*/
|
|
@@ -117,6 +141,10 @@ export declare const de_DisassociateCreatedArtifactCommand: (output: __HttpRespo
|
|
|
117
141
|
* deserializeAws_json1_1DisassociateDiscoveredResourceCommand
|
|
118
142
|
*/
|
|
119
143
|
export declare const de_DisassociateDiscoveredResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateDiscoveredResourceCommandOutput>;
|
|
144
|
+
/**
|
|
145
|
+
* deserializeAws_json1_1DisassociateSourceResourceCommand
|
|
146
|
+
*/
|
|
147
|
+
export declare const de_DisassociateSourceResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSourceResourceCommandOutput>;
|
|
120
148
|
/**
|
|
121
149
|
* deserializeAws_json1_1ImportMigrationTaskCommand
|
|
122
150
|
*/
|
|
@@ -137,10 +165,18 @@ export declare const de_ListDiscoveredResourcesCommand: (output: __HttpResponse,
|
|
|
137
165
|
* deserializeAws_json1_1ListMigrationTasksCommand
|
|
138
166
|
*/
|
|
139
167
|
export declare const de_ListMigrationTasksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMigrationTasksCommandOutput>;
|
|
168
|
+
/**
|
|
169
|
+
* deserializeAws_json1_1ListMigrationTaskUpdatesCommand
|
|
170
|
+
*/
|
|
171
|
+
export declare const de_ListMigrationTaskUpdatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMigrationTaskUpdatesCommandOutput>;
|
|
140
172
|
/**
|
|
141
173
|
* deserializeAws_json1_1ListProgressUpdateStreamsCommand
|
|
142
174
|
*/
|
|
143
175
|
export declare const de_ListProgressUpdateStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProgressUpdateStreamsCommandOutput>;
|
|
176
|
+
/**
|
|
177
|
+
* deserializeAws_json1_1ListSourceResourcesCommand
|
|
178
|
+
*/
|
|
179
|
+
export declare const de_ListSourceResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSourceResourcesCommandOutput>;
|
|
144
180
|
/**
|
|
145
181
|
* deserializeAws_json1_1NotifyApplicationStateCommand
|
|
146
182
|
*/
|