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 |
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.
Synopsis
- 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
:: 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 Source #
See: updateApplication
smart constructor.
Instances
Request Lenses
uaApplicationName :: Lens' UpdateApplication Text Source #
Name of the Amazon 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 #
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.
Instances
Response Lenses
uarsResponseStatus :: Lens' UpdateApplicationResponse Int Source #
- - | The response status code.