From 737e3a3ee540960b4e763abee05cb3b8e50ad27e Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 5 Sep 2024 18:12:30 +0000 Subject: [PATCH] feat(client-kinesis-analytics-v2): Support for Flink 1.20 in Managed Service for Apache Flink --- .../src/commands/CreateApplicationCommand.ts | 4 ++-- .../src/commands/DescribeApplicationCommand.ts | 2 +- .../src/commands/DescribeApplicationSnapshotCommand.ts | 2 +- .../src/commands/DescribeApplicationVersionCommand.ts | 2 +- .../src/commands/ListApplicationSnapshotsCommand.ts | 2 +- .../src/commands/ListApplicationsCommand.ts | 2 +- .../src/commands/RollbackApplicationCommand.ts | 2 +- .../src/commands/UpdateApplicationCommand.ts | 4 ++-- clients/client-kinesis-analytics-v2/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json | 6 ++++++ 10 files changed, 17 insertions(+), 10 deletions(-) diff --git a/clients/client-kinesis-analytics-v2/src/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/CreateApplicationCommand.ts index 343982332b8b..ac920da6df23 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/CreateApplicationCommand.ts @@ -44,7 +44,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * const input = { // CreateApplicationRequest * ApplicationName: "STRING_VALUE", // required * ApplicationDescription: "STRING_VALUE", - * RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * ServiceExecutionRole: "STRING_VALUE", // required * ApplicationConfiguration: { // ApplicationConfiguration * SqlApplicationConfiguration: { // SqlApplicationConfiguration @@ -247,7 +247,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * // ApplicationARN: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationName: "STRING_VALUE", // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ServiceExecutionRole: "STRING_VALUE", * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required diff --git a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationCommand.ts index cf0341e21984..a7923fda09ad 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationCommand.ts @@ -52,7 +52,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // ApplicationARN: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationName: "STRING_VALUE", // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ServiceExecutionRole: "STRING_VALUE", * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required diff --git a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationSnapshotCommand.ts index 74f1dd98156d..47892a5d3dd5 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationSnapshotCommand.ts @@ -53,7 +53,7 @@ export interface DescribeApplicationSnapshotCommandOutput * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required * // ApplicationVersionId: Number("long"), // required * // SnapshotCreationTimestamp: new Date("TIMESTAMP"), - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", * // }, * // }; * diff --git a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationVersionCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationVersionCommand.ts index 0aaa1ddb920b..38a65708f06f 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationVersionCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationVersionCommand.ts @@ -53,7 +53,7 @@ export interface DescribeApplicationVersionCommandOutput extends DescribeApplica * // ApplicationARN: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationName: "STRING_VALUE", // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ServiceExecutionRole: "STRING_VALUE", * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required diff --git a/clients/client-kinesis-analytics-v2/src/commands/ListApplicationSnapshotsCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/ListApplicationSnapshotsCommand.ts index 34dc67231b38..dfc2d290afe3 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/ListApplicationSnapshotsCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/ListApplicationSnapshotsCommand.ts @@ -53,7 +53,7 @@ export interface ListApplicationSnapshotsCommandOutput extends ListApplicationSn * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required * // ApplicationVersionId: Number("long"), // required * // SnapshotCreationTimestamp: new Date("TIMESTAMP"), - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-kinesis-analytics-v2/src/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/ListApplicationsCommand.ts index 914314fc6598..d54a86103547 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/ListApplicationsCommand.ts @@ -56,7 +56,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, * // ApplicationARN: "STRING_VALUE", // required * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ApplicationMode: "STREAMING" || "INTERACTIVE", * // }, * // ], diff --git a/clients/client-kinesis-analytics-v2/src/commands/RollbackApplicationCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/RollbackApplicationCommand.ts index c0cb4ce07730..1e1de2b017aa 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/RollbackApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/RollbackApplicationCommand.ts @@ -55,7 +55,7 @@ export interface RollbackApplicationCommandOutput extends RollbackApplicationRes * // ApplicationARN: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationName: "STRING_VALUE", // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ServiceExecutionRole: "STRING_VALUE", * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required diff --git a/clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationCommand.ts index 94639fdd81be..1d5356d0d15f 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationCommand.ts @@ -247,7 +247,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * }, * ], * ConditionalToken: "STRING_VALUE", - * RuntimeEnvironmentUpdate: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", + * RuntimeEnvironmentUpdate: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", * }; * const command = new UpdateApplicationCommand(input); * const response = await client.send(command); @@ -256,7 +256,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * // ApplicationARN: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationName: "STRING_VALUE", // required - * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19", // required + * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20", // required * // ServiceExecutionRole: "STRING_VALUE", * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING" || "AUTOSCALING" || "FORCE_STOPPING" || "ROLLING_BACK" || "MAINTENANCE" || "ROLLED_BACK", // required * // ApplicationVersionId: Number("long"), // required diff --git a/clients/client-kinesis-analytics-v2/src/models/models_0.ts b/clients/client-kinesis-analytics-v2/src/models/models_0.ts index 68f7d78b0011..6ed37ffc4c00 100644 --- a/clients/client-kinesis-analytics-v2/src/models/models_0.ts +++ b/clients/client-kinesis-analytics-v2/src/models/models_0.ts @@ -3435,6 +3435,7 @@ export const RuntimeEnvironment = { FLINK_1_15: "FLINK-1_15", FLINK_1_18: "FLINK-1_18", FLINK_1_19: "FLINK-1_19", + FLINK_1_20: "FLINK-1_20", FLINK_1_6: "FLINK-1_6", FLINK_1_8: "FLINK-1_8", SQL_1_0: "SQL-1_0", diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json index da426dbe60e1..23e36f12ac8a 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json @@ -6728,6 +6728,12 @@ "traits": { "smithy.api#enumValue": "FLINK-1_19" } + }, + "FLINK_1_20": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_20" + } } } },