list_discovered_resources
(**kwargs)¶Lists discovered resources associated with the given MigrationTask
.
See also: AWS API Documentation
Request Syntax
response = client.list_discovered_resources(
ProgressUpdateStream='string',
MigrationTaskName='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The name of the ProgressUpdateStream.
[REQUIRED]
The name of the MigrationTask. Do not store personal data in this field.
NextToken
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 NextToken
.dict
Response Syntax
{
'NextToken': 'string',
'DiscoveredResourceList': [
{
'ConfigurationId': 'string',
'Description': 'string'
},
]
}
Response Structure
(dict) --
NextToken (string) --
If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
DiscoveredResourceList (list) --
Returned list of discovered resources associated with the given MigrationTask.
(dict) --
Object representing the on-premises resource being migrated.
ConfigurationId (string) --
The configurationId in Application Discovery Service that uniquely identifies the on-premise resource.
Description (string) --
A description that can be free-form text to record additional detail about the discovered resource for clarity or later reference.
Exceptions
MigrationHub.Client.exceptions.AccessDeniedException
MigrationHub.Client.exceptions.ThrottlingException
MigrationHub.Client.exceptions.InternalServerError
MigrationHub.Client.exceptions.ServiceUnavailableException
MigrationHub.Client.exceptions.InvalidInputException
MigrationHub.Client.exceptions.ResourceNotFoundException
MigrationHub.Client.exceptions.HomeRegionNotSetException