aws-sdk-kinesisanalyticsv2 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesisanalyticsv2.rb +1 -1
- data/lib/aws-sdk-kinesisanalyticsv2/client.rb +227 -30
- data/lib/aws-sdk-kinesisanalyticsv2/client_api.rb +37 -5
- data/lib/aws-sdk-kinesisanalyticsv2/types.rb +141 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10fba38bf6e3e0a3a2c7d4c5c288ed181755a5696d6af922eba3f2f828dfbe12
|
4
|
+
data.tar.gz: '08a1be2352a9ffe9fb1e7699a00c43f898fd179cb376d2bf8dbf5359d76a44f5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e03ec3f8b912cc6f7700eac907c68bb2b06cf85a72596d4d62c2c4b66bacdb274e414a6d9414436bd7a4ae6d7f90f6e89ee96f57eaafebc19fb7c4fd64610d89
|
7
|
+
data.tar.gz: 2a7eb78effd00ea8a7c3782a70549167e659ceadec00788c9e7b2d748a728bfc7a04be295ed8c183103fbd9bcac1546bcddece79e8f3400a10dca3717814a827
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2021-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Kinesis Analytics now supports RollbackApplication for Apache Flink applications to revert the application to the previous running version
|
8
|
+
|
4
9
|
1.27.0 (2021-04-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -343,13 +343,20 @@ module Aws::KinesisAnalyticsV2
|
|
343
343
|
# @option params [required, String] :application_name
|
344
344
|
# The Kinesis Data Analytics application name.
|
345
345
|
#
|
346
|
-
# @option params [
|
347
|
-
# The version ID of the Kinesis Data Analytics application. You
|
346
|
+
# @option params [Integer] :current_application_version_id
|
347
|
+
# The version ID of the Kinesis Data Analytics application. You must
|
348
|
+
# provide the `ApplicationVersionID` or the `ConditionalToken`.You can
|
348
349
|
# retrieve the application version ID using DescribeApplication.
|
349
350
|
#
|
350
351
|
# @option params [required, Types::CloudWatchLoggingOption] :cloud_watch_logging_option
|
351
352
|
# Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
|
352
353
|
#
|
354
|
+
# @option params [String] :conditional_token
|
355
|
+
# A value you use to implement strong concurrency for application
|
356
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
357
|
+
# `ConditionalToken`. You get the application's current
|
358
|
+
# `ConditionalToken` using DescribeApplication.
|
359
|
+
#
|
353
360
|
# @return [Types::AddApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
354
361
|
#
|
355
362
|
# * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
|
@@ -360,10 +367,11 @@ module Aws::KinesisAnalyticsV2
|
|
360
367
|
#
|
361
368
|
# resp = client.add_application_cloud_watch_logging_option({
|
362
369
|
# application_name: "ApplicationName", # required
|
363
|
-
# current_application_version_id: 1,
|
370
|
+
# current_application_version_id: 1,
|
364
371
|
# cloud_watch_logging_option: { # required
|
365
372
|
# log_stream_arn: "LogStreamARN", # required
|
366
373
|
# },
|
374
|
+
# conditional_token: "ConditionalToken",
|
367
375
|
# })
|
368
376
|
#
|
369
377
|
# @example Response structure
|
@@ -401,7 +409,8 @@ module Aws::KinesisAnalyticsV2
|
|
401
409
|
# streaming source.
|
402
410
|
#
|
403
411
|
# @option params [required, Integer] :current_application_version_id
|
404
|
-
# The current version of your application. You
|
412
|
+
# The current version of your application. You must provide the
|
413
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can use the
|
405
414
|
# DescribeApplication operation to find the current application version.
|
406
415
|
#
|
407
416
|
# @option params [required, Types::Input] :input
|
@@ -510,7 +519,8 @@ module Aws::KinesisAnalyticsV2
|
|
510
519
|
#
|
511
520
|
# @option params [required, Integer] :current_application_version_id
|
512
521
|
# The version of the application to which you want to add the input
|
513
|
-
# processing configuration. You
|
522
|
+
# processing configuration. You must provide the `ApplicationVersionID`
|
523
|
+
# or the `ConditionalToken`. You can use the DescribeApplication
|
514
524
|
# operation to get the current application version. If the version
|
515
525
|
# specified is not the current version, the
|
516
526
|
# `ConcurrentModificationException` is returned.
|
@@ -587,9 +597,11 @@ module Aws::KinesisAnalyticsV2
|
|
587
597
|
#
|
588
598
|
# @option params [required, Integer] :current_application_version_id
|
589
599
|
# The version of the application to which you want to add the output
|
590
|
-
# configuration. You
|
591
|
-
#
|
592
|
-
# current version
|
600
|
+
# configuration. You must provide the `ApplicationVersionID` or the
|
601
|
+
# `ConditionalToken`. You can use the DescribeApplication operation to
|
602
|
+
# get the current application version. If the version specified is not
|
603
|
+
# the current version, the `ConcurrentModificationException` is
|
604
|
+
# returned.
|
593
605
|
#
|
594
606
|
# @option params [required, Types::Output] :output
|
595
607
|
# An array of objects, each describing one output configuration. In the
|
@@ -762,15 +774,23 @@ module Aws::KinesisAnalyticsV2
|
|
762
774
|
# @option params [required, String] :application_name
|
763
775
|
# The name of an existing application.
|
764
776
|
#
|
765
|
-
# @option params [
|
777
|
+
# @option params [Integer] :current_application_version_id
|
766
778
|
# The version of the application to which you want to add the VPC
|
767
|
-
# configuration. You
|
768
|
-
#
|
769
|
-
# current version
|
779
|
+
# configuration. You must provide the `ApplicationVersionID` or the
|
780
|
+
# `ConditionalToken`. You can use the DescribeApplication operation to
|
781
|
+
# get the current application version. If the version specified is not
|
782
|
+
# the current version, the `ConcurrentModificationException` is
|
783
|
+
# returned.
|
770
784
|
#
|
771
785
|
# @option params [required, Types::VpcConfiguration] :vpc_configuration
|
772
786
|
# Description of the VPC to add to the application.
|
773
787
|
#
|
788
|
+
# @option params [String] :conditional_token
|
789
|
+
# A value you use to implement strong concurrency for application
|
790
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
791
|
+
# `ConditionalToken`. You get the application's current
|
792
|
+
# `ConditionalToken` using DescribeApplication.
|
793
|
+
#
|
774
794
|
# @return [Types::AddApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
775
795
|
#
|
776
796
|
# * {Types::AddApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
@@ -781,11 +801,12 @@ module Aws::KinesisAnalyticsV2
|
|
781
801
|
#
|
782
802
|
# resp = client.add_application_vpc_configuration({
|
783
803
|
# application_name: "ApplicationName", # required
|
784
|
-
# current_application_version_id: 1,
|
804
|
+
# current_application_version_id: 1,
|
785
805
|
# vpc_configuration: { # required
|
786
806
|
# subnet_ids: ["SubnetId"], # required
|
787
807
|
# security_group_ids: ["SecurityGroupId"], # required
|
788
808
|
# },
|
809
|
+
# conditional_token: "ConditionalToken",
|
789
810
|
# })
|
790
811
|
#
|
791
812
|
# @example Response structure
|
@@ -1023,7 +1044,7 @@ module Aws::KinesisAnalyticsV2
|
|
1023
1044
|
# resp.application_detail.application_name #=> String
|
1024
1045
|
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1025
1046
|
# resp.application_detail.service_execution_role #=> String
|
1026
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE"
|
1047
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
|
1027
1048
|
# resp.application_detail.application_version_id #=> Integer
|
1028
1049
|
# resp.application_detail.create_timestamp #=> Time
|
1029
1050
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -1115,6 +1136,9 @@ module Aws::KinesisAnalyticsV2
|
|
1115
1136
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
1116
1137
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
|
1117
1138
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
|
1139
|
+
# resp.application_detail.application_version_updated_from #=> Integer
|
1140
|
+
# resp.application_detail.application_version_rolled_back_from #=> Integer
|
1141
|
+
# resp.application_detail.conditional_token #=> String
|
1118
1142
|
#
|
1119
1143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplication AWS API Documentation
|
1120
1144
|
#
|
@@ -1240,15 +1264,22 @@ module Aws::KinesisAnalyticsV2
|
|
1240
1264
|
# @option params [required, String] :application_name
|
1241
1265
|
# The application name.
|
1242
1266
|
#
|
1243
|
-
# @option params [
|
1244
|
-
# The version ID of the application. You
|
1245
|
-
#
|
1267
|
+
# @option params [Integer] :current_application_version_id
|
1268
|
+
# The version ID of the application. You must provide the
|
1269
|
+
# `ApplicationVersionID` or the `ConditionalToken`. You can retrieve the
|
1270
|
+
# application version ID using DescribeApplication.
|
1246
1271
|
#
|
1247
1272
|
# @option params [required, String] :cloud_watch_logging_option_id
|
1248
1273
|
# The `CloudWatchLoggingOptionId` of the Amazon CloudWatch logging
|
1249
1274
|
# option to delete. You can get the `CloudWatchLoggingOptionId` by using
|
1250
1275
|
# the DescribeApplication operation.
|
1251
1276
|
#
|
1277
|
+
# @option params [String] :conditional_token
|
1278
|
+
# A value you use to implement strong concurrency for application
|
1279
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
1280
|
+
# `ConditionalToken`. You get the application's current
|
1281
|
+
# `ConditionalToken` using DescribeApplication.
|
1282
|
+
#
|
1252
1283
|
# @return [Types::DeleteApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1253
1284
|
#
|
1254
1285
|
# * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
|
@@ -1259,8 +1290,9 @@ module Aws::KinesisAnalyticsV2
|
|
1259
1290
|
#
|
1260
1291
|
# resp = client.delete_application_cloud_watch_logging_option({
|
1261
1292
|
# application_name: "ApplicationName", # required
|
1262
|
-
# current_application_version_id: 1,
|
1293
|
+
# current_application_version_id: 1,
|
1263
1294
|
# cloud_watch_logging_option_id: "Id", # required
|
1295
|
+
# conditional_token: "ConditionalToken",
|
1264
1296
|
# })
|
1265
1297
|
#
|
1266
1298
|
# @example Response structure
|
@@ -1459,13 +1491,20 @@ module Aws::KinesisAnalyticsV2
|
|
1459
1491
|
# @option params [required, String] :application_name
|
1460
1492
|
# The name of an existing application.
|
1461
1493
|
#
|
1462
|
-
# @option params [
|
1463
|
-
# The current application version ID. You
|
1464
|
-
#
|
1494
|
+
# @option params [Integer] :current_application_version_id
|
1495
|
+
# The current application version ID. You must provide the
|
1496
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can retrieve the
|
1497
|
+
# application version ID using DescribeApplication.
|
1465
1498
|
#
|
1466
1499
|
# @option params [required, String] :vpc_configuration_id
|
1467
1500
|
# The ID of the VPC configuration to delete.
|
1468
1501
|
#
|
1502
|
+
# @option params [String] :conditional_token
|
1503
|
+
# A value you use to implement strong concurrency for application
|
1504
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
1505
|
+
# `ConditionalToken`. You get the application's current
|
1506
|
+
# `ConditionalToken` using DescribeApplication.
|
1507
|
+
#
|
1469
1508
|
# @return [Types::DeleteApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1470
1509
|
#
|
1471
1510
|
# * {Types::DeleteApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
@@ -1475,8 +1514,9 @@ module Aws::KinesisAnalyticsV2
|
|
1475
1514
|
#
|
1476
1515
|
# resp = client.delete_application_vpc_configuration({
|
1477
1516
|
# application_name: "ApplicationName", # required
|
1478
|
-
# current_application_version_id: 1,
|
1517
|
+
# current_application_version_id: 1,
|
1479
1518
|
# vpc_configuration_id: "Id", # required
|
1519
|
+
# conditional_token: "ConditionalToken",
|
1480
1520
|
# })
|
1481
1521
|
#
|
1482
1522
|
# @example Response structure
|
@@ -1524,7 +1564,7 @@ module Aws::KinesisAnalyticsV2
|
|
1524
1564
|
# resp.application_detail.application_name #=> String
|
1525
1565
|
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1526
1566
|
# resp.application_detail.service_execution_role #=> String
|
1527
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE"
|
1567
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
|
1528
1568
|
# resp.application_detail.application_version_id #=> Integer
|
1529
1569
|
# resp.application_detail.create_timestamp #=> Time
|
1530
1570
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -1616,6 +1656,9 @@ module Aws::KinesisAnalyticsV2
|
|
1616
1656
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
1617
1657
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
|
1618
1658
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
|
1659
|
+
# resp.application_detail.application_version_updated_from #=> Integer
|
1660
|
+
# resp.application_detail.application_version_rolled_back_from #=> Integer
|
1661
|
+
# resp.application_detail.conditional_token #=> String
|
1619
1662
|
#
|
1620
1663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplication AWS API Documentation
|
1621
1664
|
#
|
@@ -1827,7 +1870,7 @@ module Aws::KinesisAnalyticsV2
|
|
1827
1870
|
# resp.application_summaries #=> Array
|
1828
1871
|
# resp.application_summaries[0].application_name #=> String
|
1829
1872
|
# resp.application_summaries[0].application_arn #=> String
|
1830
|
-
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE"
|
1873
|
+
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
|
1831
1874
|
# resp.application_summaries[0].application_version_id #=> Integer
|
1832
1875
|
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1833
1876
|
# resp.next_token #=> String
|
@@ -1876,6 +1919,149 @@ module Aws::KinesisAnalyticsV2
|
|
1876
1919
|
req.send_request(options)
|
1877
1920
|
end
|
1878
1921
|
|
1922
|
+
# Reverts the application to the previous running version. You can roll
|
1923
|
+
# back an application if you suspect it is stuck in a transient status.
|
1924
|
+
#
|
1925
|
+
# You can roll back an application only if it is in the `UPDATING` or
|
1926
|
+
# `AUTOSCALING` status.
|
1927
|
+
#
|
1928
|
+
# When you rollback an application, it loads state data from the last
|
1929
|
+
# successful snapshot. If the application has no snapshots, Kinesis Data
|
1930
|
+
# Analytics rejects the rollback request.
|
1931
|
+
#
|
1932
|
+
# This action is not supported for Kinesis Data Analytics for SQL
|
1933
|
+
# applications.
|
1934
|
+
#
|
1935
|
+
# @option params [required, String] :application_name
|
1936
|
+
# The name of the application.
|
1937
|
+
#
|
1938
|
+
# @option params [required, Integer] :current_application_version_id
|
1939
|
+
# The current application version ID. You can retrieve the application
|
1940
|
+
# version ID using DescribeApplication.
|
1941
|
+
#
|
1942
|
+
# @return [Types::RollbackApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1943
|
+
#
|
1944
|
+
# * {Types::RollbackApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
|
1945
|
+
#
|
1946
|
+
# @example Request syntax with placeholder values
|
1947
|
+
#
|
1948
|
+
# resp = client.rollback_application({
|
1949
|
+
# application_name: "ApplicationName", # required
|
1950
|
+
# current_application_version_id: 1, # required
|
1951
|
+
# })
|
1952
|
+
#
|
1953
|
+
# @example Response structure
|
1954
|
+
#
|
1955
|
+
# resp.application_detail.application_arn #=> String
|
1956
|
+
# resp.application_detail.application_description #=> String
|
1957
|
+
# resp.application_detail.application_name #=> String
|
1958
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1959
|
+
# resp.application_detail.service_execution_role #=> String
|
1960
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
|
1961
|
+
# resp.application_detail.application_version_id #=> Integer
|
1962
|
+
# resp.application_detail.create_timestamp #=> Time
|
1963
|
+
# resp.application_detail.last_update_timestamp #=> Time
|
1964
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions #=> Array
|
1965
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_id #=> String
|
1966
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].name_prefix #=> String
|
1967
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names #=> Array
|
1968
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names[0] #=> String
|
1969
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
1970
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
1971
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
|
1972
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
|
1973
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
|
1974
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
|
1975
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
1976
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
1977
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
1978
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
1979
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_encoding #=> String
|
1980
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns #=> Array
|
1981
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].name #=> String
|
1982
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
|
1983
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
|
1984
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_parallelism.count #=> Integer
|
1985
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_starting_position_configuration.input_starting_position #=> String, one of "NOW", "TRIM_HORIZON", "LAST_STOPPED_POINT"
|
1986
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions #=> Array
|
1987
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].output_id #=> String
|
1988
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].name #=> String
|
1989
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
|
1990
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
|
1991
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
|
1992
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
|
1993
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.resource_arn #=> String
|
1994
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.role_arn #=> String
|
1995
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
|
1996
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions #=> Array
|
1997
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_id #=> String
|
1998
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].table_name #=> String
|
1999
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
|
2000
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
|
2001
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
|
2002
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
2003
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
2004
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
2005
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
2006
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
|
2007
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
|
2008
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
|
2009
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
|
2010
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
|
2011
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_type #=> String, one of "PLAINTEXT", "ZIPFILE"
|
2012
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.text_content #=> String
|
2013
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_md5 #=> String
|
2014
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_size #=> Integer
|
2015
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.bucket_arn #=> String
|
2016
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.file_key #=> String
|
2017
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
2018
|
+
# 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"
|
2019
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
2020
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.flink_run_configuration_description.allow_non_restored_state #=> Boolean
|
2021
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
2022
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
2023
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
2024
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.min_pause_between_checkpoints #=> Integer
|
2025
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
2026
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.metrics_level #=> String, one of "APPLICATION", "TASK", "OPERATOR", "PARALLELISM"
|
2027
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.log_level #=> String, one of "INFO", "WARN", "ERROR", "DEBUG"
|
2028
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
2029
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism #=> Integer
|
2030
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism_per_kpu #=> Integer
|
2031
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.current_parallelism #=> Integer
|
2032
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.auto_scaling_enabled #=> Boolean
|
2033
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.job_plan_description #=> String
|
2034
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions #=> Array
|
2035
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_group_id #=> String
|
2036
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
2037
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
2038
|
+
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
2039
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
2040
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
2041
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
2042
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
2043
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
2044
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
2045
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
2046
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
2047
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
2048
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
2049
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
2050
|
+
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
|
2051
|
+
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
|
2052
|
+
# resp.application_detail.application_version_updated_from #=> Integer
|
2053
|
+
# resp.application_detail.application_version_rolled_back_from #=> Integer
|
2054
|
+
# resp.application_detail.conditional_token #=> String
|
2055
|
+
#
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplication AWS API Documentation
|
2057
|
+
#
|
2058
|
+
# @overload rollback_application(params = {})
|
2059
|
+
# @param [Hash] params ({})
|
2060
|
+
def rollback_application(params = {}, options = {})
|
2061
|
+
req = build_request(:rollback_application, params)
|
2062
|
+
req.send_request(options)
|
2063
|
+
end
|
2064
|
+
|
1879
2065
|
# Starts the specified Kinesis Data Analytics application. After
|
1880
2066
|
# creating an application, you must exclusively call this operation to
|
1881
2067
|
# start your application.
|
@@ -2057,9 +2243,10 @@ module Aws::KinesisAnalyticsV2
|
|
2057
2243
|
# @option params [required, String] :application_name
|
2058
2244
|
# The name of the application to update.
|
2059
2245
|
#
|
2060
|
-
# @option params [
|
2061
|
-
# The current application version ID. You
|
2062
|
-
#
|
2246
|
+
# @option params [Integer] :current_application_version_id
|
2247
|
+
# The current application version ID. You must provide the
|
2248
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can retrieve the
|
2249
|
+
# application version ID using DescribeApplication.
|
2063
2250
|
#
|
2064
2251
|
# @option params [Types::ApplicationConfigurationUpdate] :application_configuration_update
|
2065
2252
|
# Describes application configuration updates.
|
@@ -2076,6 +2263,12 @@ module Aws::KinesisAnalyticsV2
|
|
2076
2263
|
# To add a new CloudWatch logging option, use
|
2077
2264
|
# AddApplicationCloudWatchLoggingOption.
|
2078
2265
|
#
|
2266
|
+
# @option params [String] :conditional_token
|
2267
|
+
# A value you use to implement strong concurrency for application
|
2268
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
2269
|
+
# `ConditionalToken`. You get the application's current
|
2270
|
+
# `ConditionalToken` using DescribeApplication.
|
2271
|
+
#
|
2079
2272
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2080
2273
|
#
|
2081
2274
|
# * {Types::UpdateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
|
@@ -2084,7 +2277,7 @@ module Aws::KinesisAnalyticsV2
|
|
2084
2277
|
#
|
2085
2278
|
# resp = client.update_application({
|
2086
2279
|
# application_name: "ApplicationName", # required
|
2087
|
-
# current_application_version_id: 1,
|
2280
|
+
# current_application_version_id: 1,
|
2088
2281
|
# application_configuration_update: {
|
2089
2282
|
# sql_application_configuration_update: {
|
2090
2283
|
# input_updates: [
|
@@ -2248,6 +2441,7 @@ module Aws::KinesisAnalyticsV2
|
|
2248
2441
|
# log_stream_arn_update: "LogStreamARN",
|
2249
2442
|
# },
|
2250
2443
|
# ],
|
2444
|
+
# conditional_token: "ConditionalToken",
|
2251
2445
|
# })
|
2252
2446
|
#
|
2253
2447
|
# @example Response structure
|
@@ -2257,7 +2451,7 @@ module Aws::KinesisAnalyticsV2
|
|
2257
2451
|
# resp.application_detail.application_name #=> String
|
2258
2452
|
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
2259
2453
|
# resp.application_detail.service_execution_role #=> String
|
2260
|
-
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE"
|
2454
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
|
2261
2455
|
# resp.application_detail.application_version_id #=> Integer
|
2262
2456
|
# resp.application_detail.create_timestamp #=> Time
|
2263
2457
|
# resp.application_detail.last_update_timestamp #=> Time
|
@@ -2349,6 +2543,9 @@ module Aws::KinesisAnalyticsV2
|
|
2349
2543
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
2350
2544
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
|
2351
2545
|
# resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
|
2546
|
+
# resp.application_detail.application_version_updated_from #=> Integer
|
2547
|
+
# resp.application_detail.application_version_rolled_back_from #=> Integer
|
2548
|
+
# resp.application_detail.conditional_token #=> String
|
2352
2549
|
#
|
2353
2550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication AWS API Documentation
|
2354
2551
|
#
|
@@ -2417,7 +2614,7 @@ module Aws::KinesisAnalyticsV2
|
|
2417
2614
|
params: params,
|
2418
2615
|
config: config)
|
2419
2616
|
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
2420
|
-
context[:gem_version] = '1.
|
2617
|
+
context[:gem_version] = '1.28.0'
|
2421
2618
|
Seahorse::Client::Request.new(handlers, context)
|
2422
2619
|
end
|
2423
2620
|
|
@@ -69,6 +69,7 @@ module Aws::KinesisAnalyticsV2
|
|
69
69
|
CodeSize = Shapes::IntegerShape.new(name: 'CodeSize')
|
70
70
|
CodeValidationException = Shapes::StructureShape.new(name: 'CodeValidationException')
|
71
71
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
72
|
+
ConditionalToken = Shapes::StringShape.new(name: 'ConditionalToken')
|
72
73
|
ConfigurationType = Shapes::StringShape.new(name: 'ConfigurationType')
|
73
74
|
CreateApplicationPresignedUrlRequest = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlRequest')
|
74
75
|
CreateApplicationPresignedUrlResponse = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlResponse')
|
@@ -213,6 +214,8 @@ module Aws::KinesisAnalyticsV2
|
|
213
214
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
214
215
|
ResourceProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ResourceProvisionedThroughputExceededException')
|
215
216
|
RoleARN = Shapes::StringShape.new(name: 'RoleARN')
|
217
|
+
RollbackApplicationRequest = Shapes::StructureShape.new(name: 'RollbackApplicationRequest')
|
218
|
+
RollbackApplicationResponse = Shapes::StructureShape.new(name: 'RollbackApplicationResponse')
|
216
219
|
RunConfiguration = Shapes::StructureShape.new(name: 'RunConfiguration')
|
217
220
|
RunConfigurationDescription = Shapes::StructureShape.new(name: 'RunConfigurationDescription')
|
218
221
|
RunConfigurationUpdate = Shapes::StructureShape.new(name: 'RunConfigurationUpdate')
|
@@ -273,8 +276,9 @@ module Aws::KinesisAnalyticsV2
|
|
273
276
|
ZipFileContent = Shapes::BlobShape.new(name: 'ZipFileContent')
|
274
277
|
|
275
278
|
AddApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
276
|
-
AddApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId,
|
279
|
+
AddApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
|
277
280
|
AddApplicationCloudWatchLoggingOptionRequest.add_member(:cloud_watch_logging_option, Shapes::ShapeRef.new(shape: CloudWatchLoggingOption, required: true, location_name: "CloudWatchLoggingOption"))
|
281
|
+
AddApplicationCloudWatchLoggingOptionRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
278
282
|
AddApplicationCloudWatchLoggingOptionRequest.struct_class = Types::AddApplicationCloudWatchLoggingOptionRequest
|
279
283
|
|
280
284
|
AddApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
@@ -325,8 +329,9 @@ module Aws::KinesisAnalyticsV2
|
|
325
329
|
AddApplicationReferenceDataSourceResponse.struct_class = Types::AddApplicationReferenceDataSourceResponse
|
326
330
|
|
327
331
|
AddApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
328
|
-
AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId,
|
332
|
+
AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
|
329
333
|
AddApplicationVpcConfigurationRequest.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
|
334
|
+
AddApplicationVpcConfigurationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
330
335
|
AddApplicationVpcConfigurationRequest.struct_class = Types::AddApplicationVpcConfigurationRequest
|
331
336
|
|
332
337
|
AddApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
@@ -383,6 +388,9 @@ module Aws::KinesisAnalyticsV2
|
|
383
388
|
ApplicationDetail.add_member(:application_configuration_description, Shapes::ShapeRef.new(shape: ApplicationConfigurationDescription, location_name: "ApplicationConfigurationDescription"))
|
384
389
|
ApplicationDetail.add_member(:cloud_watch_logging_option_descriptions, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionDescriptions, location_name: "CloudWatchLoggingOptionDescriptions"))
|
385
390
|
ApplicationDetail.add_member(:application_maintenance_configuration_description, Shapes::ShapeRef.new(shape: ApplicationMaintenanceConfigurationDescription, location_name: "ApplicationMaintenanceConfigurationDescription"))
|
391
|
+
ApplicationDetail.add_member(:application_version_updated_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionUpdatedFrom"))
|
392
|
+
ApplicationDetail.add_member(:application_version_rolled_back_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionRolledBackFrom"))
|
393
|
+
ApplicationDetail.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
386
394
|
ApplicationDetail.struct_class = Types::ApplicationDetail
|
387
395
|
|
388
396
|
ApplicationMaintenanceConfigurationDescription.add_member(:application_maintenance_window_start_time, Shapes::ShapeRef.new(shape: ApplicationMaintenanceWindowStartTime, required: true, location_name: "ApplicationMaintenanceWindowStartTime"))
|
@@ -503,8 +511,9 @@ module Aws::KinesisAnalyticsV2
|
|
503
511
|
CreateApplicationSnapshotResponse.struct_class = Types::CreateApplicationSnapshotResponse
|
504
512
|
|
505
513
|
DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
506
|
-
DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId,
|
514
|
+
DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
|
507
515
|
DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:cloud_watch_logging_option_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "CloudWatchLoggingOptionId"))
|
516
|
+
DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
508
517
|
DeleteApplicationCloudWatchLoggingOptionRequest.struct_class = Types::DeleteApplicationCloudWatchLoggingOptionRequest
|
509
518
|
|
510
519
|
DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
@@ -553,8 +562,9 @@ module Aws::KinesisAnalyticsV2
|
|
553
562
|
DeleteApplicationSnapshotResponse.struct_class = Types::DeleteApplicationSnapshotResponse
|
554
563
|
|
555
564
|
DeleteApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
556
|
-
DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId,
|
565
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
|
557
566
|
DeleteApplicationVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
567
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
558
568
|
DeleteApplicationVpcConfigurationRequest.struct_class = Types::DeleteApplicationVpcConfigurationRequest
|
559
569
|
|
560
570
|
DeleteApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
@@ -903,6 +913,13 @@ module Aws::KinesisAnalyticsV2
|
|
903
913
|
ResourceProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
904
914
|
ResourceProvisionedThroughputExceededException.struct_class = Types::ResourceProvisionedThroughputExceededException
|
905
915
|
|
916
|
+
RollbackApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
917
|
+
RollbackApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
|
918
|
+
RollbackApplicationRequest.struct_class = Types::RollbackApplicationRequest
|
919
|
+
|
920
|
+
RollbackApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
|
921
|
+
RollbackApplicationResponse.struct_class = Types::RollbackApplicationResponse
|
922
|
+
|
906
923
|
RunConfiguration.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
907
924
|
RunConfiguration.add_member(:sql_run_configurations, Shapes::ShapeRef.new(shape: SqlRunConfigurations, location_name: "SqlRunConfigurations"))
|
908
925
|
RunConfiguration.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
|
@@ -1041,11 +1058,12 @@ module Aws::KinesisAnalyticsV2
|
|
1041
1058
|
UpdateApplicationMaintenanceConfigurationResponse.struct_class = Types::UpdateApplicationMaintenanceConfigurationResponse
|
1042
1059
|
|
1043
1060
|
UpdateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
1044
|
-
UpdateApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId,
|
1061
|
+
UpdateApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
|
1045
1062
|
UpdateApplicationRequest.add_member(:application_configuration_update, Shapes::ShapeRef.new(shape: ApplicationConfigurationUpdate, location_name: "ApplicationConfigurationUpdate"))
|
1046
1063
|
UpdateApplicationRequest.add_member(:service_execution_role_update, Shapes::ShapeRef.new(shape: RoleARN, location_name: "ServiceExecutionRoleUpdate"))
|
1047
1064
|
UpdateApplicationRequest.add_member(:run_configuration_update, Shapes::ShapeRef.new(shape: RunConfigurationUpdate, location_name: "RunConfigurationUpdate"))
|
1048
1065
|
UpdateApplicationRequest.add_member(:cloud_watch_logging_option_updates, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionUpdates, location_name: "CloudWatchLoggingOptionUpdates"))
|
1066
|
+
UpdateApplicationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
|
1049
1067
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
1050
1068
|
|
1051
1069
|
UpdateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
|
@@ -1371,6 +1389,20 @@ module Aws::KinesisAnalyticsV2
|
|
1371
1389
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1372
1390
|
end)
|
1373
1391
|
|
1392
|
+
api.add_operation(:rollback_application, Seahorse::Model::Operation.new.tap do |o|
|
1393
|
+
o.name = "RollbackApplication"
|
1394
|
+
o.http_method = "POST"
|
1395
|
+
o.http_request_uri = "/"
|
1396
|
+
o.input = Shapes::ShapeRef.new(shape: RollbackApplicationRequest)
|
1397
|
+
o.output = Shapes::ShapeRef.new(shape: RollbackApplicationResponse)
|
1398
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1399
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1400
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1401
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1402
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1403
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1404
|
+
end)
|
1405
|
+
|
1374
1406
|
api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o|
|
1375
1407
|
o.name = "StartApplication"
|
1376
1408
|
o.http_method = "POST"
|
@@ -15,10 +15,11 @@ module Aws::KinesisAnalyticsV2
|
|
15
15
|
#
|
16
16
|
# {
|
17
17
|
# application_name: "ApplicationName", # required
|
18
|
-
# current_application_version_id: 1,
|
18
|
+
# current_application_version_id: 1,
|
19
19
|
# cloud_watch_logging_option: { # required
|
20
20
|
# log_stream_arn: "LogStreamARN", # required
|
21
21
|
# },
|
22
|
+
# conditional_token: "ConditionalToken",
|
22
23
|
# }
|
23
24
|
#
|
24
25
|
# @!attribute [rw] application_name
|
@@ -26,7 +27,8 @@ module Aws::KinesisAnalyticsV2
|
|
26
27
|
# @return [String]
|
27
28
|
#
|
28
29
|
# @!attribute [rw] current_application_version_id
|
29
|
-
# The version ID of the Kinesis Data Analytics application. You
|
30
|
+
# The version ID of the Kinesis Data Analytics application. You must
|
31
|
+
# provide the `ApplicationVersionID` or the `ConditionalToken`.You can
|
30
32
|
# retrieve the application version ID using DescribeApplication.
|
31
33
|
# @return [Integer]
|
32
34
|
#
|
@@ -35,12 +37,20 @@ module Aws::KinesisAnalyticsV2
|
|
35
37
|
# (ARN).
|
36
38
|
# @return [Types::CloudWatchLoggingOption]
|
37
39
|
#
|
40
|
+
# @!attribute [rw] conditional_token
|
41
|
+
# A value you use to implement strong concurrency for application
|
42
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
43
|
+
# `ConditionalToken`. You get the application's current
|
44
|
+
# `ConditionalToken` using DescribeApplication.
|
45
|
+
# @return [String]
|
46
|
+
#
|
38
47
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOptionRequest AWS API Documentation
|
39
48
|
#
|
40
49
|
class AddApplicationCloudWatchLoggingOptionRequest < Struct.new(
|
41
50
|
:application_name,
|
42
51
|
:current_application_version_id,
|
43
|
-
:cloud_watch_logging_option
|
52
|
+
:cloud_watch_logging_option,
|
53
|
+
:conditional_token)
|
44
54
|
SENSITIVE = []
|
45
55
|
include Aws::Structure
|
46
56
|
end
|
@@ -91,9 +101,10 @@ module Aws::KinesisAnalyticsV2
|
|
91
101
|
#
|
92
102
|
# @!attribute [rw] current_application_version_id
|
93
103
|
# The version of the application to which you want to add the input
|
94
|
-
# processing configuration. You
|
95
|
-
#
|
96
|
-
#
|
104
|
+
# processing configuration. You must provide the
|
105
|
+
# `ApplicationVersionID` or the `ConditionalToken`. You can use the
|
106
|
+
# DescribeApplication operation to get the current application
|
107
|
+
# version. If the version specified is not the current version, the
|
97
108
|
# `ConcurrentModificationException` is returned.
|
98
109
|
# @return [Integer]
|
99
110
|
#
|
@@ -201,7 +212,8 @@ module Aws::KinesisAnalyticsV2
|
|
201
212
|
# @return [String]
|
202
213
|
#
|
203
214
|
# @!attribute [rw] current_application_version_id
|
204
|
-
# The current version of your application. You
|
215
|
+
# The current version of your application. You must provide the
|
216
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can use the
|
205
217
|
# DescribeApplication operation to find the current application
|
206
218
|
# version.
|
207
219
|
# @return [Integer]
|
@@ -272,9 +284,11 @@ module Aws::KinesisAnalyticsV2
|
|
272
284
|
#
|
273
285
|
# @!attribute [rw] current_application_version_id
|
274
286
|
# The version of the application to which you want to add the output
|
275
|
-
# configuration. You
|
276
|
-
#
|
277
|
-
# current version
|
287
|
+
# configuration. You must provide the `ApplicationVersionID` or the
|
288
|
+
# `ConditionalToken`. You can use the DescribeApplication operation to
|
289
|
+
# get the current application version. If the version specified is not
|
290
|
+
# the current version, the `ConcurrentModificationException` is
|
291
|
+
# returned.
|
278
292
|
# @return [Integer]
|
279
293
|
#
|
280
294
|
# @!attribute [rw] output
|
@@ -418,11 +432,12 @@ module Aws::KinesisAnalyticsV2
|
|
418
432
|
#
|
419
433
|
# {
|
420
434
|
# application_name: "ApplicationName", # required
|
421
|
-
# current_application_version_id: 1,
|
435
|
+
# current_application_version_id: 1,
|
422
436
|
# vpc_configuration: { # required
|
423
437
|
# subnet_ids: ["SubnetId"], # required
|
424
438
|
# security_group_ids: ["SecurityGroupId"], # required
|
425
439
|
# },
|
440
|
+
# conditional_token: "ConditionalToken",
|
426
441
|
# }
|
427
442
|
#
|
428
443
|
# @!attribute [rw] application_name
|
@@ -431,21 +446,31 @@ module Aws::KinesisAnalyticsV2
|
|
431
446
|
#
|
432
447
|
# @!attribute [rw] current_application_version_id
|
433
448
|
# The version of the application to which you want to add the VPC
|
434
|
-
# configuration. You
|
435
|
-
#
|
436
|
-
# current version
|
449
|
+
# configuration. You must provide the `ApplicationVersionID` or the
|
450
|
+
# `ConditionalToken`. You can use the DescribeApplication operation to
|
451
|
+
# get the current application version. If the version specified is not
|
452
|
+
# the current version, the `ConcurrentModificationException` is
|
453
|
+
# returned.
|
437
454
|
# @return [Integer]
|
438
455
|
#
|
439
456
|
# @!attribute [rw] vpc_configuration
|
440
457
|
# Description of the VPC to add to the application.
|
441
458
|
# @return [Types::VpcConfiguration]
|
442
459
|
#
|
460
|
+
# @!attribute [rw] conditional_token
|
461
|
+
# A value you use to implement strong concurrency for application
|
462
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
463
|
+
# `ConditionalToken`. You get the application's current
|
464
|
+
# `ConditionalToken` using DescribeApplication.
|
465
|
+
# @return [String]
|
466
|
+
#
|
443
467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationRequest AWS API Documentation
|
444
468
|
#
|
445
469
|
class AddApplicationVpcConfigurationRequest < Struct.new(
|
446
470
|
:application_name,
|
447
471
|
:current_application_version_id,
|
448
|
-
:vpc_configuration
|
472
|
+
:vpc_configuration,
|
473
|
+
:conditional_token)
|
449
474
|
SENSITIVE = []
|
450
475
|
include Aws::Structure
|
451
476
|
end
|
@@ -1064,6 +1089,21 @@ module Aws::KinesisAnalyticsV2
|
|
1064
1089
|
# Describes the time window for automatic application maintenance.
|
1065
1090
|
# @return [Types::ApplicationMaintenanceConfigurationDescription]
|
1066
1091
|
#
|
1092
|
+
# @!attribute [rw] application_version_updated_from
|
1093
|
+
# The previous application version before the latest application
|
1094
|
+
# update. RollbackApplication reverts the application to this version.
|
1095
|
+
# @return [Integer]
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] application_version_rolled_back_from
|
1098
|
+
# If you reverted the application using RollbackApplication, the
|
1099
|
+
# application version when `RollbackApplication` was called.
|
1100
|
+
# @return [Integer]
|
1101
|
+
#
|
1102
|
+
# @!attribute [rw] conditional_token
|
1103
|
+
# A value you use to implement strong concurrency for application
|
1104
|
+
# updates.
|
1105
|
+
# @return [String]
|
1106
|
+
#
|
1067
1107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationDetail AWS API Documentation
|
1068
1108
|
#
|
1069
1109
|
class ApplicationDetail < Struct.new(
|
@@ -1078,7 +1118,10 @@ module Aws::KinesisAnalyticsV2
|
|
1078
1118
|
:last_update_timestamp,
|
1079
1119
|
:application_configuration_description,
|
1080
1120
|
:cloud_watch_logging_option_descriptions,
|
1081
|
-
:application_maintenance_configuration_description
|
1121
|
+
:application_maintenance_configuration_description,
|
1122
|
+
:application_version_updated_from,
|
1123
|
+
:application_version_rolled_back_from,
|
1124
|
+
:conditional_token)
|
1082
1125
|
SENSITIVE = []
|
1083
1126
|
include Aws::Structure
|
1084
1127
|
end
|
@@ -2062,8 +2105,9 @@ module Aws::KinesisAnalyticsV2
|
|
2062
2105
|
#
|
2063
2106
|
# {
|
2064
2107
|
# application_name: "ApplicationName", # required
|
2065
|
-
# current_application_version_id: 1,
|
2108
|
+
# current_application_version_id: 1,
|
2066
2109
|
# cloud_watch_logging_option_id: "Id", # required
|
2110
|
+
# conditional_token: "ConditionalToken",
|
2067
2111
|
# }
|
2068
2112
|
#
|
2069
2113
|
# @!attribute [rw] application_name
|
@@ -2071,8 +2115,9 @@ module Aws::KinesisAnalyticsV2
|
|
2071
2115
|
# @return [String]
|
2072
2116
|
#
|
2073
2117
|
# @!attribute [rw] current_application_version_id
|
2074
|
-
# The version ID of the application. You
|
2075
|
-
#
|
2118
|
+
# The version ID of the application. You must provide the
|
2119
|
+
# `ApplicationVersionID` or the `ConditionalToken`. You can retrieve
|
2120
|
+
# the application version ID using DescribeApplication.
|
2076
2121
|
# @return [Integer]
|
2077
2122
|
#
|
2078
2123
|
# @!attribute [rw] cloud_watch_logging_option_id
|
@@ -2081,12 +2126,20 @@ module Aws::KinesisAnalyticsV2
|
|
2081
2126
|
# using the DescribeApplication operation.
|
2082
2127
|
# @return [String]
|
2083
2128
|
#
|
2129
|
+
# @!attribute [rw] conditional_token
|
2130
|
+
# A value you use to implement strong concurrency for application
|
2131
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
2132
|
+
# `ConditionalToken`. You get the application's current
|
2133
|
+
# `ConditionalToken` using DescribeApplication.
|
2134
|
+
# @return [String]
|
2135
|
+
#
|
2084
2136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOptionRequest AWS API Documentation
|
2085
2137
|
#
|
2086
2138
|
class DeleteApplicationCloudWatchLoggingOptionRequest < Struct.new(
|
2087
2139
|
:application_name,
|
2088
2140
|
:current_application_version_id,
|
2089
|
-
:cloud_watch_logging_option_id
|
2141
|
+
:cloud_watch_logging_option_id,
|
2142
|
+
:conditional_token)
|
2090
2143
|
SENSITIVE = []
|
2091
2144
|
include Aws::Structure
|
2092
2145
|
end
|
@@ -2351,8 +2404,9 @@ module Aws::KinesisAnalyticsV2
|
|
2351
2404
|
#
|
2352
2405
|
# {
|
2353
2406
|
# application_name: "ApplicationName", # required
|
2354
|
-
# current_application_version_id: 1,
|
2407
|
+
# current_application_version_id: 1,
|
2355
2408
|
# vpc_configuration_id: "Id", # required
|
2409
|
+
# conditional_token: "ConditionalToken",
|
2356
2410
|
# }
|
2357
2411
|
#
|
2358
2412
|
# @!attribute [rw] application_name
|
@@ -2360,20 +2414,29 @@ module Aws::KinesisAnalyticsV2
|
|
2360
2414
|
# @return [String]
|
2361
2415
|
#
|
2362
2416
|
# @!attribute [rw] current_application_version_id
|
2363
|
-
# The current application version ID. You
|
2364
|
-
#
|
2417
|
+
# The current application version ID. You must provide the
|
2418
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can retrieve
|
2419
|
+
# the application version ID using DescribeApplication.
|
2365
2420
|
# @return [Integer]
|
2366
2421
|
#
|
2367
2422
|
# @!attribute [rw] vpc_configuration_id
|
2368
2423
|
# The ID of the VPC configuration to delete.
|
2369
2424
|
# @return [String]
|
2370
2425
|
#
|
2426
|
+
# @!attribute [rw] conditional_token
|
2427
|
+
# A value you use to implement strong concurrency for application
|
2428
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
2429
|
+
# `ConditionalToken`. You get the application's current
|
2430
|
+
# `ConditionalToken` using DescribeApplication.
|
2431
|
+
# @return [String]
|
2432
|
+
#
|
2371
2433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationRequest AWS API Documentation
|
2372
2434
|
#
|
2373
2435
|
class DeleteApplicationVpcConfigurationRequest < Struct.new(
|
2374
2436
|
:application_name,
|
2375
2437
|
:current_application_version_id,
|
2376
|
-
:vpc_configuration_id
|
2438
|
+
:vpc_configuration_id,
|
2439
|
+
:conditional_token)
|
2377
2440
|
SENSITIVE = []
|
2378
2441
|
include Aws::Structure
|
2379
2442
|
end
|
@@ -4880,6 +4943,46 @@ module Aws::KinesisAnalyticsV2
|
|
4880
4943
|
include Aws::Structure
|
4881
4944
|
end
|
4882
4945
|
|
4946
|
+
# @note When making an API call, you may pass RollbackApplicationRequest
|
4947
|
+
# data as a hash:
|
4948
|
+
#
|
4949
|
+
# {
|
4950
|
+
# application_name: "ApplicationName", # required
|
4951
|
+
# current_application_version_id: 1, # required
|
4952
|
+
# }
|
4953
|
+
#
|
4954
|
+
# @!attribute [rw] application_name
|
4955
|
+
# The name of the application.
|
4956
|
+
# @return [String]
|
4957
|
+
#
|
4958
|
+
# @!attribute [rw] current_application_version_id
|
4959
|
+
# The current application version ID. You can retrieve the application
|
4960
|
+
# version ID using DescribeApplication.
|
4961
|
+
# @return [Integer]
|
4962
|
+
#
|
4963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplicationRequest AWS API Documentation
|
4964
|
+
#
|
4965
|
+
class RollbackApplicationRequest < Struct.new(
|
4966
|
+
:application_name,
|
4967
|
+
:current_application_version_id)
|
4968
|
+
SENSITIVE = []
|
4969
|
+
include Aws::Structure
|
4970
|
+
end
|
4971
|
+
|
4972
|
+
# @!attribute [rw] application_detail
|
4973
|
+
# Describes the application, including the application Amazon Resource
|
4974
|
+
# Name (ARN), status, latest version, and input and output
|
4975
|
+
# configurations.
|
4976
|
+
# @return [Types::ApplicationDetail]
|
4977
|
+
#
|
4978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplicationResponse AWS API Documentation
|
4979
|
+
#
|
4980
|
+
class RollbackApplicationResponse < Struct.new(
|
4981
|
+
:application_detail)
|
4982
|
+
SENSITIVE = []
|
4983
|
+
include Aws::Structure
|
4984
|
+
end
|
4985
|
+
|
4883
4986
|
# Describes the starting parameters for an Kinesis Data Analytics
|
4884
4987
|
# application.
|
4885
4988
|
#
|
@@ -5909,7 +6012,7 @@ module Aws::KinesisAnalyticsV2
|
|
5909
6012
|
#
|
5910
6013
|
# {
|
5911
6014
|
# application_name: "ApplicationName", # required
|
5912
|
-
# current_application_version_id: 1,
|
6015
|
+
# current_application_version_id: 1,
|
5913
6016
|
# application_configuration_update: {
|
5914
6017
|
# sql_application_configuration_update: {
|
5915
6018
|
# input_updates: [
|
@@ -6073,6 +6176,7 @@ module Aws::KinesisAnalyticsV2
|
|
6073
6176
|
# log_stream_arn_update: "LogStreamARN",
|
6074
6177
|
# },
|
6075
6178
|
# ],
|
6179
|
+
# conditional_token: "ConditionalToken",
|
6076
6180
|
# }
|
6077
6181
|
#
|
6078
6182
|
# @!attribute [rw] application_name
|
@@ -6080,8 +6184,9 @@ module Aws::KinesisAnalyticsV2
|
|
6080
6184
|
# @return [String]
|
6081
6185
|
#
|
6082
6186
|
# @!attribute [rw] current_application_version_id
|
6083
|
-
# The current application version ID. You
|
6084
|
-
#
|
6187
|
+
# The current application version ID. You must provide the
|
6188
|
+
# `ApplicationVersionID` or the `ConditionalToken`.You can retrieve
|
6189
|
+
# the application version ID using DescribeApplication.
|
6085
6190
|
# @return [Integer]
|
6086
6191
|
#
|
6087
6192
|
# @!attribute [rw] application_configuration_update
|
@@ -6103,6 +6208,13 @@ module Aws::KinesisAnalyticsV2
|
|
6103
6208
|
# AddApplicationCloudWatchLoggingOption.
|
6104
6209
|
# @return [Array<Types::CloudWatchLoggingOptionUpdate>]
|
6105
6210
|
#
|
6211
|
+
# @!attribute [rw] conditional_token
|
6212
|
+
# A value you use to implement strong concurrency for application
|
6213
|
+
# updates. You must provide the `ApplicationVersionID` or the
|
6214
|
+
# `ConditionalToken`. You get the application's current
|
6215
|
+
# `ConditionalToken` using DescribeApplication.
|
6216
|
+
# @return [String]
|
6217
|
+
#
|
6106
6218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationRequest AWS API Documentation
|
6107
6219
|
#
|
6108
6220
|
class UpdateApplicationRequest < Struct.new(
|
@@ -6111,7 +6223,8 @@ module Aws::KinesisAnalyticsV2
|
|
6111
6223
|
:application_configuration_update,
|
6112
6224
|
:service_execution_role_update,
|
6113
6225
|
:run_configuration_update,
|
6114
|
-
:cloud_watch_logging_option_updates
|
6226
|
+
:cloud_watch_logging_option_updates,
|
6227
|
+
:conditional_token)
|
6115
6228
|
SENSITIVE = []
|
6116
6229
|
include Aws::Structure
|
6117
6230
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesisanalyticsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|