Skip to content

List Protected Resources

backup_list_protected_resources R Documentation

Returns an array of resources successfully backed up by Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type

Description

Returns an array of resources successfully backed up by Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.

Usage

backup_list_protected_resources(NextToken, MaxResults)

Arguments

NextToken

The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

MaxResults

The maximum number of items to be returned.

Value

A list with the following syntax:

list(
  Results = list(
    list(
      ResourceArn = "string",
      ResourceType = "string",
      LastBackupTime = as.POSIXct(
        "2015-01-01"
      ),
      ResourceName = "string",
      LastBackupVaultArn = "string",
      LastRecoveryPointArn = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_protected_resources(
  NextToken = "string",
  MaxResults = 123
)