CodeBuild / Client / delete_report_group

delete_report_group#

CodeBuild.Client.delete_report_group(**kwargs)#

Deletes a report group. Before you delete a report group, you must delete its reports.

See also: AWS API Documentation

Request Syntax

response = client.delete_report_group(
    arn='string',
    deleteReports=True|False
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The ARN of the report group to delete.

  • deleteReports (boolean) –

    If true, deletes any reports that belong to a report group before deleting the report group.

    If false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an exception is thrown.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CodeBuild.Client.exceptions.InvalidInputException