aws-sdk-kinesisanalyticsv2 1.19.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e33bec621252ab26886739a588a1a9c9d34e872eb9b5038f9b85e7fd4e31019d
|
4
|
+
data.tar.gz: 84865f282c2435689a9f0829f9514059069130ffe1b4d74795bf446b4b00dddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14b206ccc4baecfce56d50b07cba37e234e878dad31a5c664bd71ef2f894bca8426763b59179c10a62c458fb10e1853b0264bc5d20330b1fd0072369abb160f9
|
7
|
+
data.tar.gz: 1cf6e229f706ff5d6600f4a2e94c72dbb632396ab89e925ae09bd21509bd4524ecccfdd882bea724d2530b7babfec6b789a9e5eea3be327b6ead2b14d71cd9bd
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::KinesisAnalyticsV2
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.24.0'
|
51
52
|
|
52
53
|
end
|
@@ -384,8 +384,8 @@ module Aws::KinesisAnalyticsV2
|
|
384
384
|
req.send_request(options)
|
385
385
|
end
|
386
386
|
|
387
|
-
# Adds a streaming source to your SQL-based
|
388
|
-
#
|
387
|
+
# Adds a streaming source to your SQL-based Kinesis Data Analytics
|
388
|
+
# application.
|
389
389
|
#
|
390
390
|
# You can add a streaming source when you create an application, or you
|
391
391
|
# can use this operation to add a streaming source after you create an
|
@@ -495,14 +495,14 @@ module Aws::KinesisAnalyticsV2
|
|
495
495
|
req.send_request(options)
|
496
496
|
end
|
497
497
|
|
498
|
-
# Adds an InputProcessingConfiguration to
|
498
|
+
# Adds an InputProcessingConfiguration to a SQL-based Kinesis Data
|
499
499
|
# Analytics application. An input processor pre-processes records on the
|
500
500
|
# input stream before the application's SQL code executes. Currently,
|
501
501
|
# the only input processor available is [AWS Lambda][1].
|
502
502
|
#
|
503
503
|
#
|
504
504
|
#
|
505
|
-
# [1]: https://aws.amazon.com/
|
505
|
+
# [1]: https://docs.aws.amazon.com/lambda/
|
506
506
|
#
|
507
507
|
# @option params [required, String] :application_name
|
508
508
|
# The name of the application to which you want to add the input
|
@@ -560,8 +560,8 @@ module Aws::KinesisAnalyticsV2
|
|
560
560
|
req.send_request(options)
|
561
561
|
end
|
562
562
|
|
563
|
-
# Adds an external destination to your SQL-based
|
564
|
-
#
|
563
|
+
# Adds an external destination to your SQL-based Kinesis Data Analytics
|
564
|
+
# application.
|
565
565
|
#
|
566
566
|
# If you want Kinesis Data Analytics to deliver data from an
|
567
567
|
# in-application stream within your application to an external
|
@@ -650,8 +650,8 @@ module Aws::KinesisAnalyticsV2
|
|
650
650
|
req.send_request(options)
|
651
651
|
end
|
652
652
|
|
653
|
-
# Adds a reference data source to an existing SQL-based
|
654
|
-
#
|
653
|
+
# Adds a reference data source to an existing SQL-based Kinesis Data
|
654
|
+
# Analytics application.
|
655
655
|
#
|
656
656
|
# Kinesis Data Analytics reads reference data (that is, an Amazon S3
|
657
657
|
# object) and creates an in-application table within your application.
|
@@ -763,11 +763,10 @@ module Aws::KinesisAnalyticsV2
|
|
763
763
|
# The name of an existing application.
|
764
764
|
#
|
765
765
|
# @option params [required, Integer] :current_application_version_id
|
766
|
-
# The version of the application to which you want to add the
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# `ConcurrentModificationException` is returned.
|
766
|
+
# The version of the application to which you want to add the VPC
|
767
|
+
# configuration. You can use the DescribeApplication operation to get
|
768
|
+
# the current application version. If the version specified is not the
|
769
|
+
# current version, the `ConcurrentModificationException` is returned.
|
771
770
|
#
|
772
771
|
# @option params [required, Types::VpcConfiguration] :vpc_configuration
|
773
772
|
# Description of the VPC to add to the application.
|
@@ -809,8 +808,8 @@ module Aws::KinesisAnalyticsV2
|
|
809
808
|
req.send_request(options)
|
810
809
|
end
|
811
810
|
|
812
|
-
# Creates
|
813
|
-
#
|
811
|
+
# Creates a Kinesis Data Analytics application. For information about
|
812
|
+
# creating a Kinesis Data Analytics application, see [Creating an
|
814
813
|
# Application][1].
|
815
814
|
#
|
816
815
|
#
|
@@ -824,8 +823,8 @@ module Aws::KinesisAnalyticsV2
|
|
824
823
|
# A summary description of the application.
|
825
824
|
#
|
826
825
|
# @option params [required, String] :runtime_environment
|
827
|
-
# The runtime environment for the application (`SQL-1.0`
|
828
|
-
# `FLINK-
|
826
|
+
# The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
|
827
|
+
# or `FLINK-1_8`).
|
829
828
|
#
|
830
829
|
# @option params [required, String] :service_execution_role
|
831
830
|
# The IAM role used by the application to access Kinesis data streams,
|
@@ -859,7 +858,7 @@ module Aws::KinesisAnalyticsV2
|
|
859
858
|
# resp = client.create_application({
|
860
859
|
# application_name: "ApplicationName", # required
|
861
860
|
# application_description: "ApplicationDescription",
|
862
|
-
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
|
861
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11
|
863
862
|
# service_execution_role: "RoleARN", # required
|
864
863
|
# application_configuration: {
|
865
864
|
# sql_application_configuration: {
|
@@ -1022,9 +1021,9 @@ module Aws::KinesisAnalyticsV2
|
|
1022
1021
|
# resp.application_detail.application_arn #=> String
|
1023
1022
|
# resp.application_detail.application_description #=> String
|
1024
1023
|
# resp.application_detail.application_name #=> String
|
1025
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1024
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1026
1025
|
# resp.application_detail.service_execution_role #=> String
|
1027
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1026
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1028
1027
|
# resp.application_detail.application_version_id #=> Integer
|
1029
1028
|
# resp.application_detail.create_timestamp #=> Time
|
1030
1029
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -1084,6 +1083,7 @@ module Aws::KinesisAnalyticsV2
|
|
1084
1083
|
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
1085
1084
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
1086
1085
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
1086
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.flink_run_configuration_description.allow_non_restored_state #=> Boolean
|
1087
1087
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
1088
1088
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
1089
1089
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
@@ -1123,6 +1123,58 @@ module Aws::KinesisAnalyticsV2
|
|
1123
1123
|
req.send_request(options)
|
1124
1124
|
end
|
1125
1125
|
|
1126
|
+
# Creates and returns a URL that you can use to connect to an
|
1127
|
+
# application's extension. Currently, the only available extension is
|
1128
|
+
# the Apache Flink dashboard.
|
1129
|
+
#
|
1130
|
+
# The IAM role or user used to call this API defines the permissions to
|
1131
|
+
# access the extension. Once the presigned URL is created, no additional
|
1132
|
+
# permission is required to access this URL. IAM authorization policies
|
1133
|
+
# for this API are also enforced for every HTTP request that attempts to
|
1134
|
+
# connect to the extension.
|
1135
|
+
#
|
1136
|
+
# <note markdown="1"> The URL that you get from a call to CreateApplicationPresignedUrl must
|
1137
|
+
# be used within 3 minutes to be valid. If you first try to use the URL
|
1138
|
+
# after the 3-minute limit expires, the service returns an HTTP 403
|
1139
|
+
# Forbidden error.
|
1140
|
+
#
|
1141
|
+
# </note>
|
1142
|
+
#
|
1143
|
+
# @option params [required, String] :application_name
|
1144
|
+
# The name of the application.
|
1145
|
+
#
|
1146
|
+
# @option params [required, String] :url_type
|
1147
|
+
# The type of the extension for which to create and return a URL.
|
1148
|
+
# Currently, the only valid extension URL type is `FLINK_DASHBOARD_URL`.
|
1149
|
+
#
|
1150
|
+
# @option params [Integer] :session_expiration_duration_in_seconds
|
1151
|
+
# The duration in seconds for which the returned URL will be valid.
|
1152
|
+
#
|
1153
|
+
# @return [Types::CreateApplicationPresignedUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1154
|
+
#
|
1155
|
+
# * {Types::CreateApplicationPresignedUrlResponse#authorized_url #authorized_url} => String
|
1156
|
+
#
|
1157
|
+
# @example Request syntax with placeholder values
|
1158
|
+
#
|
1159
|
+
# resp = client.create_application_presigned_url({
|
1160
|
+
# application_name: "ApplicationName", # required
|
1161
|
+
# url_type: "FLINK_DASHBOARD_URL", # required, accepts FLINK_DASHBOARD_URL
|
1162
|
+
# session_expiration_duration_in_seconds: 1,
|
1163
|
+
# })
|
1164
|
+
#
|
1165
|
+
# @example Response structure
|
1166
|
+
#
|
1167
|
+
# resp.authorized_url #=> String
|
1168
|
+
#
|
1169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrl AWS API Documentation
|
1170
|
+
#
|
1171
|
+
# @overload create_application_presigned_url(params = {})
|
1172
|
+
# @param [Hash] params ({})
|
1173
|
+
def create_application_presigned_url(params = {}, options = {})
|
1174
|
+
req = build_request(:create_application_presigned_url, params)
|
1175
|
+
req.send_request(options)
|
1176
|
+
end
|
1177
|
+
|
1126
1178
|
# Creates a snapshot of the application's state data.
|
1127
1179
|
#
|
1128
1180
|
# @option params [required, String] :application_name
|
@@ -1176,8 +1228,8 @@ module Aws::KinesisAnalyticsV2
|
|
1176
1228
|
req.send_request(options)
|
1177
1229
|
end
|
1178
1230
|
|
1179
|
-
# Deletes an Amazon CloudWatch log stream from an
|
1180
|
-
#
|
1231
|
+
# Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics
|
1232
|
+
# application.
|
1181
1233
|
#
|
1182
1234
|
# @option params [required, String] :application_name
|
1183
1235
|
# The application name.
|
@@ -1267,8 +1319,8 @@ module Aws::KinesisAnalyticsV2
|
|
1267
1319
|
end
|
1268
1320
|
|
1269
1321
|
# Deletes the output destination configuration from your SQL-based
|
1270
|
-
#
|
1271
|
-
#
|
1322
|
+
# Kinesis Data Analytics application's configuration. Kinesis Data
|
1323
|
+
# Analytics will no longer write data from the corresponding
|
1272
1324
|
# in-application stream to the external output destination.
|
1273
1325
|
#
|
1274
1326
|
# @option params [required, String] :application_name
|
@@ -1316,7 +1368,7 @@ module Aws::KinesisAnalyticsV2
|
|
1316
1368
|
end
|
1317
1369
|
|
1318
1370
|
# Deletes a reference data source configuration from the specified
|
1319
|
-
# SQL-based
|
1371
|
+
# SQL-based Kinesis Data Analytics application's configuration.
|
1320
1372
|
#
|
1321
1373
|
# If the application is running, Kinesis Data Analytics immediately
|
1322
1374
|
# removes the in-application table that you created using the
|
@@ -1435,7 +1487,7 @@ module Aws::KinesisAnalyticsV2
|
|
1435
1487
|
req.send_request(options)
|
1436
1488
|
end
|
1437
1489
|
|
1438
|
-
# Returns information about a specific
|
1490
|
+
# Returns information about a specific Kinesis Data Analytics
|
1439
1491
|
# application.
|
1440
1492
|
#
|
1441
1493
|
# If you want to retrieve a list of all applications in your account,
|
@@ -1464,9 +1516,9 @@ module Aws::KinesisAnalyticsV2
|
|
1464
1516
|
# resp.application_detail.application_arn #=> String
|
1465
1517
|
# resp.application_detail.application_description #=> String
|
1466
1518
|
# resp.application_detail.application_name #=> String
|
1467
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1519
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1468
1520
|
# resp.application_detail.service_execution_role #=> String
|
1469
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1521
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1470
1522
|
# resp.application_detail.application_version_id #=> Integer
|
1471
1523
|
# resp.application_detail.create_timestamp #=> Time
|
1472
1524
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -1526,6 +1578,7 @@ module Aws::KinesisAnalyticsV2
|
|
1526
1578
|
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
1527
1579
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
1528
1580
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
1581
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.flink_run_configuration_description.allow_non_restored_state #=> Boolean
|
1529
1582
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
1530
1583
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
1531
1584
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
@@ -1601,12 +1654,11 @@ module Aws::KinesisAnalyticsV2
|
|
1601
1654
|
req.send_request(options)
|
1602
1655
|
end
|
1603
1656
|
|
1604
|
-
# Infers a schema for
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
#
|
1608
|
-
#
|
1609
|
-
# infer the schema.
|
1657
|
+
# Infers a schema for a SQL-based Kinesis Data Analytics application by
|
1658
|
+
# evaluating sample records on the specified streaming source (Kinesis
|
1659
|
+
# data stream or Kinesis Data Firehose delivery stream) or Amazon S3
|
1660
|
+
# object. In the response, the operation returns the inferred schema and
|
1661
|
+
# also the sample records that the operation used to infer the schema.
|
1610
1662
|
#
|
1611
1663
|
# You can use the inferred schema when configuring a streaming source
|
1612
1664
|
# for your application. When you create an application using the Kinesis
|
@@ -1730,9 +1782,9 @@ module Aws::KinesisAnalyticsV2
|
|
1730
1782
|
req.send_request(options)
|
1731
1783
|
end
|
1732
1784
|
|
1733
|
-
# Returns a list of
|
1734
|
-
#
|
1735
|
-
#
|
1785
|
+
# Returns a list of Kinesis Data Analytics applications in your account.
|
1786
|
+
# For each application, the response includes the application name,
|
1787
|
+
# Amazon Resource Name (ARN), and status.
|
1736
1788
|
#
|
1737
1789
|
# If you want detailed information about a specific application, use
|
1738
1790
|
# DescribeApplication.
|
@@ -1767,9 +1819,9 @@ module Aws::KinesisAnalyticsV2
|
|
1767
1819
|
# resp.application_summaries #=> Array
|
1768
1820
|
# resp.application_summaries[0].application_name #=> String
|
1769
1821
|
# resp.application_summaries[0].application_arn #=> String
|
1770
|
-
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1822
|
+
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1771
1823
|
# resp.application_summaries[0].application_version_id #=> Integer
|
1772
|
-
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1824
|
+
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1773
1825
|
# resp.next_token #=> String
|
1774
1826
|
#
|
1775
1827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
|
@@ -1816,7 +1868,7 @@ module Aws::KinesisAnalyticsV2
|
|
1816
1868
|
req.send_request(options)
|
1817
1869
|
end
|
1818
1870
|
|
1819
|
-
# Starts the specified
|
1871
|
+
# Starts the specified Kinesis Data Analytics application. After
|
1820
1872
|
# creating an application, you must exclusively call this operation to
|
1821
1873
|
# start your application.
|
1822
1874
|
#
|
@@ -1862,18 +1914,44 @@ module Aws::KinesisAnalyticsV2
|
|
1862
1914
|
end
|
1863
1915
|
|
1864
1916
|
# Stops the application from processing data. You can stop an
|
1865
|
-
# application only if it is in the running
|
1866
|
-
#
|
1917
|
+
# application only if it is in the running status, unless you set the
|
1918
|
+
# `Force` parameter to `true`.
|
1919
|
+
#
|
1920
|
+
# You can use the DescribeApplication operation to find the application
|
1921
|
+
# status.
|
1922
|
+
#
|
1923
|
+
# Kinesis Data Analytics takes a snapshot when the application is
|
1924
|
+
# stopped, unless `Force` is set to `true`.
|
1867
1925
|
#
|
1868
1926
|
# @option params [required, String] :application_name
|
1869
1927
|
# The name of the running application to stop.
|
1870
1928
|
#
|
1929
|
+
# @option params [Boolean] :force
|
1930
|
+
# Set to `true` to force the application to stop. If you set `Force` to
|
1931
|
+
# `true`, Kinesis Data Analytics stops the application without taking a
|
1932
|
+
# snapshot.
|
1933
|
+
#
|
1934
|
+
# <note markdown="1"> Force-stopping your application may lead to data loss or duplication.
|
1935
|
+
# To prevent data loss or duplicate processing of data during
|
1936
|
+
# application restarts, we recommend you to take frequent snapshots of
|
1937
|
+
# your application.
|
1938
|
+
#
|
1939
|
+
# </note>
|
1940
|
+
#
|
1941
|
+
# You can only force stop a Flink-based Kinesis Data Analytics
|
1942
|
+
# application. You can't force stop a SQL-based Kinesis Data Analytics
|
1943
|
+
# application.
|
1944
|
+
#
|
1945
|
+
# The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
|
1946
|
+
# `AUTOSCALING`, or `RUNNING` status.
|
1947
|
+
#
|
1871
1948
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1872
1949
|
#
|
1873
1950
|
# @example Request syntax with placeholder values
|
1874
1951
|
#
|
1875
1952
|
# resp = client.stop_application({
|
1876
1953
|
# application_name: "ApplicationName", # required
|
1954
|
+
# force: false,
|
1877
1955
|
# })
|
1878
1956
|
#
|
1879
1957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication AWS API Documentation
|
@@ -1885,10 +1963,10 @@ module Aws::KinesisAnalyticsV2
|
|
1885
1963
|
req.send_request(options)
|
1886
1964
|
end
|
1887
1965
|
|
1888
|
-
# Adds one or more key-value tags to a Kinesis Analytics
|
1889
|
-
# Note that the maximum number of application tags includes
|
1890
|
-
# The maximum number of user-defined application tags is
|
1891
|
-
# information, see [Using Tagging][1].
|
1966
|
+
# Adds one or more key-value tags to a Kinesis Data Analytics
|
1967
|
+
# application. Note that the maximum number of application tags includes
|
1968
|
+
# system tags. The maximum number of user-defined application tags is
|
1969
|
+
# 50. For more information, see [Using Tagging][1].
|
1892
1970
|
#
|
1893
1971
|
#
|
1894
1972
|
#
|
@@ -1923,16 +2001,16 @@ module Aws::KinesisAnalyticsV2
|
|
1923
2001
|
req.send_request(options)
|
1924
2002
|
end
|
1925
2003
|
|
1926
|
-
# Removes one or more tags from a Kinesis Analytics application.
|
1927
|
-
# more information, see [Using Tagging][1].
|
2004
|
+
# Removes one or more tags from a Kinesis Data Analytics application.
|
2005
|
+
# For more information, see [Using Tagging][1].
|
1928
2006
|
#
|
1929
2007
|
#
|
1930
2008
|
#
|
1931
2009
|
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1932
2010
|
#
|
1933
2011
|
# @option params [required, String] :resource_arn
|
1934
|
-
# The ARN of the Kinesis Analytics application from which to remove
|
1935
|
-
# tags.
|
2012
|
+
# The ARN of the Kinesis Data Analytics application from which to remove
|
2013
|
+
# the tags.
|
1936
2014
|
#
|
1937
2015
|
# @option params [required, Array<String>] :tag_keys
|
1938
2016
|
# A list of keys of tags to remove from the specified application.
|
@@ -1955,13 +2033,19 @@ module Aws::KinesisAnalyticsV2
|
|
1955
2033
|
req.send_request(options)
|
1956
2034
|
end
|
1957
2035
|
|
1958
|
-
# Updates an existing
|
1959
|
-
#
|
1960
|
-
#
|
2036
|
+
# Updates an existing Kinesis Data Analytics application. Using this
|
2037
|
+
# operation, you can update application code, input configuration, and
|
2038
|
+
# output configuration.
|
1961
2039
|
#
|
1962
2040
|
# Kinesis Data Analytics updates the `ApplicationVersionId` each time
|
1963
2041
|
# you update your application.
|
1964
2042
|
#
|
2043
|
+
# <note markdown="1"> You cannot update the `RuntimeEnvironment` of an existing application.
|
2044
|
+
# If you need to update an application's `RuntimeEnvironment`, you must
|
2045
|
+
# delete the application and create it again.
|
2046
|
+
#
|
2047
|
+
# </note>
|
2048
|
+
#
|
1965
2049
|
# @option params [required, String] :application_name
|
1966
2050
|
# The name of the application to update.
|
1967
2051
|
#
|
@@ -2163,9 +2247,9 @@ module Aws::KinesisAnalyticsV2
|
|
2163
2247
|
# resp.application_detail.application_arn #=> String
|
2164
2248
|
# resp.application_detail.application_description #=> String
|
2165
2249
|
# resp.application_detail.application_name #=> String
|
2166
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
2250
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
2167
2251
|
# resp.application_detail.service_execution_role #=> String
|
2168
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
2252
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
2169
2253
|
# resp.application_detail.application_version_id #=> Integer
|
2170
2254
|
# resp.application_detail.create_timestamp #=> Time
|
2171
2255
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -2225,6 +2309,7 @@ module Aws::KinesisAnalyticsV2
|
|
2225
2309
|
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
2226
2310
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
2227
2311
|
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
2312
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.flink_run_configuration_description.allow_non_restored_state #=> Boolean
|
2228
2313
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
2229
2314
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
2230
2315
|
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
@@ -2277,7 +2362,7 @@ module Aws::KinesisAnalyticsV2
|
|
2277
2362
|
params: params,
|
2278
2363
|
config: config)
|
2279
2364
|
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
2280
|
-
context[:gem_version] = '1.
|
2365
|
+
context[:gem_version] = '1.24.0'
|
2281
2366
|
Seahorse::Client::Request.new(handlers, context)
|
2282
2367
|
end
|
2283
2368
|
|
@@ -43,6 +43,7 @@ module Aws::KinesisAnalyticsV2
|
|
43
43
|
ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries')
|
44
44
|
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
45
45
|
ApplicationVersionId = Shapes::IntegerShape.new(name: 'ApplicationVersionId')
|
46
|
+
AuthorizedUrl = Shapes::StringShape.new(name: 'AuthorizedUrl')
|
46
47
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
47
48
|
BucketARN = Shapes::StringShape.new(name: 'BucketARN')
|
48
49
|
CSVMappingParameters = Shapes::StructureShape.new(name: 'CSVMappingParameters')
|
@@ -65,6 +66,8 @@ module Aws::KinesisAnalyticsV2
|
|
65
66
|
CodeValidationException = Shapes::StructureShape.new(name: 'CodeValidationException')
|
66
67
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
67
68
|
ConfigurationType = Shapes::StringShape.new(name: 'ConfigurationType')
|
69
|
+
CreateApplicationPresignedUrlRequest = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlRequest')
|
70
|
+
CreateApplicationPresignedUrlResponse = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlResponse')
|
68
71
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
69
72
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
70
73
|
CreateApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'CreateApplicationSnapshotRequest')
|
@@ -220,6 +223,7 @@ module Aws::KinesisAnalyticsV2
|
|
220
223
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
221
224
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
222
225
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
226
|
+
SessionExpirationDurationInSeconds = Shapes::IntegerShape.new(name: 'SessionExpirationDurationInSeconds')
|
223
227
|
SnapshotDetails = Shapes::StructureShape.new(name: 'SnapshotDetails')
|
224
228
|
SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
|
225
229
|
SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
|
@@ -252,6 +256,7 @@ module Aws::KinesisAnalyticsV2
|
|
252
256
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
253
257
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
254
258
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
259
|
+
UrlType = Shapes::StringShape.new(name: 'UrlType')
|
255
260
|
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
256
261
|
VpcConfigurationDescription = Shapes::StructureShape.new(name: 'VpcConfigurationDescription')
|
257
262
|
VpcConfigurationDescriptions = Shapes::ListShape.new(name: 'VpcConfigurationDescriptions')
|
@@ -457,6 +462,14 @@ module Aws::KinesisAnalyticsV2
|
|
457
462
|
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
458
463
|
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
459
464
|
|
465
|
+
CreateApplicationPresignedUrlRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
466
|
+
CreateApplicationPresignedUrlRequest.add_member(:url_type, Shapes::ShapeRef.new(shape: UrlType, required: true, location_name: "UrlType"))
|
467
|
+
CreateApplicationPresignedUrlRequest.add_member(:session_expiration_duration_in_seconds, Shapes::ShapeRef.new(shape: SessionExpirationDurationInSeconds, location_name: "SessionExpirationDurationInSeconds"))
|
468
|
+
CreateApplicationPresignedUrlRequest.struct_class = Types::CreateApplicationPresignedUrlRequest
|
469
|
+
|
470
|
+
CreateApplicationPresignedUrlResponse.add_member(:authorized_url, Shapes::ShapeRef.new(shape: AuthorizedUrl, location_name: "AuthorizedUrl"))
|
471
|
+
CreateApplicationPresignedUrlResponse.struct_class = Types::CreateApplicationPresignedUrlResponse
|
472
|
+
|
460
473
|
CreateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
461
474
|
CreateApplicationRequest.add_member(:application_description, Shapes::ShapeRef.new(shape: ApplicationDescription, location_name: "ApplicationDescription"))
|
462
475
|
CreateApplicationRequest.add_member(:runtime_environment, Shapes::ShapeRef.new(shape: RuntimeEnvironment, required: true, location_name: "RuntimeEnvironment"))
|
@@ -882,6 +895,7 @@ module Aws::KinesisAnalyticsV2
|
|
882
895
|
RunConfiguration.struct_class = Types::RunConfiguration
|
883
896
|
|
884
897
|
RunConfigurationDescription.add_member(:application_restore_configuration_description, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfigurationDescription"))
|
898
|
+
RunConfigurationDescription.add_member(:flink_run_configuration_description, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfigurationDescription"))
|
885
899
|
RunConfigurationDescription.struct_class = Types::RunConfigurationDescription
|
886
900
|
|
887
901
|
RunConfigurationUpdate.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
@@ -966,6 +980,7 @@ module Aws::KinesisAnalyticsV2
|
|
966
980
|
StartApplicationResponse.struct_class = Types::StartApplicationResponse
|
967
981
|
|
968
982
|
StopApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
983
|
+
StopApplicationRequest.add_member(:force, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Force"))
|
969
984
|
StopApplicationRequest.struct_class = Types::StopApplicationRequest
|
970
985
|
|
971
986
|
StopApplicationResponse.struct_class = Types::StopApplicationResponse
|
@@ -1132,6 +1147,7 @@ module Aws::KinesisAnalyticsV2
|
|
1132
1147
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1133
1148
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1134
1149
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1150
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
|
1135
1151
|
end)
|
1136
1152
|
|
1137
1153
|
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1149,6 +1165,17 @@ module Aws::KinesisAnalyticsV2
|
|
1149
1165
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1150
1166
|
end)
|
1151
1167
|
|
1168
|
+
api.add_operation(:create_application_presigned_url, Seahorse::Model::Operation.new.tap do |o|
|
1169
|
+
o.name = "CreateApplicationPresignedUrl"
|
1170
|
+
o.http_method = "POST"
|
1171
|
+
o.http_request_uri = "/"
|
1172
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlRequest)
|
1173
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlResponse)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1177
|
+
end)
|
1178
|
+
|
1152
1179
|
api.add_operation(:create_application_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
1153
1180
|
o.name = "CreateApplicationSnapshot"
|
1154
1181
|
o.http_method = "POST"
|
@@ -1161,6 +1188,7 @@ module Aws::KinesisAnalyticsV2
|
|
1161
1188
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1162
1189
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1163
1190
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
|
1164
1192
|
end)
|
1165
1193
|
|
1166
1194
|
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1253,6 +1281,7 @@ module Aws::KinesisAnalyticsV2
|
|
1253
1281
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1254
1282
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1255
1283
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
|
1256
1285
|
end)
|
1257
1286
|
|
1258
1287
|
api.add_operation(:describe_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1344,6 +1373,7 @@ module Aws::KinesisAnalyticsV2
|
|
1344
1373
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1345
1374
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1346
1375
|
o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
|
1376
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1347
1377
|
end)
|
1348
1378
|
|
1349
1379
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|