update_analysis_permissions
¶
update_analysis_permissions(
aws_account_id: AwsAccountId,
analysis_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[UpdateResourcePermissionList] = None,
revoke_permissions: Optional[UpdateResourcePermissionList] = None,
) -> UpdateAnalysisPermissionsResponse
Updates the read and write permissions for an analysis.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
-
analysis_id(ShortRestrictiveResourceId) –The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
-
grant_permissions(Optional[UpdateResourcePermissionList], default:None) –A structure that describes the permissions to add and the principal to add them to.
-
revoke_permissions(Optional[UpdateResourcePermissionList], default:None) –A structure that describes the permissions to remove and the principal to remove them from.
Raises:
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 | |