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.PermissionEntry

Description

 
Synopsis

Documentation

data PermissionEntry Source #

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

See: newPermissionEntry smart constructor.

Constructors

PermissionEntry' 

Fields

  • role' :: Role

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

  • user :: User

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

Instances

Instances details
FromJSON 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 #

Read PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Show PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

NFData PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Methods

rnf :: PermissionEntry -> () #

Eq PermissionEntry Source # 
Instance details

Defined in Amazonka.Grafana.Types.PermissionEntry

Hashable 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" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" '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, Editor, or Viewer 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, Editor, or Viewer role.

permissionEntry_user :: Lens' PermissionEntry User Source #

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