update_agent_collaborator
async
¶
update_agent_collaborator(
agent_id: Id,
agent_version: DraftVersion,
collaborator_id: Id,
agent_descriptor: AgentDescriptor,
collaborator_name: Name,
collaboration_instruction: CollaborationInstruction,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
relay_conversation_history: Optional[RelayConversationHistory] = None,
) -> UpdateAgentCollaboratorResponse
Updates an agent's collaborator.
Parameters:
-
agent_id(Id) –The agent's ID.
-
agent_version(DraftVersion) –The agent's version.
-
collaborator_id(Id) –The collaborator's ID.
-
agent_descriptor(AgentDescriptor) –An agent descriptor for the agent collaborator.
-
collaborator_name(Name) –The collaborator's name.
-
collaboration_instruction(CollaborationInstruction) –Instruction for the collaborator.
-
relay_conversation_history(Optional[RelayConversationHistory], default:None) –A relay conversation history for the collaborator.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent/_services/async_bedrock_agent.py
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 | |