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 |
Updates the maintenance configuration of the Kinesis Data Analytics application.
You can invoke this operation on an application that is in one of the
two following states: READY
or RUNNING
. If you invoke it when the
application is in a state other than these two states, it throws a
ResourceInUseException
. The service makes use of the updated
configuration the next time it schedules maintenance for the
application. If you invoke this operation after the service schedules
maintenance, the service will apply the configuration update the next
time it schedules maintenance for the application. This means that you
might not see the maintenance configuration update applied to the
maintenance process that follows a successful invocation of this
operation, but to the following maintenance process instead.
To see the current maintenance configuration of your application, invoke the DescribeApplication operation.
For information about application maintenance, see Kinesis Data Analytics for Apache Flink Maintenance.
This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.
Synopsis
- data UpdateApplicationMaintenanceConfiguration = UpdateApplicationMaintenanceConfiguration' {}
- newUpdateApplicationMaintenanceConfiguration :: Text -> ApplicationMaintenanceConfigurationUpdate -> UpdateApplicationMaintenanceConfiguration
- updateApplicationMaintenanceConfiguration_applicationName :: Lens' UpdateApplicationMaintenanceConfiguration Text
- updateApplicationMaintenanceConfiguration_applicationMaintenanceConfigurationUpdate :: Lens' UpdateApplicationMaintenanceConfiguration ApplicationMaintenanceConfigurationUpdate
- data UpdateApplicationMaintenanceConfigurationResponse = UpdateApplicationMaintenanceConfigurationResponse' {}
- newUpdateApplicationMaintenanceConfigurationResponse :: Int -> UpdateApplicationMaintenanceConfigurationResponse
- updateApplicationMaintenanceConfigurationResponse_applicationARN :: Lens' UpdateApplicationMaintenanceConfigurationResponse (Maybe Text)
- updateApplicationMaintenanceConfigurationResponse_applicationMaintenanceConfigurationDescription :: Lens' UpdateApplicationMaintenanceConfigurationResponse (Maybe ApplicationMaintenanceConfigurationDescription)
- updateApplicationMaintenanceConfigurationResponse_httpStatus :: Lens' UpdateApplicationMaintenanceConfigurationResponse Int
Creating a Request
data UpdateApplicationMaintenanceConfiguration Source #
See: newUpdateApplicationMaintenanceConfiguration
smart constructor.
UpdateApplicationMaintenanceConfiguration' | |
|
Instances
newUpdateApplicationMaintenanceConfiguration Source #
Create a value of UpdateApplicationMaintenanceConfiguration
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:UpdateApplicationMaintenanceConfiguration'
, updateApplicationMaintenanceConfiguration_applicationName
- The name of the application for which you want to update the maintenance
configuration.
$sel:applicationMaintenanceConfigurationUpdate:UpdateApplicationMaintenanceConfiguration'
, updateApplicationMaintenanceConfiguration_applicationMaintenanceConfigurationUpdate
- Describes the application maintenance configuration update.
Request Lenses
updateApplicationMaintenanceConfiguration_applicationName :: Lens' UpdateApplicationMaintenanceConfiguration Text Source #
The name of the application for which you want to update the maintenance configuration.
updateApplicationMaintenanceConfiguration_applicationMaintenanceConfigurationUpdate :: Lens' UpdateApplicationMaintenanceConfiguration ApplicationMaintenanceConfigurationUpdate Source #
Describes the application maintenance configuration update.
Destructuring the Response
data UpdateApplicationMaintenanceConfigurationResponse Source #
See: newUpdateApplicationMaintenanceConfigurationResponse
smart constructor.
UpdateApplicationMaintenanceConfigurationResponse' | |
|
Instances
newUpdateApplicationMaintenanceConfigurationResponse Source #
:: Int |
|
-> UpdateApplicationMaintenanceConfigurationResponse |
Create a value of UpdateApplicationMaintenanceConfigurationResponse
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:applicationARN:UpdateApplicationMaintenanceConfigurationResponse'
, updateApplicationMaintenanceConfigurationResponse_applicationARN
- The Amazon Resource Name (ARN) of the application.
$sel:applicationMaintenanceConfigurationDescription:UpdateApplicationMaintenanceConfigurationResponse'
, updateApplicationMaintenanceConfigurationResponse_applicationMaintenanceConfigurationDescription
- The application maintenance configuration description after the update.
$sel:httpStatus:UpdateApplicationMaintenanceConfigurationResponse'
, updateApplicationMaintenanceConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationMaintenanceConfigurationResponse_applicationARN :: Lens' UpdateApplicationMaintenanceConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the application.
updateApplicationMaintenanceConfigurationResponse_applicationMaintenanceConfigurationDescription :: Lens' UpdateApplicationMaintenanceConfigurationResponse (Maybe ApplicationMaintenanceConfigurationDescription) Source #
The application maintenance configuration description after the update.
updateApplicationMaintenanceConfigurationResponse_httpStatus :: Lens' UpdateApplicationMaintenanceConfigurationResponse Int Source #
The response's http status code.