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 |
Starts processing a stream processor. You create a stream processor by
calling CreateStreamProcessor. To tell StartStreamProcessor
which
stream processor to start, use the value of the Name
field specified
in the call to CreateStreamProcessor
.
Synopsis
- data StartStreamProcessor = StartStreamProcessor' {}
- newStartStreamProcessor :: Text -> StartStreamProcessor
- startStreamProcessor_name :: Lens' StartStreamProcessor Text
- data StartStreamProcessorResponse = StartStreamProcessorResponse' {
- httpStatus :: Int
- newStartStreamProcessorResponse :: Int -> StartStreamProcessorResponse
- startStreamProcessorResponse_httpStatus :: Lens' StartStreamProcessorResponse Int
Creating a Request
data StartStreamProcessor Source #
See: newStartStreamProcessor
smart constructor.
Instances
newStartStreamProcessor Source #
Create a value of StartStreamProcessor
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:name:StartStreamProcessor'
, startStreamProcessor_name
- The name of the stream processor to start processing.
Request Lenses
startStreamProcessor_name :: Lens' StartStreamProcessor Text Source #
The name of the stream processor to start processing.
Destructuring the Response
data StartStreamProcessorResponse Source #
See: newStartStreamProcessorResponse
smart constructor.
StartStreamProcessorResponse' | |
|
Instances
newStartStreamProcessorResponse Source #
Create a value of StartStreamProcessorResponse
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:StartStreamProcessorResponse'
, startStreamProcessorResponse_httpStatus
- The response's http status code.
Response Lenses
startStreamProcessorResponse_httpStatus :: Lens' StartStreamProcessorResponse Int Source #
The response's http status code.