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 |
Stops a running stream processor that was created by CreateStreamProcessor.
Synopsis
- data StopStreamProcessor = StopStreamProcessor' {}
- newStopStreamProcessor :: Text -> StopStreamProcessor
- stopStreamProcessor_name :: Lens' StopStreamProcessor Text
- data StopStreamProcessorResponse = StopStreamProcessorResponse' {
- httpStatus :: Int
- newStopStreamProcessorResponse :: Int -> StopStreamProcessorResponse
- stopStreamProcessorResponse_httpStatus :: Lens' StopStreamProcessorResponse Int
Creating a Request
data StopStreamProcessor Source #
See: newStopStreamProcessor
smart constructor.
Instances
newStopStreamProcessor Source #
Create a value of StopStreamProcessor
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:StopStreamProcessor'
, stopStreamProcessor_name
- The name of a stream processor created by CreateStreamProcessor.
Request Lenses
stopStreamProcessor_name :: Lens' StopStreamProcessor Text Source #
The name of a stream processor created by CreateStreamProcessor.
Destructuring the Response
data StopStreamProcessorResponse Source #
See: newStopStreamProcessorResponse
smart constructor.
StopStreamProcessorResponse' | |
|
Instances
newStopStreamProcessorResponse Source #
Create a value of StopStreamProcessorResponse
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:StopStreamProcessorResponse'
, stopStreamProcessorResponse_httpStatus
- The response's http status code.
Response Lenses
stopStreamProcessorResponse_httpStatus :: Lens' StopStreamProcessorResponse Int Source #
The response's http status code.