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

Description

Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.

Synopsis

Creating a Request

data GetOutcomes Source #

See: newGetOutcomes smart constructor.

Constructors

GetOutcomes' 

Fields

Instances

Instances details
Eq GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Read GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Show GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Generic GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type Rep GetOutcomes :: Type -> Type #

NFData GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Methods

rnf :: GetOutcomes -> () #

Hashable GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

ToJSON GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

AWSRequest GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type AWSResponse GetOutcomes #

ToHeaders GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Methods

toHeaders :: GetOutcomes -> [Header] #

ToPath GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

ToQuery GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

type Rep GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

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

Defined in Amazonka.FraudDetector.GetOutcomes

newGetOutcomes :: GetOutcomes Source #

Create a value of GetOutcomes 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:GetOutcomes', getOutcomes_nextToken - The next page token for the request.

$sel:name:GetOutcomes', getOutcomes_name - The name of the outcome or outcomes to get.

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

Request Lenses

getOutcomes_nextToken :: Lens' GetOutcomes (Maybe Text) Source #

The next page token for the request.

getOutcomes_name :: Lens' GetOutcomes (Maybe Text) Source #

The name of the outcome or outcomes to get.

getOutcomes_maxResults :: Lens' GetOutcomes (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetOutcomesResponse Source #

See: newGetOutcomesResponse smart constructor.

Constructors

GetOutcomesResponse' 

Fields

Instances

Instances details
Eq GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Read GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Show GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Generic GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type Rep GetOutcomesResponse :: Type -> Type #

NFData GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Methods

rnf :: GetOutcomesResponse -> () #

type Rep GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

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

newGetOutcomesResponse Source #

Create a value of GetOutcomesResponse 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:outcomes:GetOutcomesResponse', getOutcomesResponse_outcomes - The outcomes.

$sel:nextToken:GetOutcomes', getOutcomesResponse_nextToken - The next page token for subsequent requests.

$sel:httpStatus:GetOutcomesResponse', getOutcomesResponse_httpStatus - The response's http status code.

Response Lenses

getOutcomesResponse_nextToken :: Lens' GetOutcomesResponse (Maybe Text) Source #

The next page token for subsequent requests.