list_connectors
async
¶
list_connectors(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = None,
max_results: Optional[ListConnectorsMaxResults] = None,
next_token: Optional[ConnectorNextToken] = None,
) -> ListConnectorsOutput
Lists the connectors in the account and Region. This operation returns results in pages. To get the next page, pass the returned NextToken in the next call. We recommend that you use pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
max_results(Optional[ListConnectorsMaxResults], default:None) –The maximum number of connectors to return in one call. The default is 100.
-
next_token(Optional[ConnectorNextToken], default:None) –The token for the next page of results, returned by a previous call.
Raises:
-
AccessDeniedException–Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
-
InternalServerException–Indicates the request has failed to process because of an unknown server error, exception, or failure.
-
TooManyRequestsException–The request throughput limit was exceeded.
-
ValidationException–Indicates 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_observabilityadmin/_services/async_observability_admin.py
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 | |