v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443255183.8 KB

List the lens shares associated with the lens.

get/lenses/{LensAlias}/shares

Path parameters

LensAliasstring required
<p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>. </p> <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>

Query parameters

SharedWithPrefixstring

The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the lens is shared.

NextTokenstring

The token to use to retrieve the next set of results.

MaxResultsinteger

The maximum number of results to return for this request.

Status'ACCEPTED' | 'REJECTED' | 'PENDING' | 'REVOKED' | 'EXPIRED' | 'ASSOCIATING' | 'ASSOCIATED' | 'FAILED'

The status of a workload share.

Response

Success

NextTokenstring

The token to use to retrieve the next set of results.