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

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data ListThreatIntelSets Source #

See: newListThreatIntelSets smart constructor.

Constructors

ListThreatIntelSets' 

Fields

  • nextToken :: Maybe Text

    You can use this parameter to paginate results in the response. 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 threatIntelSet is associated with.

Instances

Instances details
Eq ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Read ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Show ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Generic ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Associated Types

type Rep ListThreatIntelSets :: Type -> Type #

NFData ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Methods

rnf :: ListThreatIntelSets -> () #

Hashable ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

AWSPager ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

AWSRequest ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Associated Types

type AWSResponse ListThreatIntelSets #

ToHeaders ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

ToPath ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

ToQuery ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

type Rep ListThreatIntelSets Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

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

Defined in Amazonka.GuardDuty.ListThreatIntelSets

newListThreatIntelSets Source #

Create a value of ListThreatIntelSets 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:ListThreatIntelSets', listThreatIntelSets_nextToken - You can use this parameter to paginate results in the response. 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:ListThreatIntelSets', listThreatIntelSets_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:ListThreatIntelSets', listThreatIntelSets_detectorId - The unique ID of the detector that the threatIntelSet is associated with.

Request Lenses

listThreatIntelSets_nextToken :: Lens' ListThreatIntelSets (Maybe Text) Source #

You can use this parameter to paginate results in the response. 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.

listThreatIntelSets_maxResults :: Lens' ListThreatIntelSets (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.

listThreatIntelSets_detectorId :: Lens' ListThreatIntelSets Text Source #

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

Destructuring the Response

data ListThreatIntelSetsResponse Source #

See: newListThreatIntelSetsResponse smart constructor.

Constructors

ListThreatIntelSetsResponse' 

Fields

Instances

Instances details
Eq ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Read ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Show ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Generic ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

Associated Types

type Rep ListThreatIntelSetsResponse :: Type -> Type #

NFData ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

type Rep ListThreatIntelSetsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListThreatIntelSets

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

newListThreatIntelSetsResponse Source #

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

$sel:httpStatus:ListThreatIntelSetsResponse', listThreatIntelSetsResponse_httpStatus - The response's http status code.

$sel:threatIntelSetIds:ListThreatIntelSetsResponse', listThreatIntelSetsResponse_threatIntelSetIds - The IDs of the ThreatIntelSet resources.

Response Lenses

listThreatIntelSetsResponse_nextToken :: Lens' ListThreatIntelSetsResponse (Maybe Text) Source #

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