| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSO.Types.RoleInfo
Description
Documentation
Provides information about the role that is assigned to the user.
See: newRoleInfo smart constructor.
Constructors
| RoleInfo' | |
Instances
| FromJSON RoleInfo Source # | |
| Generic RoleInfo Source # | |
| Read RoleInfo Source # | |
| Show RoleInfo Source # | |
| NFData RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
| Eq RoleInfo Source # | |
| Hashable RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
| type Rep RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo type Rep RoleInfo = D1 ('MetaData "RoleInfo" "Amazonka.SSO.Types.RoleInfo" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "RoleInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleName") '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:accountId:RoleInfo', roleInfo_accountId - The identifier of the AWS account assigned to the user.
$sel:roleName:RoleInfo', roleInfo_roleName - The friendly name of the role that is assigned to the user.