MigrationHub.Client.
associate_created_artifact
(**kwargs)¶Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
AssociateCreatedArtifact
operation to indicate which AWS artifact is associated with a migration task.arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b
.See also: AWS API Documentation
Request Syntax
response = client.associate_created_artifact(
ProgressUpdateStream='string',
MigrationTaskName='string',
CreatedArtifact={
'Name': 'string',
'Description': 'string'
},
DryRun=True|False
)
[REQUIRED]
The name of the ProgressUpdateStream.
[REQUIRED]
Unique identifier that references the migration task. Do not store personal data in this field.
[REQUIRED]
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
An ARN that uniquely identifies the result of a migration task.
A description that can be free-form text to record additional detail about the artifact for clarity or for 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.ResourceNotFoundException
MigrationHub.Client.exceptions.HomeRegionNotSetException