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 |
This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation.
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
- data UpdateApplication = UpdateApplication' {}
- newUpdateApplication :: Text -> Natural -> ApplicationUpdate -> UpdateApplication
- updateApplication_applicationName :: Lens' UpdateApplication Text
- updateApplication_currentApplicationVersionId :: Lens' UpdateApplication Natural
- updateApplication_applicationUpdate :: Lens' UpdateApplication ApplicationUpdate
- data UpdateApplicationResponse = UpdateApplicationResponse' {
- httpStatus :: Int
- newUpdateApplicationResponse :: Int -> UpdateApplicationResponse
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication
smart constructor.
UpdateApplication' | |
|
Instances
:: Text | |
-> Natural | |
-> ApplicationUpdate | |
-> UpdateApplication |
Create a value of UpdateApplication
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:applicationName:UpdateApplication'
, updateApplication_applicationName
- Name of the Amazon Kinesis Analytics application to update.
$sel:currentApplicationVersionId:UpdateApplication'
, updateApplication_currentApplicationVersionId
- The current application version ID. You can use the
DescribeApplication
operation to get this value.
$sel:applicationUpdate:UpdateApplication'
, updateApplication_applicationUpdate
- Describes application updates.
Request Lenses
updateApplication_applicationName :: Lens' UpdateApplication Text Source #
Name of the Amazon Kinesis Analytics application to update.
updateApplication_currentApplicationVersionId :: Lens' UpdateApplication Natural Source #
The current application version ID. You can use the DescribeApplication operation to get this value.
updateApplication_applicationUpdate :: Lens' UpdateApplication ApplicationUpdate Source #
Describes application updates.
Destructuring the Response
data UpdateApplicationResponse Source #
See: newUpdateApplicationResponse
smart constructor.
UpdateApplicationResponse' | |
|
Instances
newUpdateApplicationResponse Source #
Create a value of UpdateApplicationResponse
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:UpdateApplicationResponse'
, updateApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.