update_custom_permissions
async
¶
update_custom_permissions(
aws_account_id: AwsAccountId,
custom_permissions_name: CustomPermissionsName,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 | |