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

  • 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 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 IPSet is associated with.

Instances

Instances details
Eq ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Read ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Show ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Generic ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSets :: Type -> Type #

NFData ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Methods

rnf :: ListIPSets -> () #

Hashable 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 #

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

type Rep ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSets = D1 ('MetaData "ListIPSets" "Amazonka.GuardDuty.ListIPSets" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ListIPSets'" '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 ListIPSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

newListIPSets Source #

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

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

$sel:detectorId:ListIPSets', listIPSets_detectorId - The unique ID of the detector that the IPSet is associated with.

Request Lenses

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_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_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
Eq ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Read ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Show ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Generic ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSetsResponse :: Type -> Type #

NFData ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

Methods

rnf :: ListIPSetsResponse -> () #

type Rep ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListIPSets

type Rep ListIPSetsResponse = D1 ('MetaData "ListIPSetsResponse" "Amazonka.GuardDuty.ListIPSets" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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:

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