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

Description

Lists detectorIds of all the existing Amazon GuardDuty detector resources.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDetectors Source #

See: newListDetectors smart constructor.

Constructors

ListDetectors' 

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.

Instances

Instances details
Eq ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Read ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Show ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Generic ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Associated Types

type Rep ListDetectors :: Type -> Type #

NFData ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Methods

rnf :: ListDetectors -> () #

Hashable ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

AWSPager ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

AWSRequest ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Associated Types

type AWSResponse ListDetectors #

ToHeaders ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

ToPath ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

ToQuery ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

type Rep ListDetectors Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

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

Defined in Amazonka.GuardDuty.ListDetectors

newListDetectors :: ListDetectors Source #

Create a value of ListDetectors 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:ListDetectors', listDetectors_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:ListDetectors', listDetectors_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.

Request Lenses

listDetectors_nextToken :: Lens' ListDetectors (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.

listDetectors_maxResults :: Lens' ListDetectors (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.

Destructuring the Response

data ListDetectorsResponse Source #

See: newListDetectorsResponse smart constructor.

Constructors

ListDetectorsResponse' 

Fields

Instances

Instances details
Eq ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Read ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Show ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Generic ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Associated Types

type Rep ListDetectorsResponse :: Type -> Type #

NFData ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

Methods

rnf :: ListDetectorsResponse -> () #

type Rep ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListDetectors

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

newListDetectorsResponse Source #

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

$sel:httpStatus:ListDetectorsResponse', listDetectorsResponse_httpStatus - The response's http status code.

$sel:detectorIds:ListDetectorsResponse', listDetectorsResponse_detectorIds - A list of detector IDs.

Response Lenses

listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text) Source #

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