update_custom_permissions
¶
update_custom_permissions(
aws_account_id: AwsAccountId,
custom_permissions_name: CustomPermissionsName,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
capabilities: Optional[Capabilities] = None,
governance: Optional[Governance] = None,
) -> UpdateCustomPermissionsResponse
Updates a custom permissions profile.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the custom permissions profile that you want to update.
-
custom_permissions_name(CustomPermissionsName) –The name of the custom permissions profile that you want to update.
-
capabilities(Optional[Capabilities], default:None) –A set of actions to include in the custom permissions profile.
-
governance(Optional[Governance], default:None) –The governance configuration for the custom permissions profile. The
UpdateCustomPermissionsoperation replaces all existingCapabilitiesandGovernancevalues. If you omit this parameter, Amazon Quick removes governance from the profile and the existing custom permission behavior applies.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
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.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 | |