libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.DeleteInsight

Description

Deletes the insight specified by the InsightArn.

Synopsis

Creating a Request

data DeleteInsight Source #

See: newDeleteInsight smart constructor.

Constructors

DeleteInsight' 

Fields

Instances

Instances details
Eq DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Read DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Show DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Generic DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Associated Types

type Rep DeleteInsight :: Type -> Type #

NFData DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Methods

rnf :: DeleteInsight -> () #

Hashable DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

AWSRequest DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Associated Types

type AWSResponse DeleteInsight #

ToHeaders DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

ToPath DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

ToQuery DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

type Rep DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

type Rep DeleteInsight = D1 ('MetaData "DeleteInsight" "Amazonka.SecurityHub.DeleteInsight" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeleteInsight'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

newDeleteInsight Source #

Create a value of DeleteInsight 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:insightArn:DeleteInsight', deleteInsight_insightArn - The ARN of the insight to delete.

Request Lenses

deleteInsight_insightArn :: Lens' DeleteInsight Text Source #

The ARN of the insight to delete.

Destructuring the Response

data DeleteInsightResponse Source #

See: newDeleteInsightResponse smart constructor.

Constructors

DeleteInsightResponse' 

Fields

Instances

Instances details
Eq DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Read DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Show DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Generic DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Associated Types

type Rep DeleteInsightResponse :: Type -> Type #

NFData DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

Methods

rnf :: DeleteInsightResponse -> () #

type Rep DeleteInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInsight

type Rep DeleteInsightResponse = D1 ('MetaData "DeleteInsightResponse" "Amazonka.SecurityHub.DeleteInsight" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeleteInsightResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "insightArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteInsightResponse Source #

Create a value of DeleteInsightResponse 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:DeleteInsightResponse', deleteInsightResponse_httpStatus - The response's http status code.

$sel:insightArn:DeleteInsight', deleteInsightResponse_insightArn - The ARN of the insight that was deleted.

Response Lenses

deleteInsightResponse_insightArn :: Lens' DeleteInsightResponse Text Source #

The ARN of the insight that was deleted.