Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.Pinpoint.Types.ItemResponse
Description
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
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.