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 |
Creates a group of permissions for various actions that a user can perform in FinSpace.
Synopsis
- data CreatePermissionGroup = CreatePermissionGroup' {}
- newCreatePermissionGroup :: Text -> CreatePermissionGroup
- createPermissionGroup_clientToken :: Lens' CreatePermissionGroup (Maybe Text)
- createPermissionGroup_description :: Lens' CreatePermissionGroup (Maybe Text)
- createPermissionGroup_name :: Lens' CreatePermissionGroup Text
- createPermissionGroup_applicationPermissions :: Lens' CreatePermissionGroup [ApplicationPermission]
- data CreatePermissionGroupResponse = CreatePermissionGroupResponse' {}
- newCreatePermissionGroupResponse :: Int -> CreatePermissionGroupResponse
- createPermissionGroupResponse_permissionGroupId :: Lens' CreatePermissionGroupResponse (Maybe Text)
- createPermissionGroupResponse_httpStatus :: Lens' CreatePermissionGroupResponse Int
Creating a Request
data CreatePermissionGroup Source #
See: newCreatePermissionGroup
smart constructor.
CreatePermissionGroup' | |
|
Instances
newCreatePermissionGroup Source #
Create a value of CreatePermissionGroup
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:clientToken:CreatePermissionGroup'
, createPermissionGroup_clientToken
- A token that ensures idempotency. This token expires in 10 minutes.
CreatePermissionGroup
, createPermissionGroup_description
- A brief description for the permission group.
CreatePermissionGroup
, createPermissionGroup_name
- The name of the permission group.
CreatePermissionGroup
, createPermissionGroup_applicationPermissions
- The option to indicate FinSpace application permissions that are granted
to a specific group.
When assigning application permissions, be aware that the permission
ManageUsersAndGroups
allows users to grant themselves or others access
to any functionality in their FinSpace environment's application. It
should only be granted to trusted users.
CreateDataset
– Group members can create new datasets.ManageClusters
– Group members can manage Apache Spark clusters from FinSpace notebooks.ManageUsersAndGroups
– Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users.ManageAttributeSets
– Group members can manage attribute sets.ViewAuditData
– Group members can view audit data.AccessNotebooks
– Group members will have access to FinSpace notebooks.GetTemporaryCredentials
– Group members can get temporary API credentials.
Request Lenses
createPermissionGroup_clientToken :: Lens' CreatePermissionGroup (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
createPermissionGroup_description :: Lens' CreatePermissionGroup (Maybe Text) Source #
A brief description for the permission group.
createPermissionGroup_name :: Lens' CreatePermissionGroup Text Source #
The name of the permission group.
createPermissionGroup_applicationPermissions :: Lens' CreatePermissionGroup [ApplicationPermission] Source #
The option to indicate FinSpace application permissions that are granted to a specific group.
When assigning application permissions, be aware that the permission
ManageUsersAndGroups
allows users to grant themselves or others access
to any functionality in their FinSpace environment's application. It
should only be granted to trusted users.
CreateDataset
– Group members can create new datasets.ManageClusters
– Group members can manage Apache Spark clusters from FinSpace notebooks.ManageUsersAndGroups
– Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users.ManageAttributeSets
– Group members can manage attribute sets.ViewAuditData
– Group members can view audit data.AccessNotebooks
– Group members will have access to FinSpace notebooks.GetTemporaryCredentials
– Group members can get temporary API credentials.
Destructuring the Response
data CreatePermissionGroupResponse Source #
See: newCreatePermissionGroupResponse
smart constructor.
CreatePermissionGroupResponse' | |
|
Instances
newCreatePermissionGroupResponse Source #
Create a value of CreatePermissionGroupResponse
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:
CreatePermissionGroupResponse
, createPermissionGroupResponse_permissionGroupId
- The unique identifier for the permission group.
$sel:httpStatus:CreatePermissionGroupResponse'
, createPermissionGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createPermissionGroupResponse_permissionGroupId :: Lens' CreatePermissionGroupResponse (Maybe Text) Source #
The unique identifier for the permission group.
createPermissionGroupResponse_httpStatus :: Lens' CreatePermissionGroupResponse Int Source #
The response's http status code.