Skip to content

Get Backup Selection

backup_get_backup_selection R Documentation

Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan

Description

Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.

Usage

backup_get_backup_selection(BackupPlanId, SelectionId)

Arguments

BackupPlanId

[required] Uniquely identifies a backup plan.

SelectionId

[required] Uniquely identifies the body of a request to assign a set of resources to a backup plan.

Value

A list with the following syntax:

list(
  BackupSelection = list(
    SelectionName = "string",
    IamRoleArn = "string",
    Resources = list(
      "string"
    ),
    ListOfTags = list(
      list(
        ConditionType = "STRINGEQUALS",
        ConditionKey = "string",
        ConditionValue = "string"
      )
    ),
    NotResources = list(
      "string"
    ),
    Conditions = list(
      StringEquals = list(
        list(
          ConditionKey = "string",
          ConditionValue = "string"
        )
      ),
      StringNotEquals = list(
        list(
          ConditionKey = "string",
          ConditionValue = "string"
        )
      ),
      StringLike = list(
        list(
          ConditionKey = "string",
          ConditionValue = "string"
        )
      ),
      StringNotLike = list(
        list(
          ConditionKey = "string",
          ConditionValue = "string"
        )
      )
    )
  ),
  SelectionId = "string",
  BackupPlanId = "string",
  CreationDate = as.POSIXct(
    "2015-01-01"
  ),
  CreatorRequestId = "string"
)

Request syntax

svc$get_backup_selection(
  BackupPlanId = "string",
  SelectionId = "string"
)