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

Description

Creates a model using the specified model type.

Synopsis

Creating a Request

data CreateModel Source #

See: newCreateModel smart constructor.

Constructors

CreateModel' 

Fields

Instances

Instances details
Eq CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Read CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Show CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Generic CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Associated Types

type Rep CreateModel :: Type -> Type #

NFData CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Methods

rnf :: CreateModel -> () #

Hashable CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

ToJSON CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

AWSRequest CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Associated Types

type AWSResponse CreateModel #

ToHeaders CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Methods

toHeaders :: CreateModel -> [Header] #

ToPath CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

ToQuery CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

type Rep CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

type Rep CreateModel = D1 ('MetaData "CreateModel" "Amazonka.FraudDetector.CreateModel" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateModel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ModelTypeEnum) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateModel Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

newCreateModel Source #

Create a value of CreateModel 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:description:CreateModel', createModel_description - The model description.

$sel:tags:CreateModel', createModel_tags - A collection of key and value pairs.

$sel:modelId:CreateModel', createModel_modelId - The model ID.

$sel:modelType:CreateModel', createModel_modelType - The model type.

$sel:eventTypeName:CreateModel', createModel_eventTypeName - The name of the event type.

Request Lenses

createModel_tags :: Lens' CreateModel (Maybe [Tag]) Source #

A collection of key and value pairs.

createModel_eventTypeName :: Lens' CreateModel Text Source #

The name of the event type.

Destructuring the Response

data CreateModelResponse Source #

See: newCreateModelResponse smart constructor.

Constructors

CreateModelResponse' 

Fields

Instances

Instances details
Eq CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Read CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Show CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Generic CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Associated Types

type Rep CreateModelResponse :: Type -> Type #

NFData CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

Methods

rnf :: CreateModelResponse -> () #

type Rep CreateModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModel

type Rep CreateModelResponse = D1 ('MetaData "CreateModelResponse" "Amazonka.FraudDetector.CreateModel" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateModelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateModelResponse Source #

Create a value of CreateModelResponse 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:httpStatus:CreateModelResponse', createModelResponse_httpStatus - The response's http status code.

Response Lenses