amazonka-iotsitewise-2.0: Amazon IoT SiteWise 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.IoTSiteWise.Types.Identity

Description

 
Synopsis

Documentation

data Identity Source #

Contains an identity that can access an IoT SiteWise Monitor resource.

Currently, you can't use Amazon Web Services APIs to retrieve IAM Identity Center identity IDs. You can find the IAM Identity Center identity IDs in the URL of user and group pages in the IAM Identity Center console.

See: newIdentity smart constructor.

Constructors

Identity' 

Fields

Instances

Instances details
FromJSON Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

ToJSON Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Generic Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

Read Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

NFData Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Methods

rnf :: Identity -> () #

Eq Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Hashable Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

type Rep Identity Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.IoTSiteWise.Types.Identity" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "Identity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupIdentity)) :*: S1 ('MetaSel ('Just "iamRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IAMRoleIdentity))) :*: (S1 ('MetaSel ('Just "iamUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IAMUserIdentity)) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserIdentity)))))

newIdentity :: Identity Source #

Create a value of Identity 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:

$sel:group':Identity', identity_group - An IAM Identity Center group identity.

$sel:iamRole:Identity', identity_iamRole - An IAM role identity.

$sel:iamUser:Identity', identity_iamUser - An IAM user identity.

$sel:user:Identity', identity_user - An IAM Identity Center user identity.

identity_group :: Lens' Identity (Maybe GroupIdentity) Source #

An IAM Identity Center group identity.

identity_user :: Lens' Identity (Maybe UserIdentity) Source #

An IAM Identity Center user identity.