Learn R Programming

paws.database (version 0.1.12)

rds_describe_db_instance_automated_backups: Displays backups for both current and deleted instances

Description

Displays backups for both current and deleted instances. For example, use this operation to find details about automated backups for previously deleted instances. Current instances with retention periods greater than zero (0) are returned for both the describe_db_instance_automated_backups and describe_db_instances operations.

All parameters are optional.

Usage

rds_describe_db_instance_automated_backups(DbiResourceId,
  DBInstanceIdentifier, Filters, MaxRecords, Marker,
  DBInstanceAutomatedBackupsArn)

Value

A list with the following syntax:

list(
  Marker = "string",
  DBInstanceAutomatedBackups = list(
    list(
      DBInstanceArn = "string",
      DbiResourceId = "string",
      Region = "string",
      DBInstanceIdentifier = "string",
      RestoreWindow = list(
        EarliestTime = as.POSIXct(
          "2015-01-01"
        ),
        LatestTime = as.POSIXct(
          "2015-01-01"
        )
      ),
      AllocatedStorage = 123,
      Status = "string",
      Port = 123,
      AvailabilityZone = "string",
      VpcId = "string",
      InstanceCreateTime = as.POSIXct(
        "2015-01-01"
      ),
      MasterUsername = "string",
      Engine = "string",
      EngineVersion = "string",
      LicenseModel = "string",
      Iops = 123,
      OptionGroupName = "string",
      TdeCredentialArn = "string",
      Encrypted = TRUE|FALSE,
      StorageType = "string",
      KmsKeyId = "string",
      Timezone = "string",
      IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
      BackupRetentionPeriod = 123,
      DBInstanceAutomatedBackupsArn = "string",
      DBInstanceAutomatedBackupsReplications = list(
        list(
          DBInstanceAutomatedBackupsArn = "string"
        )
      )
    )
  )
)

Arguments

DbiResourceId

The resource ID of the DB instance that is the source of the automated backup. This parameter isn't case-sensitive.

DBInstanceIdentifier

(Optional) The user-supplied instance identifier. If this parameter is specified, it must match the identifier of an existing DB instance. It returns information from the specific DB instance' automated backup. This parameter isn't case-sensitive.

Filters

A filter that specifies which resources to return based on status.

Supported filters are the following:

  • status

    • active - automated backups for current instances

    • retained - automated backups for deleted instances and after backup replication is stopped

    • creating - automated backups that are waiting for the first automated snapshot to be available

  • db-instance-id - Accepts DB instance identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance automated backups identified by these ARNs.

  • dbi-resource-id - Accepts DB resource identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance resources identified by these ARNs.

Returns all resources by default. The status for each resource is specified in the response.

MaxRecords

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 you can retrieve the remaining results.

Marker

The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

DBInstanceAutomatedBackupsArn

The Amazon Resource Name (ARN) of the replicated automated backups, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE.

Request syntax

svc$describe_db_instance_automated_backups(
  DbiResourceId = "string",
  DBInstanceIdentifier = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxRecords = 123,
  Marker = "string",
  DBInstanceAutomatedBackupsArn = "string"
)