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

Description

Updates which users in a workspace have the Grafana Admin or Editor roles.

Synopsis

Creating a Request

data UpdatePermissions Source #

See: newUpdatePermissions smart constructor.

Constructors

UpdatePermissions' 

Fields

Instances

Instances details
Eq UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Read UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Show UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Generic UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Associated Types

type Rep UpdatePermissions :: Type -> Type #

NFData UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Methods

rnf :: UpdatePermissions -> () #

Hashable UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

ToJSON UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

AWSRequest UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Associated Types

type AWSResponse UpdatePermissions #

ToHeaders UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

ToPath UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

ToQuery UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

type Rep UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

type Rep UpdatePermissions = D1 ('MetaData "UpdatePermissions" "Amazonka.Grafana.UpdatePermissions" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "UpdatePermissions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateInstructionBatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UpdateInstruction]) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdatePermissions Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

newUpdatePermissions Source #

Create a value of UpdatePermissions 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:updateInstructionBatch:UpdatePermissions', updatePermissions_updateInstructionBatch - An array of structures that contain the permission updates to make.

$sel:workspaceId:UpdatePermissions', updatePermissions_workspaceId - The ID of the workspace to update.

Request Lenses

updatePermissions_updateInstructionBatch :: Lens' UpdatePermissions [UpdateInstruction] Source #

An array of structures that contain the permission updates to make.

updatePermissions_workspaceId :: Lens' UpdatePermissions Text Source #

The ID of the workspace to update.

Destructuring the Response

data UpdatePermissionsResponse Source #

See: newUpdatePermissionsResponse smart constructor.

Constructors

UpdatePermissionsResponse' 

Fields

Instances

Instances details
Eq UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Read UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Show UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Generic UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

Associated Types

type Rep UpdatePermissionsResponse :: Type -> Type #

NFData UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

type Rep UpdatePermissionsResponse Source # 
Instance details

Defined in Amazonka.Grafana.UpdatePermissions

type Rep UpdatePermissionsResponse = D1 ('MetaData "UpdatePermissionsResponse" "Amazonka.Grafana.UpdatePermissions" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "UpdatePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UpdateError])))

newUpdatePermissionsResponse Source #

Create a value of UpdatePermissionsResponse 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:httpStatus:UpdatePermissionsResponse', updatePermissionsResponse_httpStatus - The response's http status code.

$sel:errors:UpdatePermissionsResponse', updatePermissionsResponse_errors - An array of structures that contain the errors from the operation, if any.

Response Lenses

updatePermissionsResponse_errors :: Lens' UpdatePermissionsResponse [UpdateError] Source #

An array of structures that contain the errors from the operation, if any.