update_approval_policy
async
¶
update_approval_policy(
policy_id: PolicyId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 | |