SecurityHub / Client / delete_connector_v2

delete_connector_v2

SecurityHub.Client.delete_connector_v2(**kwargs)

Grants permission to delete a connectorV2.

See also: AWS API Documentation

Request Syntax

response = client.delete_connector_v2(
    ConnectorId='string'
)
Parameters:

ConnectorId (string) –

[REQUIRED]

The UUID of the connectorV2 to identify connectorV2 resource.

Return type:

dict

Returns:

Response Syntax

{
    'EnablementStatus': 'ENABLED'|'PENDING_ENABLEMENT'|'FAILED_TO_ENABLE'|'PENDING_UPDATE'|'FAILED_TO_UPDATE'|'PENDING_DELETION'|'FAILED_TO_DELETE'
}

Response Structure

  • (dict) –

    • EnablementStatus (string) –

      The enablement status of the connector after deletion.

Exceptions

  • SecurityHub.Client.exceptions.AccessDeniedException

  • SecurityHub.Client.exceptions.InternalServerException

  • SecurityHub.Client.exceptions.ValidationException

  • SecurityHub.Client.exceptions.ThrottlingException

  • SecurityHub.Client.exceptions.ConflictException

  • SecurityHub.Client.exceptions.ResourceNotFoundException