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 |
Describes the permissions on a dataset.
The permissions resource is
arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
Synopsis
- data DescribeDataSetPermissions = DescribeDataSetPermissions' {
- awsAccountId :: Text
- dataSetId :: Text
- newDescribeDataSetPermissions :: Text -> Text -> DescribeDataSetPermissions
- describeDataSetPermissions_awsAccountId :: Lens' DescribeDataSetPermissions Text
- describeDataSetPermissions_dataSetId :: Lens' DescribeDataSetPermissions Text
- data DescribeDataSetPermissionsResponse = DescribeDataSetPermissionsResponse' {
- requestId :: Maybe Text
- dataSetArn :: Maybe Text
- dataSetId :: Maybe Text
- permissions :: Maybe (NonEmpty ResourcePermission)
- status :: Int
- newDescribeDataSetPermissionsResponse :: Int -> DescribeDataSetPermissionsResponse
- describeDataSetPermissionsResponse_requestId :: Lens' DescribeDataSetPermissionsResponse (Maybe Text)
- describeDataSetPermissionsResponse_dataSetArn :: Lens' DescribeDataSetPermissionsResponse (Maybe Text)
- describeDataSetPermissionsResponse_dataSetId :: Lens' DescribeDataSetPermissionsResponse (Maybe Text)
- describeDataSetPermissionsResponse_permissions :: Lens' DescribeDataSetPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeDataSetPermissionsResponse_status :: Lens' DescribeDataSetPermissionsResponse Int
Creating a Request
data DescribeDataSetPermissions Source #
See: newDescribeDataSetPermissions
smart constructor.
DescribeDataSetPermissions' | |
|
Instances
newDescribeDataSetPermissions Source #
:: Text | |
-> Text | |
-> DescribeDataSetPermissions |
Create a value of DescribeDataSetPermissions
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:awsAccountId:DescribeDataSetPermissions'
, describeDataSetPermissions_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSetId:DescribeDataSetPermissions'
, describeDataSetPermissions_dataSetId
- The ID for the dataset that you want to create. This ID is unique per
Amazon Web Services Region for each Amazon Web Services account.
Request Lenses
describeDataSetPermissions_awsAccountId :: Lens' DescribeDataSetPermissions Text Source #
The Amazon Web Services account ID.
describeDataSetPermissions_dataSetId :: Lens' DescribeDataSetPermissions Text Source #
The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Destructuring the Response
data DescribeDataSetPermissionsResponse Source #
See: newDescribeDataSetPermissionsResponse
smart constructor.
DescribeDataSetPermissionsResponse' | |
|
Instances
newDescribeDataSetPermissionsResponse Source #
Create a value of DescribeDataSetPermissionsResponse
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:DescribeDataSetPermissionsResponse'
, describeDataSetPermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dataSetArn:DescribeDataSetPermissionsResponse'
, describeDataSetPermissionsResponse_dataSetArn
- The Amazon Resource Name (ARN) of the dataset.
$sel:dataSetId:DescribeDataSetPermissions'
, describeDataSetPermissionsResponse_dataSetId
- The ID for the dataset that you want to create. This ID is unique per
Amazon Web Services Region for each Amazon Web Services account.
$sel:permissions:DescribeDataSetPermissionsResponse'
, describeDataSetPermissionsResponse_permissions
- A list of resource permissions on the dataset.
$sel:status:DescribeDataSetPermissionsResponse'
, describeDataSetPermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeDataSetPermissionsResponse_requestId :: Lens' DescribeDataSetPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDataSetPermissionsResponse_dataSetArn :: Lens' DescribeDataSetPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset.
describeDataSetPermissionsResponse_dataSetId :: Lens' DescribeDataSetPermissionsResponse (Maybe Text) Source #
The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
describeDataSetPermissionsResponse_permissions :: Lens' DescribeDataSetPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A list of resource permissions on the dataset.
describeDataSetPermissionsResponse_status :: Lens' DescribeDataSetPermissionsResponse Int Source #
The HTTP status of the request.