| 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.Grafana.Types.User
Description
Documentation
A structure that specifies one user or group in the workspace.
See: newUser smart constructor.
Constructors
| User' | |
Instances
| FromJSON User Source # | |
| ToJSON User Source # | |
Defined in Amazonka.Grafana.Types.User | |
| Generic User Source # | |
| Read User Source # | |
| Show User Source # | |
| NFData User Source # | |
Defined in Amazonka.Grafana.Types.User | |
| Eq User Source # | |
| Hashable User Source # | |
Defined in Amazonka.Grafana.Types.User | |
| type Rep User Source # | |
Defined in Amazonka.Grafana.Types.User type Rep User = D1 ('MetaData "User" "Amazonka.Grafana.Types.User" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" '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.
Pattern:
^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$
$sel:type':User', user_type - Specifies whether this is a single user or a group.