list_connectors_v2
async
¶
list_connectors_v2(
*,
config_overrides: Optional[AsyncSecurityHubClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
provider_name: Optional[ConnectorProviderName] = None,
connector_status: Optional[ConnectorStatus] = None,
enablement_status: Optional[EnablementStatus] = None,
) -> ListConnectorsV2Response
Grants permission to retrieve a list of connectorsV2 and their metadata for the calling account.
Parameters:
-
next_token(Optional[NextToken], default:None) –The pagination token per the Amazon Web Services Pagination standard
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be returned.
-
provider_name(Optional[ConnectorProviderName], default:None) –The name of the third-party provider.
-
connector_status(Optional[ConnectorStatus], default:None) –The status for the connectorV2.
-
enablement_status(Optional[EnablementStatus], default:None) –The enablement status to filter connectors by.
Raises:
-
AccessDeniedException–You don't have permission to perform the action specified in the request.
-
ConflictException–The request causes conflict with the current state of the service resource.
-
InternalServerException–The request has failed due to an internal failure of the service.
-
ResourceNotFoundException–The request was rejected because we can't find the specified resource.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation because it's missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityhub/_services/async_security_hub.py
6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 | |