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

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

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

  • detectorId :: Text

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

Instances

Instances details
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

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 #

Generic ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Associated Types

type Rep ListFilters :: Type -> Type #

Read ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Show ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

NFData ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Methods

rnf :: ListFilters -> () #

Eq ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Hashable ListFilters Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

type AWSResponse 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" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListFilters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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

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.

ListFilters, listFilters_detectorId - The unique ID of the detector that the filter is associated with.

Request Lenses

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_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_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
Generic ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Associated Types

type Rep ListFiltersResponse :: Type -> Type #

Read ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Show ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

NFData ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

Methods

rnf :: ListFiltersResponse -> () #

Eq ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

type Rep ListFiltersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListFilters

type Rep ListFiltersResponse = D1 ('MetaData "ListFiltersResponse" "Amazonka.GuardDuty.ListFilters" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" '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:

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.