amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.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

AWSRequest GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type AWSResponse GetOutcomes #

Generic GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type Rep GetOutcomes :: Type -> Type #

Read GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Show GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

NFData GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Methods

rnf :: GetOutcomes -> () #

Eq GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Hashable GetOutcomes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

type AWSResponse 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" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "GetOutcomes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:maxResults:GetOutcomes', getOutcomes_maxResults - The maximum number of objects to return for the request.

GetOutcomes, getOutcomes_name - The name of the outcome or outcomes to get.

GetOutcomes, getOutcomes_nextToken - The next page token for the request.

Request Lenses

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

The maximum number of objects to return for the request.

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

The name of the outcome or outcomes to get.

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

The next page token for the request.

Destructuring the Response

data GetOutcomesResponse Source #

See: newGetOutcomesResponse smart constructor.

Constructors

GetOutcomesResponse' 

Fields

Instances

Instances details
Generic GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Associated Types

type Rep GetOutcomesResponse :: Type -> Type #

Read GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Show GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

NFData GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

Methods

rnf :: GetOutcomesResponse -> () #

Eq GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

type Rep GetOutcomesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetOutcomes

type Rep GetOutcomesResponse = D1 ('MetaData "GetOutcomesResponse" "Amazonka.FraudDetector.GetOutcomes" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "GetOutcomesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "outcomes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Outcome])) :*: 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:

GetOutcomes, getOutcomesResponse_nextToken - The next page token for subsequent requests.

GetOutcomesResponse, getOutcomesResponse_outcomes - The outcomes.

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