list_cloud_connectors
async
¶
list_cloud_connectors(
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
type: Optional[CloudConnectorType] = None,
lambda_arn: Optional[LambdaArn] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListCloudConnectorsResponse
Returns a list of connectors filtered by its Lambda Amazon Resource Name (ARN) and type.
Parameters:
-
type(Optional[CloudConnectorType], default:None) –The type of cloud connectors to filter by when listing available connectors.
-
lambda_arn(Optional[LambdaArn], default:None) –The Amazon Resource Name (ARN) of the Lambda function to filter cloud connectors by.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
-
next_token(Optional[NextToken], default:None) –A token that can be used to retrieve the next set of results.
Raises:
-
AccessDeniedException–User is not authorized.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
ListCloudConnectors happy path to get a list of connector resources
>>> await client.list_cloud_connectors(max_results=5)
ListCloudConnectors error path for unauthorized user
Source code in docs_src/capo_iot_managed_integrations/_services/async_io_t_managed_integrations.py
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 | |