DatabaseMigrationService / Client / cancel_metadata_model_conversion

cancel_metadata_model_conversion

DatabaseMigrationService.Client.cancel_metadata_model_conversion(**kwargs)

Cancels a single metadata model conversion operation that was started with StartMetadataModelConversion.

See also: AWS API Documentation

Request Syntax

response = client.cancel_metadata_model_conversion(
    MigrationProjectIdentifier='string',
    RequestIdentifier='string'
)
Parameters:
  • MigrationProjectIdentifier (string) –

    [REQUIRED]

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

  • RequestIdentifier (string) –

    [REQUIRED]

    The identifier for the metadata model conversion operation to cancel. This operation was initiated by StartMetadataModelConversion.

Return type:

dict

Returns:

Response Syntax

{
    'Request': {
        'Status': 'string',
        'RequestIdentifier': 'string',
        'MigrationProjectArn': 'string',
        'Error': {
            'defaultErrorDetails': {
                'Message': 'string'
            }
        },
        'ExportSqlDetails': {
            'S3ObjectKey': 'string',
            'ObjectURL': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • Request (dict) –

      Provides information about a schema conversion action.

      • Status (string) –

        The schema conversion action status.

      • RequestIdentifier (string) –

        The identifier for the schema conversion action.

      • MigrationProjectArn (string) –

        The migration project ARN.

      • Error (dict) –

        Provides error information about a project.

        Note

        This is a Tagged Union structure. Only one of the following top level keys will be set: defaultErrorDetails. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
        
        • defaultErrorDetails (dict) –

          Error information about a project.

          • Message (string) –

            The error message.

      • ExportSqlDetails (dict) –

        Provides information about a metadata model assessment exported to SQL.

        • S3ObjectKey (string) –

          The Amazon S3 object key for the object containing the exported metadata model assessment.

        • ObjectURL (string) –

          The URL for the object containing the exported metadata model assessment.

Exceptions

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault

  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault

  • DatabaseMigrationService.Client.exceptions.AccessDeniedFault