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
6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 | |