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
17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 | |