| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.KinesisAnalytics.UpdateApplication
Description
Updates an existing Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.
Note that Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application.
This opeation requires permission for the kinesisanalytics:UpdateApplication action.
- updateApplication :: Text -> Natural -> ApplicationUpdate -> UpdateApplication
- data UpdateApplication
- uaApplicationName :: Lens' UpdateApplication Text
- uaCurrentApplicationVersionId :: Lens' UpdateApplication Natural
- uaApplicationUpdate :: Lens' UpdateApplication ApplicationUpdate
- updateApplicationResponse :: Int -> UpdateApplicationResponse
- data UpdateApplicationResponse
- uarsResponseStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Natural | |
| -> ApplicationUpdate | |
| -> UpdateApplication |
Creates a value of UpdateApplication with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uaApplicationName- Name of the Kinesis Analytics application to update.uaCurrentApplicationVersionId- The current application version ID. You can use theDescribeApplicationoperation to get this value.uaApplicationUpdate- Describes application updates.
data UpdateApplication Source #
See: updateApplication smart constructor.
Instances
Request Lenses
uaApplicationName :: Lens' UpdateApplication Text Source #
Name of the Kinesis Analytics application to update.
uaCurrentApplicationVersionId :: Lens' UpdateApplication Natural Source #
The current application version ID. You can use the DescribeApplication operation to get this value.
uaApplicationUpdate :: Lens' UpdateApplication ApplicationUpdate Source #
Describes application updates.
Destructuring the Response
updateApplicationResponse Source #
Arguments
| :: Int | |
| -> UpdateApplicationResponse |
Creates a value of UpdateApplicationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarsResponseStatus- -- | The response status code.
data UpdateApplicationResponse Source #
See: updateApplicationResponse smart constructor.
Response Lenses
uarsResponseStatus :: Lens' UpdateApplicationResponse Int Source #
- - | The response status code.