libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector
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.FraudDetector.GetDetectors

Description

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

Synopsis

Creating a Request

data GetDetectors Source #

See: newGetDetectors smart constructor.

Constructors

GetDetectors' 

Fields

Instances

Instances details
Eq GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Read GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Show GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Generic GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Associated Types

type Rep GetDetectors :: Type -> Type #

NFData GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Methods

rnf :: GetDetectors -> () #

Hashable GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

ToJSON GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

AWSRequest GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Associated Types

type AWSResponse GetDetectors #

ToHeaders GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

ToPath GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

ToQuery GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

type Rep GetDetectors Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

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

Defined in Amazonka.FraudDetector.GetDetectors

newGetDetectors :: GetDetectors Source #

Create a value of GetDetectors 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:GetDetectors', getDetectors_nextToken - The next token for the subsequent request.

$sel:detectorId:GetDetectors', getDetectors_detectorId - The detector ID.

$sel:maxResults:GetDetectors', getDetectors_maxResults - The maximum number of objects to return for the request.

Request Lenses

getDetectors_nextToken :: Lens' GetDetectors (Maybe Text) Source #

The next token for the subsequent request.

getDetectors_maxResults :: Lens' GetDetectors (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetDetectorsResponse Source #

See: newGetDetectorsResponse smart constructor.

Constructors

GetDetectorsResponse' 

Fields

Instances

Instances details
Eq GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Read GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Show GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Generic GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Associated Types

type Rep GetDetectorsResponse :: Type -> Type #

NFData GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

Methods

rnf :: GetDetectorsResponse -> () #

type Rep GetDetectorsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetDetectors

type Rep GetDetectorsResponse = D1 ('MetaData "GetDetectorsResponse" "Amazonka.FraudDetector.GetDetectors" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "GetDetectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Detector])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDetectorsResponse Source #

Create a value of GetDetectorsResponse 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:GetDetectors', getDetectorsResponse_nextToken - The next page token.

$sel:detectors:GetDetectorsResponse', getDetectorsResponse_detectors - The detectors.

$sel:httpStatus:GetDetectorsResponse', getDetectorsResponse_httpStatus - The response's http status code.

Response Lenses