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
17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 | |