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

Description

 
Synopsis

Documentation

data UpdateInstruction Source #

Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.

See: newUpdateInstruction smart constructor.

Constructors

UpdateInstruction' 

Fields

  • action :: UpdateAction

    Specifies whether this update is to add or revoke role permissions.

  • role' :: Role

    The role to add or revoke for the user or the group specified in users.

  • users :: [User]

    A structure that specifies the user or group to add or revoke the role for.

Instances

Instances details
Eq UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

Read UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

Show UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

Generic UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

Associated Types

type Rep UpdateInstruction :: Type -> Type #

NFData UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

Methods

rnf :: UpdateInstruction -> () #

Hashable UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

ToJSON UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

FromJSON UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

type Rep UpdateInstruction Source # 
Instance details

Defined in Amazonka.Grafana.Types.UpdateInstruction

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

newUpdateInstruction Source #

Create a value of UpdateInstruction 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:action:UpdateInstruction', updateInstruction_action - Specifies whether this update is to add or revoke role permissions.

$sel:role':UpdateInstruction', updateInstruction_role - The role to add or revoke for the user or the group specified in users.

$sel:users:UpdateInstruction', updateInstruction_users - A structure that specifies the user or group to add or revoke the role for.

updateInstruction_action :: Lens' UpdateInstruction UpdateAction Source #

Specifies whether this update is to add or revoke role permissions.

updateInstruction_role :: Lens' UpdateInstruction Role Source #

The role to add or revoke for the user or the group specified in users.

updateInstruction_users :: Lens' UpdateInstruction [User] Source #

A structure that specifies the user or group to add or revoke the role for.