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

Description

 
Synopsis

Documentation

data EventsResponse Source #

Provides information about endpoints and the events that they're associated with.

See: newEventsResponse smart constructor.

Constructors

EventsResponse' 

Fields

  • results :: Maybe (HashMap Text ItemResponse)

    A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.

Instances

Instances details
Eq EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Read EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Show EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Generic EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Associated Types

type Rep EventsResponse :: Type -> Type #

NFData EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Methods

rnf :: EventsResponse -> () #

Hashable EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

FromJSON EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

type Rep EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

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

newEventsResponse :: EventsResponse Source #

Create a value of EventsResponse 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:results:EventsResponse', eventsResponse_results - A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.

eventsResponse_results :: Lens' EventsResponse (Maybe (HashMap Text ItemResponse)) Source #

A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.