MigrationHub / Client / list_discovered_resources

list_discovered_resources#

MigrationHub.Client.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
)
Parameters:
  • ProgressUpdateStream (string) –

    [REQUIRED]

    The name of the ProgressUpdateStream.

  • MigrationTaskName (string) –

    [REQUIRED]

    The name of the MigrationTask. Do not store personal data in this field.

  • NextToken (string) – If a 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.

  • MaxResults (integer) – The maximum number of results returned per page.

Return type:

dict

Returns:

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