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.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. SAML authenticated users not part of Admin or Editor role groups have Viewer permission over 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
FromJSON RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

ToJSON 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 #

Read RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Show RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

NFData RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Methods

rnf :: RoleValues -> () #

Eq RoleValues Source # 
Instance details

Defined in Amazonka.Grafana.Types.RoleValues

Hashable 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" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" '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.