| 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 |
Amazonka.QuickSight.DescribeDashboardPermissions
Description
Describes read and write permissions for a dashboard.
Synopsis
- data DescribeDashboardPermissions = DescribeDashboardPermissions' {
- awsAccountId :: Text
- dashboardId :: Text
- newDescribeDashboardPermissions :: Text -> Text -> DescribeDashboardPermissions
- describeDashboardPermissions_awsAccountId :: Lens' DescribeDashboardPermissions Text
- describeDashboardPermissions_dashboardId :: Lens' DescribeDashboardPermissions Text
- data DescribeDashboardPermissionsResponse = DescribeDashboardPermissionsResponse' {}
- newDescribeDashboardPermissionsResponse :: Int -> DescribeDashboardPermissionsResponse
- describeDashboardPermissionsResponse_requestId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_dashboardId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_permissions :: Lens' DescribeDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeDashboardPermissionsResponse_dashboardArn :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_status :: Lens' DescribeDashboardPermissionsResponse Int
Creating a Request
data DescribeDashboardPermissions Source #
See: newDescribeDashboardPermissions smart constructor.
Constructors
| DescribeDashboardPermissions' | |
Fields
| |
Instances
newDescribeDashboardPermissions Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeDashboardPermissions |
Create a value of DescribeDashboardPermissions 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:DescribeDashboardPermissions', describeDashboardPermissions_awsAccountId - The ID of the Amazon Web Services account that contains the dashboard
that you're describing permissions for.
$sel:dashboardId:DescribeDashboardPermissions', describeDashboardPermissions_dashboardId - The ID for the dashboard, also added to the IAMpolicy.
Request Lenses
describeDashboardPermissions_awsAccountId :: Lens' DescribeDashboardPermissions Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're describing permissions for.
describeDashboardPermissions_dashboardId :: Lens' DescribeDashboardPermissions Text Source #
The ID for the dashboard, also added to the IAMpolicy.
Destructuring the Response
data DescribeDashboardPermissionsResponse Source #
See: newDescribeDashboardPermissionsResponse smart constructor.
Constructors
| DescribeDashboardPermissionsResponse' | |
Fields
| |
Instances
newDescribeDashboardPermissionsResponse Source #
Arguments
| :: Int | |
| -> DescribeDashboardPermissionsResponse |
Create a value of DescribeDashboardPermissionsResponse 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:DescribeDashboardPermissionsResponse', describeDashboardPermissionsResponse_requestId - The Amazon Web Services request ID for this operation.
$sel:dashboardId:DescribeDashboardPermissions', describeDashboardPermissionsResponse_dashboardId - The ID for the dashboard.
$sel:permissions:DescribeDashboardPermissionsResponse', describeDashboardPermissionsResponse_permissions - A structure that contains the permissions for the dashboard.
$sel:dashboardArn:DescribeDashboardPermissionsResponse', describeDashboardPermissionsResponse_dashboardArn - The Amazon Resource Name (ARN) of the dashboard.
$sel:status:DescribeDashboardPermissionsResponse', describeDashboardPermissionsResponse_status - The HTTP status of the request.
Response Lenses
describeDashboardPermissionsResponse_requestId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDashboardPermissionsResponse_dashboardId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The ID for the dashboard.
describeDashboardPermissionsResponse_permissions :: Lens' DescribeDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A structure that contains the permissions for the dashboard.
describeDashboardPermissionsResponse_dashboardArn :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
describeDashboardPermissionsResponse_status :: Lens' DescribeDashboardPermissionsResponse Int Source #
The HTTP status of the request.