SecurityHub / Client / delete_connector
delete_connector¶
- SecurityHub.Client.delete_connector(**kwargs)¶
Deletes a CSPM connector. When you delete a connector, Security Hub CSPM stops ingesting findings and resource data from the connected cloud provider environment.
See also: AWS API Documentation
Request Syntax
response = client.delete_connector( ConnectorId='string' )
- Parameters:
ConnectorId (string) –
[REQUIRED]
The unique identifier of the connector to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'EnablementStatus': 'ENABLED'|'PENDING_ENABLEMENT'|'PENDING_UPDATE'|'PENDING_DELETION' }
Response Structure
(dict) –
EnablementStatus (string) –
The enablement status of the connector after the delete request.
Exceptions
SecurityHub.Client.exceptions.AccessDeniedExceptionSecurityHub.Client.exceptions.InternalServerExceptionSecurityHub.Client.exceptions.InvalidAccessExceptionSecurityHub.Client.exceptions.ValidationExceptionSecurityHub.Client.exceptions.ThrottlingExceptionSecurityHub.Client.exceptions.ConflictExceptionSecurityHub.Client.exceptions.ResourceNotFoundException