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

Description

 
Synopsis

Documentation

data RoleValues Source #

This structure defines which groups defined in the SAML assertion attribute are to be mapped to the Grafana Admin and Editor roles in the workspace.

See: newRoleValues smart constructor.

Constructors

RoleValues' 

Fields

  • admin :: Maybe [Text]

    A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.

  • editor :: Maybe [Text]

    A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.

Instances

Instances details
Eq RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Read RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Show RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Generic RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Associated Types

type Rep RoleValues :: Type -> Type #

NFData RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Methods

rnf :: RoleValues -> () #

Hashable RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

ToJSON RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

FromJSON RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

type Rep RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

type Rep RoleValues = D1 ('MetaData "RoleValues" "Amazonka.Grafana.Types.RoleValues" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "RoleValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "admin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "editor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newRoleValues :: RoleValues Source #

Create a value of RoleValues 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:admin:RoleValues', roleValues_admin - A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.

$sel:editor:RoleValues', roleValues_editor - A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.

roleValues_admin :: Lens' RoleValues (Maybe [Text]) Source #

A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.

roleValues_editor :: Lens' RoleValues (Maybe [Text]) Source #

A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.