aws-sdk-kinesisanalyticsv2 1.11.0 → 1.12.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eec4083c7e0a6f120eb4f10db1a0b5cdee3ca21
|
4
|
+
data.tar.gz: ec21320eb5336aaf4ce902dd3134a00e3f9f2bc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb43321f6bea083657bd19c2dbdf3001600e027faa54bfddf3a39922a94e32eaef9185107d20ea804a2f01a9837a4a48a4d234941109f05ceb172dc608fbebae
|
7
|
+
data.tar.gz: 2d0944e9a93edf8fcd9f9b6ce2af28b01e8497fc2df07280a6694f21646b4d10eb18ffee114fd474863f9370dc49a4549395c66ba9366870dcece8302806cc17
|
@@ -673,6 +673,69 @@ module Aws::KinesisAnalyticsV2
|
|
673
673
|
req.send_request(options)
|
674
674
|
end
|
675
675
|
|
676
|
+
# Adds a Virtual Private Cloud (VPC) configuration to the application.
|
677
|
+
# Applications can use VPCs to store and access resources securely.
|
678
|
+
#
|
679
|
+
# Note the following about VPC configurations for Kinesis Data Analytics
|
680
|
+
# applications:
|
681
|
+
#
|
682
|
+
# * VPC configurations are not supported for SQL applications.
|
683
|
+
#
|
684
|
+
# * When a VPC is added to a Kinesis Data Analytics application, the
|
685
|
+
# application can no longer be accessed from the Internet directly. To
|
686
|
+
# enable Internet access to the application, add an Internet gateway
|
687
|
+
# to your VPC.
|
688
|
+
#
|
689
|
+
# @option params [required, String] :application_name
|
690
|
+
# The name of an existing application.
|
691
|
+
#
|
692
|
+
# @option params [required, Integer] :current_application_version_id
|
693
|
+
# The version of the application to which you want to add the input
|
694
|
+
# processing configuration. You can use the DescribeApplication
|
695
|
+
# operation to get the current application version. If the version
|
696
|
+
# specified is not the current version, the
|
697
|
+
# `ConcurrentModificationException` is returned.
|
698
|
+
#
|
699
|
+
# @option params [required, Types::VpcConfiguration] :vpc_configuration
|
700
|
+
# Description of the VPC to add to the application.
|
701
|
+
#
|
702
|
+
# @return [Types::AddApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
703
|
+
#
|
704
|
+
# * {Types::AddApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
705
|
+
# * {Types::AddApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer
|
706
|
+
# * {Types::AddApplicationVpcConfigurationResponse#vpc_configuration_description #vpc_configuration_description} => Types::VpcConfigurationDescription
|
707
|
+
#
|
708
|
+
# @example Request syntax with placeholder values
|
709
|
+
#
|
710
|
+
# resp = client.add_application_vpc_configuration({
|
711
|
+
# application_name: "ApplicationName", # required
|
712
|
+
# current_application_version_id: 1, # required
|
713
|
+
# vpc_configuration: { # required
|
714
|
+
# subnet_ids: ["SubnetId"], # required
|
715
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
716
|
+
# },
|
717
|
+
# })
|
718
|
+
#
|
719
|
+
# @example Response structure
|
720
|
+
#
|
721
|
+
# resp.application_arn #=> String
|
722
|
+
# resp.application_version_id #=> Integer
|
723
|
+
# resp.vpc_configuration_description.vpc_configuration_id #=> String
|
724
|
+
# resp.vpc_configuration_description.vpc_id #=> String
|
725
|
+
# resp.vpc_configuration_description.subnet_ids #=> Array
|
726
|
+
# resp.vpc_configuration_description.subnet_ids[0] #=> String
|
727
|
+
# resp.vpc_configuration_description.security_group_ids #=> Array
|
728
|
+
# resp.vpc_configuration_description.security_group_ids[0] #=> String
|
729
|
+
#
|
730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfiguration AWS API Documentation
|
731
|
+
#
|
732
|
+
# @overload add_application_vpc_configuration(params = {})
|
733
|
+
# @param [Hash] params ({})
|
734
|
+
def add_application_vpc_configuration(params = {}, options = {})
|
735
|
+
req = build_request(:add_application_vpc_configuration, params)
|
736
|
+
req.send_request(options)
|
737
|
+
end
|
738
|
+
|
676
739
|
# Creates an Amazon Kinesis Data Analytics application. For information
|
677
740
|
# about creating a Kinesis Data Analytics application, see [Creating an
|
678
741
|
# Application][1].
|
@@ -708,12 +771,11 @@ module Aws::KinesisAnalyticsV2
|
|
708
771
|
# key-value pair that identifies an application. Note that the maximum
|
709
772
|
# number of application tags includes system tags. The maximum number of
|
710
773
|
# user-defined application tags is 50. For more information, see [Using
|
711
|
-
#
|
712
|
-
# Guide*.
|
774
|
+
# Tagging][1].
|
713
775
|
#
|
714
776
|
#
|
715
777
|
#
|
716
|
-
# [1]: https://docs.aws.amazon.com/
|
778
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
717
779
|
#
|
718
780
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
719
781
|
#
|
@@ -862,6 +924,12 @@ module Aws::KinesisAnalyticsV2
|
|
862
924
|
# application_snapshot_configuration: {
|
863
925
|
# snapshots_enabled: false, # required
|
864
926
|
# },
|
927
|
+
# vpc_configurations: [
|
928
|
+
# {
|
929
|
+
# subnet_ids: ["SubnetId"], # required
|
930
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
931
|
+
# },
|
932
|
+
# ],
|
865
933
|
# },
|
866
934
|
# cloud_watch_logging_options: [
|
867
935
|
# {
|
@@ -961,6 +1029,13 @@ module Aws::KinesisAnalyticsV2
|
|
961
1029
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
962
1030
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
963
1031
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
1032
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
1033
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
1034
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
1035
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
1036
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
1037
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
1038
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
964
1039
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
965
1040
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
966
1041
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -1248,6 +1323,45 @@ module Aws::KinesisAnalyticsV2
|
|
1248
1323
|
req.send_request(options)
|
1249
1324
|
end
|
1250
1325
|
|
1326
|
+
# Removes a VPC configuration from a Kinesis Data Analytics application.
|
1327
|
+
#
|
1328
|
+
# @option params [required, String] :application_name
|
1329
|
+
# The name of an existing application.
|
1330
|
+
#
|
1331
|
+
# @option params [required, Integer] :current_application_version_id
|
1332
|
+
# The current application version ID. You can retrieve the application
|
1333
|
+
# version ID using DescribeApplication.
|
1334
|
+
#
|
1335
|
+
# @option params [required, String] :vpc_configuration_id
|
1336
|
+
# The ID of the VPC configuration to delete.
|
1337
|
+
#
|
1338
|
+
# @return [Types::DeleteApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1339
|
+
#
|
1340
|
+
# * {Types::DeleteApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
1341
|
+
# * {Types::DeleteApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer
|
1342
|
+
#
|
1343
|
+
# @example Request syntax with placeholder values
|
1344
|
+
#
|
1345
|
+
# resp = client.delete_application_vpc_configuration({
|
1346
|
+
# application_name: "ApplicationName", # required
|
1347
|
+
# current_application_version_id: 1, # required
|
1348
|
+
# vpc_configuration_id: "Id", # required
|
1349
|
+
# })
|
1350
|
+
#
|
1351
|
+
# @example Response structure
|
1352
|
+
#
|
1353
|
+
# resp.application_arn #=> String
|
1354
|
+
# resp.application_version_id #=> Integer
|
1355
|
+
#
|
1356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfiguration AWS API Documentation
|
1357
|
+
#
|
1358
|
+
# @overload delete_application_vpc_configuration(params = {})
|
1359
|
+
# @param [Hash] params ({})
|
1360
|
+
def delete_application_vpc_configuration(params = {}, options = {})
|
1361
|
+
req = build_request(:delete_application_vpc_configuration, params)
|
1362
|
+
req.send_request(options)
|
1363
|
+
end
|
1364
|
+
|
1251
1365
|
# Returns information about a specific Amazon Kinesis Data Analytics
|
1252
1366
|
# application.
|
1253
1367
|
#
|
@@ -1357,6 +1471,13 @@ module Aws::KinesisAnalyticsV2
|
|
1357
1471
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
1358
1472
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
1359
1473
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
1474
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
1475
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
1476
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
1477
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
1478
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
1479
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
1480
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
1360
1481
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
1361
1482
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
1362
1483
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -1587,7 +1708,12 @@ module Aws::KinesisAnalyticsV2
|
|
1587
1708
|
req.send_request(options)
|
1588
1709
|
end
|
1589
1710
|
|
1590
|
-
# Retrieves the list of key-value tags assigned to the application.
|
1711
|
+
# Retrieves the list of key-value tags assigned to the application. For
|
1712
|
+
# more information, see [Using Tagging][1].
|
1713
|
+
#
|
1714
|
+
#
|
1715
|
+
#
|
1716
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1591
1717
|
#
|
1592
1718
|
# @option params [required, String] :resource_arn
|
1593
1719
|
# The ARN of the application for which to retrieve tags.
|
@@ -1635,6 +1761,9 @@ module Aws::KinesisAnalyticsV2
|
|
1635
1761
|
# resp = client.start_application({
|
1636
1762
|
# application_name: "ApplicationName", # required
|
1637
1763
|
# run_configuration: { # required
|
1764
|
+
# flink_run_configuration: {
|
1765
|
+
# allow_non_restored_state: false,
|
1766
|
+
# },
|
1638
1767
|
# sql_run_configurations: [
|
1639
1768
|
# {
|
1640
1769
|
# input_id: "Id", # required
|
@@ -1685,7 +1814,12 @@ module Aws::KinesisAnalyticsV2
|
|
1685
1814
|
|
1686
1815
|
# Adds one or more key-value tags to a Kinesis Analytics application.
|
1687
1816
|
# Note that the maximum number of application tags includes system tags.
|
1688
|
-
# The maximum number of user-defined application tags is 50.
|
1817
|
+
# The maximum number of user-defined application tags is 50. For more
|
1818
|
+
# information, see [Using Tagging][1].
|
1819
|
+
#
|
1820
|
+
#
|
1821
|
+
#
|
1822
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1689
1823
|
#
|
1690
1824
|
# @option params [required, String] :resource_arn
|
1691
1825
|
# The ARN of the application to assign the tags.
|
@@ -1716,7 +1850,12 @@ module Aws::KinesisAnalyticsV2
|
|
1716
1850
|
req.send_request(options)
|
1717
1851
|
end
|
1718
1852
|
|
1719
|
-
# Removes one or more tags from a Kinesis Analytics application.
|
1853
|
+
# Removes one or more tags from a Kinesis Analytics application. For
|
1854
|
+
# more information, see [Using Tagging][1].
|
1855
|
+
#
|
1856
|
+
#
|
1857
|
+
#
|
1858
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1720
1859
|
#
|
1721
1860
|
# @option params [required, String] :resource_arn
|
1722
1861
|
# The ARN of the Kinesis Analytics application from which to remove the
|
@@ -1920,9 +2059,19 @@ module Aws::KinesisAnalyticsV2
|
|
1920
2059
|
# application_snapshot_configuration_update: {
|
1921
2060
|
# snapshots_enabled_update: false, # required
|
1922
2061
|
# },
|
2062
|
+
# vpc_configuration_updates: [
|
2063
|
+
# {
|
2064
|
+
# vpc_configuration_id: "Id", # required
|
2065
|
+
# subnet_id_updates: ["SubnetId"],
|
2066
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
2067
|
+
# },
|
2068
|
+
# ],
|
1923
2069
|
# },
|
1924
2070
|
# service_execution_role_update: "RoleARN",
|
1925
2071
|
# run_configuration_update: {
|
2072
|
+
# flink_run_configuration: {
|
2073
|
+
# allow_non_restored_state: false,
|
2074
|
+
# },
|
1926
2075
|
# application_restore_configuration: {
|
1927
2076
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
1928
2077
|
# snapshot_name: "SnapshotName",
|
@@ -2021,6 +2170,13 @@ module Aws::KinesisAnalyticsV2
|
|
2021
2170
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
2022
2171
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
2023
2172
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
2173
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
2174
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
2175
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
2176
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
2177
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
2178
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
2179
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
2024
2180
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
2025
2181
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
2026
2182
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -2048,7 +2204,7 @@ module Aws::KinesisAnalyticsV2
|
|
2048
2204
|
params: params,
|
2049
2205
|
config: config)
|
2050
2206
|
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
2051
|
-
context[:gem_version] = '1.
|
2207
|
+
context[:gem_version] = '1.12.0'
|
2052
2208
|
Seahorse::Client::Request.new(handlers, context)
|
2053
2209
|
end
|
2054
2210
|
|
@@ -21,6 +21,8 @@ module Aws::KinesisAnalyticsV2
|
|
21
21
|
AddApplicationOutputResponse = Shapes::StructureShape.new(name: 'AddApplicationOutputResponse')
|
22
22
|
AddApplicationReferenceDataSourceRequest = Shapes::StructureShape.new(name: 'AddApplicationReferenceDataSourceRequest')
|
23
23
|
AddApplicationReferenceDataSourceResponse = Shapes::StructureShape.new(name: 'AddApplicationReferenceDataSourceResponse')
|
24
|
+
AddApplicationVpcConfigurationRequest = Shapes::StructureShape.new(name: 'AddApplicationVpcConfigurationRequest')
|
25
|
+
AddApplicationVpcConfigurationResponse = Shapes::StructureShape.new(name: 'AddApplicationVpcConfigurationResponse')
|
24
26
|
ApplicationCodeConfiguration = Shapes::StructureShape.new(name: 'ApplicationCodeConfiguration')
|
25
27
|
ApplicationCodeConfigurationDescription = Shapes::StructureShape.new(name: 'ApplicationCodeConfigurationDescription')
|
26
28
|
ApplicationCodeConfigurationUpdate = Shapes::StructureShape.new(name: 'ApplicationCodeConfigurationUpdate')
|
@@ -77,6 +79,8 @@ module Aws::KinesisAnalyticsV2
|
|
77
79
|
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
78
80
|
DeleteApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteApplicationSnapshotRequest')
|
79
81
|
DeleteApplicationSnapshotResponse = Shapes::StructureShape.new(name: 'DeleteApplicationSnapshotResponse')
|
82
|
+
DeleteApplicationVpcConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationVpcConfigurationRequest')
|
83
|
+
DeleteApplicationVpcConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationVpcConfigurationResponse')
|
80
84
|
DescribeApplicationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationRequest')
|
81
85
|
DescribeApplicationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationResponse')
|
82
86
|
DescribeApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'DescribeApplicationSnapshotRequest')
|
@@ -92,6 +96,7 @@ module Aws::KinesisAnalyticsV2
|
|
92
96
|
FlinkApplicationConfiguration = Shapes::StructureShape.new(name: 'FlinkApplicationConfiguration')
|
93
97
|
FlinkApplicationConfigurationDescription = Shapes::StructureShape.new(name: 'FlinkApplicationConfigurationDescription')
|
94
98
|
FlinkApplicationConfigurationUpdate = Shapes::StructureShape.new(name: 'FlinkApplicationConfigurationUpdate')
|
99
|
+
FlinkRunConfiguration = Shapes::StructureShape.new(name: 'FlinkRunConfiguration')
|
95
100
|
Id = Shapes::StringShape.new(name: 'Id')
|
96
101
|
InAppStreamName = Shapes::StringShape.new(name: 'InAppStreamName')
|
97
102
|
InAppStreamNames = Shapes::ListShape.new(name: 'InAppStreamNames')
|
@@ -210,6 +215,8 @@ module Aws::KinesisAnalyticsV2
|
|
210
215
|
S3ReferenceDataSource = Shapes::StructureShape.new(name: 'S3ReferenceDataSource')
|
211
216
|
S3ReferenceDataSourceDescription = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceDescription')
|
212
217
|
S3ReferenceDataSourceUpdate = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceUpdate')
|
218
|
+
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
219
|
+
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
213
220
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
214
221
|
SnapshotDetails = Shapes::StructureShape.new(name: 'SnapshotDetails')
|
215
222
|
SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
|
@@ -225,6 +232,8 @@ module Aws::KinesisAnalyticsV2
|
|
225
232
|
StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
|
226
233
|
StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest')
|
227
234
|
StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse')
|
235
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
236
|
+
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
228
237
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
229
238
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
230
239
|
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
@@ -241,6 +250,13 @@ module Aws::KinesisAnalyticsV2
|
|
241
250
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
242
251
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
243
252
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
253
|
+
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
254
|
+
VpcConfigurationDescription = Shapes::StructureShape.new(name: 'VpcConfigurationDescription')
|
255
|
+
VpcConfigurationDescriptions = Shapes::ListShape.new(name: 'VpcConfigurationDescriptions')
|
256
|
+
VpcConfigurationUpdate = Shapes::StructureShape.new(name: 'VpcConfigurationUpdate')
|
257
|
+
VpcConfigurationUpdates = Shapes::ListShape.new(name: 'VpcConfigurationUpdates')
|
258
|
+
VpcConfigurations = Shapes::ListShape.new(name: 'VpcConfigurations')
|
259
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
244
260
|
ZipFileContent = Shapes::BlobShape.new(name: 'ZipFileContent')
|
245
261
|
|
246
262
|
AddApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
@@ -295,6 +311,16 @@ module Aws::KinesisAnalyticsV2
|
|
295
311
|
AddApplicationReferenceDataSourceResponse.add_member(:reference_data_source_descriptions, Shapes::ShapeRef.new(shape: ReferenceDataSourceDescriptions, location_name: "ReferenceDataSourceDescriptions"))
|
296
312
|
AddApplicationReferenceDataSourceResponse.struct_class = Types::AddApplicationReferenceDataSourceResponse
|
297
313
|
|
314
|
+
AddApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
315
|
+
AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
|
316
|
+
AddApplicationVpcConfigurationRequest.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
|
317
|
+
AddApplicationVpcConfigurationRequest.struct_class = Types::AddApplicationVpcConfigurationRequest
|
318
|
+
|
319
|
+
AddApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
320
|
+
AddApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId"))
|
321
|
+
AddApplicationVpcConfigurationResponse.add_member(:vpc_configuration_description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "VpcConfigurationDescription"))
|
322
|
+
AddApplicationVpcConfigurationResponse.struct_class = Types::AddApplicationVpcConfigurationResponse
|
323
|
+
|
298
324
|
ApplicationCodeConfiguration.add_member(:code_content, Shapes::ShapeRef.new(shape: CodeContent, location_name: "CodeContent"))
|
299
325
|
ApplicationCodeConfiguration.add_member(:code_content_type, Shapes::ShapeRef.new(shape: CodeContentType, required: true, location_name: "CodeContentType"))
|
300
326
|
ApplicationCodeConfiguration.struct_class = Types::ApplicationCodeConfiguration
|
@@ -312,6 +338,7 @@ module Aws::KinesisAnalyticsV2
|
|
312
338
|
ApplicationConfiguration.add_member(:environment_properties, Shapes::ShapeRef.new(shape: EnvironmentProperties, location_name: "EnvironmentProperties"))
|
313
339
|
ApplicationConfiguration.add_member(:application_code_configuration, Shapes::ShapeRef.new(shape: ApplicationCodeConfiguration, required: true, location_name: "ApplicationCodeConfiguration"))
|
314
340
|
ApplicationConfiguration.add_member(:application_snapshot_configuration, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfiguration, location_name: "ApplicationSnapshotConfiguration"))
|
341
|
+
ApplicationConfiguration.add_member(:vpc_configurations, Shapes::ShapeRef.new(shape: VpcConfigurations, location_name: "VpcConfigurations"))
|
315
342
|
ApplicationConfiguration.struct_class = Types::ApplicationConfiguration
|
316
343
|
|
317
344
|
ApplicationConfigurationDescription.add_member(:sql_application_configuration_description, Shapes::ShapeRef.new(shape: SqlApplicationConfigurationDescription, location_name: "SqlApplicationConfigurationDescription"))
|
@@ -320,6 +347,7 @@ module Aws::KinesisAnalyticsV2
|
|
320
347
|
ApplicationConfigurationDescription.add_member(:flink_application_configuration_description, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationDescription, location_name: "FlinkApplicationConfigurationDescription"))
|
321
348
|
ApplicationConfigurationDescription.add_member(:environment_property_descriptions, Shapes::ShapeRef.new(shape: EnvironmentPropertyDescriptions, location_name: "EnvironmentPropertyDescriptions"))
|
322
349
|
ApplicationConfigurationDescription.add_member(:application_snapshot_configuration_description, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationDescription, location_name: "ApplicationSnapshotConfigurationDescription"))
|
350
|
+
ApplicationConfigurationDescription.add_member(:vpc_configuration_descriptions, Shapes::ShapeRef.new(shape: VpcConfigurationDescriptions, location_name: "VpcConfigurationDescriptions"))
|
323
351
|
ApplicationConfigurationDescription.struct_class = Types::ApplicationConfigurationDescription
|
324
352
|
|
325
353
|
ApplicationConfigurationUpdate.add_member(:sql_application_configuration_update, Shapes::ShapeRef.new(shape: SqlApplicationConfigurationUpdate, location_name: "SqlApplicationConfigurationUpdate"))
|
@@ -327,6 +355,7 @@ module Aws::KinesisAnalyticsV2
|
|
327
355
|
ApplicationConfigurationUpdate.add_member(:flink_application_configuration_update, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationUpdate, location_name: "FlinkApplicationConfigurationUpdate"))
|
328
356
|
ApplicationConfigurationUpdate.add_member(:environment_property_updates, Shapes::ShapeRef.new(shape: EnvironmentPropertyUpdates, location_name: "EnvironmentPropertyUpdates"))
|
329
357
|
ApplicationConfigurationUpdate.add_member(:application_snapshot_configuration_update, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationUpdate, location_name: "ApplicationSnapshotConfigurationUpdate"))
|
358
|
+
ApplicationConfigurationUpdate.add_member(:vpc_configuration_updates, Shapes::ShapeRef.new(shape: VpcConfigurationUpdates, location_name: "VpcConfigurationUpdates"))
|
330
359
|
ApplicationConfigurationUpdate.struct_class = Types::ApplicationConfigurationUpdate
|
331
360
|
|
332
361
|
ApplicationDetail.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ApplicationARN"))
|
@@ -494,6 +523,15 @@ module Aws::KinesisAnalyticsV2
|
|
494
523
|
|
495
524
|
DeleteApplicationSnapshotResponse.struct_class = Types::DeleteApplicationSnapshotResponse
|
496
525
|
|
526
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
527
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
|
528
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
529
|
+
DeleteApplicationVpcConfigurationRequest.struct_class = Types::DeleteApplicationVpcConfigurationRequest
|
530
|
+
|
531
|
+
DeleteApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
532
|
+
DeleteApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId"))
|
533
|
+
DeleteApplicationVpcConfigurationResponse.struct_class = Types::DeleteApplicationVpcConfigurationResponse
|
534
|
+
|
497
535
|
DescribeApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
498
536
|
DescribeApplicationRequest.add_member(:include_additional_details, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "IncludeAdditionalDetails"))
|
499
537
|
DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest
|
@@ -549,6 +587,9 @@ module Aws::KinesisAnalyticsV2
|
|
549
587
|
FlinkApplicationConfigurationUpdate.add_member(:parallelism_configuration_update, Shapes::ShapeRef.new(shape: ParallelismConfigurationUpdate, location_name: "ParallelismConfigurationUpdate"))
|
550
588
|
FlinkApplicationConfigurationUpdate.struct_class = Types::FlinkApplicationConfigurationUpdate
|
551
589
|
|
590
|
+
FlinkRunConfiguration.add_member(:allow_non_restored_state, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AllowNonRestoredState"))
|
591
|
+
FlinkRunConfiguration.struct_class = Types::FlinkRunConfiguration
|
592
|
+
|
552
593
|
InAppStreamNames.member = Shapes::ShapeRef.new(shape: InAppStreamName)
|
553
594
|
|
554
595
|
Input.add_member(:name_prefix, Shapes::ShapeRef.new(shape: InAppStreamName, required: true, location_name: "NamePrefix"))
|
@@ -833,6 +874,7 @@ module Aws::KinesisAnalyticsV2
|
|
833
874
|
ResourceProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
834
875
|
ResourceProvisionedThroughputExceededException.struct_class = Types::ResourceProvisionedThroughputExceededException
|
835
876
|
|
877
|
+
RunConfiguration.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
836
878
|
RunConfiguration.add_member(:sql_run_configurations, Shapes::ShapeRef.new(shape: SqlRunConfigurations, location_name: "SqlRunConfigurations"))
|
837
879
|
RunConfiguration.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
|
838
880
|
RunConfiguration.struct_class = Types::RunConfiguration
|
@@ -840,6 +882,7 @@ module Aws::KinesisAnalyticsV2
|
|
840
882
|
RunConfigurationDescription.add_member(:application_restore_configuration_description, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfigurationDescription"))
|
841
883
|
RunConfigurationDescription.struct_class = Types::RunConfigurationDescription
|
842
884
|
|
885
|
+
RunConfigurationUpdate.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
843
886
|
RunConfigurationUpdate.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
|
844
887
|
RunConfigurationUpdate.struct_class = Types::RunConfigurationUpdate
|
845
888
|
|
@@ -875,6 +918,8 @@ module Aws::KinesisAnalyticsV2
|
|
875
918
|
S3ReferenceDataSourceUpdate.add_member(:file_key_update, Shapes::ShapeRef.new(shape: FileKey, location_name: "FileKeyUpdate"))
|
876
919
|
S3ReferenceDataSourceUpdate.struct_class = Types::S3ReferenceDataSourceUpdate
|
877
920
|
|
921
|
+
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
922
|
+
|
878
923
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
879
924
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
880
925
|
|
@@ -923,6 +968,8 @@ module Aws::KinesisAnalyticsV2
|
|
923
968
|
|
924
969
|
StopApplicationResponse.struct_class = Types::StopApplicationResponse
|
925
970
|
|
971
|
+
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
972
|
+
|
926
973
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
927
974
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
928
975
|
Tag.struct_class = Types::Tag
|
@@ -965,6 +1012,27 @@ module Aws::KinesisAnalyticsV2
|
|
965
1012
|
UpdateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
|
966
1013
|
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
967
1014
|
|
1015
|
+
VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
1016
|
+
VpcConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
1017
|
+
VpcConfiguration.struct_class = Types::VpcConfiguration
|
1018
|
+
|
1019
|
+
VpcConfigurationDescription.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
1020
|
+
VpcConfigurationDescription.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
1021
|
+
VpcConfigurationDescription.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
1022
|
+
VpcConfigurationDescription.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
1023
|
+
VpcConfigurationDescription.struct_class = Types::VpcConfigurationDescription
|
1024
|
+
|
1025
|
+
VpcConfigurationDescriptions.member = Shapes::ShapeRef.new(shape: VpcConfigurationDescription)
|
1026
|
+
|
1027
|
+
VpcConfigurationUpdate.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
1028
|
+
VpcConfigurationUpdate.add_member(:subnet_id_updates, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIdUpdates"))
|
1029
|
+
VpcConfigurationUpdate.add_member(:security_group_id_updates, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIdUpdates"))
|
1030
|
+
VpcConfigurationUpdate.struct_class = Types::VpcConfigurationUpdate
|
1031
|
+
|
1032
|
+
VpcConfigurationUpdates.member = Shapes::ShapeRef.new(shape: VpcConfigurationUpdate)
|
1033
|
+
|
1034
|
+
VpcConfigurations.member = Shapes::ShapeRef.new(shape: VpcConfiguration)
|
1035
|
+
|
968
1036
|
|
969
1037
|
# @api private
|
970
1038
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1052,6 +1120,18 @@ module Aws::KinesisAnalyticsV2
|
|
1052
1120
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1053
1121
|
end)
|
1054
1122
|
|
1123
|
+
api.add_operation(:add_application_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1124
|
+
o.name = "AddApplicationVpcConfiguration"
|
1125
|
+
o.http_method = "POST"
|
1126
|
+
o.http_request_uri = "/"
|
1127
|
+
o.input = Shapes::ShapeRef.new(shape: AddApplicationVpcConfigurationRequest)
|
1128
|
+
o.output = Shapes::ShapeRef.new(shape: AddApplicationVpcConfigurationResponse)
|
1129
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1133
|
+
end)
|
1134
|
+
|
1055
1135
|
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
1056
1136
|
o.name = "CreateApplication"
|
1057
1137
|
o.http_method = "POST"
|
@@ -1161,6 +1241,18 @@ module Aws::KinesisAnalyticsV2
|
|
1161
1241
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1162
1242
|
end)
|
1163
1243
|
|
1244
|
+
api.add_operation(:delete_application_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1245
|
+
o.name = "DeleteApplicationVpcConfiguration"
|
1246
|
+
o.http_method = "POST"
|
1247
|
+
o.http_request_uri = "/"
|
1248
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApplicationVpcConfigurationRequest)
|
1249
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApplicationVpcConfigurationResponse)
|
1250
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1251
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1253
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1254
|
+
end)
|
1255
|
+
|
1164
1256
|
api.add_operation(:describe_application, Seahorse::Model::Operation.new.tap do |o|
|
1165
1257
|
o.name = "DescribeApplication"
|
1166
1258
|
o.http_method = "POST"
|
@@ -401,6 +401,66 @@ module Aws::KinesisAnalyticsV2
|
|
401
401
|
include Aws::Structure
|
402
402
|
end
|
403
403
|
|
404
|
+
# @note When making an API call, you may pass AddApplicationVpcConfigurationRequest
|
405
|
+
# data as a hash:
|
406
|
+
#
|
407
|
+
# {
|
408
|
+
# application_name: "ApplicationName", # required
|
409
|
+
# current_application_version_id: 1, # required
|
410
|
+
# vpc_configuration: { # required
|
411
|
+
# subnet_ids: ["SubnetId"], # required
|
412
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
413
|
+
# },
|
414
|
+
# }
|
415
|
+
#
|
416
|
+
# @!attribute [rw] application_name
|
417
|
+
# The name of an existing application.
|
418
|
+
# @return [String]
|
419
|
+
#
|
420
|
+
# @!attribute [rw] current_application_version_id
|
421
|
+
# The version of the application to which you want to add the input
|
422
|
+
# processing configuration. You can use the DescribeApplication
|
423
|
+
# operation to get the current application version. If the version
|
424
|
+
# specified is not the current version, the
|
425
|
+
# `ConcurrentModificationException` is returned.
|
426
|
+
# @return [Integer]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] vpc_configuration
|
429
|
+
# Description of the VPC to add to the application.
|
430
|
+
# @return [Types::VpcConfiguration]
|
431
|
+
#
|
432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationRequest AWS API Documentation
|
433
|
+
#
|
434
|
+
class AddApplicationVpcConfigurationRequest < Struct.new(
|
435
|
+
:application_name,
|
436
|
+
:current_application_version_id,
|
437
|
+
:vpc_configuration)
|
438
|
+
include Aws::Structure
|
439
|
+
end
|
440
|
+
|
441
|
+
# @!attribute [rw] application_arn
|
442
|
+
# The ARN of the application.
|
443
|
+
# @return [String]
|
444
|
+
#
|
445
|
+
# @!attribute [rw] application_version_id
|
446
|
+
# Provides the current application version. Kinesis Data Analytics
|
447
|
+
# updates the ApplicationVersionId each time you update the
|
448
|
+
# application.
|
449
|
+
# @return [Integer]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] vpc_configuration_description
|
452
|
+
# The parameters of the new VPC configuration.
|
453
|
+
# @return [Types::VpcConfigurationDescription]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationResponse AWS API Documentation
|
456
|
+
#
|
457
|
+
class AddApplicationVpcConfigurationResponse < Struct.new(
|
458
|
+
:application_arn,
|
459
|
+
:application_version_id,
|
460
|
+
:vpc_configuration_description)
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
404
464
|
# Describes code configuration for a Java-based Kinesis Data Analytics
|
405
465
|
# application.
|
406
466
|
#
|
@@ -633,6 +693,12 @@ module Aws::KinesisAnalyticsV2
|
|
633
693
|
# application_snapshot_configuration: {
|
634
694
|
# snapshots_enabled: false, # required
|
635
695
|
# },
|
696
|
+
# vpc_configurations: [
|
697
|
+
# {
|
698
|
+
# subnet_ids: ["SubnetId"], # required
|
699
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
700
|
+
# },
|
701
|
+
# ],
|
636
702
|
# }
|
637
703
|
#
|
638
704
|
# @!attribute [rw] sql_application_configuration
|
@@ -660,6 +726,11 @@ module Aws::KinesisAnalyticsV2
|
|
660
726
|
# Data Analytics application.
|
661
727
|
# @return [Types::ApplicationSnapshotConfiguration]
|
662
728
|
#
|
729
|
+
# @!attribute [rw] vpc_configurations
|
730
|
+
# The array of descriptions of VPC configurations available to the
|
731
|
+
# application.
|
732
|
+
# @return [Array<Types::VpcConfiguration>]
|
733
|
+
#
|
663
734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfiguration AWS API Documentation
|
664
735
|
#
|
665
736
|
class ApplicationConfiguration < Struct.new(
|
@@ -667,7 +738,8 @@ module Aws::KinesisAnalyticsV2
|
|
667
738
|
:flink_application_configuration,
|
668
739
|
:environment_properties,
|
669
740
|
:application_code_configuration,
|
670
|
-
:application_snapshot_configuration
|
741
|
+
:application_snapshot_configuration,
|
742
|
+
:vpc_configurations)
|
671
743
|
include Aws::Structure
|
672
744
|
end
|
673
745
|
|
@@ -703,6 +775,11 @@ module Aws::KinesisAnalyticsV2
|
|
703
775
|
# Data Analytics application.
|
704
776
|
# @return [Types::ApplicationSnapshotConfigurationDescription]
|
705
777
|
#
|
778
|
+
# @!attribute [rw] vpc_configuration_descriptions
|
779
|
+
# The array of descriptions of VPC configurations available to the
|
780
|
+
# application.
|
781
|
+
# @return [Array<Types::VpcConfigurationDescription>]
|
782
|
+
#
|
706
783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationDescription AWS API Documentation
|
707
784
|
#
|
708
785
|
class ApplicationConfigurationDescription < Struct.new(
|
@@ -711,7 +788,8 @@ module Aws::KinesisAnalyticsV2
|
|
711
788
|
:run_configuration_description,
|
712
789
|
:flink_application_configuration_description,
|
713
790
|
:environment_property_descriptions,
|
714
|
-
:application_snapshot_configuration_description
|
791
|
+
:application_snapshot_configuration_description,
|
792
|
+
:vpc_configuration_descriptions)
|
715
793
|
include Aws::Structure
|
716
794
|
end
|
717
795
|
|
@@ -859,6 +937,13 @@ module Aws::KinesisAnalyticsV2
|
|
859
937
|
# application_snapshot_configuration_update: {
|
860
938
|
# snapshots_enabled_update: false, # required
|
861
939
|
# },
|
940
|
+
# vpc_configuration_updates: [
|
941
|
+
# {
|
942
|
+
# vpc_configuration_id: "Id", # required
|
943
|
+
# subnet_id_updates: ["SubnetId"],
|
944
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
945
|
+
# },
|
946
|
+
# ],
|
862
947
|
# }
|
863
948
|
#
|
864
949
|
# @!attribute [rw] sql_application_configuration_update
|
@@ -886,6 +971,11 @@ module Aws::KinesisAnalyticsV2
|
|
886
971
|
# Data Analytics application.
|
887
972
|
# @return [Types::ApplicationSnapshotConfigurationUpdate]
|
888
973
|
#
|
974
|
+
# @!attribute [rw] vpc_configuration_updates
|
975
|
+
# Updates to the array of descriptions of VPC configurations available
|
976
|
+
# to the application.
|
977
|
+
# @return [Array<Types::VpcConfigurationUpdate>]
|
978
|
+
#
|
889
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationUpdate AWS API Documentation
|
890
980
|
#
|
891
981
|
class ApplicationConfigurationUpdate < Struct.new(
|
@@ -893,7 +983,8 @@ module Aws::KinesisAnalyticsV2
|
|
893
983
|
:application_code_configuration_update,
|
894
984
|
:flink_application_configuration_update,
|
895
985
|
:environment_property_updates,
|
896
|
-
:application_snapshot_configuration_update
|
986
|
+
:application_snapshot_configuration_update,
|
987
|
+
:vpc_configuration_updates)
|
897
988
|
include Aws::Structure
|
898
989
|
end
|
899
990
|
|
@@ -1149,17 +1240,45 @@ module Aws::KinesisAnalyticsV2
|
|
1149
1240
|
#
|
1150
1241
|
# @!attribute [rw] configuration_type
|
1151
1242
|
# Describes whether the application uses Amazon Kinesis Data
|
1152
|
-
# Analytics' default checkpointing behavior.
|
1243
|
+
# Analytics' default checkpointing behavior. You must set this
|
1244
|
+
# property to `CUSTOM` in order to set the `CheckpointingEnabled`,
|
1245
|
+
# `CheckpointInterval`, or `MinPauseBetweenCheckpoints` parameters.
|
1246
|
+
#
|
1247
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1248
|
+
# following values, even if they are set to other values using APIs or
|
1249
|
+
# application code:
|
1250
|
+
#
|
1251
|
+
# * **CheckpointingEnabled:** true
|
1252
|
+
#
|
1253
|
+
# * **CheckpointInterval:** 60000
|
1254
|
+
#
|
1255
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1256
|
+
#
|
1257
|
+
# </note>
|
1153
1258
|
# @return [String]
|
1154
1259
|
#
|
1155
1260
|
# @!attribute [rw] checkpointing_enabled
|
1156
1261
|
# Describes whether checkpointing is enabled for a Java-based Kinesis
|
1157
1262
|
# Data Analytics application.
|
1263
|
+
#
|
1264
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1265
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1266
|
+
# if this value is set to another value using this API or in
|
1267
|
+
# application code.
|
1268
|
+
#
|
1269
|
+
# </note>
|
1158
1270
|
# @return [Boolean]
|
1159
1271
|
#
|
1160
1272
|
# @!attribute [rw] checkpoint_interval
|
1161
1273
|
# Describes the interval in milliseconds between checkpoint
|
1162
1274
|
# operations.
|
1275
|
+
#
|
1276
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1277
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1278
|
+
# this value is set to another value using this API or in application
|
1279
|
+
# code.
|
1280
|
+
#
|
1281
|
+
# </note>
|
1163
1282
|
# @return [Integer]
|
1164
1283
|
#
|
1165
1284
|
# @!attribute [rw] min_pause_between_checkpoints
|
@@ -1170,6 +1289,12 @@ module Aws::KinesisAnalyticsV2
|
|
1170
1289
|
# more information, see [ Tuning Checkpointing][1] in the [Apache
|
1171
1290
|
# Flink Documentation][2].
|
1172
1291
|
#
|
1292
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1293
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1294
|
+
# even if this value is set using this API or in application code.
|
1295
|
+
#
|
1296
|
+
# </note>
|
1297
|
+
#
|
1173
1298
|
#
|
1174
1299
|
#
|
1175
1300
|
# [1]: https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing
|
@@ -1192,21 +1317,53 @@ module Aws::KinesisAnalyticsV2
|
|
1192
1317
|
# @!attribute [rw] configuration_type
|
1193
1318
|
# Describes whether the application uses the default checkpointing
|
1194
1319
|
# behavior in Kinesis Data Analytics.
|
1320
|
+
#
|
1321
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1322
|
+
# following values, even if they are set to other values using APIs or
|
1323
|
+
# application code:
|
1324
|
+
#
|
1325
|
+
# * **CheckpointingEnabled:** true
|
1326
|
+
#
|
1327
|
+
# * **CheckpointInterval:** 60000
|
1328
|
+
#
|
1329
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1330
|
+
#
|
1331
|
+
# </note>
|
1195
1332
|
# @return [String]
|
1196
1333
|
#
|
1197
1334
|
# @!attribute [rw] checkpointing_enabled
|
1198
1335
|
# Describes whether checkpointing is enabled for a Java-based Kinesis
|
1199
1336
|
# Data Analytics application.
|
1337
|
+
#
|
1338
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1339
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1340
|
+
# if this value is set to another value using this API or in
|
1341
|
+
# application code.
|
1342
|
+
#
|
1343
|
+
# </note>
|
1200
1344
|
# @return [Boolean]
|
1201
1345
|
#
|
1202
1346
|
# @!attribute [rw] checkpoint_interval
|
1203
1347
|
# Describes the interval in milliseconds between checkpoint
|
1204
1348
|
# operations.
|
1349
|
+
#
|
1350
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1351
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1352
|
+
# this value is set to another value using this API or in application
|
1353
|
+
# code.
|
1354
|
+
#
|
1355
|
+
# </note>
|
1205
1356
|
# @return [Integer]
|
1206
1357
|
#
|
1207
1358
|
# @!attribute [rw] min_pause_between_checkpoints
|
1208
1359
|
# Describes the minimum time in milliseconds after a checkpoint
|
1209
1360
|
# operation completes that a new checkpoint operation can start.
|
1361
|
+
#
|
1362
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1363
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1364
|
+
# even if this value is set using this API or in application code.
|
1365
|
+
#
|
1366
|
+
# </note>
|
1210
1367
|
# @return [Integer]
|
1211
1368
|
#
|
1212
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationDescription AWS API Documentation
|
@@ -1234,23 +1391,57 @@ module Aws::KinesisAnalyticsV2
|
|
1234
1391
|
#
|
1235
1392
|
# @!attribute [rw] configuration_type_update
|
1236
1393
|
# Describes updates to whether the application uses the default
|
1237
|
-
# checkpointing behavior of Kinesis Data Analytics.
|
1394
|
+
# checkpointing behavior of Kinesis Data Analytics. You must set this
|
1395
|
+
# property to `CUSTOM` in order to set the `CheckpointingEnabled`,
|
1396
|
+
# `CheckpointInterval`, or `MinPauseBetweenCheckpoints` parameters.
|
1397
|
+
#
|
1398
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1399
|
+
# following values, even if they are set to other values using APIs or
|
1400
|
+
# application code:
|
1401
|
+
#
|
1402
|
+
# * **CheckpointingEnabled:** true
|
1403
|
+
#
|
1404
|
+
# * **CheckpointInterval:** 60000
|
1405
|
+
#
|
1406
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1407
|
+
#
|
1408
|
+
# </note>
|
1238
1409
|
# @return [String]
|
1239
1410
|
#
|
1240
1411
|
# @!attribute [rw] checkpointing_enabled_update
|
1241
1412
|
# Describes updates to whether checkpointing is enabled for an
|
1242
1413
|
# application.
|
1414
|
+
#
|
1415
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1416
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1417
|
+
# if this value is set to another value using this API or in
|
1418
|
+
# application code.
|
1419
|
+
#
|
1420
|
+
# </note>
|
1243
1421
|
# @return [Boolean]
|
1244
1422
|
#
|
1245
1423
|
# @!attribute [rw] checkpoint_interval_update
|
1246
1424
|
# Describes updates to the interval in milliseconds between checkpoint
|
1247
1425
|
# operations.
|
1426
|
+
#
|
1427
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1428
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1429
|
+
# this value is set to another value using this API or in application
|
1430
|
+
# code.
|
1431
|
+
#
|
1432
|
+
# </note>
|
1248
1433
|
# @return [Integer]
|
1249
1434
|
#
|
1250
1435
|
# @!attribute [rw] min_pause_between_checkpoints_update
|
1251
1436
|
# Describes updates to the minimum time in milliseconds after a
|
1252
1437
|
# checkpoint operation completes that a new checkpoint operation can
|
1253
1438
|
# start.
|
1439
|
+
#
|
1440
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1441
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1442
|
+
# even if this value is set using this API or in application code.
|
1443
|
+
#
|
1444
|
+
# </note>
|
1254
1445
|
# @return [Integer]
|
1255
1446
|
#
|
1256
1447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationUpdate AWS API Documentation
|
@@ -1621,6 +1812,12 @@ module Aws::KinesisAnalyticsV2
|
|
1621
1812
|
# application_snapshot_configuration: {
|
1622
1813
|
# snapshots_enabled: false, # required
|
1623
1814
|
# },
|
1815
|
+
# vpc_configurations: [
|
1816
|
+
# {
|
1817
|
+
# subnet_ids: ["SubnetId"], # required
|
1818
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
1819
|
+
# },
|
1820
|
+
# ],
|
1624
1821
|
# },
|
1625
1822
|
# cloud_watch_logging_options: [
|
1626
1823
|
# {
|
@@ -1668,12 +1865,11 @@ module Aws::KinesisAnalyticsV2
|
|
1668
1865
|
# key-value pair that identifies an application. Note that the maximum
|
1669
1866
|
# number of application tags includes system tags. The maximum number
|
1670
1867
|
# of user-defined application tags is 50. For more information, see
|
1671
|
-
# [Using
|
1672
|
-
# Management Guide*.
|
1868
|
+
# [Using Tagging][1].
|
1673
1869
|
#
|
1674
1870
|
#
|
1675
1871
|
#
|
1676
|
-
# [1]: https://docs.aws.amazon.com/
|
1872
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1677
1873
|
# @return [Array<Types::Tag>]
|
1678
1874
|
#
|
1679
1875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationRequest AWS API Documentation
|
@@ -2009,6 +2205,53 @@ module Aws::KinesisAnalyticsV2
|
|
2009
2205
|
#
|
2010
2206
|
class DeleteApplicationSnapshotResponse < Aws::EmptyStructure; end
|
2011
2207
|
|
2208
|
+
# @note When making an API call, you may pass DeleteApplicationVpcConfigurationRequest
|
2209
|
+
# data as a hash:
|
2210
|
+
#
|
2211
|
+
# {
|
2212
|
+
# application_name: "ApplicationName", # required
|
2213
|
+
# current_application_version_id: 1, # required
|
2214
|
+
# vpc_configuration_id: "Id", # required
|
2215
|
+
# }
|
2216
|
+
#
|
2217
|
+
# @!attribute [rw] application_name
|
2218
|
+
# The name of an existing application.
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] current_application_version_id
|
2222
|
+
# The current application version ID. You can retrieve the application
|
2223
|
+
# version ID using DescribeApplication.
|
2224
|
+
# @return [Integer]
|
2225
|
+
#
|
2226
|
+
# @!attribute [rw] vpc_configuration_id
|
2227
|
+
# The ID of the VPC configuration to delete.
|
2228
|
+
# @return [String]
|
2229
|
+
#
|
2230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationRequest AWS API Documentation
|
2231
|
+
#
|
2232
|
+
class DeleteApplicationVpcConfigurationRequest < Struct.new(
|
2233
|
+
:application_name,
|
2234
|
+
:current_application_version_id,
|
2235
|
+
:vpc_configuration_id)
|
2236
|
+
include Aws::Structure
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
# @!attribute [rw] application_arn
|
2240
|
+
# The ARN of the Kinesis Data Analytics application.
|
2241
|
+
# @return [String]
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] application_version_id
|
2244
|
+
# The updated version ID of the application.
|
2245
|
+
# @return [Integer]
|
2246
|
+
#
|
2247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationResponse AWS API Documentation
|
2248
|
+
#
|
2249
|
+
class DeleteApplicationVpcConfigurationResponse < Struct.new(
|
2250
|
+
:application_arn,
|
2251
|
+
:application_version_id)
|
2252
|
+
include Aws::Structure
|
2253
|
+
end
|
2254
|
+
|
2012
2255
|
# @note When making an API call, you may pass DescribeApplicationRequest
|
2013
2256
|
# data as a hash:
|
2014
2257
|
#
|
@@ -2409,6 +2652,38 @@ module Aws::KinesisAnalyticsV2
|
|
2409
2652
|
include Aws::Structure
|
2410
2653
|
end
|
2411
2654
|
|
2655
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
2656
|
+
# Data Analytics application.
|
2657
|
+
#
|
2658
|
+
# @note When making an API call, you may pass FlinkRunConfiguration
|
2659
|
+
# data as a hash:
|
2660
|
+
#
|
2661
|
+
# {
|
2662
|
+
# allow_non_restored_state: false,
|
2663
|
+
# }
|
2664
|
+
#
|
2665
|
+
# @!attribute [rw] allow_non_restored_state
|
2666
|
+
# When restoring from a savepoint, specifies whether the runtime is
|
2667
|
+
# allowed to skip a state that cannot be mapped to the new program.
|
2668
|
+
# This will happen if the program is updated between savepoints to
|
2669
|
+
# remove stateful parameters, and state data in the savepoint no
|
2670
|
+
# longer corresponds to valid application data. For more information,
|
2671
|
+
# see [ Allowing Non-Restored State][1] in the [Apache Flink
|
2672
|
+
# documentation][2].
|
2673
|
+
#
|
2674
|
+
#
|
2675
|
+
#
|
2676
|
+
# [1]: https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state
|
2677
|
+
# [2]: https://ci.apache.org/projects/flink/flink-docs-release-1.8/
|
2678
|
+
# @return [Boolean]
|
2679
|
+
#
|
2680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkRunConfiguration AWS API Documentation
|
2681
|
+
#
|
2682
|
+
class FlinkRunConfiguration < Struct.new(
|
2683
|
+
:allow_non_restored_state)
|
2684
|
+
include Aws::Structure
|
2685
|
+
end
|
2686
|
+
|
2412
2687
|
# When you configure the application input for an SQL-based Amazon
|
2413
2688
|
# Kinesis Data Analytics application, you specify the streaming source,
|
2414
2689
|
# the in-application stream name that is created, and the mapping
|
@@ -3603,7 +3878,9 @@ module Aws::KinesisAnalyticsV2
|
|
3603
3878
|
#
|
3604
3879
|
# @!attribute [rw] configuration_type
|
3605
3880
|
# Describes whether to use the default CloudWatch logging
|
3606
|
-
# configuration for an application.
|
3881
|
+
# configuration for an application. You must set this property to
|
3882
|
+
# `CUSTOM` in order to set the `LogLevel` or `MetricsLevel`
|
3883
|
+
# parameters.
|
3607
3884
|
# @return [String]
|
3608
3885
|
#
|
3609
3886
|
# @!attribute [rw] metrics_level
|
@@ -3662,7 +3939,9 @@ module Aws::KinesisAnalyticsV2
|
|
3662
3939
|
#
|
3663
3940
|
# @!attribute [rw] configuration_type_update
|
3664
3941
|
# Describes updates to whether to use the default CloudWatch logging
|
3665
|
-
# configuration for an application.
|
3942
|
+
# configuration for an application. You must set this property to
|
3943
|
+
# `CUSTOM` in order to set the `LogLevel` or `MetricsLevel`
|
3944
|
+
# parameters.
|
3666
3945
|
# @return [String]
|
3667
3946
|
#
|
3668
3947
|
# @!attribute [rw] metrics_level_update
|
@@ -3873,14 +4152,24 @@ module Aws::KinesisAnalyticsV2
|
|
3873
4152
|
#
|
3874
4153
|
# @!attribute [rw] configuration_type
|
3875
4154
|
# Describes whether the application uses the default parallelism for
|
3876
|
-
# the Kinesis Data Analytics service.
|
4155
|
+
# the Kinesis Data Analytics service. You must set this property to
|
4156
|
+
# `CUSTOM` in order to change your application's
|
4157
|
+
# `AutoScalingEnabled`, `Parallelism`, or `ParallelismPerKPU`
|
4158
|
+
# properties.
|
3877
4159
|
# @return [String]
|
3878
4160
|
#
|
3879
4161
|
# @!attribute [rw] parallelism
|
3880
4162
|
# Describes the initial number of parallel tasks that a Java-based
|
3881
|
-
# Kinesis Data Analytics application can perform.
|
3882
|
-
#
|
3883
|
-
#
|
4163
|
+
# Kinesis Data Analytics application can perform. If
|
4164
|
+
# `AutoScalingEnabled` is set to True, Kinesis Data Analytics
|
4165
|
+
# increases the `CurrentParallelism` value in response to application
|
4166
|
+
# load. The service can increase the `CurrentParallelism` value up to
|
4167
|
+
# the maximum parallelism, which is `ParalellismPerKPU` times the
|
4168
|
+
# maximum KPUs for the application. The maximum KPUs for an
|
4169
|
+
# application is 32 by default, and can be increased by requesting a
|
4170
|
+
# limit increase. If application load is reduced, the service can
|
4171
|
+
# reduce the `CurrentParallelism` value down to the `Parallelism`
|
4172
|
+
# setting.
|
3884
4173
|
# @return [Integer]
|
3885
4174
|
#
|
3886
4175
|
# @!attribute [rw] parallelism_per_kpu
|
@@ -3920,7 +4209,15 @@ module Aws::KinesisAnalyticsV2
|
|
3920
4209
|
#
|
3921
4210
|
# @!attribute [rw] parallelism
|
3922
4211
|
# Describes the initial number of parallel tasks that a Java-based
|
3923
|
-
# Kinesis Data Analytics application can perform.
|
4212
|
+
# Kinesis Data Analytics application can perform. If
|
4213
|
+
# `AutoScalingEnabled` is set to True, then Kinesis Data Analytics can
|
4214
|
+
# increase the `CurrentParallelism` value in response to application
|
4215
|
+
# load. The service can increase `CurrentParallelism` up to the
|
4216
|
+
# maximum parallelism, which is `ParalellismPerKPU` times the maximum
|
4217
|
+
# KPUs for the application. The maximum KPUs for an application is 32
|
4218
|
+
# by default, and can be increased by requesting a limit increase. If
|
4219
|
+
# application load is reduced, the service can reduce the
|
4220
|
+
# `CurrentParallelism` value down to the `Parallelism` setting.
|
3924
4221
|
# @return [Integer]
|
3925
4222
|
#
|
3926
4223
|
# @!attribute [rw] parallelism_per_kpu
|
@@ -3931,7 +4228,15 @@ module Aws::KinesisAnalyticsV2
|
|
3931
4228
|
#
|
3932
4229
|
# @!attribute [rw] current_parallelism
|
3933
4230
|
# Describes the current number of parallel tasks that a Java-based
|
3934
|
-
# Kinesis Data Analytics application can perform.
|
4231
|
+
# Kinesis Data Analytics application can perform. If
|
4232
|
+
# `AutoScalingEnabled` is set to True, Kinesis Data Analytics can
|
4233
|
+
# increase this value in response to application load. The service can
|
4234
|
+
# increase this value up to the maximum parallelism, which is
|
4235
|
+
# `ParalellismPerKPU` times the maximum KPUs for the application. The
|
4236
|
+
# maximum KPUs for an application is 32 by default, and can be
|
4237
|
+
# increased by requesting a limit increase. If application load is
|
4238
|
+
# reduced, the service can reduce the `CurrentParallelism` value down
|
4239
|
+
# to the `Parallelism` setting.
|
3935
4240
|
# @return [Integer]
|
3936
4241
|
#
|
3937
4242
|
# @!attribute [rw] auto_scaling_enabled
|
@@ -3967,12 +4272,22 @@ module Aws::KinesisAnalyticsV2
|
|
3967
4272
|
# @!attribute [rw] configuration_type_update
|
3968
4273
|
# Describes updates to whether the application uses the default
|
3969
4274
|
# parallelism for the Kinesis Data Analytics service, or if a custom
|
3970
|
-
# parallelism is used.
|
4275
|
+
# parallelism is used. You must set this property to `CUSTOM` in order
|
4276
|
+
# to change your application's `AutoScalingEnabled`, `Parallelism`,
|
4277
|
+
# or `ParallelismPerKPU` properties.
|
3971
4278
|
# @return [String]
|
3972
4279
|
#
|
3973
4280
|
# @!attribute [rw] parallelism_update
|
3974
4281
|
# Describes updates to the initial number of parallel tasks an
|
3975
|
-
# application can perform.
|
4282
|
+
# application can perform. If `AutoScalingEnabled` is set to True,
|
4283
|
+
# then Kinesis Data Analytics can increase the `CurrentParallelism`
|
4284
|
+
# value in response to application load. The service can increase
|
4285
|
+
# `CurrentParallelism` up to the maximum parallelism, which is
|
4286
|
+
# `ParalellismPerKPU` times the maximum KPUs for the application. The
|
4287
|
+
# maximum KPUs for an application is 32 by default, and can be
|
4288
|
+
# increased by requesting a limit increase. If application load is
|
4289
|
+
# reduced, the service will reduce `CurrentParallelism` down to the
|
4290
|
+
# `Parallelism` setting.
|
3976
4291
|
# @return [Integer]
|
3977
4292
|
#
|
3978
4293
|
# @!attribute [rw] parallelism_per_kpu_update
|
@@ -4328,6 +4643,9 @@ module Aws::KinesisAnalyticsV2
|
|
4328
4643
|
# data as a hash:
|
4329
4644
|
#
|
4330
4645
|
# {
|
4646
|
+
# flink_run_configuration: {
|
4647
|
+
# allow_non_restored_state: false,
|
4648
|
+
# },
|
4331
4649
|
# sql_run_configurations: [
|
4332
4650
|
# {
|
4333
4651
|
# input_id: "Id", # required
|
@@ -4342,6 +4660,11 @@ module Aws::KinesisAnalyticsV2
|
|
4342
4660
|
# },
|
4343
4661
|
# }
|
4344
4662
|
#
|
4663
|
+
# @!attribute [rw] flink_run_configuration
|
4664
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
4665
|
+
# Data Analytics application.
|
4666
|
+
# @return [Types::FlinkRunConfiguration]
|
4667
|
+
#
|
4345
4668
|
# @!attribute [rw] sql_run_configurations
|
4346
4669
|
# Describes the starting parameters for an SQL-based Kinesis Data
|
4347
4670
|
# Analytics application.
|
@@ -4354,6 +4677,7 @@ module Aws::KinesisAnalyticsV2
|
|
4354
4677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RunConfiguration AWS API Documentation
|
4355
4678
|
#
|
4356
4679
|
class RunConfiguration < Struct.new(
|
4680
|
+
:flink_run_configuration,
|
4357
4681
|
:sql_run_configurations,
|
4358
4682
|
:application_restore_configuration)
|
4359
4683
|
include Aws::Structure
|
@@ -4380,12 +4704,20 @@ module Aws::KinesisAnalyticsV2
|
|
4380
4704
|
# data as a hash:
|
4381
4705
|
#
|
4382
4706
|
# {
|
4707
|
+
# flink_run_configuration: {
|
4708
|
+
# allow_non_restored_state: false,
|
4709
|
+
# },
|
4383
4710
|
# application_restore_configuration: {
|
4384
4711
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
4385
4712
|
# snapshot_name: "SnapshotName",
|
4386
4713
|
# },
|
4387
4714
|
# }
|
4388
4715
|
#
|
4716
|
+
# @!attribute [rw] flink_run_configuration
|
4717
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
4718
|
+
# Data Analytics application.
|
4719
|
+
# @return [Types::FlinkRunConfiguration]
|
4720
|
+
#
|
4389
4721
|
# @!attribute [rw] application_restore_configuration
|
4390
4722
|
# Describes updates to the restore behavior of a restarting
|
4391
4723
|
# application.
|
@@ -4394,6 +4726,7 @@ module Aws::KinesisAnalyticsV2
|
|
4394
4726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RunConfigurationUpdate AWS API Documentation
|
4395
4727
|
#
|
4396
4728
|
class RunConfigurationUpdate < Struct.new(
|
4729
|
+
:flink_run_configuration,
|
4397
4730
|
:application_restore_configuration)
|
4398
4731
|
include Aws::Structure
|
4399
4732
|
end
|
@@ -5019,6 +5352,9 @@ module Aws::KinesisAnalyticsV2
|
|
5019
5352
|
# {
|
5020
5353
|
# application_name: "ApplicationName", # required
|
5021
5354
|
# run_configuration: { # required
|
5355
|
+
# flink_run_configuration: {
|
5356
|
+
# allow_non_restored_state: false,
|
5357
|
+
# },
|
5022
5358
|
# sql_run_configurations: [
|
5023
5359
|
# {
|
5024
5360
|
# input_id: "Id", # required
|
@@ -5082,12 +5418,11 @@ module Aws::KinesisAnalyticsV2
|
|
5082
5418
|
# tag value is replaced with the value that you specify in the request.
|
5083
5419
|
# Note that the maximum number of application tags includes system tags.
|
5084
5420
|
# The maximum number of user-defined application tags is 50. For more
|
5085
|
-
# information, see [Using
|
5086
|
-
# and Cost Management Guide*.
|
5421
|
+
# information, see [Using Tagging][1].
|
5087
5422
|
#
|
5088
5423
|
#
|
5089
5424
|
#
|
5090
|
-
# [1]: https://docs.aws.amazon.com/
|
5425
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
5091
5426
|
#
|
5092
5427
|
# @note When making an API call, you may pass Tag
|
5093
5428
|
# data as a hash:
|
@@ -5372,9 +5707,19 @@ module Aws::KinesisAnalyticsV2
|
|
5372
5707
|
# application_snapshot_configuration_update: {
|
5373
5708
|
# snapshots_enabled_update: false, # required
|
5374
5709
|
# },
|
5710
|
+
# vpc_configuration_updates: [
|
5711
|
+
# {
|
5712
|
+
# vpc_configuration_id: "Id", # required
|
5713
|
+
# subnet_id_updates: ["SubnetId"],
|
5714
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
5715
|
+
# },
|
5716
|
+
# ],
|
5375
5717
|
# },
|
5376
5718
|
# service_execution_role_update: "RoleARN",
|
5377
5719
|
# run_configuration_update: {
|
5720
|
+
# flink_run_configuration: {
|
5721
|
+
# allow_non_restored_state: false,
|
5722
|
+
# },
|
5378
5723
|
# application_restore_configuration: {
|
5379
5724
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
5380
5725
|
# snapshot_name: "SnapshotName",
|
@@ -5439,5 +5784,117 @@ module Aws::KinesisAnalyticsV2
|
|
5439
5784
|
include Aws::Structure
|
5440
5785
|
end
|
5441
5786
|
|
5787
|
+
# Describes the parameters of a VPC used by the application.
|
5788
|
+
#
|
5789
|
+
# @note When making an API call, you may pass VpcConfiguration
|
5790
|
+
# data as a hash:
|
5791
|
+
#
|
5792
|
+
# {
|
5793
|
+
# subnet_ids: ["SubnetId"], # required
|
5794
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
5795
|
+
# }
|
5796
|
+
#
|
5797
|
+
# @!attribute [rw] subnet_ids
|
5798
|
+
# The array of [Subnet][1] IDs used by the VPC configuration.
|
5799
|
+
#
|
5800
|
+
#
|
5801
|
+
#
|
5802
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5803
|
+
# @return [Array<String>]
|
5804
|
+
#
|
5805
|
+
# @!attribute [rw] security_group_ids
|
5806
|
+
# The array of [SecurityGroup][1] IDs used by the VPC configuration.
|
5807
|
+
#
|
5808
|
+
#
|
5809
|
+
#
|
5810
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5811
|
+
# @return [Array<String>]
|
5812
|
+
#
|
5813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfiguration AWS API Documentation
|
5814
|
+
#
|
5815
|
+
class VpcConfiguration < Struct.new(
|
5816
|
+
:subnet_ids,
|
5817
|
+
:security_group_ids)
|
5818
|
+
include Aws::Structure
|
5819
|
+
end
|
5820
|
+
|
5821
|
+
# Describes the parameters of a VPC used by the application.
|
5822
|
+
#
|
5823
|
+
# @!attribute [rw] vpc_configuration_id
|
5824
|
+
# The ID of the VPC configuration.
|
5825
|
+
# @return [String]
|
5826
|
+
#
|
5827
|
+
# @!attribute [rw] vpc_id
|
5828
|
+
# The ID of the associated VPC.
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] subnet_ids
|
5832
|
+
# The array of [Subnet][1] IDs used by the VPC configuration.
|
5833
|
+
#
|
5834
|
+
#
|
5835
|
+
#
|
5836
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5837
|
+
# @return [Array<String>]
|
5838
|
+
#
|
5839
|
+
# @!attribute [rw] security_group_ids
|
5840
|
+
# The array of [SecurityGroup][1] IDs used by the VPC configuration.
|
5841
|
+
#
|
5842
|
+
#
|
5843
|
+
#
|
5844
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5845
|
+
# @return [Array<String>]
|
5846
|
+
#
|
5847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfigurationDescription AWS API Documentation
|
5848
|
+
#
|
5849
|
+
class VpcConfigurationDescription < Struct.new(
|
5850
|
+
:vpc_configuration_id,
|
5851
|
+
:vpc_id,
|
5852
|
+
:subnet_ids,
|
5853
|
+
:security_group_ids)
|
5854
|
+
include Aws::Structure
|
5855
|
+
end
|
5856
|
+
|
5857
|
+
# Describes updates to the VPC configuration used by the application.
|
5858
|
+
#
|
5859
|
+
# @note When making an API call, you may pass VpcConfigurationUpdate
|
5860
|
+
# data as a hash:
|
5861
|
+
#
|
5862
|
+
# {
|
5863
|
+
# vpc_configuration_id: "Id", # required
|
5864
|
+
# subnet_id_updates: ["SubnetId"],
|
5865
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
5866
|
+
# }
|
5867
|
+
#
|
5868
|
+
# @!attribute [rw] vpc_configuration_id
|
5869
|
+
# Describes an update to the ID of the VPC configuration.
|
5870
|
+
# @return [String]
|
5871
|
+
#
|
5872
|
+
# @!attribute [rw] subnet_id_updates
|
5873
|
+
# Describes updates to the array of [Subnet][1] IDs used by the VPC
|
5874
|
+
# configuration.
|
5875
|
+
#
|
5876
|
+
#
|
5877
|
+
#
|
5878
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5879
|
+
# @return [Array<String>]
|
5880
|
+
#
|
5881
|
+
# @!attribute [rw] security_group_id_updates
|
5882
|
+
# Describes updates to the array of [SecurityGroup][1] IDs used by the
|
5883
|
+
# VPC configuration.
|
5884
|
+
#
|
5885
|
+
#
|
5886
|
+
#
|
5887
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5888
|
+
# @return [Array<String>]
|
5889
|
+
#
|
5890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfigurationUpdate AWS API Documentation
|
5891
|
+
#
|
5892
|
+
class VpcConfigurationUpdate < Struct.new(
|
5893
|
+
:vpc_configuration_id,
|
5894
|
+
:subnet_id_updates,
|
5895
|
+
:security_group_id_updates)
|
5896
|
+
include Aws::Structure
|
5897
|
+
end
|
5898
|
+
|
5442
5899
|
end
|
5443
5900
|
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.12.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: 2019-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|