update_agent_permissions
async
¶
update_agent_permissions(
agent_id: AgentId,
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 | |