list_agent_collaborators
async
¶
list_agent_collaborators(
agent_id: Id,
agent_version: Version,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAgentCollaboratorsResponse
Retrieve a list of an agent's collaborators.
Parameters:
-
agent_id(Id) –The agent's ID.
-
agent_version(Version) –The agent's version.
-
max_results(Optional[MaxResults], default:None) –The maximum number of agent collaborators to return in one page of results.
-
next_token(Optional[NextToken], default:None) –Specify the pagination token from a previous request to retrieve the next page of results.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
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.
-
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
1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 | |