amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Show EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

NFData EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Methods

rnf :: EventsResponse -> () #

Eq EventsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EventsResponse

Hashable 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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.