create_custom_permissions
async
¶
create_custom_permissions(
aws_account_id: AwsAccountId,
custom_permissions_name: CustomPermissionsName,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
capabilities: Optional[Capabilities] = None,
governance: Optional[Governance] = None,
tags: Optional[TagList] = None,
) -> CreateCustomPermissionsResponse
Creates a custom permissions profile.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that you want to create the custom permissions profile in.
-
custom_permissions_name(CustomPermissionsName) –The name of the custom permissions profile that you want to create.
-
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. When governance controls are defined for a category, any capabilities in that category not explicitly set to
ALLOWinCapabilitiesare denied. Even newly added capabilities in the category are implicitly disabled when Amazon Quick releases them. -
tags(Optional[TagList], default:None) –The tags to associate with the custom permissions profile.
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.
-
LimitExceededException–A limit is exceeded.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceExistsException–The resource specified already exists.
-
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
2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 | |