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

Description

Updates the permissions on a dataset.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.

Synopsis

Creating a Request

data UpdateDataSetPermissions Source #

See: newUpdateDataSetPermissions smart constructor.

Constructors

UpdateDataSetPermissions' 

Fields

Instances

Instances details
Eq UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Read UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Show UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Generic UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Associated Types

type Rep UpdateDataSetPermissions :: Type -> Type #

NFData UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Hashable UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

ToJSON UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

AWSRequest UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

ToHeaders UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

ToPath UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

ToQuery UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

type Rep UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

type Rep UpdateDataSetPermissions = D1 ('MetaData "UpdateDataSetPermissions" "Amazonka.QuickSight.UpdateDataSetPermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateDataSetPermissions'" '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 "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDataSetPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

newUpdateDataSetPermissions Source #

Create a value of UpdateDataSetPermissions 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:UpdateDataSetPermissions', updateDataSetPermissions_revokePermissions - The resource permissions that you want to revoke from the dataset.

$sel:grantPermissions:UpdateDataSetPermissions', updateDataSetPermissions_grantPermissions - The resource permissions that you want to grant to the dataset.

$sel:awsAccountId:UpdateDataSetPermissions', updateDataSetPermissions_awsAccountId - The Amazon Web Services account ID.

$sel:dataSetId:UpdateDataSetPermissions', updateDataSetPermissions_dataSetId - The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Request Lenses

updateDataSetPermissions_revokePermissions :: Lens' UpdateDataSetPermissions (Maybe (NonEmpty ResourcePermission)) Source #

The resource permissions that you want to revoke from the dataset.

updateDataSetPermissions_grantPermissions :: Lens' UpdateDataSetPermissions (Maybe (NonEmpty ResourcePermission)) Source #

The resource permissions that you want to grant to the dataset.

updateDataSetPermissions_dataSetId :: Lens' UpdateDataSetPermissions Text Source #

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Destructuring the Response

data UpdateDataSetPermissionsResponse Source #

See: newUpdateDataSetPermissionsResponse smart constructor.

Constructors

UpdateDataSetPermissionsResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • dataSetArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset.

  • dataSetId :: Maybe Text

    The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Eq UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Read UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Show UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Generic UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

Associated Types

type Rep UpdateDataSetPermissionsResponse :: Type -> Type #

NFData UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

type Rep UpdateDataSetPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateDataSetPermissions

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

newUpdateDataSetPermissionsResponse Source #

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

$sel:dataSetArn:UpdateDataSetPermissionsResponse', updateDataSetPermissionsResponse_dataSetArn - The Amazon Resource Name (ARN) of the dataset.

$sel:dataSetId:UpdateDataSetPermissions', updateDataSetPermissionsResponse_dataSetId - The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:status:UpdateDataSetPermissionsResponse', updateDataSetPermissionsResponse_status - The HTTP status of the request.

Response Lenses

updateDataSetPermissionsResponse_requestId :: Lens' UpdateDataSetPermissionsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

updateDataSetPermissionsResponse_dataSetId :: Lens' UpdateDataSetPermissionsResponse (Maybe Text) Source #

The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.