@aws-sdk/client-migration-hub 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MigrationHub.js +0 -9
  3. package/dist-cjs/MigrationHubClient.js +0 -14
  4. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -42
  5. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -26
  6. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -29
  7. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -55
  8. package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -25
  10. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -41
  11. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -26
  12. package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -28
  13. package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -27
  14. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -39
  15. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -25
  16. package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -38
  17. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -25
  18. package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -28
  19. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -42
  20. package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -50
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +4 -26
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -157
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -11
  30. package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -11
  31. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +9 -0
  33. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/MigrationHub.js +0 -1
  39. package/dist-es/MigrationHubClient.js +0 -1
  40. package/dist-es/commands/AssociateCreatedArtifactCommand.js +0 -1
  41. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +0 -1
  42. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +0 -1
  43. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +0 -1
  44. package/dist-es/commands/DescribeApplicationStateCommand.js +0 -1
  45. package/dist-es/commands/DescribeMigrationTaskCommand.js +0 -1
  46. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +0 -1
  47. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +0 -1
  48. package/dist-es/commands/ImportMigrationTaskCommand.js +0 -1
  49. package/dist-es/commands/ListApplicationStatesCommand.js +0 -1
  50. package/dist-es/commands/ListCreatedArtifactsCommand.js +0 -1
  51. package/dist-es/commands/ListDiscoveredResourcesCommand.js +0 -1
  52. package/dist-es/commands/ListMigrationTasksCommand.js +0 -1
  53. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +0 -1
  54. package/dist-es/commands/NotifyApplicationStateCommand.js +0 -1
  55. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +0 -1
  56. package/dist-es/commands/PutResourceAttributesCommand.js +0 -1
  57. package/dist-es/commands/index.js +17 -0
  58. package/dist-es/endpoints.js +1 -2
  59. package/dist-es/index.js +4 -26
  60. package/dist-es/models/index.js +0 -1
  61. package/dist-es/models/models_0.js +0 -1
  62. package/dist-es/pagination/Interfaces.js +0 -1
  63. package/dist-es/pagination/ListApplicationStatesPaginator.js +0 -1
  64. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +0 -1
  65. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +0 -1
  66. package/dist-es/pagination/ListMigrationTasksPaginator.js +0 -1
  67. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +6 -0
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +17 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/pagination/index.d.ts +6 -0
  77. package/dist-types/ts3.4/MigrationHub.d.ts +18 -205
  78. package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -94
  79. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +2 -37
  80. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +2 -24
  82. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -50
  83. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +2 -36
  86. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +2 -23
  88. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +2 -22
  89. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +2 -34
  90. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +2 -33
  92. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +2 -37
  95. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +2 -45
  96. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  97. package/dist-types/ts3.4/index.d.ts +4 -25
  98. package/dist-types/ts3.4/models/models_0.d.ts +165 -648
  99. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  104. package/package.json +33 -30
  105. package/dist-cjs/MigrationHub.js.map +0 -1
  106. package/dist-cjs/MigrationHubClient.js.map +0 -1
  107. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  108. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  109. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeApplicationStateCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeMigrationTaskCommand.js.map +0 -1
  113. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  114. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  115. package/dist-cjs/commands/ImportMigrationTaskCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListApplicationStatesCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListCreatedArtifactsCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListMigrationTasksCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  121. package/dist-cjs/commands/NotifyApplicationStateCommand.js.map +0 -1
  122. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  123. package/dist-cjs/commands/PutResourceAttributesCommand.js.map +0 -1
  124. package/dist-cjs/endpoints.js.map +0 -1
  125. package/dist-cjs/index.js.map +0 -1
  126. package/dist-cjs/models/index.js.map +0 -1
  127. package/dist-cjs/models/models_0.js.map +0 -1
  128. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  129. package/dist-cjs/pagination/ListApplicationStatesPaginator.js.map +0 -1
  130. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  131. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/ListMigrationTasksPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  134. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  135. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  139. package/dist-es/MigrationHub.js.map +0 -1
  140. package/dist-es/MigrationHubClient.js.map +0 -1
  141. package/dist-es/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  142. package/dist-es/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  143. package/dist-es/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  144. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeApplicationStateCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeMigrationTaskCommand.js.map +0 -1
  147. package/dist-es/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  148. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  149. package/dist-es/commands/ImportMigrationTaskCommand.js.map +0 -1
  150. package/dist-es/commands/ListApplicationStatesCommand.js.map +0 -1
  151. package/dist-es/commands/ListCreatedArtifactsCommand.js.map +0 -1
  152. package/dist-es/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  153. package/dist-es/commands/ListMigrationTasksCommand.js.map +0 -1
  154. package/dist-es/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  155. package/dist-es/commands/NotifyApplicationStateCommand.js.map +0 -1
  156. package/dist-es/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  157. package/dist-es/commands/PutResourceAttributesCommand.js.map +0 -1
  158. package/dist-es/endpoints.js.map +0 -1
  159. package/dist-es/index.js.map +0 -1
  160. package/dist-es/models/index.js.map +0 -1
  161. package/dist-es/models/models_0.js.map +0 -1
  162. package/dist-es/pagination/Interfaces.js.map +0 -1
  163. package/dist-es/pagination/ListApplicationStatesPaginator.js.map +0 -1
  164. package/dist-es/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  165. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListMigrationTasksPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  168. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  169. package/dist-es/runtimeConfig.browser.js.map +0 -1
  170. package/dist-es/runtimeConfig.js.map +0 -1
  171. package/dist-es/runtimeConfig.native.js.map +0 -1
  172. package/dist-es/runtimeConfig.shared.js.map +0 -1
  173. package/jest.config.js +0 -4
  174. package/src/MigrationHub.ts +0 -788
  175. package/src/MigrationHubClient.ts +0 -340
  176. package/src/commands/AssociateCreatedArtifactCommand.ts +0 -112
  177. package/src/commands/AssociateDiscoveredResourceCommand.ts +0 -99
  178. package/src/commands/CreateProgressUpdateStreamCommand.ts +0 -102
  179. package/src/commands/DeleteProgressUpdateStreamCommand.ts +0 -128
  180. package/src/commands/DescribeApplicationStateCommand.ts +0 -95
  181. package/src/commands/DescribeMigrationTaskCommand.ts +0 -95
  182. package/src/commands/DisassociateCreatedArtifactCommand.ts +0 -114
  183. package/src/commands/DisassociateDiscoveredResourceCommand.ts +0 -104
  184. package/src/commands/ImportMigrationTaskCommand.ts +0 -98
  185. package/src/commands/ListApplicationStatesCommand.ts +0 -97
  186. package/src/commands/ListCreatedArtifactsCommand.ts +0 -109
  187. package/src/commands/ListDiscoveredResourcesCommand.ts +0 -95
  188. package/src/commands/ListMigrationTasksCommand.ts +0 -108
  189. package/src/commands/ListProgressUpdateStreamsCommand.ts +0 -98
  190. package/src/commands/NotifyApplicationStateCommand.ts +0 -98
  191. package/src/commands/NotifyMigrationTaskStateCommand.ts +0 -112
  192. package/src/commands/PutResourceAttributesCommand.ts +0 -120
  193. package/src/endpoints.ts +0 -57
  194. package/src/index.ts +0 -26
  195. package/src/models/index.ts +0 -1
  196. package/src/models/models_0.ts +0 -1319
  197. package/src/pagination/Interfaces.ts +0 -8
  198. package/src/pagination/ListApplicationStatesPaginator.ts +0 -59
  199. package/src/pagination/ListCreatedArtifactsPaginator.ts +0 -59
  200. package/src/pagination/ListDiscoveredResourcesPaginator.ts +0 -59
  201. package/src/pagination/ListMigrationTasksPaginator.ts +0 -59
  202. package/src/pagination/ListProgressUpdateStreamsPaginator.ts +0 -59
  203. package/src/protocols/Aws_json1_1.ts +0 -3163
  204. package/src/runtimeConfig.browser.ts +0 -41
  205. package/src/runtimeConfig.native.ts +0 -17
  206. package/src/runtimeConfig.shared.ts +0 -17
  207. package/src/runtimeConfig.ts +0 -46
  208. package/tsconfig.es.json +0 -10
  209. package/tsconfig.json +0 -33
  210. package/tsconfig.types.json +0 -9
