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.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
Eq GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Read GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Show GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Generic GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type Rep GetDetector :: Type -> Type #

NFData GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Methods

rnf :: GetDetector -> () #

Hashable GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

AWSRequest GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type AWSResponse GetDetector #

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

type Rep GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

type Rep GetDetector = D1 ('MetaData "GetDetector" "Amazonka.GuardDuty.GetDetector" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "GetDetector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDetector Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

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:

$sel:detectorId: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
Eq GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Read GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Show GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Generic GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Associated Types

type Rep GetDetectorResponse :: Type -> Type #

NFData GetDetectorResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetDetector

Methods

rnf :: GetDetectorResponse -> () #

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:

$sel:createdAt:GetDetectorResponse', getDetectorResponse_createdAt - The timestamp of when the detector was created.

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

$sel:dataSources:GetDetectorResponse', getDetectorResponse_dataSources - Describes which data sources are enabled for the detector.

$sel:updatedAt:GetDetectorResponse', getDetectorResponse_updatedAt - The last-updated timestamp for the detector.

$sel:tags:GetDetectorResponse', getDetectorResponse_tags - The tags of the detector resource.

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

$sel:serviceRole:GetDetectorResponse', getDetectorResponse_serviceRole - The GuardDuty service role.

$sel:status: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.