Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the permissions on a dataset.
The permissions resource is
arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
Synopsis
- data UpdateDataSetPermissions = UpdateDataSetPermissions' {}
- newUpdateDataSetPermissions :: Text -> Text -> UpdateDataSetPermissions
- updateDataSetPermissions_revokePermissions :: Lens' UpdateDataSetPermissions (Maybe (NonEmpty ResourcePermission))
- updateDataSetPermissions_grantPermissions :: Lens' UpdateDataSetPermissions (Maybe (NonEmpty ResourcePermission))
- updateDataSetPermissions_awsAccountId :: Lens' UpdateDataSetPermissions Text
- updateDataSetPermissions_dataSetId :: Lens' UpdateDataSetPermissions Text
- data UpdateDataSetPermissionsResponse = UpdateDataSetPermissionsResponse' {}
- newUpdateDataSetPermissionsResponse :: Int -> UpdateDataSetPermissionsResponse
- updateDataSetPermissionsResponse_requestId :: Lens' UpdateDataSetPermissionsResponse (Maybe Text)
- updateDataSetPermissionsResponse_dataSetArn :: Lens' UpdateDataSetPermissionsResponse (Maybe Text)
- updateDataSetPermissionsResponse_dataSetId :: Lens' UpdateDataSetPermissionsResponse (Maybe Text)
- updateDataSetPermissionsResponse_status :: Lens' UpdateDataSetPermissionsResponse Int
Creating a Request
data UpdateDataSetPermissions Source #
See: newUpdateDataSetPermissions
smart constructor.
UpdateDataSetPermissions' | |
|
Instances
newUpdateDataSetPermissions Source #
:: Text | |
-> Text | |
-> UpdateDataSetPermissions |
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_awsAccountId :: Lens' UpdateDataSetPermissions Text Source #
The Amazon Web Services account ID.
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.
UpdateDataSetPermissionsResponse' | |
|
Instances
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_dataSetArn :: Lens' UpdateDataSetPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset.
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.
updateDataSetPermissionsResponse_status :: Lens' UpdateDataSetPermissionsResponse Int Source #
The HTTP status of the request.