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 stream for an application or updates the settings of an existing event stream for an application.
Synopsis
- data PutEventStream = PutEventStream' {}
- newPutEventStream :: Text -> WriteEventStream -> PutEventStream
- putEventStream_applicationId :: Lens' PutEventStream Text
- putEventStream_writeEventStream :: Lens' PutEventStream WriteEventStream
- data PutEventStreamResponse = PutEventStreamResponse' {}
- newPutEventStreamResponse :: Int -> EventStream -> PutEventStreamResponse
- putEventStreamResponse_httpStatus :: Lens' PutEventStreamResponse Int
- putEventStreamResponse_eventStream :: Lens' PutEventStreamResponse EventStream
Creating a Request
data PutEventStream Source #
See: newPutEventStream
smart constructor.
PutEventStream' | |
|
Instances
:: Text | |
-> WriteEventStream | |
-> PutEventStream |
Create a value of PutEventStream
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:PutEventStream'
, putEventStream_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:writeEventStream:PutEventStream'
, putEventStream_writeEventStream
- Undocumented member.
Request Lenses
putEventStream_applicationId :: Lens' PutEventStream Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
putEventStream_writeEventStream :: Lens' PutEventStream WriteEventStream Source #
Undocumented member.
Destructuring the Response
data PutEventStreamResponse Source #
See: newPutEventStreamResponse
smart constructor.
PutEventStreamResponse' | |
|
Instances
newPutEventStreamResponse Source #
:: Int | |
-> EventStream | |
-> PutEventStreamResponse |
Create a value of PutEventStreamResponse
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:PutEventStreamResponse'
, putEventStreamResponse_httpStatus
- The response's http status code.
$sel:eventStream:PutEventStreamResponse'
, putEventStreamResponse_eventStream
- Undocumented member.
Response Lenses
putEventStreamResponse_httpStatus :: Lens' PutEventStreamResponse Int Source #
The response's http status code.
putEventStreamResponse_eventStream :: Lens' PutEventStreamResponse EventStream Source #
Undocumented member.