update_analysis_permissions
async
¶
update_analysis_permissions(
aws_account_id: AwsAccountId,
analysis_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 | |