View a markdown version of this page

DescribeDataGroupRestoreWindows - Amazon Relational Database Service

DescribeDataGroupRestoreWindows

Returns the times to which you can restore a data group.

Specify DataGroupIdentifier to return the restore windows of a data group. To return only the restore window that contains a specific time, also specify RestoreToTime. Or specify DBClusterAutomatedBackupsArn and RestoreToTime to return the data groups that an automated backup contains at that time.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DataGroupIdentifier

The data group to return restore windows for. You can specify:

  • The data group identifier.

  • The data group ARN.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: (arn:aws[a-z\-]*:rds(-[a-z]*)?:[a-z0-9\-]*:[0-9]*:data-group:)?dg-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: No

DBClusterAutomatedBackupsArn

The Amazon Resource Name (ARN) of the automated backup of the DB cluster to return data group restore windows for.

If you specify this parameter, you must also specify RestoreToTime.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:aws[a-z-]*:rds(-[a-z]+)?:[a-z0-9-]*:[0-9]*:cluster-auto-backup:.*

Required: No

Marker

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 340.

Required: No

MaxRecords

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, the response includes a pagination token called a marker that you can use to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Type: Integer

Required: No

RestoreToTime

The time to return restore windows for, in Universal Coordinated Time (UTC).

If you specify DataGroupIdentifier, Amazon RDS returns the restore window of the data group that contains this time. If you specify DBClusterAutomatedBackupsArn, Amazon RDS returns the data groups that the automated backup contains at this time.

Required if you specify DBClusterAutomatedBackupsArn.

Type: Timestamp

Required: No

Response Elements

The following elements are returned by the service.

DataGroupRestoreWindows.DataGroupRestoreWindow.N

A list of data group restore windows.

Type: Array of DataGroupRestoreWindow objects

Marker

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 340.

Errors

For information about the errors that are common to all actions, see Common Error Types.

DataGroupRestoreWindowNotFoundFault

Amazon RDS didn't find a restore window for the specified data group or automated backup. If you specified RestoreToTime, no restore window contains that time.

HTTP Status Code: 404

DBClusterAutomatedBackupNotFoundFault

No automated backup for this DB cluster was found.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: