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

Description

Retrieves an Amazon GuardDuty detector specified by the detectorId.

Synopsis

Creating a Request

data GetDetector Source #

See: newGetDetector smart constructor.

Constructors

GetDetector' 

Fields

Instances

Instances details
ToHeaders GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Methods

toHeaders :: GetDetector -> [Header] #

ToPath GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

ToQuery GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

AWSRequest GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type AWSResponse GetDetector #

Generic GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type Rep GetDetector :: Type -> Type #

Read GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Show GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

NFData GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Methods

rnf :: GetDetector -> () #

Eq GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Hashable GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

type AWSResponse GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

type Rep GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

type Rep GetDetector = D1 ('MetaData "GetDetector" "Amazonka.GuardDuty.GetDetector" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "GetDetector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetDetector Source #

Create a value of GetDetector 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:

GetDetector, getDetector_detectorId - The unique ID of the detector that you want to get.

Request Lenses

getDetector_detectorId :: Lens' GetDetector Text Source #

The unique ID of the detector that you want to get.

Destructuring the Response

data GetDetectorResponse Source #

See: newGetDetectorResponse smart constructor.

Constructors

GetDetectorResponse' 

Fields

Instances

Instances details
Generic GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type Rep GetDetectorResponse :: Type -> Type #

Read GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Show GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

NFData GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Methods

rnf :: GetDetectorResponse -> () #

Eq GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

type Rep GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

newGetDetectorResponse Source #

Create a value of GetDetectorResponse 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:

GetDetectorResponse, getDetectorResponse_createdAt - The timestamp of when the detector was created.

GetDetectorResponse, getDetectorResponse_dataSources - Describes which data sources are enabled for the detector.

$sel:findingPublishingFrequency:GetDetectorResponse', getDetectorResponse_findingPublishingFrequency - The publishing frequency of the finding.

GetDetectorResponse, getDetectorResponse_tags - The tags of the detector resource.

GetDetectorResponse, getDetectorResponse_updatedAt - The last-updated timestamp for the detector.

$sel:httpStatus:GetDetectorResponse', getDetectorResponse_httpStatus - The response's http status code.

GetDetectorResponse, getDetectorResponse_serviceRole - The GuardDuty service role.

GetDetectorResponse, getDetectorResponse_status - The detector status.

Response Lenses

getDetectorResponse_createdAt :: Lens' GetDetectorResponse (Maybe Text) Source #

The timestamp of when the detector was created.

getDetectorResponse_dataSources :: Lens' GetDetectorResponse (Maybe DataSourceConfigurationsResult) Source #

Describes which data sources are enabled for the detector.

getDetectorResponse_updatedAt :: Lens' GetDetectorResponse (Maybe Text) Source #

The last-updated timestamp for the detector.