Skip to content

Update App Version

resiliencehub_update_app_version R Documentation

Updates the Resilience Hub application version

Description

Updates the Resilience Hub application version.

This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the publish_app_version API.

Usage

resiliencehub_update_app_version(additionalInfo, appArn)

Arguments

additionalInfo

Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

Key: "failover-regions"

Value: ⁠"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"⁠

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.

Value

A list with the following syntax:

list(
  additionalInfo = list(
    list(
      "string"
    )
  ),
  appArn = "string",
  appVersion = "string"
)

Request syntax

svc$update_app_version(
  additionalInfo = list(
    list(
      "string"
    )
  ),
  appArn = "string"
)