update_agent_permissions
¶
update_agent_permissions(
agent_id: AgentId,
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[
UpdateAgentPermissionsRequestGrantPermissionsList
] = None,
revoke_permissions: Optional[
UpdateAgentPermissionsRequestRevokePermissionsList
] = None,
) -> UpdateAgentPermissionsResponse
Updates the resource permissions for an agent.
Parameters:
-
agent_id(AgentId) –The unique identifier for the agent.
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the agent.
-
grant_permissions(Optional[UpdateAgentPermissionsRequestGrantPermissionsList], default:None) –The resource permissions that you want to grant on the agent.
-
revoke_permissions(Optional[UpdateAgentPermissionsRequestRevokePermissionsList], default:None) –The resource permissions that you want to revoke from the agent.
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.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 | |