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

Description

 
Synopsis

Documentation

data ItemResponse Source #

Provides information about the results of a request to create or update an endpoint that's associated with an event.

See: newItemResponse smart constructor.

Constructors

ItemResponse' 

Fields

Instances

Instances details
Eq ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

Read ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

Show ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

Generic ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

Associated Types

type Rep ItemResponse :: Type -> Type #

NFData ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

Methods

rnf :: ItemResponse -> () #

Hashable ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

FromJSON ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

type Rep ItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ItemResponse

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

newItemResponse :: ItemResponse Source #

Create a value of ItemResponse 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:endpointItemResponse:ItemResponse', itemResponse_endpointItemResponse - The response that was received after the endpoint data was accepted.

$sel:eventsItemResponse:ItemResponse', itemResponse_eventsItemResponse - A multipart response object that contains a key and a value for each event in the request. In each object, the event ID is the key and an EventItemResponse object is the value.

itemResponse_endpointItemResponse :: Lens' ItemResponse (Maybe EndpointItemResponse) Source #

The response that was received after the endpoint data was accepted.

itemResponse_eventsItemResponse :: Lens' ItemResponse (Maybe (HashMap Text EventItemResponse)) Source #

A multipart response object that contains a key and a value for each event in the request. In each object, the event ID is the key and an EventItemResponse object is the value.