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

Description

Updates the specified event with a new label.

Synopsis

Creating a Request

data UpdateEventLabel Source #

See: newUpdateEventLabel smart constructor.

Constructors

UpdateEventLabel' 

Fields

  • eventId :: Text

    The ID of the event associated with the label to update.

  • eventTypeName :: Text

    The event type of the event associated with the label to update.

  • assignedLabel :: Text

    The new label to assign to the event.

  • labelTimestamp :: Text

    The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

Instances

Instances details
Eq UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Read UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Show UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Generic UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Associated Types

type Rep UpdateEventLabel :: Type -> Type #

NFData UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Methods

rnf :: UpdateEventLabel -> () #

Hashable UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

ToJSON UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

AWSRequest UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Associated Types

type AWSResponse UpdateEventLabel #

ToHeaders UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

ToPath UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

ToQuery UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

type Rep UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

type Rep UpdateEventLabel = D1 ('MetaData "UpdateEventLabel" "Amazonka.FraudDetector.UpdateEventLabel" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateEventLabel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "assignedLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "labelTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateEventLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

newUpdateEventLabel Source #

Create a value of UpdateEventLabel 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:eventId:UpdateEventLabel', updateEventLabel_eventId - The ID of the event associated with the label to update.

$sel:eventTypeName:UpdateEventLabel', updateEventLabel_eventTypeName - The event type of the event associated with the label to update.

$sel:assignedLabel:UpdateEventLabel', updateEventLabel_assignedLabel - The new label to assign to the event.

$sel:labelTimestamp:UpdateEventLabel', updateEventLabel_labelTimestamp - The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

Request Lenses

updateEventLabel_eventId :: Lens' UpdateEventLabel Text Source #

The ID of the event associated with the label to update.

updateEventLabel_eventTypeName :: Lens' UpdateEventLabel Text Source #

The event type of the event associated with the label to update.

updateEventLabel_assignedLabel :: Lens' UpdateEventLabel Text Source #

The new label to assign to the event.

updateEventLabel_labelTimestamp :: Lens' UpdateEventLabel Text Source #

The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

Destructuring the Response

data UpdateEventLabelResponse Source #

See: newUpdateEventLabelResponse smart constructor.

Constructors

UpdateEventLabelResponse' 

Fields

Instances

Instances details
Eq UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Read UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Show UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Generic UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

Associated Types

type Rep UpdateEventLabelResponse :: Type -> Type #

NFData UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

type Rep UpdateEventLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateEventLabel

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

newUpdateEventLabelResponse Source #

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

Response Lenses