update_template_permissions
¶
update_template_permissions(
aws_account_id: AwsAccountId,
template_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[UpdateResourcePermissionList] = None,
revoke_permissions: Optional[UpdateResourcePermissionList] = None,
) -> UpdateTemplatePermissionsResponse
Updates the resource permissions for a template.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the template.
-
template_id(ShortRestrictiveResourceId) –The ID for the template.
-
grant_permissions(Optional[UpdateResourcePermissionList], default:None) –A list of resource permissions to be granted on the template.
-
revoke_permissions(Optional[UpdateResourcePermissionList], default:None) –A list of resource permissions to be revoked from the template.
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
20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 | |