create_permission_group
async
¶
create_permission_group(
name: PermissionGroupName,
application_permissions: ApplicationPermissionList,
*,
config_overrides: Optional[AsyncfinspacedataClientConfig] = None,
description: Optional[PermissionGroupDescription] = None,
client_token: Optional[ClientToken] = None,
) -> CreatePermissionGroupResponse
Creates a group of permissions for various actions that a user can perform in FinSpace.
Parameters:
-
name(PermissionGroupName) –The name of the permission group.
-
description(Optional[PermissionGroupDescription], default:None) –A brief description for the permission group.
-
application_permissions(ApplicationPermissionList) –The option to indicate FinSpace application permissions that are granted to a specific group.
When assigning application permissions, be aware that the permission
ManageUsersAndGroupsallows 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.
-
-
client_token(Optional[ClientToken], default:None) –A token that ensures idempotency. This token expires in 10 minutes.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with an existing resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
LimitExceededException–A limit has exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace_data/_services/async_finspacedata.py
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 | |