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
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 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 | |