Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_dashboardArn :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_dashboardId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_linkSharingConfiguration :: Lens' DescribeDashboardPermissionsResponse (Maybe LinkSharingConfiguration)
- describeDashboardPermissionsResponse_permissions :: Lens' DescribeDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeDashboardPermissionsResponse_requestId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text)
- describeDashboardPermissionsResponse_status :: Lens' DescribeDashboardPermissionsResponse Int
Creating a Request
data DescribeDashboardPermissions Source #
See: newDescribeDashboardPermissions
smart constructor.
DescribeDashboardPermissions' | |
|
Instances
newDescribeDashboardPermissions Source #
:: 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:
DescribeDashboardPermissions
, describeDashboardPermissions_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
that you're describing permissions for.
DescribeDashboardPermissions
, describeDashboardPermissions_dashboardId
- The ID for the dashboard, also added to the IAM policy.
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 IAM policy.
Destructuring the Response
data DescribeDashboardPermissionsResponse Source #
See: newDescribeDashboardPermissionsResponse
smart constructor.
DescribeDashboardPermissionsResponse' | |
|
Instances
newDescribeDashboardPermissionsResponse Source #
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:dashboardArn:DescribeDashboardPermissionsResponse'
, describeDashboardPermissionsResponse_dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.
DescribeDashboardPermissions
, describeDashboardPermissionsResponse_dashboardId
- The ID for the dashboard.
$sel:linkSharingConfiguration:DescribeDashboardPermissionsResponse'
, describeDashboardPermissionsResponse_linkSharingConfiguration
- A structure that contains the configuration of a shareable link that
grants access to the dashboard. Your users can use the link to view and
interact with the dashboard, if the dashboard has been shared with them.
For more information about sharing dashboards, see
Sharing Dashboards.
DescribeDashboardPermissionsResponse
, describeDashboardPermissionsResponse_permissions
- A structure that contains the permissions for the dashboard.
$sel:requestId:DescribeDashboardPermissionsResponse'
, describeDashboardPermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
DescribeDashboardPermissionsResponse
, describeDashboardPermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeDashboardPermissionsResponse_dashboardArn :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
describeDashboardPermissionsResponse_dashboardId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The ID for the dashboard.
describeDashboardPermissionsResponse_linkSharingConfiguration :: Lens' DescribeDashboardPermissionsResponse (Maybe LinkSharingConfiguration) Source #
A structure that contains the configuration of a shareable link that grants access to the dashboard. Your users can use the link to view and interact with the dashboard, if the dashboard has been shared with them. For more information about sharing dashboards, see Sharing Dashboards.
describeDashboardPermissionsResponse_permissions :: Lens' DescribeDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A structure that contains the permissions for the dashboard.
describeDashboardPermissionsResponse_requestId :: Lens' DescribeDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDashboardPermissionsResponse_status :: Lens' DescribeDashboardPermissionsResponse Int Source #
The HTTP status of the request.