Skip to content

Delete App Version App Component

resiliencehub_delete_app_version_app_component R Documentation

Deletes an Application Component from the Resilience Hub application

Description

Deletes an Application Component from the Resilience Hub application.

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

  • You will not be able to delete an Application Component if it has resources associated with it.

Usage

resiliencehub_delete_app_version_app_component(appArn, clientToken, id)

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.

clientToken

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

id

[required] Identifier of the Application Component.

Value

A list with the following syntax:

list(
  appArn = "string",
  appComponent = list(
    additionalInfo = list(
      list(
        "string"
      )
    ),
    id = "string",
    name = "string",
    type = "string"
  ),
  appVersion = "string"
)

Request syntax

svc$delete_app_version_app_component(
  appArn = "string",
  clientToken = "string",
  id = "string"
)