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
17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 | |