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

Description

Returns a paginated list of the current filters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFilters Source #

See: newListFilters smart constructor.

Constructors

ListFilters' 

Fields

  • nextToken :: Maybe Text

    You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

  • maxResults :: Maybe Natural

    You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

  • detectorId :: Text

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

Instances

Instances details
Eq ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Read ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Show ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Generic ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Associated Types

type Rep ListFilters :: Type -> Type #

NFData ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Methods

rnf :: ListFilters -> () #

Hashable ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

AWSPager ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

AWSRequest ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Associated Types

type AWSResponse ListFilters #

ToHeaders ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Methods

toHeaders :: ListFilters -> [Header] #

ToPath ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

ToQuery ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

type Rep ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

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

Defined in Amazonka.GuardDuty.ListFilters

newListFilters Source #

Create a value of ListFilters 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:nextToken:ListFilters', listFilters_nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

$sel:maxResults:ListFilters', listFilters_maxResults - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

$sel:detectorId:ListFilters', listFilters_detectorId - The unique ID of the detector that the filter is associated with.

Request Lenses

listFilters_nextToken :: Lens' ListFilters (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

listFilters_maxResults :: Lens' ListFilters (Maybe Natural) Source #

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

listFilters_detectorId :: Lens' ListFilters Text Source #

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

Destructuring the Response

data ListFiltersResponse Source #

See: newListFiltersResponse smart constructor.

Constructors

ListFiltersResponse' 

Fields

Instances

Instances details
Eq ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Read ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Show ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Generic ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Associated Types

type Rep ListFiltersResponse :: Type -> Type #

NFData ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Methods

rnf :: ListFiltersResponse -> () #

type Rep ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

type Rep ListFiltersResponse = D1 ('MetaData "ListFiltersResponse" "Amazonka.GuardDuty.ListFilters" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ListFiltersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "filterNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListFiltersResponse Source #

Create a value of ListFiltersResponse 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:nextToken:ListFilters', listFiltersResponse_nextToken - The pagination parameter to be used on the next list operation to retrieve more items.

$sel:httpStatus:ListFiltersResponse', listFiltersResponse_httpStatus - The response's http status code.

$sel:filterNames:ListFiltersResponse', listFiltersResponse_filterNames - A list of filter names.

Response Lenses

listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text) Source #

The pagination parameter to be used on the next list operation to retrieve more items.