Skip to content

Disassociate Lenses

wellarchitected_disassociate_lenses R Documentation

Disassociate a lens from a workload

Description

Disassociate a lens from a workload.

Up to 10 lenses can be disassociated from a workload in a single API operation.

The Amazon Web Services Well-Architected Framework lens (wellarchitected) cannot be removed from a workload.

Usage

wellarchitected_disassociate_lenses(WorkloadId, LensAliases)

Arguments

WorkloadId

[required] The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

LensAliases

[required] List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.

Identify a lens using its LensSummary$LensAlias.

Value

An empty list.

Request syntax

svc$disassociate_lenses(
  WorkloadId = "string",
  LensAliases = list(
    "string"
  )
)