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

Description

Returns the details of the filter specified by the filter name.

Synopsis

Creating a Request

data GetFilter Source #

See: newGetFilter smart constructor.

Constructors

GetFilter' 

Fields

  • detectorId :: Text

    The unique ID of the detector that the filter is associated with.

  • filterName :: Text

    The name of the filter you want to get.

Instances

Instances details
Eq GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Read GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Show GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Generic GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Associated Types

type Rep GetFilter :: Type -> Type #

NFData GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Methods

rnf :: GetFilter -> () #

Hashable GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

AWSRequest GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Associated Types

type AWSResponse GetFilter #

ToHeaders GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Methods

toHeaders :: GetFilter -> [Header] #

ToPath GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

ToQuery GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

type Rep GetFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

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

Defined in Amazonka.GuardDuty.GetFilter

newGetFilter Source #

Create a value of GetFilter 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:GetFilter', getFilter_detectorId - The unique ID of the detector that the filter is associated with.

$sel:filterName:GetFilter', getFilter_filterName - The name of the filter you want to get.

Request Lenses

getFilter_detectorId :: Lens' GetFilter Text Source #

The unique ID of the detector that the filter is associated with.

getFilter_filterName :: Lens' GetFilter Text Source #

The name of the filter you want to get.

Destructuring the Response

data GetFilterResponse Source #

See: newGetFilterResponse smart constructor.

Constructors

GetFilterResponse' 

Fields

Instances

Instances details
Eq GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Read GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Show GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Generic GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Associated Types

type Rep GetFilterResponse :: Type -> Type #

NFData GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

Methods

rnf :: GetFilterResponse -> () #

type Rep GetFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetFilter

newGetFilterResponse Source #

Create a value of GetFilterResponse 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:description:GetFilterResponse', getFilterResponse_description - The description of the filter.

$sel:rank:GetFilterResponse', getFilterResponse_rank - Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

$sel:tags:GetFilterResponse', getFilterResponse_tags - The tags of the filter resource.

$sel:httpStatus:GetFilterResponse', getFilterResponse_httpStatus - The response's http status code.

$sel:name:GetFilterResponse', getFilterResponse_name - The name of the filter.

$sel:action:GetFilterResponse', getFilterResponse_action - Specifies the action that is to be applied to the findings that match the filter.

$sel:findingCriteria:GetFilterResponse', getFilterResponse_findingCriteria - Represents the criteria to be used in the filter for querying findings.

Response Lenses

getFilterResponse_rank :: Lens' GetFilterResponse (Maybe Natural) Source #

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

getFilterResponse_httpStatus :: Lens' GetFilterResponse Int Source #

The response's http status code.

getFilterResponse_action :: Lens' GetFilterResponse FilterAction Source #

Specifies the action that is to be applied to the findings that match the filter.

getFilterResponse_findingCriteria :: Lens' GetFilterResponse FindingCriteria Source #

Represents the criteria to be used in the filter for querying findings.