| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.CodeBuild.DeleteReportGroup
Description
Deletes a report group. Before you delete a report group, you must delete its reports.
Synopsis
- data DeleteReportGroup = DeleteReportGroup' {
- deleteReports :: Maybe Bool
 - arn :: Text
 
 - newDeleteReportGroup :: Text -> DeleteReportGroup
 - deleteReportGroup_deleteReports :: Lens' DeleteReportGroup (Maybe Bool)
 - deleteReportGroup_arn :: Lens' DeleteReportGroup Text
 - data DeleteReportGroupResponse = DeleteReportGroupResponse' {
- httpStatus :: Int
 
 - newDeleteReportGroupResponse :: Int -> DeleteReportGroupResponse
 - deleteReportGroupResponse_httpStatus :: Lens' DeleteReportGroupResponse Int
 
Creating a Request
data DeleteReportGroup Source #
See: newDeleteReportGroup smart constructor.
Constructors
| DeleteReportGroup' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DeleteReportGroup | 
Create a value of DeleteReportGroup with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deleteReports:DeleteReportGroup', deleteReportGroup_deleteReports - 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.
DeleteReportGroup, deleteReportGroup_arn - The ARN of the report group to delete.
Request Lenses
deleteReportGroup_deleteReports :: Lens' DeleteReportGroup (Maybe Bool) Source #
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.
deleteReportGroup_arn :: Lens' DeleteReportGroup Text Source #
The ARN of the report group to delete.
Destructuring the Response
data DeleteReportGroupResponse Source #
See: newDeleteReportGroupResponse smart constructor.
Constructors
| DeleteReportGroupResponse' | |
Fields 
  | |
Instances
newDeleteReportGroupResponse Source #
Create a value of DeleteReportGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteReportGroupResponse', deleteReportGroupResponse_httpStatus - The response's http status code.
Response Lenses
deleteReportGroupResponse_httpStatus :: Lens' DeleteReportGroupResponse Int Source #
The response's http status code.