libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.DeleteReportGroup

Description

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

Synopsis

Creating a Request

data DeleteReportGroup Source #

See: newDeleteReportGroup smart constructor.

Constructors

DeleteReportGroup' 

Fields

  • deleteReports :: Maybe Bool

    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.

  • arn :: Text

    The ARN of the report group to delete.

Instances

Instances details
Eq DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Read DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Show DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Generic DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Associated Types

type Rep DeleteReportGroup :: Type -> Type #

NFData DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Methods

rnf :: DeleteReportGroup -> () #

Hashable DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

ToJSON DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

AWSRequest DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Associated Types

type AWSResponse DeleteReportGroup #

ToHeaders DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

ToPath DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

ToQuery DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

type Rep DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

type Rep DeleteReportGroup = D1 ('MetaData "DeleteReportGroup" "Amazonka.CodeBuild.DeleteReportGroup" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DeleteReportGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteReports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteReportGroup Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

newDeleteReportGroup Source #

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.

$sel:arn: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

Instances details
Eq DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Read DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Show DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Generic DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

Associated Types

type Rep DeleteReportGroupResponse :: Type -> Type #

NFData DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

type Rep DeleteReportGroupResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DeleteReportGroup

type Rep DeleteReportGroupResponse = D1 ('MetaData "DeleteReportGroupResponse" "Amazonka.CodeBuild.DeleteReportGroup" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DeleteReportGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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