Skip to content

Update Restore Testing Selection

backup_update_restore_testing_selection R Documentation

Updates the specified restore testing selection

Description

Updates the specified restore testing selection.

Most elements except the RestoreTestingSelectionName can be updated with this request.

You can use either protected resource ARNs or conditions, but not both.

Usage

backup_update_restore_testing_selection(RestoreTestingPlanName,
  RestoreTestingSelection, RestoreTestingSelectionName)

Arguments

RestoreTestingPlanName

[required] The restore testing plan name is required to update the indicated testing plan.

RestoreTestingSelection

[required] To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has ProtectedResourceArns, requesting an update with the parameter ProtectedResourceConditions will be unsuccessful.

RestoreTestingSelectionName

[required] The required restore testing selection name of the restore testing selection you wish to update.

Value

A list with the following syntax:

list(
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  RestoreTestingPlanArn = "string",
  RestoreTestingPlanName = "string",
  RestoreTestingSelectionName = "string",
  UpdateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_restore_testing_selection(
  RestoreTestingPlanName = "string",
  RestoreTestingSelection = list(
    IamRoleArn = "string",
    ProtectedResourceArns = list(
      "string"
    ),
    ProtectedResourceConditions = list(
      StringEquals = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      StringNotEquals = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    ),
    RestoreMetadataOverrides = list(
      "string"
    ),
    ValidationWindowHours = 123
  ),
  RestoreTestingSelectionName = "string"
)