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
)
[REQUIRED]
The name of the ProgressUpdateStream.
[REQUIRED]
The identifier given to the MigrationTask. Do not store personal data in this field.
[REQUIRED]
Object representing a Resource.
The configurationId in Application Discovery Service that uniquely identifies the on-premise resource.
A description that can be free-form text to record additional detail about the discovered resource for clarity or later reference.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHub.Client.exceptions.AccessDeniedException
MigrationHub.Client.exceptions.ThrottlingException
MigrationHub.Client.exceptions.InternalServerError
MigrationHub.Client.exceptions.ServiceUnavailableException
MigrationHub.Client.exceptions.DryRunOperation
MigrationHub.Client.exceptions.UnauthorizedOperation
MigrationHub.Client.exceptions.InvalidInputException
MigrationHub.Client.exceptions.PolicyErrorException
MigrationHub.Client.exceptions.ResourceNotFoundException
MigrationHub.Client.exceptions.HomeRegionNotSetException