DatabaseMigrationService / Client / get_target_selection_rules

get_target_selection_rules

DatabaseMigrationService.Client.get_target_selection_rules(**kwargs)

Converts source selection rules into their target counterparts for schema conversion operations.

See also: AWS API Documentation

Request Syntax

response = client.get_target_selection_rules(
    MigrationProjectIdentifier='string',
    SelectionRules='string'
)
Parameters:
  • MigrationProjectIdentifier (string) –

    [REQUIRED]

    The migration project name or Amazon Resource Name (ARN).

  • SelectionRules (string) –

    [REQUIRED]

    The JSON string representing the source selection rules for conversion. Selection rules must contain only supported metadata model types. For more information, see Selection Rules in the DMS User Guide.

Return type:

dict

Returns:

Response Syntax

{
    'TargetSelectionRules': 'string'
}

Response Structure

  • (dict) –

    • TargetSelectionRules (string) –

      The JSON string representing the counterpart selection rules in the target.

Exceptions

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault

  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault

  • DatabaseMigrationService.Client.exceptions.AccessDeniedFault