Copyright | (c) 2013-2017 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 |
Stops the application from processing input data. You can stop an application only if it is in the running state. You can use the DescribeApplication
operation to find the application state. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination.
This operation requires permissions to perform the kinesisanalytics:StopApplication
action.
Creating a Request
Creates a value of StopApplication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sApplicationName
- Name of the running application to stop.
data StopApplication Source #
See: stopApplication
smart constructor.
Request Lenses
sApplicationName :: Lens' StopApplication Text Source #
Name of the running application to stop.
Destructuring the Response
stopApplicationResponse Source #
Creates a value of StopApplicationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsResponseStatus
- -- | The response status code.
data StopApplicationResponse Source #
See: stopApplicationResponse
smart constructor.
Response Lenses
srsResponseStatus :: Lens' StopApplicationResponse Int Source #
- - | The response status code.