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
20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 | |