delete_report_group
async
¶
delete_report_group(
arn: NonEmptyString,
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
delete_reports: Optional[Boolean] = None,
) -> DeleteReportGroupOutput
Deletes a report group. Before you delete a report group, you must delete its reports.
Parameters:
-
arn(NonEmptyString) –The ARN of the report group to delete.
-
delete_reports(Optional[Boolean], default:None) –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 callDeleteReportGroupfor a report group that contains one or more reports, an exception is thrown.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/async_code_build.py
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 | |