update_approval_policy
¶
update_approval_policy(
policy_id: PolicyId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
name: Optional[PolicyName] = None,
description: Optional[PolicyDescription] = None,
actions: Optional[GovernedActionList] = None,
asset_types: Optional[AssetTypeList] = None,
applicable_to: Optional[ApplicableTo] = None,
approval_groups: Optional[ApprovalGroupList] = None,
) -> UpdateApprovalPolicyResponse
Updates an approval policy in Quick Sight.
Parameters:
-
policy_id(PolicyId) –The unique identifier of the approval policy to update.
-
name(Optional[PolicyName], default:None) –The name of the approval policy.
-
description(Optional[PolicyDescription], default:None) –A description of the approval policy.
-
actions(Optional[GovernedActionList], default:None) –The list of governed actions that trigger the approval workflow.
-
asset_types(Optional[AssetTypeList], default:None) –The list of asset types that the approval policy applies to.
-
applicable_to(Optional[ApplicableTo], default:None) –The scoping configuration that determines who the approval policy applies to.
-
approval_groups(Optional[ApprovalGroupList], default:None) –The list of group ARNs whose members can approve requests.
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.
-
ResourceNotFoundException–One or more resources can't be found.
-
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
19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 | |