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

Description

Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListIPSets Source #

See: newListIPSets smart constructor.

Constructors

ListIPSets' 

Fields

  • maxResults :: Maybe Natural

    You can use this parameter to indicate the maximum number of items 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 IPSet is associated with.

Instances

Instances details
ToHeaders ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Methods

toHeaders :: ListIPSets -> [Header] #

ToPath ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

ToQuery ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

AWSPager ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

AWSRequest ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Associated Types

type AWSResponse ListIPSets #

Generic ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSets :: Type -> Type #

Read ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Show ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

NFData ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Methods

rnf :: ListIPSets -> () #

Eq ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Hashable ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type AWSResponse ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSets = D1 ('MetaData "ListIPSets" "Amazonka.GuardDuty.ListIPSets" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListIPSets'" '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))))

newListIPSets Source #

Arguments

:: Text

ListIPSets

-> ListIPSets 

Create a value of ListIPSets 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:ListIPSets', listIPSets_maxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

ListIPSets, listIPSets_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.

ListIPSets, listIPSets_detectorId - The unique ID of the detector that the IPSet is associated with.

Request Lenses

listIPSets_maxResults :: Lens' ListIPSets (Maybe Natural) Source #

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

listIPSets_nextToken :: Lens' ListIPSets (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.

listIPSets_detectorId :: Lens' ListIPSets Text Source #

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

Destructuring the Response

data ListIPSetsResponse Source #

See: newListIPSetsResponse smart constructor.

Constructors

ListIPSetsResponse' 

Fields

Instances

Instances details
Generic ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSetsResponse :: Type -> Type #

Read ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Show ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

NFData ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Methods

rnf :: ListIPSetsResponse -> () #

Eq ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSetsResponse = D1 ('MetaData "ListIPSetsResponse" "Amazonka.GuardDuty.ListIPSets" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListIPSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "ipSetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListIPSetsResponse Source #

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

ListIPSets, listIPSetsResponse_nextToken - The pagination parameter to be used on the next list operation to retrieve more items.

$sel:httpStatus:ListIPSetsResponse', listIPSetsResponse_httpStatus - The response's http status code.

$sel:ipSetIds:ListIPSetsResponse', listIPSetsResponse_ipSetIds - The IDs of the IPSet resources.

Response Lenses

listIPSetsResponse_nextToken :: Lens' ListIPSetsResponse (Maybe Text) Source #

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

listIPSetsResponse_ipSetIds :: Lens' ListIPSetsResponse [Text] Source #

The IDs of the IPSet resources.