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 |
This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
Synopsis
- data PutPartnerEvents = PutPartnerEvents' {}
- newPutPartnerEvents :: NonEmpty PutPartnerEventsRequestEntry -> PutPartnerEvents
- putPartnerEvents_entries :: Lens' PutPartnerEvents (NonEmpty PutPartnerEventsRequestEntry)
- data PutPartnerEventsResponse = PutPartnerEventsResponse' {}
- newPutPartnerEventsResponse :: Int -> PutPartnerEventsResponse
- putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int)
- putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry])
- putPartnerEventsResponse_httpStatus :: Lens' PutPartnerEventsResponse Int
Creating a Request
data PutPartnerEvents Source #
See: newPutPartnerEvents
smart constructor.
PutPartnerEvents' | |
|
Instances
Create a value of PutPartnerEvents
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:entries:PutPartnerEvents'
, putPartnerEvents_entries
- The list of events to write to the event bus.
Request Lenses
putPartnerEvents_entries :: Lens' PutPartnerEvents (NonEmpty PutPartnerEventsRequestEntry) Source #
The list of events to write to the event bus.
Destructuring the Response
data PutPartnerEventsResponse Source #
See: newPutPartnerEventsResponse
smart constructor.
PutPartnerEventsResponse' | |
|
Instances
newPutPartnerEventsResponse Source #
Create a value of PutPartnerEventsResponse
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:failedEntryCount:PutPartnerEventsResponse'
, putPartnerEventsResponse_failedEntryCount
- The number of events from this operation that could not be written to
the partner event bus.
$sel:entries:PutPartnerEvents'
, putPartnerEventsResponse_entries
- The list of events from this operation that were successfully written to
the partner event bus.
$sel:httpStatus:PutPartnerEventsResponse'
, putPartnerEventsResponse_httpStatus
- The response's http status code.
Response Lenses
putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int) Source #
The number of events from this operation that could not be written to the partner event bus.
putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry]) Source #
The list of events from this operation that were successfully written to the partner event bus.
putPartnerEventsResponse_httpStatus :: Lens' PutPartnerEventsResponse Int Source #
The response's http status code.