libZSservicesZSamazonka-quicksightZSamazonka-quicksight
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.QuickSight.UpdateTemplatePermissions

Description

Updates the resource permissions for a template.

Synopsis

Creating a Request

data UpdateTemplatePermissions Source #

See: newUpdateTemplatePermissions smart constructor.

Constructors

UpdateTemplatePermissions' 

Fields

Instances

Instances details
Eq UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Read UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Show UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Generic UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Associated Types

type Rep UpdateTemplatePermissions :: Type -> Type #

NFData UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Hashable UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

ToJSON UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

AWSRequest UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

ToHeaders UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

ToPath UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

ToQuery UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

type Rep UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

type Rep UpdateTemplatePermissions = D1 ('MetaData "UpdateTemplatePermissions" "Amazonka.QuickSight.UpdateTemplatePermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplatePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "revokePermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePermission])) :*: S1 ('MetaSel ('Just "grantPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePermission]))) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateTemplatePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

newUpdateTemplatePermissions Source #

Create a value of UpdateTemplatePermissions 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:revokePermissions:UpdateTemplatePermissions', updateTemplatePermissions_revokePermissions - A list of resource permissions to be revoked from the template.

$sel:grantPermissions:UpdateTemplatePermissions', updateTemplatePermissions_grantPermissions - A list of resource permissions to be granted on the template.

$sel:awsAccountId:UpdateTemplatePermissions', updateTemplatePermissions_awsAccountId - The ID of the Amazon Web Services account that contains the template.

$sel:templateId:UpdateTemplatePermissions', updateTemplatePermissions_templateId - The ID for the template.

Request Lenses

updateTemplatePermissions_revokePermissions :: Lens' UpdateTemplatePermissions (Maybe [ResourcePermission]) Source #

A list of resource permissions to be revoked from the template.

updateTemplatePermissions_grantPermissions :: Lens' UpdateTemplatePermissions (Maybe [ResourcePermission]) Source #

A list of resource permissions to be granted on the template.

updateTemplatePermissions_awsAccountId :: Lens' UpdateTemplatePermissions Text Source #

The ID of the Amazon Web Services account that contains the template.

Destructuring the Response

data UpdateTemplatePermissionsResponse Source #

See: newUpdateTemplatePermissionsResponse smart constructor.

Constructors

UpdateTemplatePermissionsResponse' 

Fields

Instances

Instances details
Eq UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Read UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Show UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Generic UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

Associated Types

type Rep UpdateTemplatePermissionsResponse :: Type -> Type #

NFData UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

type Rep UpdateTemplatePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplatePermissions

type Rep UpdateTemplatePermissionsResponse = D1 ('MetaData "UpdateTemplatePermissionsResponse" "Amazonka.QuickSight.UpdateTemplatePermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplatePermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourcePermission))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateTemplatePermissionsResponse Source #

Create a value of UpdateTemplatePermissionsResponse 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:requestId:UpdateTemplatePermissionsResponse', updateTemplatePermissionsResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:templateId:UpdateTemplatePermissions', updateTemplatePermissionsResponse_templateId - The ID for the template.

$sel:templateArn:UpdateTemplatePermissionsResponse', updateTemplatePermissionsResponse_templateArn - The Amazon Resource Name (ARN) of the template.

$sel:permissions:UpdateTemplatePermissionsResponse', updateTemplatePermissionsResponse_permissions - A list of resource permissions to be set on the template.

$sel:status:UpdateTemplatePermissionsResponse', updateTemplatePermissionsResponse_status - The HTTP status of the request.

Response Lenses

updateTemplatePermissionsResponse_requestId :: Lens' UpdateTemplatePermissionsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.