amazonka-guardduty-2.0: Amazon GuardDuty SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • activate :: Maybe Bool

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

  • location :: Maybe Text

    The updated URI of the file that contains the ThreateIntelSet.

  • 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
ToJSON UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.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

AWSRequest UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type AWSResponse UpdateThreatIntelSet #

Generic UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type Rep UpdateThreatIntelSet :: Type -> Type #

Read UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Show UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

NFData UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Methods

rnf :: UpdateThreatIntelSet -> () #

Eq UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Hashable UpdateThreatIntelSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

type AWSResponse 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" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "UpdateThreatIntelSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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)))))

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:activate:UpdateThreatIntelSet', updateThreatIntelSet_activate - The updated Boolean value that specifies whether the ThreateIntelSet is active or not.

$sel:location:UpdateThreatIntelSet', updateThreatIntelSet_location - The updated URI of the file that contains the ThreateIntelSet.

UpdateThreatIntelSet, updateThreatIntelSet_name - The unique ID that specifies the ThreatIntelSet that you want to update.

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_activate :: Lens' UpdateThreatIntelSet (Maybe Bool) Source #

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

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

The updated URI of the file that contains the ThreateIntelSet.

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
Generic UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Associated Types

type Rep UpdateThreatIntelSetResponse :: Type -> Type #

Read UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Show UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

NFData UpdateThreatIntelSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateThreatIntelSet

Eq 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" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" '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