libZSservicesZSamazonka-grafanaZSamazonka-grafana
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Grafana.Types.PermissionEntry

Description

 
Synopsis

Documentation

data PermissionEntry Source #

A structure containing the identity of one user or group and the Admin or Editor role that they have.

See: newPermissionEntry smart constructor.

Constructors

PermissionEntry' 

Fields

  • role' :: Role

    Specifies whether the user or group has the Admin or Editor role.

  • user :: User

    A structure with the ID of the user or group with this role.

Instances

Instances details
Eq PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Read PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Show PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Generic PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Associated Types

type Rep PermissionEntry :: Type -> Type #

NFData PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Methods

rnf :: PermissionEntry -> () #

Hashable PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

FromJSON PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

type Rep PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

type Rep PermissionEntry = D1 ('MetaData "PermissionEntry" "Amazonka.Grafana.Types.PermissionEntry" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "PermissionEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Role) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 User)))

newPermissionEntry Source #

Create a value of PermissionEntry 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:role':PermissionEntry', permissionEntry_role - Specifies whether the user or group has the Admin or Editor role.

$sel:user:PermissionEntry', permissionEntry_user - A structure with the ID of the user or group with this role.

permissionEntry_role :: Lens' PermissionEntry Role Source #

Specifies whether the user or group has the Admin or Editor role.

permissionEntry_user :: Lens' PermissionEntry User Source #

A structure with the ID of the user or group with this role.