@@ -1,1319 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- Message?: string;
10
- }
11
-
12
- export namespace AccessDeniedException {
13
- /**
14
- * @internal
15
- */
16
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
17
- ...obj,
18
- });
19
- }
20
-
21
- export enum ApplicationStatus {
22
- COMPLETED = "COMPLETED",
23
- IN_PROGRESS = "IN_PROGRESS",
24
- NOT_STARTED = "NOT_STARTED",
25
- }
26
-
27
- /**
28
- * <p>The state of an application discovered through Migration Hub import, the AWS Agentless
29
- * Discovery Connector, or the AWS Application Discovery Agent.</p>
30
- */
31
- export interface ApplicationState {
32
- /**
33
- * <p>The configurationId from the Application Discovery Service that uniquely identifies an
34
- * application.</p>
35
- */
36
- ApplicationId?: string;
37
-
38
- /**
39
- * <p>The current status of an application.</p>
40
- */
41
- ApplicationStatus?: ApplicationStatus | string;
42
-
43
- /**
44
- * <p>The timestamp when the application status was last updated.</p>
45
- */
46
- LastUpdatedTime?: Date;
47
- }
48
-
49
- export namespace ApplicationState {
50
- /**
51
- * @internal
52
- */
53
- export const filterSensitiveLog = (obj: ApplicationState): any => ({
54
- ...obj,
55
- });
56
- }
57
-
58
- /**
59
- * <p>An ARN of the AWS cloud resource target receiving the migration (e.g., AMI, EC2
60
- * instance, RDS instance, etc.).</p>
61
- */
62
- export interface CreatedArtifact {
63
- /**
64
- * <p>An ARN that uniquely identifies the result of a migration task.</p>
65
- */
66
- Name: string | undefined;
67
-
68
- /**
69
- * <p>A description that can be free-form text to record additional detail about the artifact
70
- * for clarity or for later reference.</p>
71
- */
72
- Description?: string;
73
- }
74
-
75
- export namespace CreatedArtifact {
76
- /**
77
- * @internal
78
- */
79
- export const filterSensitiveLog = (obj: CreatedArtifact): any => ({
80
- ...obj,
81
- });
82
- }
83
-
84
- export interface AssociateCreatedArtifactRequest {
85
- /**
86
- * <p>The name of the ProgressUpdateStream. </p>
87
- */
88
- ProgressUpdateStream: string | undefined;
89
-
90
- /**
91
- * <p>Unique identifier that references the migration task. <i>Do not store personal
92
- * data in this field.</i>
93
- * </p>
94
- */
95
- MigrationTaskName: string | undefined;
96
-
97
- /**
98
- * <p>An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS
99
- * instance, etc.) </p>
100
- */
101
- CreatedArtifact: CreatedArtifact | undefined;
102
-
103
- /**
104
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
105
- * the caller has permission to make the call.</p>
106
- */
107
- DryRun?: boolean;
108
- }
109
-
110
- export namespace AssociateCreatedArtifactRequest {
111
- /**
112
- * @internal
113
- */
114
- export const filterSensitiveLog = (obj: AssociateCreatedArtifactRequest): any => ({
115
- ...obj,
116
- });
117
- }
118
-
119
- export interface AssociateCreatedArtifactResult {}
120
-
121
- export namespace AssociateCreatedArtifactResult {
122
- /**
123
- * @internal
124
- */
125
- export const filterSensitiveLog = (obj: AssociateCreatedArtifactResult): any => ({
126
- ...obj,
127
- });
128
- }
129
-
130
- /**
131
- * <p>Exception raised to indicate a successfully authorized action when the
132
- * <code>DryRun</code> flag is set to "true".</p>
133
- */
134
- export interface DryRunOperation extends __SmithyException, $MetadataBearer {
135
- name: "DryRunOperation";
136
- $fault: "client";
137
- Message?: string;
138
- }
139
-
140
- export namespace DryRunOperation {
141
- /**
142
- * @internal
143
- */
144
- export const filterSensitiveLog = (obj: DryRunOperation): any => ({
145
- ...obj,
146
- });
147
- }
148
-
149
- /**
150
- * <p>The home region is not set. Set the home region to continue.</p>
151
- */
152
- export interface HomeRegionNotSetException extends __SmithyException, $MetadataBearer {
153
- name: "HomeRegionNotSetException";
154
- $fault: "client";
155
- Message?: string;
156
- }
157
-
158
- export namespace HomeRegionNotSetException {
159
- /**
160
- * @internal
161
- */
162
- export const filterSensitiveLog = (obj: HomeRegionNotSetException): any => ({
163
- ...obj,
164
- });
165
- }
166
-
167
- /**
168
- * <p>Exception raised when an internal, configuration, or dependency error is
169
- * encountered.</p>
170
- */
171
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
172
- name: "InternalServerError";
173
- $fault: "server";
174
- Message?: string;
175
- }
176
-
177
- export namespace InternalServerError {
178
- /**
179
- * @internal
180
- */
181
- export const filterSensitiveLog = (obj: InternalServerError): any => ({
182
- ...obj,
183
- });
184
- }
185
-
186
- /**
187
- * <p>Exception raised when the provided input violates a policy constraint or is entered in
188
- * the wrong format or data type.</p>
189
- */
190
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
191
- name: "InvalidInputException";
192
- $fault: "client";
193
- Message?: string;
194
- }
195
-
196
- export namespace InvalidInputException {
197
- /**
198
- * @internal
199
- */
200
- export const filterSensitiveLog = (obj: InvalidInputException): any => ({
201
- ...obj,
202
- });
203
- }
204
-
205
- /**
206
- * <p>Exception raised when the request references a resource (Application Discovery Service
207
- * configuration, update stream, migration task, etc.) that does not exist in Application
208
- * Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
209
- */
210
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
211
- name: "ResourceNotFoundException";
212
- $fault: "client";
213
- Message?: string;
214
- }
215
-
216
- export namespace ResourceNotFoundException {
217
- /**
218
- * @internal
219
- */
220
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
221
- ...obj,
222
- });
223
- }
224
-
225
- /**
226
- * <p>Exception raised when there is an internal, configuration, or dependency error
227
- * encountered.</p>
228
- */
229
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
230
- name: "ServiceUnavailableException";
231
- $fault: "server";
232
- Message?: string;
233
- }
234
-
235
- export namespace ServiceUnavailableException {
236
- /**
237
- * @internal
238
- */
239
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
240
- ...obj,
241
- });
242
- }
243
-
244
- /**
245
- * <p>The request was denied due to request throttling.</p>
246
- */
247
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
248
- name: "ThrottlingException";
249
- $fault: "client";
250
- /**
251
- * <p>A message that provides information about the exception.</p>
252
- */
253
- Message: string | undefined;
254
-
255
- /**
256
- * <p>The number of seconds the caller should wait before retrying.</p>
257
- */
258
- RetryAfterSeconds?: number;
259
- }
260
-
261
- export namespace ThrottlingException {
262
- /**
263
- * @internal
264
- */
265
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
266
- ...obj,
267
- });
268
- }
269
-
270
- /**
271
- * <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
272
- * flag is set to "true".</p>
273
- */
274
- export interface UnauthorizedOperation extends __SmithyException, $MetadataBearer {
275
- name: "UnauthorizedOperation";
276
- $fault: "client";
277
- Message?: string;
278
- }
279
-
280
- export namespace UnauthorizedOperation {
281
- /**
282
- * @internal
283
- */
284
- export const filterSensitiveLog = (obj: UnauthorizedOperation): any => ({
285
- ...obj,
286
- });
287
- }
288
-
289
- /**
290
- * <p>Object representing the on-premises resource being migrated.</p>
291
- */
292
- export interface DiscoveredResource {
293
- /**
294
- * <p>The configurationId in Application Discovery Service that uniquely identifies the
295
- * on-premise resource.</p>
296
- */
297
- ConfigurationId: string | undefined;
298
-
299
- /**
300
- * <p>A description that can be free-form text to record additional detail about the
301
- * discovered resource for clarity or later reference.</p>
302
- */
303
- Description?: string;
304
- }
305
-
306
- export namespace DiscoveredResource {
307
- /**
308
- * @internal
309
- */
310
- export const filterSensitiveLog = (obj: DiscoveredResource): any => ({
311
- ...obj,
312
- });
313
- }
314
-
315
- export interface AssociateDiscoveredResourceRequest {
316
- /**
317
- * <p>The name of the ProgressUpdateStream.</p>
318
- */
319
- ProgressUpdateStream: string | undefined;
320
-
321
- /**
322
- * <p>The identifier given to the MigrationTask. <i>Do not store personal data in this
323
- * field.</i>
324
- * </p>
325
- */
326
- MigrationTaskName: string | undefined;
327
-
328
- /**
329
- * <p>Object representing a Resource.</p>
330
- */
331
- DiscoveredResource: DiscoveredResource | undefined;
332
-
333
- /**
334
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
335
- * the caller has permission to make the call.</p>
336
- */
337
- DryRun?: boolean;
338
- }
339
-
340
- export namespace AssociateDiscoveredResourceRequest {
341
- /**
342
- * @internal
343
- */
344
- export const filterSensitiveLog = (obj: AssociateDiscoveredResourceRequest): any => ({
345
- ...obj,
346
- });
347
- }
348
-
349
- export interface AssociateDiscoveredResourceResult {}
350
-
351
- export namespace AssociateDiscoveredResourceResult {
352
- /**
353
- * @internal
354
- */
355
- export const filterSensitiveLog = (obj: AssociateDiscoveredResourceResult): any => ({
356
- ...obj,
357
- });
358
- }
359
-
360
- /**
361
- * <p>Exception raised when there are problems accessing Application Discovery Service
362
- * (Application Discovery Service); most likely due to a misconfigured policy or the
363
- * <code>migrationhub-discovery</code> role is missing or not configured correctly.</p>
364
- */
365
- export interface PolicyErrorException extends __SmithyException, $MetadataBearer {
366
- name: "PolicyErrorException";
367
- $fault: "client";
368
- Message?: string;
369
- }
370
-
371
- export namespace PolicyErrorException {
372
- /**
373
- * @internal
374
- */
375
- export const filterSensitiveLog = (obj: PolicyErrorException): any => ({
376
- ...obj,
377
- });
378
- }
379
-
380
- export interface CreateProgressUpdateStreamRequest {
381
- /**
382
- * <p>The name of the ProgressUpdateStream. <i>Do not store personal data in this
383
- * field.</i>
384
- * </p>
385
- */
386
- ProgressUpdateStreamName: string | undefined;
387
-
388
- /**
389
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
390
- * the caller has permission to make the call.</p>
391
- */
392
- DryRun?: boolean;
393
- }
394
-
395
- export namespace CreateProgressUpdateStreamRequest {
396
- /**
397
- * @internal
398
- */
399
- export const filterSensitiveLog = (obj: CreateProgressUpdateStreamRequest): any => ({
400
- ...obj,
401
- });
402
- }
403
-
404
- export interface CreateProgressUpdateStreamResult {}
405
-
406
- export namespace CreateProgressUpdateStreamResult {
407
- /**
408
- * @internal
409
- */
410
- export const filterSensitiveLog = (obj: CreateProgressUpdateStreamResult): any => ({
411
- ...obj,
412
- });
413
- }
414
-
415
- export interface DeleteProgressUpdateStreamRequest {
416
- /**
417
- * <p>The name of the ProgressUpdateStream. <i>Do not store personal data in this
418
- * field.</i>
419
- * </p>
420
- */
421
- ProgressUpdateStreamName: string | undefined;
422
-
423
- /**
424
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
425
- * the caller has permission to make the call.</p>
426
- */
427
- DryRun?: boolean;
428
- }
429
-
430
- export namespace DeleteProgressUpdateStreamRequest {
431
- /**
432
- * @internal
433
- */
434
- export const filterSensitiveLog = (obj: DeleteProgressUpdateStreamRequest): any => ({
435
- ...obj,
436
- });
437
- }
438
-
439
- export interface DeleteProgressUpdateStreamResult {}
440
-
441
- export namespace DeleteProgressUpdateStreamResult {
442
- /**
443
- * @internal
444
- */
445
- export const filterSensitiveLog = (obj: DeleteProgressUpdateStreamResult): any => ({
446
- ...obj,
447
- });
448
- }
449
-
450
- export interface DescribeApplicationStateRequest {
451
- /**
452
- * <p>The configurationId in Application Discovery Service that uniquely identifies the
453
- * grouped application.</p>
454
- */
455
- ApplicationId: string | undefined;
456
- }
457
-
458
- export namespace DescribeApplicationStateRequest {
459
- /**
460
- * @internal
461
- */
462
- export const filterSensitiveLog = (obj: DescribeApplicationStateRequest): any => ({
463
- ...obj,
464
- });
465
- }
466
-
467
- export interface DescribeApplicationStateResult {
468
- /**
469
- * <p>Status of the application - Not Started, In-Progress, Complete.</p>
470
- */
471
- ApplicationStatus?: ApplicationStatus | string;
472
-
473
- /**
474
- * <p>The timestamp when the application status was last updated.</p>
475
- */
476
- LastUpdatedTime?: Date;
477
- }
478
-
479
- export namespace DescribeApplicationStateResult {
480
- /**
481
- * @internal
482
- */
483
- export const filterSensitiveLog = (obj: DescribeApplicationStateResult): any => ({
484
- ...obj,
485
- });
486
- }
487
-
488
- export interface DescribeMigrationTaskRequest {
489
- /**
490
- * <p>The name of the ProgressUpdateStream. </p>
491
- */
492
- ProgressUpdateStream: string | undefined;
493
-
494
- /**
495
- * <p>The identifier given to the MigrationTask. <i>Do not store personal data in this
496
- * field.</i>
497
- * </p>
498
- */
499
- MigrationTaskName: string | undefined;
500
- }
501
-
502
- export namespace DescribeMigrationTaskRequest {
503
- /**
504
- * @internal
505
- */
506
- export const filterSensitiveLog = (obj: DescribeMigrationTaskRequest): any => ({
507
- ...obj,
508
- });
509
- }
510
-
511
- export enum ResourceAttributeType {
512
- BIOS_ID = "BIOS_ID",
513
- FQDN = "FQDN",
514
- IPV4_ADDRESS = "IPV4_ADDRESS",
515
- IPV6_ADDRESS = "IPV6_ADDRESS",
516
- MAC_ADDRESS = "MAC_ADDRESS",
517
- MOTHERBOARD_SERIAL_NUMBER = "MOTHERBOARD_SERIAL_NUMBER",
518
- VM_MANAGED_OBJECT_REFERENCE = "VM_MANAGED_OBJECT_REFERENCE",
519
- VM_MANAGER_ID = "VM_MANAGER_ID",
520
- VM_NAME = "VM_NAME",
521
- VM_PATH = "VM_PATH",
522
- }
523
-
524
- /**
525
- * <p>Attribute associated with a resource.</p>
526
- * <p>Note the corresponding format required per type listed below:</p>
527
- *
528
- *
529
- * <dl>
530
- * <dt>IPV4</dt>
531
- * <dd>
532
- * <p>
533
- * <code>x.x.x.x</code>
534
- * </p>
535
- * <p>
536
- * <i>where x is an integer in the range [0,255]</i>
537
- * </p>
538
- * </dd>
539
- * <dt>IPV6</dt>
540
- * <dd>
541
- * <p>
542
- * <code>y : y : y : y : y : y : y : y</code>
543
- * </p>
544
- * <p>
545
- * <i>where y is a hexadecimal between 0 and FFFF. [0,
546
- * FFFF]</i>
547
- * </p>
548
- * </dd>
549
- * <dt>MAC_ADDRESS</dt>
550
- * <dd>
551
- * <p>
552
- * <code>^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$</code>
553
- * </p>
554
- * </dd>
555
- * <dt>FQDN</dt>
556
- * <dd>
557
- * <p>
558
- * <code>^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$</code>
559
- * </p>
560
- * </dd>
561
- * </dl>
562
- */
563
- export interface ResourceAttribute {
564
- /**
565
- * <p>Type of resource.</p>
566
- */
567
- Type: ResourceAttributeType | string | undefined;
568
-
569
- /**
570
- * <p>Value of the resource type.</p>
571
- */
572
- Value: string | undefined;
573
- }
574
-
575
- export namespace ResourceAttribute {
576
- /**
577
- * @internal
578
- */
579
- export const filterSensitiveLog = (obj: ResourceAttribute): any => ({
580
- ...obj,
581
- });
582
- }
583
-
584
- export enum Status {
585
- COMPLETED = "COMPLETED",
586
- FAILED = "FAILED",
587
- IN_PROGRESS = "IN_PROGRESS",
588
- NOT_STARTED = "NOT_STARTED",
589
- }
590
-
591
- /**
592
- * <p>Task object encapsulating task information.</p>
593
- */
594
- export interface Task {
595
- /**
596
- * <p>Status of the task - Not Started, In-Progress, Complete.</p>
597
- */
598
- Status: Status | string | undefined;
599
-
600
- /**
601
- * <p>Details of task status as notified by a migration tool. A tool might use this field to
602
- * provide clarifying information about the status that is unique to that tool or that
603
- * explains an error state.</p>
604
- */
605
- StatusDetail?: string;
606
-
607
- /**
608
- * <p>Indication of the percentage completion of the task.</p>
609
- */
610
- ProgressPercent?: number;
611
- }
612
-
613
- export namespace Task {
614
- /**
615
- * @internal
616
- */
617
- export const filterSensitiveLog = (obj: Task): any => ({
618
- ...obj,
619
- });
620
- }
621
-
622
- /**
623
- * <p>Represents a migration task in a migration tool.</p>
624
- */
625
- export interface MigrationTask {
626
- /**
627
- * <p>A name that identifies the vendor of the migration tool being used.</p>
628
- */
629
- ProgressUpdateStream?: string;
630
-
631
- /**
632
- * <p>Unique identifier that references the migration task. <i>Do not store personal
633
- * data in this field.</i>
634
- * </p>
635
- */
636
- MigrationTaskName?: string;
637
-
638
- /**
639
- * <p>Task object encapsulating task information.</p>
640
- */
641
- Task?: Task;
642
-
643
- /**
644
- * <p>The timestamp when the task was gathered.</p>
645
- */
646
- UpdateDateTime?: Date;
647
-
648
- /**
649
- * <p>Information about the resource that is being migrated. This data will be used to map the
650
- * task to a resource in the Application Discovery Service repository.</p>
651
- */
652
- ResourceAttributeList?: ResourceAttribute[];
653
- }
654
-
655
- export namespace MigrationTask {
656
- /**
657
- * @internal
658
- */
659
- export const filterSensitiveLog = (obj: MigrationTask): any => ({
660
- ...obj,
661
- });
662
- }
663
-
664
- export interface DescribeMigrationTaskResult {
665
- /**
666
- * <p>Object encapsulating information about the migration task.</p>
667
- */
668
- MigrationTask?: MigrationTask;
669
- }
670
-
671
- export namespace DescribeMigrationTaskResult {
672
- /**
673
- * @internal
674
- */
675
- export const filterSensitiveLog = (obj: DescribeMigrationTaskResult): any => ({
676
- ...obj,
677
- });
678
- }
679
-
680
- export interface DisassociateCreatedArtifactRequest {
681
- /**
682
- * <p>The name of the ProgressUpdateStream. </p>
683
- */
684
- ProgressUpdateStream: string | undefined;
685
-
686
- /**
687
- * <p>Unique identifier that references the migration task to be disassociated with the
688
- * artifact. <i>Do not store personal data in this field.</i>
689
- * </p>
690
- */
691
- MigrationTaskName: string | undefined;
692
-
693
- /**
694
- * <p>An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS
695
- * instance, etc.)</p>
696
- */
697
- CreatedArtifactName: string | undefined;
698
-
699
- /**
700
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
701
- * the caller has permission to make the call.</p>
702
- */
703
- DryRun?: boolean;
704
- }
705
-
706
- export namespace DisassociateCreatedArtifactRequest {
707
- /**
708
- * @internal
709
- */
710
- export const filterSensitiveLog = (obj: DisassociateCreatedArtifactRequest): any => ({
711
- ...obj,
712
- });
713
- }
714
-
715
- export interface DisassociateCreatedArtifactResult {}
716
-
717
- export namespace DisassociateCreatedArtifactResult {
718
- /**
719
- * @internal
720
- */
721
- export const filterSensitiveLog = (obj: DisassociateCreatedArtifactResult): any => ({
722
- ...obj,
723
- });
724
- }
725
-
726
- export interface DisassociateDiscoveredResourceRequest {
727
- /**
728
- * <p>The name of the ProgressUpdateStream.</p>
729
- */
730
- ProgressUpdateStream: string | undefined;
731
-
732
- /**
733
- * <p>The identifier given to the MigrationTask. <i>Do not store personal data in this
734
- * field.</i>
735
- * </p>
736
- */
737
- MigrationTaskName: string | undefined;
738
-
739
- /**
740
- * <p>ConfigurationId of the Application Discovery Service resource to be
741
- * disassociated.</p>
742
- */
743
- ConfigurationId: string | undefined;
744
-
745
- /**
746
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
747
- * the caller has permission to make the call.</p>
748
- */
749
- DryRun?: boolean;
750
- }
751
-
752
- export namespace DisassociateDiscoveredResourceRequest {
753
- /**
754
- * @internal
755
- */
756
- export const filterSensitiveLog = (obj: DisassociateDiscoveredResourceRequest): any => ({
757
- ...obj,
758
- });
759
- }
760
-
761
- export interface DisassociateDiscoveredResourceResult {}
762
-
763
- export namespace DisassociateDiscoveredResourceResult {
764
- /**
765
- * @internal
766
- */
767
- export const filterSensitiveLog = (obj: DisassociateDiscoveredResourceResult): any => ({
768
- ...obj,
769
- });
770
- }
771
-
772
- export interface ImportMigrationTaskRequest {
773
- /**
774
- * <p>The name of the ProgressUpdateStream. ></p>
775
- */
776
- ProgressUpdateStream: string | undefined;
777
-
778
- /**
779
- * <p>Unique identifier that references the migration task. <i>Do not store personal
780
- * data in this field.</i>
781
- * </p>
782
- */
783
- MigrationTaskName: string | undefined;
784
-
785
- /**
786
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
787
- * the caller has permission to make the call.</p>
788
- */
789
- DryRun?: boolean;
790
- }
791
-
792
- export namespace ImportMigrationTaskRequest {
793
- /**
794
- * @internal
795
- */
796
- export const filterSensitiveLog = (obj: ImportMigrationTaskRequest): any => ({
797
- ...obj,
798
- });
799
- }
800
-
801
- export interface ImportMigrationTaskResult {}
802
-
803
- export namespace ImportMigrationTaskResult {
804
- /**
805
- * @internal
806
- */
807
- export const filterSensitiveLog = (obj: ImportMigrationTaskResult): any => ({
808
- ...obj,
809
- });
810
- }
811
-
812
- export interface ListApplicationStatesRequest {
813
- /**
814
- * <p>The configurationIds from the Application Discovery Service that uniquely identifies
815
- * your applications.</p>
816
- */
817
- ApplicationIds?: string[];
818
-
819
- /**
820
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
821
- * available. To retrieve the next page of results, make the call again using the returned
822
- * token in <code>NextToken</code>.</p>
823
- */
824
- NextToken?: string;
825
-
826
- /**
827
- * <p>Maximum number of results to be returned per page.</p>
828
- */
829
- MaxResults?: number;
830
- }
831
-
832
- export namespace ListApplicationStatesRequest {
833
- /**
834
- * @internal
835
- */
836
- export const filterSensitiveLog = (obj: ListApplicationStatesRequest): any => ({
837
- ...obj,
838
- });
839
- }
840
-
841
- export interface ListApplicationStatesResult {
842
- /**
843
- * <p>A list of Applications that exist in Application Discovery Service.</p>
844
- */
845
- ApplicationStateList?: ApplicationState[];
846
-
847
- /**
848
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
849
- * available. To retrieve the next page of results, make the call again using the returned
850
- * token in <code>NextToken</code>.</p>
851
- */
852
- NextToken?: string;
853
- }
854
-
855
- export namespace ListApplicationStatesResult {
856
- /**
857
- * @internal
858
- */
859
- export const filterSensitiveLog = (obj: ListApplicationStatesResult): any => ({
860
- ...obj,
861
- });
862
- }
863
-
864
- export interface ListCreatedArtifactsRequest {
865
- /**
866
- * <p>The name of the ProgressUpdateStream. </p>
867
- */
868
- ProgressUpdateStream: string | undefined;
869
-
870
- /**
871
- * <p>Unique identifier that references the migration task. <i>Do not store personal
872
- * data in this field.</i>
873
- * </p>
874
- */
875
- MigrationTaskName: string | undefined;
876
-
877
- /**
878
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
879
- * available. To retrieve the next page of results, make the call again using the returned
880
- * token in <code>NextToken</code>.</p>
881
- */
882
- NextToken?: string;
883
-
884
- /**
885
- * <p>Maximum number of results to be returned per page.</p>
886
- */
887
- MaxResults?: number;
888
- }
889
-
890
- export namespace ListCreatedArtifactsRequest {
891
- /**
892
- * @internal
893
- */
894
- export const filterSensitiveLog = (obj: ListCreatedArtifactsRequest): any => ({
895
- ...obj,
896
- });
897
- }
898
-
899
- export interface ListCreatedArtifactsResult {
900
- /**
901
- * <p>If there are more created artifacts than the max result, return the next token to be
902
- * passed to the next call as a bookmark of where to start from.</p>
903
- */
904
- NextToken?: string;
905
-
906
- /**
907
- * <p>List of created artifacts up to the maximum number of results specified in the
908
- * request.</p>
909
- */
910
- CreatedArtifactList?: CreatedArtifact[];
911
- }
912
-
913
- export namespace ListCreatedArtifactsResult {
914
- /**
915
- * @internal
916
- */
917
- export const filterSensitiveLog = (obj: ListCreatedArtifactsResult): any => ({
918
- ...obj,
919
- });
920
- }
921
-
922
- export interface ListDiscoveredResourcesRequest {
923
- /**
924
- * <p>The name of the ProgressUpdateStream.</p>
925
- */
926
- ProgressUpdateStream: string | undefined;
927
-
928
- /**
929
- * <p>The name of the MigrationTask. <i>Do not store personal data in this
930
- * field.</i>
931
- * </p>
932
- */
933
- MigrationTaskName: string | undefined;
934
-
935
- /**
936
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
937
- * available. To retrieve the next page of results, make the call again using the returned
938
- * token in <code>NextToken</code>.</p>
939
- */
940
- NextToken?: string;
941
-
942
- /**
943
- * <p>The maximum number of results returned per page.</p>
944
- */
945
- MaxResults?: number;
946
- }
947
-
948
- export namespace ListDiscoveredResourcesRequest {
949
- /**
950
- * @internal
951
- */
952
- export const filterSensitiveLog = (obj: ListDiscoveredResourcesRequest): any => ({
953
- ...obj,
954
- });
955
- }
956
-
957
- export interface ListDiscoveredResourcesResult {
958
- /**
959
- * <p>If there are more discovered resources than the max result, return the next token to be
960
- * passed to the next call as a bookmark of where to start from.</p>
961
- */
962
- NextToken?: string;
963
-
964
- /**
965
- * <p>Returned list of discovered resources associated with the given MigrationTask.</p>
966
- */
967
- DiscoveredResourceList?: DiscoveredResource[];
968
- }
969
-
970
- export namespace ListDiscoveredResourcesResult {
971
- /**
972
- * @internal
973
- */
974
- export const filterSensitiveLog = (obj: ListDiscoveredResourcesResult): any => ({
975
- ...obj,
976
- });
977
- }
978
-
979
- export interface ListMigrationTasksRequest {
980
- /**
981
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
982
- * available. To retrieve the next page of results, make the call again using the returned
983
- * token in <code>NextToken</code>.</p>
984
- */
985
- NextToken?: string;
986
-
987
- /**
988
- * <p>Value to specify how many results are returned per page.</p>
989
- */
990
- MaxResults?: number;
991
-
992
- /**
993
- * <p>Filter migration tasks by discovered resource name.</p>
994
- */
995
- ResourceName?: string;
996
- }
997
-
998
- export namespace ListMigrationTasksRequest {
999
- /**
1000
- * @internal
1001
- */
1002
- export const filterSensitiveLog = (obj: ListMigrationTasksRequest): any => ({
1003
- ...obj,
1004
- });
1005
- }
1006
-
1007
- /**
1008
- * <p>MigrationTaskSummary includes <code>MigrationTaskName</code>,
1009
- * <code>ProgressPercent</code>, <code>ProgressUpdateStream</code>, <code>Status</code>,
1010
- * and <code>UpdateDateTime</code> for each task.</p>
1011
- */
1012
- export interface MigrationTaskSummary {
1013
- /**
1014
- * <p>An AWS resource used for access control. It should uniquely identify the migration tool
1015
- * as it is used for all updates made by the tool.</p>
1016
- */
1017
- ProgressUpdateStream?: string;
1018
-
1019
- /**
1020
- * <p>Unique identifier that references the migration task. <i>Do not store personal
1021
- * data in this field.</i>
1022
- * </p>
1023
- */
1024
- MigrationTaskName?: string;
1025
-
1026
- /**
1027
- * <p>Status of the task.</p>
1028
- */
1029
- Status?: Status | string;
1030
-
1031
- /**
1032
- * <p>Indication of the percentage completion of the task.</p>
1033
- */
1034
- ProgressPercent?: number;
1035
-
1036
- /**
1037
- * <p>Detail information of what is being done within the overall status state.</p>
1038
- */
1039
- StatusDetail?: string;
1040
-
1041
- /**
1042
- * <p>The timestamp when the task was gathered.</p>
1043
- */
1044
- UpdateDateTime?: Date;
1045
- }
1046
-
1047
- export namespace MigrationTaskSummary {
1048
- /**
1049
- * @internal
1050
- */
1051
- export const filterSensitiveLog = (obj: MigrationTaskSummary): any => ({
1052
- ...obj,
1053
- });
1054
- }
1055
-
1056
- export interface ListMigrationTasksResult {
1057
- /**
1058
- * <p>If there are more migration tasks than the max result, return the next token to be
1059
- * passed to the next call as a bookmark of where to start from.</p>
1060
- */
1061
- NextToken?: string;
1062
-
1063
- /**
1064
- * <p>Lists the migration task's summary which includes: <code>MigrationTaskName</code>,
1065
- * <code>ProgressPercent</code>, <code>ProgressUpdateStream</code>, <code>Status</code>,
1066
- * and the <code>UpdateDateTime</code> for each task.</p>
1067
- */
1068
- MigrationTaskSummaryList?: MigrationTaskSummary[];
1069
- }
1070
-
1071
- export namespace ListMigrationTasksResult {
1072
- /**
1073
- * @internal
1074
- */
1075
- export const filterSensitiveLog = (obj: ListMigrationTasksResult): any => ({
1076
- ...obj,
1077
- });
1078
- }
1079
-
1080
- export interface ListProgressUpdateStreamsRequest {
1081
- /**
1082
- * <p>If a <code>NextToken</code> was returned by a previous call, there are more results
1083
- * available. To retrieve the next page of results, make the call again using the returned
1084
- * token in <code>NextToken</code>.</p>
1085
- */
1086
- NextToken?: string;
1087
-
1088
- /**
1089
- * <p>Filter to limit the maximum number of results to list per page.</p>
1090
- */
1091
- MaxResults?: number;
1092
- }
1093
-
1094
- export namespace ListProgressUpdateStreamsRequest {
1095
- /**
1096
- * @internal
1097
- */
1098
- export const filterSensitiveLog = (obj: ListProgressUpdateStreamsRequest): any => ({
1099
- ...obj,
1100
- });
1101
- }
1102
-
1103
- /**
1104
- * <p>Summary of the AWS resource used for access control that is implicitly linked to your
1105
- * AWS account.</p>
1106
- */
1107
- export interface ProgressUpdateStreamSummary {
1108
- /**
1109
- * <p>The name of the ProgressUpdateStream. <i>Do not store personal data in this
1110
- * field.</i>
1111
- * </p>
1112
- */
1113
- ProgressUpdateStreamName?: string;
1114
- }
1115
-
1116
- export namespace ProgressUpdateStreamSummary {
1117
- /**
1118
- * @internal
1119
- */
1120
- export const filterSensitiveLog = (obj: ProgressUpdateStreamSummary): any => ({
1121
- ...obj,
1122
- });
1123
- }
1124
-
1125
- export interface ListProgressUpdateStreamsResult {
1126
- /**
1127
- * <p>List of progress update streams up to the max number of results passed in the
1128
- * input.</p>
1129
- */
1130
- ProgressUpdateStreamSummaryList?: ProgressUpdateStreamSummary[];
1131
-
1132
- /**
1133
- * <p>If there are more streams created than the max result, return the next token to be
1134
- * passed to the next call as a bookmark of where to start from.</p>
1135
- */
1136
- NextToken?: string;
1137
- }
1138
-
1139
- export namespace ListProgressUpdateStreamsResult {
1140
- /**
1141
- * @internal
1142
- */
1143
- export const filterSensitiveLog = (obj: ListProgressUpdateStreamsResult): any => ({
1144
- ...obj,
1145
- });
1146
- }
1147
-
1148
- export interface NotifyApplicationStateRequest {
1149
- /**
1150
- * <p>The configurationId in Application Discovery Service that uniquely identifies the
1151
- * grouped application.</p>
1152
- */
1153
- ApplicationId: string | undefined;
1154
-
1155
- /**
1156
- * <p>Status of the application - Not Started, In-Progress, Complete.</p>
1157
- */
1158
- Status: ApplicationStatus | string | undefined;
1159
-
1160
- /**
1161
- * <p>The timestamp when the application state changed.</p>
1162
- */
1163
- UpdateDateTime?: Date;
1164
-
1165
- /**
1166
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
1167
- * the caller has permission to make the call.</p>
1168
- */
1169
- DryRun?: boolean;
1170
- }
1171
-
1172
- export namespace NotifyApplicationStateRequest {
1173
- /**
1174
- * @internal
1175
- */
1176
- export const filterSensitiveLog = (obj: NotifyApplicationStateRequest): any => ({
1177
- ...obj,
1178
- });
1179
- }
1180
-
1181
- export interface NotifyApplicationStateResult {}
1182
-
1183
- export namespace NotifyApplicationStateResult {
1184
- /**
1185
- * @internal
1186
- */
1187
- export const filterSensitiveLog = (obj: NotifyApplicationStateResult): any => ({
1188
- ...obj,
1189
- });
1190
- }
1191
-
1192
- export interface NotifyMigrationTaskStateRequest {
1193
- /**
1194
- * <p>The name of the ProgressUpdateStream. </p>
1195
- */
1196
- ProgressUpdateStream: string | undefined;
1197
-
1198
- /**
1199
- * <p>Unique identifier that references the migration task. <i>Do not store personal
1200
- * data in this field.</i>
1201
- * </p>
1202
- */
1203
- MigrationTaskName: string | undefined;
1204
-
1205
- /**
1206
- * <p>Information about the task's progress and status.</p>
1207
- */
1208
- Task: Task | undefined;
1209
-
1210
- /**
1211
- * <p>The timestamp when the task was gathered.</p>
1212
- */
1213
- UpdateDateTime: Date | undefined;
1214
-
1215
- /**
1216
- * <p>Number of seconds after the UpdateDateTime within which the Migration Hub can expect an
1217
- * update. If Migration Hub does not receive an update within the specified interval, then the
1218
- * migration task will be considered stale.</p>
1219
- */
1220
- NextUpdateSeconds: number | undefined;
1221
-
1222
- /**
1223
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
1224
- * the caller has permission to make the call.</p>
1225
- */
1226
- DryRun?: boolean;
1227
- }
1228
-
1229
- export namespace NotifyMigrationTaskStateRequest {
1230
- /**
1231
- * @internal
1232
- */
1233
- export const filterSensitiveLog = (obj: NotifyMigrationTaskStateRequest): any => ({
1234
- ...obj,
1235
- });
1236
- }
1237
-
1238
- export interface NotifyMigrationTaskStateResult {}
1239
-
1240
- export namespace NotifyMigrationTaskStateResult {
1241
- /**
1242
- * @internal
1243
- */
1244
- export const filterSensitiveLog = (obj: NotifyMigrationTaskStateResult): any => ({
1245
- ...obj,
1246
- });
1247
- }
1248
-
1249
- export interface PutResourceAttributesRequest {
1250
- /**
1251
- * <p>The name of the ProgressUpdateStream. </p>
1252
- */
1253
- ProgressUpdateStream: string | undefined;
1254
-
1255
- /**
1256
- * <p>Unique identifier that references the migration task. <i>Do not store personal
1257
- * data in this field.</i>
1258
- * </p>
1259
- */
1260
- MigrationTaskName: string | undefined;
1261
-
1262
- /**
1263
- * <p>Information about the resource that is being migrated. This data will be used to map the
1264
- * task to a resource in the Application Discovery Service repository.</p>
1265
- * <note>
1266
- * <p>Takes the object array of <code>ResourceAttribute</code> where the <code>Type</code>
1267
- * field is reserved for the following values: <code>IPV4_ADDRESS | IPV6_ADDRESS |
1268
- * MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH
1269
- * | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER</code> where the identifying value can be a
1270
- * string up to 256 characters.</p>
1271
- * </note>
1272
- * <important>
1273
- * <ul>
1274
- * <li>
1275
- *
1276
- * <p>If any "VM" related value is set for a <code>ResourceAttribute</code> object,
1277
- * it is required that <code>VM_MANAGER_ID</code>, as a minimum, is always set. If
1278
- * <code>VM_MANAGER_ID</code> is not set, then all "VM" fields will be discarded
1279
- * and "VM" fields will not be used for matching the migration task to a server in
1280
- * Application Discovery Service repository. See the <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#API_PutResourceAttributes_Examples">Example</a> section below for a use case of specifying "VM" related
1281
- * values.</p>
1282
- * </li>
1283
- * <li>
1284
- * <p> If a server you are trying to match has multiple IP or MAC addresses, you
1285
- * should provide as many as you know in separate type/value pairs passed to the
1286
- * <code>ResourceAttributeList</code> parameter to maximize the chances of
1287
- * matching.</p>
1288
- * </li>
1289
- * </ul>
1290
- * </important>
1291
- */
1292
- ResourceAttributeList: ResourceAttribute[] | undefined;
1293
-
1294
- /**
1295
- * <p>Optional boolean flag to indicate whether any effect should take place. Used to test if
1296
- * the caller has permission to make the call.</p>
1297
- */
1298
- DryRun?: boolean;
1299
- }
1300
-
1301
- export namespace PutResourceAttributesRequest {
1302
- /**
1303
- * @internal
1304
- */
1305
- export const filterSensitiveLog = (obj: PutResourceAttributesRequest): any => ({
1306
- ...obj,
1307
- });
1308
- }
1309
-
1310
- export interface PutResourceAttributesResult {}
1311
-
1312
- export namespace PutResourceAttributesResult {
1313
- /**
1314
- * @internal
1315
- */
1316
- export const filterSensitiveLog = (obj: PutResourceAttributesResult): any => ({
1317
- ...obj,
1318
- });
1319
- }