cancel_findings_report

cancel_findings_report(**kwargs)

Cancels the given findings report.

See also: AWS API Documentation

Request Syntax

response = client.cancel_findings_report(
    reportId='string'
)
Parameters
reportId (string) --

[REQUIRED]

The ID of the report to be canceled.

Return type
dict
Returns
Response Syntax
{
    'reportId': 'string'
}

Response Structure

  • (dict) --
    • reportId (string) --

      The ID of the canceled report.

Exceptions

  • Inspector2.Client.exceptions.ValidationException
  • Inspector2.Client.exceptions.AccessDeniedException
  • Inspector2.Client.exceptions.ResourceNotFoundException
  • Inspector2.Client.exceptions.ThrottlingException
  • Inspector2.Client.exceptions.InternalServerException