amazonka-wellarchitected-2.0: Amazon Well-Architected Tool SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WellArchitected.CreateLensShare

Description

Create a lens share.

The owner of a lens can share it with other Amazon Web Services accounts, IAM users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Shared access to a lens is not removed until the lens invitation is deleted.

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.

Synopsis

Creating a Request

data CreateLensShare Source #

See: newCreateLensShare smart constructor.

Instances

Instances details
ToJSON CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

ToHeaders CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

ToPath CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

ToQuery CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

AWSRequest CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Associated Types

type AWSResponse CreateLensShare #

Generic CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Associated Types

type Rep CreateLensShare :: Type -> Type #

Read CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Show CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

NFData CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Methods

rnf :: CreateLensShare -> () #

Eq CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Hashable CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

type AWSResponse CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

type Rep CreateLensShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

type Rep CreateLensShare = D1 ('MetaData "CreateLensShare" "Amazonka.WellArchitected.CreateLensShare" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "CreateLensShare'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "sharedWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateLensShare Source #

Create a value of CreateLensShare with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateLensShare, createLensShare_lensAlias - Undocumented member.

CreateLensShare, createLensShare_sharedWith - Undocumented member.

$sel:clientRequestToken:CreateLensShare', createLensShare_clientRequestToken - Undocumented member.

Request Lenses

Destructuring the Response

data CreateLensShareResponse Source #

See: newCreateLensShareResponse smart constructor.

Constructors

CreateLensShareResponse' 

Fields

Instances

Instances details
Generic CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Associated Types

type Rep CreateLensShareResponse :: Type -> Type #

Read CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Show CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

NFData CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

Methods

rnf :: CreateLensShareResponse -> () #

Eq CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

type Rep CreateLensShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateLensShare

type Rep CreateLensShareResponse = D1 ('MetaData "CreateLensShareResponse" "Amazonka.WellArchitected.CreateLensShare" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "CreateLensShareResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shareId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLensShareResponse Source #

Create a value of CreateLensShareResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateLensShareResponse, createLensShareResponse_shareId - Undocumented member.

$sel:httpStatus:CreateLensShareResponse', createLensShareResponse_httpStatus - The response's http status code.

Response Lenses