EC2 / Client / delete_image_usage_report

delete_image_usage_report

EC2.Client.delete_image_usage_report(**kwargs)

Deletes the specified image usage report.

For more information, see View your AMI usage in the Amazon EC2 User Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_image_usage_report(
    ReportId='string',
    DryRun=True|False
)
Parameters:
  • ReportId (string) –

    [REQUIRED]

    The ID of the report to delete.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'Return': True|False
}

Response Structure

  • (dict) –

    • Return (boolean) –

      Returns true if the request succeeds; otherwise, it returns an error.