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 read and write permissions on a dashboard.
Synopsis
- data UpdateDashboardPermissions = UpdateDashboardPermissions' {}
- newUpdateDashboardPermissions :: Text -> Text -> UpdateDashboardPermissions
- updateDashboardPermissions_revokePermissions :: Lens' UpdateDashboardPermissions (Maybe [ResourcePermission])
- updateDashboardPermissions_grantPermissions :: Lens' UpdateDashboardPermissions (Maybe [ResourcePermission])
- updateDashboardPermissions_awsAccountId :: Lens' UpdateDashboardPermissions Text
- updateDashboardPermissions_dashboardId :: Lens' UpdateDashboardPermissions Text
- data UpdateDashboardPermissionsResponse = UpdateDashboardPermissionsResponse' {}
- newUpdateDashboardPermissionsResponse :: Int -> UpdateDashboardPermissionsResponse
- updateDashboardPermissionsResponse_requestId :: Lens' UpdateDashboardPermissionsResponse (Maybe Text)
- updateDashboardPermissionsResponse_dashboardId :: Lens' UpdateDashboardPermissionsResponse (Maybe Text)
- updateDashboardPermissionsResponse_permissions :: Lens' UpdateDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- updateDashboardPermissionsResponse_dashboardArn :: Lens' UpdateDashboardPermissionsResponse (Maybe Text)
- updateDashboardPermissionsResponse_status :: Lens' UpdateDashboardPermissionsResponse Int
Creating a Request
data UpdateDashboardPermissions Source #
See: newUpdateDashboardPermissions
smart constructor.
UpdateDashboardPermissions' | |
|
Instances
newUpdateDashboardPermissions Source #
:: Text | |
-> Text | |
-> UpdateDashboardPermissions |
Create a value of UpdateDashboardPermissions
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:UpdateDashboardPermissions'
, updateDashboardPermissions_revokePermissions
- The permissions that you want to revoke from this resource.
$sel:grantPermissions:UpdateDashboardPermissions'
, updateDashboardPermissions_grantPermissions
- The permissions that you want to grant on this resource.
$sel:awsAccountId:UpdateDashboardPermissions'
, updateDashboardPermissions_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
whose permissions you're updating.
$sel:dashboardId:UpdateDashboardPermissions'
, updateDashboardPermissions_dashboardId
- The ID for the dashboard.
Request Lenses
updateDashboardPermissions_revokePermissions :: Lens' UpdateDashboardPermissions (Maybe [ResourcePermission]) Source #
The permissions that you want to revoke from this resource.
updateDashboardPermissions_grantPermissions :: Lens' UpdateDashboardPermissions (Maybe [ResourcePermission]) Source #
The permissions that you want to grant on this resource.
updateDashboardPermissions_awsAccountId :: Lens' UpdateDashboardPermissions Text Source #
The ID of the Amazon Web Services account that contains the dashboard whose permissions you're updating.
updateDashboardPermissions_dashboardId :: Lens' UpdateDashboardPermissions Text Source #
The ID for the dashboard.
Destructuring the Response
data UpdateDashboardPermissionsResponse Source #
See: newUpdateDashboardPermissionsResponse
smart constructor.
UpdateDashboardPermissionsResponse' | |
|
Instances
newUpdateDashboardPermissionsResponse Source #
Create a value of UpdateDashboardPermissionsResponse
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:UpdateDashboardPermissionsResponse'
, updateDashboardPermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dashboardId:UpdateDashboardPermissions'
, updateDashboardPermissionsResponse_dashboardId
- The ID for the dashboard.
$sel:permissions:UpdateDashboardPermissionsResponse'
, updateDashboardPermissionsResponse_permissions
- Information about the permissions on the dashboard.
$sel:dashboardArn:UpdateDashboardPermissionsResponse'
, updateDashboardPermissionsResponse_dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.
$sel:status:UpdateDashboardPermissionsResponse'
, updateDashboardPermissionsResponse_status
- The HTTP status of the request.
Response Lenses
updateDashboardPermissionsResponse_requestId :: Lens' UpdateDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateDashboardPermissionsResponse_dashboardId :: Lens' UpdateDashboardPermissionsResponse (Maybe Text) Source #
The ID for the dashboard.
updateDashboardPermissionsResponse_permissions :: Lens' UpdateDashboardPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
Information about the permissions on the dashboard.
updateDashboardPermissionsResponse_dashboardArn :: Lens' UpdateDashboardPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
updateDashboardPermissionsResponse_status :: Lens' UpdateDashboardPermissionsResponse Int Source #
The HTTP status of the request.