Skip to content

Commit d27242d

Browse files
author
AWS
committed
AWS Migration Hub Update: ListApplicationStates API provides a list of all application migration states
1 parent 414b510 commit d27242d

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Migration Hub",
4+
"description": "ListApplicationStates API provides a list of all application migration states"
5+
}

services/migrationhub/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"pagination": {
3+
"ListApplicationStates": {
4+
"input_token": "NextToken",
5+
"limit_key": "MaxResults",
6+
"output_token": "NextToken",
7+
"result_key": "ApplicationStateList"
8+
},
39
"ListCreatedArtifacts": {
410
"input_token": "NextToken",
511
"limit_key": "MaxResults",

services/migrationhub/src/main/resources/codegen-resources/service-2.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,23 @@
189189
],
190190
"documentation":"<p>Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.</p> <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as the migration tool must first register the migration task with Migration Hub.</p>"
191191
},
192+
"ListApplicationStates":{
193+
"name":"ListApplicationStates",
194+
"http":{
195+
"method":"POST",
196+
"requestUri":"/"
197+
},
198+
"input":{"shape":"ListApplicationStatesRequest"},
199+
"output":{"shape":"ListApplicationStatesResult"},
200+
"errors":[
201+
{"shape":"AccessDeniedException"},
202+
{"shape":"InternalServerError"},
203+
{"shape":"ServiceUnavailableException"},
204+
{"shape":"InvalidInputException"},
205+
{"shape":"HomeRegionNotSetException"}
206+
],
207+
"documentation":"<p>Lists all the migration statuses for your applications. If you use the optional <code>ApplicationIds</code> parameter, only the migration statuses for those applications will be returned.</p>"
208+
},
192209
"ListCreatedArtifacts":{
193210
"name":"ListCreatedArtifacts",
194211
"http":{
@@ -337,6 +354,36 @@
337354
"max":1600,
338355
"min":1
339356
},
357+
"ApplicationIds":{
358+
"type":"list",
359+
"member":{"shape":"ApplicationId"},
360+
"max":100,
361+
"min":1
362+
},
363+
"ApplicationState":{
364+
"type":"structure",
365+
"members":{
366+
"ApplicationId":{
367+
"shape":"ApplicationId",
368+
"documentation":"<p>The configurationId from the Application Discovery Service that uniquely identifies an application.</p>"
369+
},
370+
"ApplicationStatus":{
371+
"shape":"ApplicationStatus",
372+
"documentation":"<p>The current status of an application.</p>"
373+
},
374+
"LastUpdatedTime":{
375+
"shape":"UpdateDateTime",
376+
"documentation":"<p>The timestamp when the application status was last updated.</p>"
377+
}
378+
},
379+
"documentation":"<p>The state of an application discovered through Migration Hub import, the AWS Agentless Discovery Connector, or the AWS Application Discovery Agent.</p>"
380+
},
381+
"ApplicationStateList":{
382+
"type":"list",
383+
"member":{"shape":"ApplicationState"},
384+
"max":1000,
385+
"min":0
386+
},
340387
"ApplicationStatus":{
341388
"type":"string",
342389
"enum":[
@@ -681,6 +728,36 @@
681728
"max":100,
682729
"min":0
683730
},
731+
"ListApplicationStatesRequest":{
732+
"type":"structure",
733+
"members":{
734+
"ApplicationIds":{
735+
"shape":"ApplicationIds",
736+
"documentation":"<p>The configurationIds from the Application Discovery Service that uniquely identifies your applications.</p>"
737+
},
738+
"NextToken":{
739+
"shape":"Token",
740+
"documentation":"<p>If a <code>NextToken</code> was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in <code>NextToken</code>.</p>"
741+
},
742+
"MaxResults":{
743+
"shape":"MaxResults",
744+
"documentation":"<p>Maximum number of results to be returned per page.</p>"
745+
}
746+
}
747+
},
748+
"ListApplicationStatesResult":{
749+
"type":"structure",
750+
"members":{
751+
"ApplicationStateList":{
752+
"shape":"ApplicationStateList",
753+
"documentation":"<p>A list of Applications that exist in Application Discovery Service.</p>"
754+
},
755+
"NextToken":{
756+
"shape":"Token",
757+
"documentation":"<p>If a <code>NextToken</code> was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in <code>NextToken</code>.</p>"
758+
}
759+
}
760+
},
684761
"ListCreatedArtifactsRequest":{
685762
"type":"structure",
686763
"required":[

0 commit comments

Comments
 (0)