DatabaseMigrationService / Client / describe_replication_instance_task_logs

describe_replication_instance_task_logs#

DatabaseMigrationService.Client.describe_replication_instance_task_logs(**kwargs)#

Returns information about the task logs for the specified task.

See also: AWS API Documentation

Request Syntax

response = client.describe_replication_instance_task_logs(
    ReplicationInstanceArn='string',
    MaxRecords=123,
    Marker='string'
)
Parameters:
  • ReplicationInstanceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the replication instance.

  • MaxRecords (integer) –

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: Minimum 20, maximum 100.

  • Marker (string) – An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Return type:

dict

Returns:

Response Syntax

{
    'ReplicationInstanceArn': 'string',
    'ReplicationInstanceTaskLogs': [
        {
            'ReplicationTaskName': 'string',
            'ReplicationTaskArn': 'string',
            'ReplicationInstanceTaskLogSize': 123
        },
    ],
    'Marker': 'string'
}

Response Structure

  • (dict) –

    • ReplicationInstanceArn (string) –

      The Amazon Resource Name (ARN) of the replication instance.

    • ReplicationInstanceTaskLogs (list) –

      An array of replication task log metadata. Each member of the array contains the replication task name, ARN, and task log size (in bytes).

      • (dict) –

        Contains metadata for a replication instance task log.

        • ReplicationTaskName (string) –

          The name of the replication task.

        • ReplicationTaskArn (string) –

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationInstanceTaskLogSize (integer) –

          The size, in bytes, of the replication task log.

    • Marker (string) –

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Exceptions

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault

  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault