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
A structure that specifies one user or group in the workspace.
See: newUser
smart constructor.
Instances
Eq User Source # | |
Read User Source # | |
Show User Source # | |
Generic User Source # | |
NFData User Source # | |
Defined in Amazonka.Grafana.Types.User | |
Hashable User Source # | |
Defined in Amazonka.Grafana.Types.User | |
ToJSON User Source # | |
Defined in Amazonka.Grafana.Types.User | |
FromJSON User Source # | |
type Rep User Source # | |
Defined in Amazonka.Grafana.Types.User type Rep User = D1 ('MetaData "User" "Amazonka.Grafana.Types.User" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "User'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserType))) |
Create a value of User
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:id:User'
, user_id
- The ID of the user or group.
$sel:type':User'
, user_type
- Specifies whether this is a single user or a group.