libZSservicesZSamazonka-ssoZSamazonka-sso
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSO.Types.RoleInfo

Description

 
Synopsis

Documentation

data RoleInfo Source #

Provides information about the role that is assigned to the user.

See: newRoleInfo smart constructor.

Constructors

RoleInfo' 

Fields

Instances

Instances details
Eq RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Read RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Show RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Generic RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Associated Types

type Rep RoleInfo :: Type -> Type #

Methods

from :: RoleInfo -> Rep RoleInfo x #

to :: Rep RoleInfo x -> RoleInfo #

NFData RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

rnf :: RoleInfo -> () #

Hashable RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

hashWithSalt :: Int -> RoleInfo -> Int #

hash :: RoleInfo -> Int #

FromJSON RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

type Rep RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

type Rep RoleInfo = D1 ('MetaData "RoleInfo" "Amazonka.SSO.Types.RoleInfo" "libZSservicesZSamazonka-ssoZSamazonka-sso" 'False) (C1 ('MetaCons "RoleInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRoleInfo :: RoleInfo Source #

Create a value of RoleInfo 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:roleName:RoleInfo', roleInfo_roleName - The friendly name of the role that is assigned to the user.

$sel:accountId:RoleInfo', roleInfo_accountId - The identifier of the AWS account assigned to the user.

roleInfo_roleName :: Lens' RoleInfo (Maybe Text) Source #

The friendly name of the role that is assigned to the user.

roleInfo_accountId :: Lens' RoleInfo (Maybe Text) Source #

The identifier of the AWS account assigned to the user.