MigrationHub / Client / associate_discovered_resource

associate_discovered_resource#

MigrationHub.Client.associate_discovered_resource(**kwargs)#

Associates a discovered resource ID from Application Discovery Service with a migration task.

See also: AWS API Documentation

Request Syntax

response = client.associate_discovered_resource(
    ProgressUpdateStream='string',
    MigrationTaskName='string',
    DiscoveredResource={
        'ConfigurationId': 'string',
        'Description': 'string'
    },
    DryRun=True|False
)
Parameters:
  • ProgressUpdateStream (string) –

    [REQUIRED]

    The name of the ProgressUpdateStream.

  • MigrationTaskName (string) –

    [REQUIRED]

    The identifier given to the MigrationTask. Do not store personal data in this field.

  • DiscoveredResource (dict) –

    [REQUIRED]

    Object representing a Resource.

    • ConfigurationId (string) – [REQUIRED]

      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.

  • DryRun (boolean) – Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions