amazonka-quicksight-2.0: Amazon QuickSight 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.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
ToJSON 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

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

Read UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Show UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

NFData UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Eq UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Hashable UpdateDataSourcePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

type AWSResponse 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" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateDataSourcePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "grantPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourcePermission))) :*: S1 ('MetaSel ('Just "revokePermissions") '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))))

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:grantPermissions:UpdateDataSourcePermissions', updateDataSourcePermissions_grantPermissions - A list of resource permissions that you want to grant on the data source.

$sel:revokePermissions:UpdateDataSourcePermissions', updateDataSourcePermissions_revokePermissions - A list of resource permissions that you want to revoke on the data source.

UpdateDataSourcePermissions, updateDataSourcePermissions_awsAccountId - The Amazon Web Services account ID.

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_grantPermissions :: Lens' UpdateDataSourcePermissions (Maybe (NonEmpty ResourcePermission)) Source #

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

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

A list of resource permissions that you want to revoke 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
Generic 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

NFData UpdateDataSourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSourcePermissions

Eq 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" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateDataSourcePermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") '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:

UpdateDataSourcePermissionsResponse, updateDataSourcePermissionsResponse_dataSourceArn - The Amazon Resource Name (ARN) of the data source.

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

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.