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.UpdateInsight

Description

Updates the Security Hub insight identified by the specified insight ARN.

Synopsis

Creating a Request

data UpdateInsight Source #

See: newUpdateInsight smart constructor.

Constructors

UpdateInsight' 

Fields

Instances

Instances details
Eq UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Read UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Show UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Generic UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Associated Types

type Rep UpdateInsight :: Type -> Type #

NFData UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Methods

rnf :: UpdateInsight -> () #

Hashable UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

ToJSON UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

AWSRequest UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Associated Types

type AWSResponse UpdateInsight #

ToHeaders UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

ToPath UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

ToQuery UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

type Rep UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

type Rep UpdateInsight = D1 ('MetaData "UpdateInsight" "Amazonka.SecurityHub.UpdateInsight" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateInsight'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groupByAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsSecurityFindingFilters))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "insightArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateInsight Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

newUpdateInsight Source #

Create a value of UpdateInsight 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:groupByAttribute:UpdateInsight', updateInsight_groupByAttribute - The updated GroupBy attribute that defines this insight.

$sel:filters:UpdateInsight', updateInsight_filters - The updated filters that define this insight.

$sel:name:UpdateInsight', updateInsight_name - The updated name for the insight.

$sel:insightArn:UpdateInsight', updateInsight_insightArn - The ARN of the insight that you want to update.

Request Lenses

updateInsight_groupByAttribute :: Lens' UpdateInsight (Maybe Text) Source #

The updated GroupBy attribute that defines this insight.

updateInsight_filters :: Lens' UpdateInsight (Maybe AwsSecurityFindingFilters) Source #

The updated filters that define this insight.

updateInsight_name :: Lens' UpdateInsight (Maybe Text) Source #

The updated name for the insight.

updateInsight_insightArn :: Lens' UpdateInsight Text Source #

The ARN of the insight that you want to update.

Destructuring the Response

data UpdateInsightResponse Source #

See: newUpdateInsightResponse smart constructor.

Constructors

UpdateInsightResponse' 

Fields

Instances

Instances details
Eq UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Read UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Show UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Generic UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Associated Types

type Rep UpdateInsightResponse :: Type -> Type #

NFData UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

Methods

rnf :: UpdateInsightResponse -> () #

type Rep UpdateInsightResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateInsight

type Rep UpdateInsightResponse = D1 ('MetaData "UpdateInsightResponse" "Amazonka.SecurityHub.UpdateInsight" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateInsightResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateInsightResponse Source #

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

Response Lenses