libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.EventItemResponse

Description

 
Synopsis

Documentation

data EventItemResponse Source #

Provides the status code and message that result from processing an event.

See: newEventItemResponse smart constructor.

Constructors

EventItemResponse' 

Fields

  • message :: Maybe Text

    A custom message that's returned in the response as a result of processing the event.

  • statusCode :: Maybe Int

    The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.

Instances

Instances details
Eq EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

Read EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

Show EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

Generic EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

Associated Types

type Rep EventItemResponse :: Type -> Type #

NFData EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

Methods

rnf :: EventItemResponse -> () #

Hashable EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

FromJSON EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

type Rep EventItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventItemResponse

type Rep EventItemResponse = D1 ('MetaData "EventItemResponse" "Amazonka.Pinpoint.Types.EventItemResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "EventItemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newEventItemResponse :: EventItemResponse Source #

Create a value of EventItemResponse 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:message:EventItemResponse', eventItemResponse_message - A custom message that's returned in the response as a result of processing the event.

$sel:statusCode:EventItemResponse', eventItemResponse_statusCode - The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.

eventItemResponse_message :: Lens' EventItemResponse (Maybe Text) Source #

A custom message that's returned in the response as a result of processing the event.

eventItemResponse_statusCode :: Lens' EventItemResponse (Maybe Int) Source #

The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.