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

Description

Updates the permissions to a data source.

Synopsis

Creating a Request

data UpdateDataSourcePermissions Source #

See: newUpdateDataSourcePermissions smart constructor.

Constructors

UpdateDataSourcePermissions' 

Fields

Instances

Instances details
Eq UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Read UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Show UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Generic UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Associated Types

type Rep UpdateDataSourcePermissions :: Type -> Type #

NFData UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Hashable UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

ToJSON UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

AWSRequest UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

ToHeaders UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

ToPath UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

ToQuery UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

type Rep UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

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

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

newUpdateDataSourcePermissions Source #

Create a value of UpdateDataSourcePermissions 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:UpdateDataSourcePermissions', updateDataSourcePermissions_revokePermissions - A list of resource permissions that you want to revoke on the data source.

$sel:grantPermissions:UpdateDataSourcePermissions', updateDataSourcePermissions_grantPermissions - A list of resource permissions that you want to grant on the data source.

$sel:awsAccountId:UpdateDataSourcePermissions', updateDataSourcePermissions_awsAccountId - The Amazon Web Services account ID.

$sel:dataSourceId:UpdateDataSourcePermissions', updateDataSourcePermissions_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Request Lenses

updateDataSourcePermissions_revokePermissions :: Lens' UpdateDataSourcePermissions (Maybe (NonEmpty ResourcePermission)) Source #

A list of resource permissions that you want to revoke on the data source.

updateDataSourcePermissions_grantPermissions :: Lens' UpdateDataSourcePermissions (Maybe (NonEmpty ResourcePermission)) Source #

A list of resource permissions that you want to grant on the data source.

updateDataSourcePermissions_dataSourceId :: Lens' UpdateDataSourcePermissions Text Source #

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Destructuring the Response

data UpdateDataSourcePermissionsResponse Source #

Constructors

UpdateDataSourcePermissionsResponse' 

Fields

Instances

Instances details
Eq UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Read UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Show UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Generic UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

NFData UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

type Rep UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

type Rep UpdateDataSourcePermissionsResponse = D1 ('MetaData "UpdateDataSourcePermissionsResponse" "Amazonka.QuickSight.UpdateDataSourcePermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateDataSourcePermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateDataSourcePermissionsResponse Source #

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

$sel:dataSourceId:UpdateDataSourcePermissions', updateDataSourcePermissionsResponse_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:dataSourceArn:UpdateDataSourcePermissionsResponse', updateDataSourcePermissionsResponse_dataSourceArn - The Amazon Resource Name (ARN) of the data source.

$sel:status:UpdateDataSourcePermissionsResponse', updateDataSourcePermissionsResponse_status - The HTTP status of the request.

Response Lenses

updateDataSourcePermissionsResponse_dataSourceId :: Lens' UpdateDataSourcePermissionsResponse (Maybe Text) Source #

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.