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
6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 | |