MigrationHub / Client / disassociate_source_resource

disassociate_source_resource#

MigrationHub.Client.disassociate_source_resource(**kwargs)#

Removes the association between a source resource and a migration task.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_source_resource(
    ProgressUpdateStream='string',
    MigrationTaskName='string',
    SourceResourceName='string',
    DryRun=True|False
)
Parameters:
  • ProgressUpdateStream (string) –

    [REQUIRED]

    The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.

  • MigrationTaskName (string) –

    [REQUIRED]

    A unique identifier that references the migration task. Do not include sensitive data in this field.

  • SourceResourceName (string) –

    [REQUIRED]

    The name that was specified for the source resource.

  • DryRun (boolean) – This is an optional parameter that you can use to test whether the call will succeed. Set this parameter to true to verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions