{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-apache-flink/refs/heads/main/json-schema/amazon-managed-apache-flink-update-application-request-schema.json",
"title": "UpdateApplicationRequest",
"description": "UpdateApplicationRequest schema from Amazon Managed Service for Apache Flink API",
"type": "object",
"properties": {
"ApplicationName": {
"allOf": [
{
"$ref": "#/components/schemas/ApplicationName"
},
{
"description": "The name of the application to update."
}
]
},
"CurrentApplicationVersionId": {
"allOf": [
{
"$ref": "#/components/schemas/ApplicationVersionId"
},
{
"description": "The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId."
}
]
},
"ApplicationConfigurationUpdate": {
"allOf": [
{
"$ref": "#/components/schemas/ApplicationConfigurationUpdate"
},
{
"description": "Describes application configuration updates."
}
]
},
"ServiceExecutionRoleUpdate": {
"allOf": [
{
"$ref": "#/components/schemas/RoleARN"
},
{
"description": "Describes updates to the service execution role."
}
]
},
"RunConfigurationUpdate": {
"allOf": [
{
"$ref": "#/components/schemas/RunConfigurationUpdate"
},
{
"description": "Describes updates to the application's starting parameters."
}
]
},
"CloudWatchLoggingOptionUpdates": {
"allOf": [
{
"$ref": "#/components/schemas/CloudWatchLoggingOptionUpdates"
},
{
"description": "Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption."
}
]
},
"ConditionalToken": {
"allOf": [
{
"$ref": "#/components/schemas/ConditionalToken"
},
{
"description": "A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId."
}
]
}
},
"required": [
"ApplicationName"
]
}