| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchEvents.PutPartnerEvents
Description
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_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry])
- putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int)
- putPartnerEventsResponse_httpStatus :: Lens' PutPartnerEventsResponse Int
Creating a Request
data PutPartnerEvents Source #
See: newPutPartnerEvents smart constructor.
Constructors
| PutPartnerEvents' | |
Fields
| |
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:
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.
Constructors
| PutPartnerEventsResponse' | |
Fields
| |
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:
PutPartnerEvents, putPartnerEventsResponse_entries - The list of events from this operation that were successfully written to
the partner event bus.
$sel:failedEntryCount:PutPartnerEventsResponse', putPartnerEventsResponse_failedEntryCount - The number of events from this operation that could not be written to
the partner event bus.
$sel:httpStatus:PutPartnerEventsResponse', putPartnerEventsResponse_httpStatus - The response's http status code.
Response Lenses
putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry]) Source #
The list of events from this operation that were successfully written to the partner event bus.
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_httpStatus :: Lens' PutPartnerEventsResponse Int Source #
The response's http status code.