Copyright | (c) 2013-2018 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 |
Network.AWS.KinesisAnalytics.UpdateApplication
Description
Updates an existing Amazon Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.
Note that Amazon Kinesis Analytics updates the CurrentApplicationVersionId
each time you update your application.
This operation 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 Amazon Kinesis Analytics application to update.uaCurrentApplicationVersionId
- The current application version ID. You can use theDescribeApplication
operation to get this value.uaApplicationUpdate
- Describes application updates.
data UpdateApplication #
See: updateApplication
smart constructor.
Instances
Request Lenses
uaApplicationName :: Lens' UpdateApplication Text #
Name of the Amazon Kinesis Analytics application to update.
uaCurrentApplicationVersionId :: Lens' UpdateApplication Natural #
The current application version ID. You can use the DescribeApplication
operation to get this value.
uaApplicationUpdate :: Lens' UpdateApplication ApplicationUpdate #
Describes application updates.
Destructuring the Response
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 #
See: updateApplicationResponse
smart constructor.
Response Lenses
uarsResponseStatus :: Lens' UpdateApplicationResponse Int #
- - | The response status code.