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

Description

Updates the Amazon GuardDuty detector specified by the detectorId.

Synopsis

Creating a Request

data UpdateDetector Source #

See: newUpdateDetector smart constructor.

Constructors

UpdateDetector' 

Fields

Instances

Instances details
Eq UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Read UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Show UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Generic UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Associated Types

type Rep UpdateDetector :: Type -> Type #

NFData UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Methods

rnf :: UpdateDetector -> () #

Hashable UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

ToJSON UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

AWSRequest UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Associated Types

type AWSResponse UpdateDetector #

ToHeaders UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

ToPath UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

ToQuery UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

type Rep UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

type Rep UpdateDetector = D1 ('MetaData "UpdateDetector" "Amazonka.GuardDuty.UpdateDetector" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateDetector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "findingPublishingFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingPublishingFrequency)) :*: S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceConfigurations))) :*: (S1 ('MetaSel ('Just "enable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

newUpdateDetector Source #

Create a value of UpdateDetector 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:findingPublishingFrequency:UpdateDetector', updateDetector_findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

$sel:dataSources:UpdateDetector', updateDetector_dataSources - Describes which data sources will be updated.

$sel:enable:UpdateDetector', updateDetector_enable - Specifies whether the detector is enabled or not enabled.

$sel:detectorId:UpdateDetector', updateDetector_detectorId - The unique ID of the detector to update.

Request Lenses

updateDetector_findingPublishingFrequency :: Lens' UpdateDetector (Maybe FindingPublishingFrequency) Source #

An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

updateDetector_dataSources :: Lens' UpdateDetector (Maybe DataSourceConfigurations) Source #

Describes which data sources will be updated.

updateDetector_enable :: Lens' UpdateDetector (Maybe Bool) Source #

Specifies whether the detector is enabled or not enabled.

updateDetector_detectorId :: Lens' UpdateDetector Text Source #

The unique ID of the detector to update.

Destructuring the Response

data UpdateDetectorResponse Source #

See: newUpdateDetectorResponse smart constructor.

Constructors

UpdateDetectorResponse' 

Fields

Instances

Instances details
Eq UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Read UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Show UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Generic UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Associated Types

type Rep UpdateDetectorResponse :: Type -> Type #

NFData UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

Methods

rnf :: UpdateDetectorResponse -> () #

type Rep UpdateDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateDetector

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

newUpdateDetectorResponse Source #

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

Response Lenses