list_connectors_v2
¶
list_connectors_v2(
*,
config_overrides: Optional[SecurityHubClientConfig] = 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/security_hub.py
6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 | |