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

Description

Creates or updates a detector.

Synopsis

Creating a Request

data PutDetector Source #

See: newPutDetector smart constructor.

Constructors

PutDetector' 

Fields

Instances

Instances details
Eq PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Read PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Show PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Generic PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Associated Types

type Rep PutDetector :: Type -> Type #

NFData PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Methods

rnf :: PutDetector -> () #

Hashable PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

ToJSON PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

AWSRequest PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Associated Types

type AWSResponse PutDetector #

ToHeaders PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Methods

toHeaders :: PutDetector -> [Header] #

ToPath PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

ToQuery PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

type Rep PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

type Rep PutDetector = D1 ('MetaData "PutDetector" "Amazonka.FraudDetector.PutDetector" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "PutDetector'" '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 "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PutDetector Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

newPutDetector Source #

Create a value of PutDetector 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:PutDetector', putDetector_description - The description of the detector.

$sel:tags:PutDetector', putDetector_tags - A collection of key and value pairs.

$sel:detectorId:PutDetector', putDetector_detectorId - The detector ID.

$sel:eventTypeName:PutDetector', putDetector_eventTypeName - The name of the event type.

Request Lenses

putDetector_description :: Lens' PutDetector (Maybe Text) Source #

The description of the detector.

putDetector_tags :: Lens' PutDetector (Maybe [Tag]) Source #

A collection of key and value pairs.

putDetector_eventTypeName :: Lens' PutDetector Text Source #

The name of the event type.

Destructuring the Response

data PutDetectorResponse Source #

See: newPutDetectorResponse smart constructor.

Constructors

PutDetectorResponse' 

Fields

Instances

Instances details
Eq PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Read PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Show PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Generic PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Associated Types

type Rep PutDetectorResponse :: Type -> Type #

NFData PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

Methods

rnf :: PutDetectorResponse -> () #

type Rep PutDetectorResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutDetector

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

newPutDetectorResponse Source #

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

Response Lenses