Skip to content

/AWS1/CL_WAD=>CREATELENSSHARE()

About CreateLensShare

Create a lens share.

The owner of a lens can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared.

Shared access to a lens is not removed until the lens invitation is deleted.

If you share a lens with an organization or OU, all accounts in the organization or OU are granted access to the lens.

For more information, see Sharing a custom lens in the Well-Architected Tool User Guide.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

Method Signature

IMPORTING

Required arguments:

IV_LENSALIAS TYPE /AWS1/WADLENSALIAS /AWS1/WADLENSALIAS

LensAlias

IV_SHAREDWITH TYPE /AWS1/WADSHAREDWITH /AWS1/WADSHAREDWITH

SharedWith

IV_CLIENTREQUESTTOKEN TYPE /AWS1/WADCLIENTREQUESTTOKEN /AWS1/WADCLIENTREQUESTTOKEN

ClientRequestToken

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WADCREATELENSSHAREOUT /AWS1/CL_WADCREATELENSSHAREOUT