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

Description

Updates the IPSet specified by the IPSet ID.

Synopsis

Creating a Request

data UpdateIPSet Source #

See: newUpdateIPSet smart constructor.

Constructors

UpdateIPSet' 

Fields

  • location :: Maybe Text

    The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

  • activate :: Maybe Bool

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

  • name :: Maybe Text

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

  • detectorId :: Text

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

  • ipSetId :: Text

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

Instances

Instances details
Eq UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Read UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Show UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Generic UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Associated Types

type Rep UpdateIPSet :: Type -> Type #

NFData UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Methods

rnf :: UpdateIPSet -> () #

Hashable UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

ToJSON UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

AWSRequest UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Associated Types

type AWSResponse UpdateIPSet #

ToHeaders UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Methods

toHeaders :: UpdateIPSet -> [Header] #

ToPath UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

ToQuery UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

type Rep UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

type Rep UpdateIPSet = D1 ('MetaData "UpdateIPSet" "Amazonka.GuardDuty.UpdateIPSet" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateIPSet'" '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 "ipSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateIPSet Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

newUpdateIPSet Source #

Create a value of UpdateIPSet 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:UpdateIPSet', updateIPSet_location - The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

$sel:activate:UpdateIPSet', updateIPSet_activate - The updated Boolean value that specifies whether the IPSet is active or not.

$sel:name:UpdateIPSet', updateIPSet_name - The unique ID that specifies the IPSet that you want to update.

$sel:detectorId:UpdateIPSet', updateIPSet_detectorId - The detectorID that specifies the GuardDuty service whose IPSet you want to update.

$sel:ipSetId:UpdateIPSet', updateIPSet_ipSetId - The unique ID that specifies the IPSet that you want to update.

Request Lenses

updateIPSet_location :: Lens' UpdateIPSet (Maybe Text) Source #

The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

updateIPSet_activate :: Lens' UpdateIPSet (Maybe Bool) Source #

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

updateIPSet_name :: Lens' UpdateIPSet (Maybe Text) Source #

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

updateIPSet_detectorId :: Lens' UpdateIPSet Text Source #

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

updateIPSet_ipSetId :: Lens' UpdateIPSet Text Source #

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

Destructuring the Response

data UpdateIPSetResponse Source #

See: newUpdateIPSetResponse smart constructor.

Constructors

UpdateIPSetResponse' 

Fields

Instances

Instances details
Eq UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Read UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Show UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Generic UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Associated Types

type Rep UpdateIPSetResponse :: Type -> Type #

NFData UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

Methods

rnf :: UpdateIPSetResponse -> () #

type Rep UpdateIPSetResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateIPSet

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

newUpdateIPSetResponse Source #

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

Response Lenses