amazonka-grafana-2.0: Amazon Managed Grafana SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Grafana.Types.User

Description

 
Synopsis

Documentation

data User Source #

A structure that specifies one user or group in the workspace.

See: newUser smart constructor.

Constructors

User' 

Fields

  • id :: Text

    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}$

  • type' :: UserType

    Specifies whether this is a single user or a group.

Instances

Instances details
FromJSON User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

ToJSON User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Generic User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

Read User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Show User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

NFData User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Methods

rnf :: User -> () #

Eq User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Hashable User Source # 
Instance details

Defined in Amazonka.Grafana.Types.User

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

type Rep User Source # 
Instance details

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)))

newUser Source #

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.

user_id :: Lens' User Text Source #

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}$

user_type :: Lens' User UserType Source #

Specifies whether this is a single user or a group.