Skip to content

Batch Update Recommendation Status

resiliencehub_batch_update_recommendation_status R Documentation

Enables you to include or exclude one or more operational recommendations

Description

Enables you to include or exclude one or more operational recommendations.

Usage

resiliencehub_batch_update_recommendation_status(appArn, requestEntries)

Arguments

appArn

[required] Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

requestEntries

[required] Defines the list of operational recommendations that need to be included or excluded.

Value

A list with the following syntax:

list(
  appArn = "string",
  failedEntries = list(
    list(
      entryId = "string",
      errorMessage = "string"
    )
  ),
  successfulEntries = list(
    list(
      entryId = "string",
      excludeReason = "AlreadyImplemented"|"NotRelevant"|"ComplexityOfImplementation",
      excluded = TRUE|FALSE,
      item = list(
        resourceId = "string",
        targetAccountId = "string",
        targetRegion = "string"
      ),
      referenceId = "string"
    )
  )
)

Request syntax

svc$batch_update_recommendation_status(
  appArn = "string",
  requestEntries = list(
    list(
      entryId = "string",
      excludeReason = "AlreadyImplemented"|"NotRelevant"|"ComplexityOfImplementation",
      excluded = TRUE|FALSE,
      item = list(
        resourceId = "string",
        targetAccountId = "string",
        targetRegion = "string"
      ),
      referenceId = "string"
    )
  )
)