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 |
Use to create or update the event stream for an app.
- 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
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.
Request Lenses
pesApplicationId :: Lens' PutEventStream Text Source #
ApplicationId
pesWriteEventStream :: Lens' PutEventStream WriteEventStream Source #
EventStream to write.
Destructuring the Response
putEventStreamResponse Source #
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.
Response Lenses
pesrsResponseStatus :: Lens' PutEventStreamResponse Int Source #
- - | The response status code.
pesrsEventStream :: Lens' PutEventStreamResponse EventStream Source #
Undocumented member.