| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Pinpoint.PutEventStream
Description
Use to create or update the event stream for an app.
Synopsis
- putEventStream :: Text -> WriteEventStream -> PutEventStream
- data PutEventStream
- pesApplicationId :: Lens' PutEventStream Text
- pesWriteEventStream :: Lens' PutEventStream WriteEventStream
- putEventStreamResponse :: Int -> EventStream -> PutEventStreamResponse
- data PutEventStreamResponse
- pesrsResponseStatus :: Lens' PutEventStreamResponse Int
- pesrsEventStream :: Lens' PutEventStreamResponse EventStream
Creating a Request
Arguments
| :: Text | |
| -> WriteEventStream | |
| -> PutEventStream |
Creates a value of PutEventStream with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pesApplicationId- ApplicationIdpesWriteEventStream- EventStream to write.
data PutEventStream Source #
See: putEventStream smart constructor.
Instances
Request Lenses
pesApplicationId :: Lens' PutEventStream Text Source #
ApplicationId
pesWriteEventStream :: Lens' PutEventStream WriteEventStream Source #
EventStream to write.
Destructuring the Response
putEventStreamResponse Source #
Arguments
| :: Int | |
| -> EventStream | |
| -> PutEventStreamResponse |
Creates a value of PutEventStreamResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pesrsResponseStatus- -- | The response status code.pesrsEventStream- Undocumented member.
data PutEventStreamResponse Source #
See: putEventStreamResponse smart constructor.
Instances
Response Lenses
pesrsResponseStatus :: Lens' PutEventStreamResponse Int Source #
- - | The response status code.
pesrsEventStream :: Lens' PutEventStreamResponse EventStream Source #
Undocumented member.