Skip to content

Associate Lenses

wellarchitected_associate_lenses R Documentation

Associate a lens to a workload

Description

Associate a lens to a workload.

Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.

Disclaimer

By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.

Usage

wellarchitected_associate_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$associate_lenses(
  WorkloadId = "string",
  LensAliases = list(
    "string"
  )
)