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

Description

Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple 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 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

Synopsis

Creating a Request

data GetModels Source #

See: newGetModels smart constructor.

Constructors

GetModels' 

Fields

Instances

Instances details
Eq GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Read GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Show GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Generic GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Associated Types

type Rep GetModels :: Type -> Type #

NFData GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Methods

rnf :: GetModels -> () #

Hashable GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

ToJSON GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

AWSRequest GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Associated Types

type AWSResponse GetModels #

ToHeaders GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Methods

toHeaders :: GetModels -> [Header] #

ToPath GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

ToQuery GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

type Rep GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

type Rep GetModels = D1 ('MetaData "GetModels" "Amazonka.FraudDetector.GetModels" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "GetModels'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelTypeEnum)) :*: S1 ('MetaSel ('Just "modelId") '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 GetModels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

newGetModels :: GetModels Source #

Create a value of GetModels 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:modelType:GetModels', getModels_modelType - The model type.

$sel:modelId:GetModels', getModels_modelId - The model ID.

$sel:nextToken:GetModels', getModels_nextToken - The next token for the subsequent request.

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

Request Lenses

getModels_nextToken :: Lens' GetModels (Maybe Text) Source #

The next token for the subsequent request.

getModels_maxResults :: Lens' GetModels (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetModelsResponse Source #

See: newGetModelsResponse smart constructor.

Constructors

GetModelsResponse' 

Fields

Instances

Instances details
Eq GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Read GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Show GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Generic GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Associated Types

type Rep GetModelsResponse :: Type -> Type #

NFData GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

Methods

rnf :: GetModelsResponse -> () #

type Rep GetModelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetModels

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

newGetModelsResponse Source #

Create a value of GetModelsResponse 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:models:GetModelsResponse', getModelsResponse_models - The array of models.

$sel:nextToken:GetModels', getModelsResponse_nextToken - The next page token to be used in subsequent requests.

$sel:httpStatus:GetModelsResponse', getModelsResponse_httpStatus - The response's http status code.

Response Lenses

getModelsResponse_nextToken :: Lens' GetModelsResponse (Maybe Text) Source #

The next page token to be used in subsequent requests.

getModelsResponse_httpStatus :: Lens' GetModelsResponse Int Source #

The response's http status code.