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 |
Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.
Synopsis
- data PutEvents = PutEvents' {}
- newPutEvents :: Text -> EventsRequest -> PutEvents
- putEvents_applicationId :: Lens' PutEvents Text
- putEvents_eventsRequest :: Lens' PutEvents EventsRequest
- data PutEventsResponse = PutEventsResponse' {}
- newPutEventsResponse :: Int -> EventsResponse -> PutEventsResponse
- putEventsResponse_httpStatus :: Lens' PutEventsResponse Int
- putEventsResponse_eventsResponse :: Lens' PutEventsResponse EventsResponse
Creating a Request
See: newPutEvents
smart constructor.
PutEvents' | |
|
Instances
Create a value of PutEvents
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:applicationId:PutEvents'
, putEvents_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:eventsRequest:PutEvents'
, putEvents_eventsRequest
- Undocumented member.
Request Lenses
putEvents_applicationId :: Lens' PutEvents Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
putEvents_eventsRequest :: Lens' PutEvents EventsRequest Source #
Undocumented member.
Destructuring the Response
data PutEventsResponse Source #
See: newPutEventsResponse
smart constructor.
PutEventsResponse' | |
|
Instances
:: Int | |
-> EventsResponse | |
-> PutEventsResponse |
Create a value of PutEventsResponse
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:httpStatus:PutEventsResponse'
, putEventsResponse_httpStatus
- The response's http status code.
$sel:eventsResponse:PutEventsResponse'
, putEventsResponse_eventsResponse
- Undocumented member.
Response Lenses
putEventsResponse_httpStatus :: Lens' PutEventsResponse Int Source #
The response's http status code.
putEventsResponse_eventsResponse :: Lens' PutEventsResponse EventsResponse Source #
Undocumented member.