describe_db_cluster_backtracks

RDS.Client.describe_db_cluster_backtracks(**kwargs)

Returns information about backtracks for a DB cluster.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide .

Note

This action only applies to Aurora MySQL DB clusters.

See also: AWS API Documentation

Request Syntax

response = client.describe_db_cluster_backtracks(
    DBClusterIdentifier='string',
    BacktrackIdentifier='string',
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxRecords=123,
    Marker='string'
)
Parameters
  • DBClusterIdentifier (string) --

    [REQUIRED]

    The DB cluster identifier of the DB cluster to be described. This parameter is stored as a lowercase string.

    Constraints:

    • Must contain from 1 to 63 alphanumeric characters or hyphens.
    • First character must be a letter.
    • Can't end with a hyphen or contain two consecutive hyphens.

    Example: my-cluster1

  • BacktrackIdentifier (string) --

    If specified, this value is the backtrack identifier of the backtrack to be described.

    Constraints:

    Example: 123e4567-e89b-12d3-a456-426655440000

  • Filters (list) --

    A filter that specifies one or more DB clusters to describe. Supported filters include the following:

    • db-cluster-backtrack-id - Accepts backtrack identifiers. The results list includes information about only the backtracks identified by these identifiers.
    • db-cluster-backtrack-status - Accepts any of the following backtrack status values:
      • applying
      • completed
      • failed
      • pending

    The results list includes information about only the backtracks identified by these values.

    • (dict) --

      A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation.

      Note

      Currently, wildcards are not supported in filters.

      The following actions can be filtered:

      • DescribeDBClusterBacktracks
      • DescribeDBClusterEndpoints
      • DescribeDBClusters
      • DescribeDBInstances
      • DescribePendingMaintenanceActions
      • Name (string) -- [REQUIRED]

        The name of the filter. Filter names are case-sensitive.

      • Values (list) -- [REQUIRED]

        One or more filter values. Filter values are case-sensitive.

        • (string) --
  • 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 you can retrieve the remaining results.

    Default: 100

    Constraints: Minimum 20, maximum 100.

  • Marker (string) -- An optional pagination token provided by a previous DescribeDBClusterBacktracks 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

{
    'Marker': 'string',
    'DBClusterBacktracks': [
        {
            'DBClusterIdentifier': 'string',
            'BacktrackIdentifier': 'string',
            'BacktrackTo': datetime(2015, 1, 1),
            'BacktrackedFrom': datetime(2015, 1, 1),
            'BacktrackRequestCreationTime': datetime(2015, 1, 1),
            'Status': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    Contains the result of a successful invocation of the DescribeDBClusterBacktracks action.

    • Marker (string) --

      A pagination token that can be used in a later DescribeDBClusterBacktracks request.

    • DBClusterBacktracks (list) --

      Contains a list of backtracks for the user.

      • (dict) --

        This data type is used as a response element in the DescribeDBClusterBacktracks action.

        • DBClusterIdentifier (string) --

          Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.

        • BacktrackIdentifier (string) --

          Contains the backtrack identifier.

        • BacktrackTo (datetime) --

          The timestamp of the time to which the DB cluster was backtracked.

        • BacktrackedFrom (datetime) --

          The timestamp of the time from which the DB cluster was backtracked.

        • BacktrackRequestCreationTime (datetime) --

          The timestamp of the time at which the backtrack was requested.

        • Status (string) --

          The status of the backtrack. This property returns one of the following values:

          • applying - The backtrack is currently being applied to or rolled back from the DB cluster.
          • completed - The backtrack has successfully been applied to or rolled back from the DB cluster.
          • failed - An error occurred while the backtrack was applied to or rolled back from the DB cluster.
          • pending - The backtrack is currently pending application to or rollback from the DB cluster.

Exceptions

  • RDS.Client.exceptions.DBClusterNotFoundFault
  • RDS.Client.exceptions.DBClusterBacktrackNotFoundFault