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

Description

Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

Synopsis

Creating a Request

data GetBatchPredictionJobs Source #

See: newGetBatchPredictionJobs smart constructor.

Constructors

GetBatchPredictionJobs' 

Fields

Instances

Instances details
Eq GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Read GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Show GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Generic GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Associated Types

type Rep GetBatchPredictionJobs :: Type -> Type #

NFData GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Methods

rnf :: GetBatchPredictionJobs -> () #

Hashable GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

ToJSON GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

AWSRequest GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Associated Types

type AWSResponse GetBatchPredictionJobs #

ToHeaders GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

ToPath GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

ToQuery GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

type Rep GetBatchPredictionJobs Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

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

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

newGetBatchPredictionJobs :: GetBatchPredictionJobs Source #

Create a value of GetBatchPredictionJobs 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:jobId:GetBatchPredictionJobs', getBatchPredictionJobs_jobId - The batch prediction job for which to get the details.

$sel:nextToken:GetBatchPredictionJobs', getBatchPredictionJobs_nextToken - The next token from the previous request.

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

Request Lenses

getBatchPredictionJobs_jobId :: Lens' GetBatchPredictionJobs (Maybe Text) Source #

The batch prediction job for which to get the details.

getBatchPredictionJobs_nextToken :: Lens' GetBatchPredictionJobs (Maybe Text) Source #

The next token from the previous request.

getBatchPredictionJobs_maxResults :: Lens' GetBatchPredictionJobs (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetBatchPredictionJobsResponse Source #

See: newGetBatchPredictionJobsResponse smart constructor.

Constructors

GetBatchPredictionJobsResponse' 

Fields

Instances

Instances details
Eq GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Read GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Show GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Generic GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

Associated Types

type Rep GetBatchPredictionJobsResponse :: Type -> Type #

NFData GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

type Rep GetBatchPredictionJobsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetBatchPredictionJobs

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

newGetBatchPredictionJobsResponse Source #

Create a value of GetBatchPredictionJobsResponse 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:batchPredictions:GetBatchPredictionJobsResponse', getBatchPredictionJobsResponse_batchPredictions - An array containing the details of each batch prediction job.

$sel:nextToken:GetBatchPredictionJobs', getBatchPredictionJobsResponse_nextToken - The next token for the subsequent request.

$sel:httpStatus:GetBatchPredictionJobsResponse', getBatchPredictionJobsResponse_httpStatus - The response's http status code.

Response Lenses

getBatchPredictionJobsResponse_batchPredictions :: Lens' GetBatchPredictionJobsResponse (Maybe [BatchPrediction]) Source #

An array containing the details of each batch prediction job.