libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.UpdateThreatIntelSet

Description

Updates the ThreatIntelSet specified by the ThreatIntelSet ID.

Synopsis

Creating a Request

data UpdateThreatIntelSet Source #

See: newUpdateThreatIntelSet smart constructor.

Constructors

UpdateThreatIntelSet' 

Fields

  • location :: Maybe Text

    The updated URI of the file that contains the ThreateIntelSet.

  • activate :: Maybe Bool

    The updated Boolean value that specifies whether the ThreateIntelSet is active or not.

  • name :: Maybe Text

    The unique ID that specifies the ThreatIntelSet that you want to update.

  • detectorId :: Text

    The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

  • threatIntelSetId :: Text

    The unique ID that specifies the ThreatIntelSet that you want to update.

Instances

Instances details
Eq UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Read UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Show UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Generic UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type Rep UpdateThreatIntelSet :: Type -> Type #

NFData UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Methods

rnf :: UpdateThreatIntelSet -> () #

Hashable UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

ToJSON UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

AWSRequest UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type AWSResponse UpdateThreatIntelSet #

ToHeaders UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

ToPath UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

ToQuery UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

type Rep UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

type Rep UpdateThreatIntelSet = D1 ('MetaData "UpdateThreatIntelSet" "Amazonka.GuardDuty.UpdateThreatIntelSet" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateThreatIntelSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "activate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "threatIntelSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

newUpdateThreatIntelSet Source #

Create a value of UpdateThreatIntelSet 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:location:UpdateThreatIntelSet', updateThreatIntelSet_location - The updated URI of the file that contains the ThreateIntelSet.

$sel:activate:UpdateThreatIntelSet', updateThreatIntelSet_activate - The updated Boolean value that specifies whether the ThreateIntelSet is active or not.

$sel:name:UpdateThreatIntelSet', updateThreatIntelSet_name - The unique ID that specifies the ThreatIntelSet that you want to update.

$sel:detectorId:UpdateThreatIntelSet', updateThreatIntelSet_detectorId - The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

$sel:threatIntelSetId:UpdateThreatIntelSet', updateThreatIntelSet_threatIntelSetId - The unique ID that specifies the ThreatIntelSet that you want to update.

Request Lenses

updateThreatIntelSet_location :: Lens' UpdateThreatIntelSet (Maybe Text) Source #

The updated URI of the file that contains the ThreateIntelSet.

updateThreatIntelSet_activate :: Lens' UpdateThreatIntelSet (Maybe Bool) Source #

The updated Boolean value that specifies whether the ThreateIntelSet is active or not.

updateThreatIntelSet_name :: Lens' UpdateThreatIntelSet (Maybe Text) Source #

The unique ID that specifies the ThreatIntelSet that you want to update.

updateThreatIntelSet_detectorId :: Lens' UpdateThreatIntelSet Text Source #

The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

updateThreatIntelSet_threatIntelSetId :: Lens' UpdateThreatIntelSet Text Source #

The unique ID that specifies the ThreatIntelSet that you want to update.

Destructuring the Response

data UpdateThreatIntelSetResponse Source #

See: newUpdateThreatIntelSetResponse smart constructor.

Constructors

UpdateThreatIntelSetResponse' 

Fields

Instances

Instances details
Eq UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Read UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Show UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Generic UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type Rep UpdateThreatIntelSetResponse :: Type -> Type #

NFData UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

type Rep UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

type Rep UpdateThreatIntelSetResponse = D1 ('MetaData "UpdateThreatIntelSetResponse" "Amazonka.GuardDuty.UpdateThreatIntelSet" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateThreatIntelSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateThreatIntelSetResponse Source #

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

Response Lenses