Skip to content

Commit bf5a23e

Browse files
author
awstools
committed
feat(client-kinesis-analytics-v2): Support new RuntimeEnvironmentUpdate parameter within UpdateApplication API allowing callers to change the Flink version upon which their application runs.
1 parent 2ddd8ec commit bf5a23e

25 files changed

+310
-266
lines changed

clients/client-kinesis-analytics-v2/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
AWS SDK for JavaScript KinesisAnalyticsV2 Client for Node.js, Browser and React Native.
88

9-
<p>Amazon Kinesis Data Analytics is a fully managed service that you can use to process and analyze streaming data using Java, SQL, or Scala. The service
9+
<note>
10+
<p>Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.</p>
11+
</note>
12+
<p>Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, SQL, or Scala. The service
1013
enables you to quickly author and run Java, SQL, or Scala code against streaming sources to perform time
1114
series analytics, feed real-time dashboards, and create real-time metrics.</p>
1215

clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,10 @@ export interface KinesisAnalyticsV2 {
705705

706706
/**
707707
* @public
708-
* <p>Amazon Kinesis Data Analytics is a fully managed service that you can use to process and analyze streaming data using Java, SQL, or Scala. The service
708+
* <note>
709+
* <p>Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.</p>
710+
* </note>
711+
* <p>Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, SQL, or Scala. The service
709712
* enables you to quickly author and run Java, SQL, or Scala code against streaming sources to perform time
710713
* series analytics, feed real-time dashboards, and create real-time metrics.</p>
711714
*/

clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,10 @@ export interface KinesisAnalyticsV2ClientResolvedConfig extends KinesisAnalytics
409409

410410
/**
411411
* @public
412-
* <p>Amazon Kinesis Data Analytics is a fully managed service that you can use to process and analyze streaming data using Java, SQL, or Scala. The service
412+
* <note>
413+
* <p>Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.</p>
414+
* </note>
415+
* <p>Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, SQL, or Scala. The service
413416
* enables you to quickly author and run Java, SQL, or Scala code against streaming sources to perform time
414417
* series analytics, feed real-time dashboards, and create real-time metrics.</p>
415418
*/

clients/client-kinesis-analytics-v2/src/commands/AddApplicationVpcConfigurationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ export interface AddApplicationVpcConfigurationCommandOutput
3939
* @public
4040
* <p>Adds a Virtual Private Cloud (VPC) configuration to the application. Applications can use VPCs to store
4141
* and access resources securely.</p>
42-
* <p>Note the following about VPC configurations for Kinesis Data Analytics applications:</p>
42+
* <p>Note the following about VPC configurations for Managed Service for Apache Flink applications:</p>
4343
* <ul>
4444
* <li>
4545
* <p>VPC configurations are not supported for SQL applications.</p>
4646
* </li>
4747
* <li>
48-
* <p>When a VPC is added to a Kinesis Data Analytics application, the application can no longer be accessed from the
48+
* <p>When a VPC is added to a Managed Service for Apache Flink application, the application can no longer be accessed from the
4949
* Internet directly. To enable Internet access to the application, add an Internet gateway to your VPC.</p>
5050
* </li>
5151
* </ul>

clients/client-kinesis-analytics-v2/src/commands/CreateApplicationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
3232

3333
/**
3434
* @public
35-
* <p>Creates a Kinesis Data Analytics application. For information about creating a
36-
* Kinesis Data Analytics application, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html">Creating an
35+
* <p>Creates a Managed Service for Apache Flink application. For information about creating a
36+
* Managed Service for Apache Flink application, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html">Creating an
3737
* Application</a>.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface DeleteApplicationCloudWatchLoggingOptionCommandOutput
4141

4242
/**
4343
* @public
44-
* <p>Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application. </p>
44+
* <p>Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application. </p>
4545
* @example
4646
* Use a bare-bones client and the command you need to make an API call.
4747
* ```javascript

clients/client-kinesis-analytics-v2/src/commands/DeleteApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
3232

3333
/**
3434
* @public
35-
* <p>Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.</p>
35+
* <p>Deletes the specified application. Managed Service for Apache Flink halts application execution and deletes the application.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-kinesis-analytics-v2/src/commands/DeleteApplicationVpcConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface DeleteApplicationVpcConfigurationCommandOutput
4040

4141
/**
4242
* @public
43-
* <p>Removes a VPC configuration from a Kinesis Data Analytics application.</p>
43+
* <p>Removes a VPC configuration from a Managed Service for Apache Flink application.</p>
4444
* @example
4545
* Use a bare-bones client and the command you need to make an API call.
4646
* ```javascript

clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes
3232

3333
/**
3434
* @public
35-
* <p>Returns information about a specific Kinesis Data Analytics application.</p>
35+
* <p>Returns information about a specific Managed Service for Apache Flink application.</p>
3636
* <p>If you want to retrieve a list of all applications in your account,
3737
* use the <a>ListApplications</a> operation.</p>
3838
* @example

clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationSnapshotCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface DescribeApplicationSnapshotCommandOutput
5353
* // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
5454
* // ApplicationVersionId: Number("long"), // required
5555
* // SnapshotCreationTimestamp: new Date("TIMESTAMP"),
56+
* // 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",
5657
* // },
5758
* // };
5859
*

clients/client-kinesis-analytics-v2/src/commands/DescribeApplicationVersionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface DescribeApplicationVersionCommandOutput extends DescribeApplica
3434
* @public
3535
* <p>Provides a detailed description of a specified version of the application. To see a list of all the versions of an application, invoke the <a>ListApplicationVersions</a> operation.</p>
3636
* <note>
37-
* <p>This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.</p>
37+
* <p>This operation is supported only for Managed Service for Apache Flink.</p>
3838
* </note>
3939
* @example
4040
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/ListApplicationSnapshotsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface ListApplicationSnapshotsCommandOutput extends ListApplicationSn
5353
* // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
5454
* // ApplicationVersionId: Number("long"), // required
5555
* // SnapshotCreationTimestamp: new Date("TIMESTAMP"),
56+
* // 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",
5657
* // },
5758
* // ],
5859
* // NextToken: "STRING_VALUE",

clients/client-kinesis-analytics-v2/src/commands/ListApplicationVersionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface ListApplicationVersionsCommandOutput extends ListApplicationVer
3737
*
3838
* <p>To get the complete description of a specific application version, invoke the <a>DescribeApplicationVersion</a> operation.</p>
3939
* <note>
40-
* <p>This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.</p>
40+
* <p>This operation is supported only for Managed Service for Apache Flink.</p>
4141
* </note>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/ListApplicationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
3232

3333
/**
3434
* @public
35-
* <p>Returns a list of Kinesis Data Analytics applications in your account. For each
35+
* <p>Returns a list of Managed Service for Apache Flink applications in your account. For each
3636
* application, the response includes the application name, Amazon Resource Name (ARN), and
3737
* status. </p>
3838
* <p>If you want detailed information about a specific application, use

clients/client-kinesis-analytics-v2/src/commands/RollbackApplicationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export interface RollbackApplicationCommandOutput extends RollbackApplicationRes
3737
* <p>You can roll back an application only if it is in the <code>UPDATING</code>
3838
* or <code>AUTOSCALING</code> status.</p>
3939
* <p>When you rollback an application, it loads state data from the last successful snapshot.
40-
* If the application has no snapshots, Kinesis Data Analytics rejects the rollback request.</p>
41-
* <p>This action is not supported for Kinesis Data Analytics for SQL applications.</p>
40+
* If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.</p>
41+
* <p>This action is not supported for Managed Service for Apache Flink for SQL applications.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

clients/client-kinesis-analytics-v2/src/commands/StartApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
3232

3333
/**
3434
* @public
35-
* <p>Starts the specified Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to
35+
* <p>Starts the specified Managed Service for Apache Flink application. After creating an application, you must exclusively call this operation to
3636
* start your application.</p>
3737
* @example
3838
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/StopApplicationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
3737
* parameter to <code>true</code>.</p>
3838
* <p>You can use the <a>DescribeApplication</a> operation to find the application status.
3939
* </p>
40-
* <p>Kinesis Data Analytics takes a snapshot when the application is stopped, unless <code>Force</code> is set
40+
* <p>Managed Service for Apache Flink takes a snapshot when the application is stopped, unless <code>Force</code> is set
4141
* to <code>true</code>.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/TagResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
3232

3333
/**
3434
* @public
35-
* <p>Adds one or more key-value tags to a Kinesis Data Analytics application. Note that the maximum number of application
35+
* <p>Adds one or more key-value tags to a Managed Service for Apache Flink application. Note that the maximum number of application
3636
* tags includes system tags. The maximum number of user-defined application tags is 50.
3737
* For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html">Using Tagging</a>.</p>
3838
* @example

clients/client-kinesis-analytics-v2/src/commands/UntagResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
3232

3333
/**
3434
* @public
35-
* <p>Removes one or more tags from a Kinesis Data Analytics application. For more information, see
35+
* <p>Removes one or more tags from a Managed Service for Apache Flink application. For more information, see
3636
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html">Using Tagging</a>.</p>
3737
* @example
3838
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationCommand.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,10 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
3232

3333
/**
3434
* @public
35-
* <p>Updates an existing Kinesis Data Analytics application. Using this operation, you
35+
* <p>Updates an existing Managed Service for Apache Flink application. Using this operation, you
3636
* can update application code, input configuration, and output configuration. </p>
37-
* <p>Kinesis Data Analytics updates the <code>ApplicationVersionId</code> each time you update
37+
* <p>Managed Service for Apache Flink updates the <code>ApplicationVersionId</code> each time you update
3838
* your application. </p>
39-
* <note>
40-
* <p>You cannot update the <code>RuntimeEnvironment</code> of an existing application. If you
41-
* need to update an application's <code>RuntimeEnvironment</code>, you must delete the application
42-
* and create it again.</p>
43-
* </note>
4439
* @example
4540
* Use a bare-bones client and the command you need to make an API call.
4641
* ```javascript
@@ -249,6 +244,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
249244
* },
250245
* ],
251246
* ConditionalToken: "STRING_VALUE",
247+
* 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",
252248
* };
253249
* const command = new UpdateApplicationCommand(input);
254250
* const response = await client.send(command);

clients/client-kinesis-analytics-v2/src/commands/UpdateApplicationMaintenanceConfigurationCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface UpdateApplicationMaintenanceConfigurationCommandOutput
4141

4242
/**
4343
* @public
44-
* <p>Updates the maintenance configuration of the Kinesis Data Analytics application. </p>
44+
* <p>Updates the maintenance configuration of the Managed Service for Apache Flink application. </p>
4545
* <p>You can invoke this operation on an application that is in one of the two following
4646
* states: <code>READY</code> or <code>RUNNING</code>. If you invoke it when the application is
4747
* in a state other than these two states, it throws a <code>ResourceInUseException</code>. The
@@ -53,9 +53,9 @@ export interface UpdateApplicationMaintenanceConfigurationCommandOutput
5353
* following maintenance process instead.</p>
5454
* <p>To see the current maintenance configuration of your application, invoke the
5555
* <a>DescribeApplication</a> operation.</p>
56-
* <p>For information about application maintenance, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/maintenance.html">Kinesis Data Analytics for Apache Flink Maintenance</a>.</p>
56+
* <p>For information about application maintenance, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/java/maintenance.html">Managed Service for Apache Flink for Apache Flink Maintenance</a>.</p>
5757
* <note>
58-
* <p>This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.</p>
58+
* <p>This operation is supported only for Managed Service for Apache Flink.</p>
5959
* </note>
6060
* @example
6161
* Use a bare-bones client and the command you need to make an API call.

clients/client-kinesis-analytics-v2/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// smithy-typescript generated code
22
/* eslint-disable */
33
/**
4-
* <p>Amazon Kinesis Data Analytics is a fully managed service that you can use to process and analyze streaming data using Java, SQL, or Scala. The service
4+
* <note>
5+
* <p>Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.</p>
6+
* </note>
7+
* <p>Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, SQL, or Scala. The service
58
* enables you to quickly author and run Java, SQL, or Scala code against streaming sources to perform time
69
* series analytics, feed real-time dashboards, and create real-time metrics.</p>
710
*

0 commit comments

Comments
 (0)