Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Provides information about the role that is assigned to the user.
See: newRoleInfo
smart constructor.
Instances
Eq RoleInfo Source # | |
Read RoleInfo Source # | |
Show RoleInfo Source # | |
Generic RoleInfo Source # | |
NFData RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
Hashable RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
FromJSON RoleInfo Source # | |
type Rep RoleInfo Source # | |
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.