aws-sdk-kinesisanalyticsv2 1.11.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-kinesisanalyticsv2.rb +7 -4
- data/lib/aws-sdk-kinesisanalyticsv2/client.rb +235 -25
- data/lib/aws-sdk-kinesisanalyticsv2/client_api.rb +92 -0
- data/lib/aws-sdk-kinesisanalyticsv2/errors.rb +35 -13
- data/lib/aws-sdk-kinesisanalyticsv2/resource.rb +1 -0
- data/lib/aws-sdk-kinesisanalyticsv2/types.rb +479 -22
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a78870597160258e03b53413ba99f04100137590ad27e68ac59c3b52575eae23
|
4
|
+
data.tar.gz: 33d8981c3b5096e5bce3afcb5a4b9639f9338718c0e1e93184379744e8619643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05c3c6991827e91ce6298c28797de6699dfa423ade8c841d358866d929b09299baf03dea93fb5fb1eced9b1c3d83a761eec8fcc4ddbf7c96dc82aac58237aded
|
7
|
+
data.tar.gz: 05e7e1512e370eaddcf665239bed19b210946b8170bef86db380e1504bca588b8cfa4eb135c2b41c72de4a72b313e6d0c0c438e5a99ae47f881516edf544c7dc
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# kinesis_analytics_v2 = Aws::KinesisAnalyticsV2::Client.new
|
28
|
+
# resp = kinesis_analytics_v2.add_application_cloud_watch_logging_option(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon Kinesis Analytics
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon Kinesis Analytics are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::KinesisAnalyticsV2::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon Kinesis Analytics API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::KinesisAnalyticsV2
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.16.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:kinesisanalyticsv2)
|
31
31
|
|
32
32
|
module Aws::KinesisAnalyticsV2
|
33
|
+
# An API client for KinesisAnalyticsV2. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::KinesisAnalyticsV2::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::KinesisAnalyticsV2
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::KinesisAnalyticsV2
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::KinesisAnalyticsV2
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::KinesisAnalyticsV2
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::KinesisAnalyticsV2
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::KinesisAnalyticsV2
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::KinesisAnalyticsV2
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::KinesisAnalyticsV2
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::KinesisAnalyticsV2
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -673,6 +727,69 @@ module Aws::KinesisAnalyticsV2
|
|
673
727
|
req.send_request(options)
|
674
728
|
end
|
675
729
|
|
730
|
+
# Adds a Virtual Private Cloud (VPC) configuration to the application.
|
731
|
+
# Applications can use VPCs to store and access resources securely.
|
732
|
+
#
|
733
|
+
# Note the following about VPC configurations for Kinesis Data Analytics
|
734
|
+
# applications:
|
735
|
+
#
|
736
|
+
# * VPC configurations are not supported for SQL applications.
|
737
|
+
#
|
738
|
+
# * When a VPC is added to a Kinesis Data Analytics application, the
|
739
|
+
# application can no longer be accessed from the Internet directly. To
|
740
|
+
# enable Internet access to the application, add an Internet gateway
|
741
|
+
# to your VPC.
|
742
|
+
#
|
743
|
+
# @option params [required, String] :application_name
|
744
|
+
# The name of an existing application.
|
745
|
+
#
|
746
|
+
# @option params [required, Integer] :current_application_version_id
|
747
|
+
# The version of the application to which you want to add the input
|
748
|
+
# processing configuration. You can use the DescribeApplication
|
749
|
+
# operation to get the current application version. If the version
|
750
|
+
# specified is not the current version, the
|
751
|
+
# `ConcurrentModificationException` is returned.
|
752
|
+
#
|
753
|
+
# @option params [required, Types::VpcConfiguration] :vpc_configuration
|
754
|
+
# Description of the VPC to add to the application.
|
755
|
+
#
|
756
|
+
# @return [Types::AddApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
757
|
+
#
|
758
|
+
# * {Types::AddApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
759
|
+
# * {Types::AddApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer
|
760
|
+
# * {Types::AddApplicationVpcConfigurationResponse#vpc_configuration_description #vpc_configuration_description} => Types::VpcConfigurationDescription
|
761
|
+
#
|
762
|
+
# @example Request syntax with placeholder values
|
763
|
+
#
|
764
|
+
# resp = client.add_application_vpc_configuration({
|
765
|
+
# application_name: "ApplicationName", # required
|
766
|
+
# current_application_version_id: 1, # required
|
767
|
+
# vpc_configuration: { # required
|
768
|
+
# subnet_ids: ["SubnetId"], # required
|
769
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
770
|
+
# },
|
771
|
+
# })
|
772
|
+
#
|
773
|
+
# @example Response structure
|
774
|
+
#
|
775
|
+
# resp.application_arn #=> String
|
776
|
+
# resp.application_version_id #=> Integer
|
777
|
+
# resp.vpc_configuration_description.vpc_configuration_id #=> String
|
778
|
+
# resp.vpc_configuration_description.vpc_id #=> String
|
779
|
+
# resp.vpc_configuration_description.subnet_ids #=> Array
|
780
|
+
# resp.vpc_configuration_description.subnet_ids[0] #=> String
|
781
|
+
# resp.vpc_configuration_description.security_group_ids #=> Array
|
782
|
+
# resp.vpc_configuration_description.security_group_ids[0] #=> String
|
783
|
+
#
|
784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfiguration AWS API Documentation
|
785
|
+
#
|
786
|
+
# @overload add_application_vpc_configuration(params = {})
|
787
|
+
# @param [Hash] params ({})
|
788
|
+
def add_application_vpc_configuration(params = {}, options = {})
|
789
|
+
req = build_request(:add_application_vpc_configuration, params)
|
790
|
+
req.send_request(options)
|
791
|
+
end
|
792
|
+
|
676
793
|
# Creates an Amazon Kinesis Data Analytics application. For information
|
677
794
|
# about creating a Kinesis Data Analytics application, see [Creating an
|
678
795
|
# Application][1].
|
@@ -708,12 +825,11 @@ module Aws::KinesisAnalyticsV2
|
|
708
825
|
# key-value pair that identifies an application. Note that the maximum
|
709
826
|
# number of application tags includes system tags. The maximum number of
|
710
827
|
# user-defined application tags is 50. For more information, see [Using
|
711
|
-
#
|
712
|
-
# Guide*.
|
828
|
+
# Tagging][1].
|
713
829
|
#
|
714
830
|
#
|
715
831
|
#
|
716
|
-
# [1]: https://docs.aws.amazon.com/
|
832
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
717
833
|
#
|
718
834
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
719
835
|
#
|
@@ -724,7 +840,7 @@ module Aws::KinesisAnalyticsV2
|
|
724
840
|
# resp = client.create_application({
|
725
841
|
# application_name: "ApplicationName", # required
|
726
842
|
# application_description: "ApplicationDescription",
|
727
|
-
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6
|
843
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
|
728
844
|
# service_execution_role: "RoleARN", # required
|
729
845
|
# application_configuration: {
|
730
846
|
# sql_application_configuration: {
|
@@ -862,6 +978,12 @@ module Aws::KinesisAnalyticsV2
|
|
862
978
|
# application_snapshot_configuration: {
|
863
979
|
# snapshots_enabled: false, # required
|
864
980
|
# },
|
981
|
+
# vpc_configurations: [
|
982
|
+
# {
|
983
|
+
# subnet_ids: ["SubnetId"], # required
|
984
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
985
|
+
# },
|
986
|
+
# ],
|
865
987
|
# },
|
866
988
|
# cloud_watch_logging_options: [
|
867
989
|
# {
|
@@ -881,7 +1003,7 @@ module Aws::KinesisAnalyticsV2
|
|
881
1003
|
# resp.application_detail.application_arn #=> String
|
882
1004
|
# resp.application_detail.application_description #=> String
|
883
1005
|
# resp.application_detail.application_name #=> String
|
884
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
1006
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
885
1007
|
# resp.application_detail.service_execution_role #=> String
|
886
1008
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
887
1009
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -961,6 +1083,13 @@ module Aws::KinesisAnalyticsV2
|
|
961
1083
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
962
1084
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
963
1085
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
1086
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
1087
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
1088
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
1089
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
1090
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
1091
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
1092
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
964
1093
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
965
1094
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
966
1095
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -1248,6 +1377,45 @@ module Aws::KinesisAnalyticsV2
|
|
1248
1377
|
req.send_request(options)
|
1249
1378
|
end
|
1250
1379
|
|
1380
|
+
# Removes a VPC configuration from a Kinesis Data Analytics application.
|
1381
|
+
#
|
1382
|
+
# @option params [required, String] :application_name
|
1383
|
+
# The name of an existing application.
|
1384
|
+
#
|
1385
|
+
# @option params [required, Integer] :current_application_version_id
|
1386
|
+
# The current application version ID. You can retrieve the application
|
1387
|
+
# version ID using DescribeApplication.
|
1388
|
+
#
|
1389
|
+
# @option params [required, String] :vpc_configuration_id
|
1390
|
+
# The ID of the VPC configuration to delete.
|
1391
|
+
#
|
1392
|
+
# @return [Types::DeleteApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1393
|
+
#
|
1394
|
+
# * {Types::DeleteApplicationVpcConfigurationResponse#application_arn #application_arn} => String
|
1395
|
+
# * {Types::DeleteApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer
|
1396
|
+
#
|
1397
|
+
# @example Request syntax with placeholder values
|
1398
|
+
#
|
1399
|
+
# resp = client.delete_application_vpc_configuration({
|
1400
|
+
# application_name: "ApplicationName", # required
|
1401
|
+
# current_application_version_id: 1, # required
|
1402
|
+
# vpc_configuration_id: "Id", # required
|
1403
|
+
# })
|
1404
|
+
#
|
1405
|
+
# @example Response structure
|
1406
|
+
#
|
1407
|
+
# resp.application_arn #=> String
|
1408
|
+
# resp.application_version_id #=> Integer
|
1409
|
+
#
|
1410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfiguration AWS API Documentation
|
1411
|
+
#
|
1412
|
+
# @overload delete_application_vpc_configuration(params = {})
|
1413
|
+
# @param [Hash] params ({})
|
1414
|
+
def delete_application_vpc_configuration(params = {}, options = {})
|
1415
|
+
req = build_request(:delete_application_vpc_configuration, params)
|
1416
|
+
req.send_request(options)
|
1417
|
+
end
|
1418
|
+
|
1251
1419
|
# Returns information about a specific Amazon Kinesis Data Analytics
|
1252
1420
|
# application.
|
1253
1421
|
#
|
@@ -1277,7 +1445,7 @@ module Aws::KinesisAnalyticsV2
|
|
1277
1445
|
# resp.application_detail.application_arn #=> String
|
1278
1446
|
# resp.application_detail.application_description #=> String
|
1279
1447
|
# resp.application_detail.application_name #=> String
|
1280
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
1448
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1281
1449
|
# resp.application_detail.service_execution_role #=> String
|
1282
1450
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1283
1451
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -1357,6 +1525,13 @@ module Aws::KinesisAnalyticsV2
|
|
1357
1525
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
1358
1526
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
1359
1527
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
1528
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
1529
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
1530
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
1531
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
1532
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
1533
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
1534
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
1360
1535
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
1361
1536
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
1362
1537
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -1575,7 +1750,7 @@ module Aws::KinesisAnalyticsV2
|
|
1575
1750
|
# resp.application_summaries[0].application_arn #=> String
|
1576
1751
|
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1577
1752
|
# resp.application_summaries[0].application_version_id #=> Integer
|
1578
|
-
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
1753
|
+
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1579
1754
|
# resp.next_token #=> String
|
1580
1755
|
#
|
1581
1756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
|
@@ -1587,7 +1762,12 @@ module Aws::KinesisAnalyticsV2
|
|
1587
1762
|
req.send_request(options)
|
1588
1763
|
end
|
1589
1764
|
|
1590
|
-
# Retrieves the list of key-value tags assigned to the application.
|
1765
|
+
# Retrieves the list of key-value tags assigned to the application. For
|
1766
|
+
# more information, see [Using Tagging][1].
|
1767
|
+
#
|
1768
|
+
#
|
1769
|
+
#
|
1770
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1591
1771
|
#
|
1592
1772
|
# @option params [required, String] :resource_arn
|
1593
1773
|
# The ARN of the application for which to retrieve tags.
|
@@ -1635,6 +1815,9 @@ module Aws::KinesisAnalyticsV2
|
|
1635
1815
|
# resp = client.start_application({
|
1636
1816
|
# application_name: "ApplicationName", # required
|
1637
1817
|
# run_configuration: { # required
|
1818
|
+
# flink_run_configuration: {
|
1819
|
+
# allow_non_restored_state: false,
|
1820
|
+
# },
|
1638
1821
|
# sql_run_configurations: [
|
1639
1822
|
# {
|
1640
1823
|
# input_id: "Id", # required
|
@@ -1685,7 +1868,12 @@ module Aws::KinesisAnalyticsV2
|
|
1685
1868
|
|
1686
1869
|
# Adds one or more key-value tags to a Kinesis Analytics application.
|
1687
1870
|
# Note that the maximum number of application tags includes system tags.
|
1688
|
-
# The maximum number of user-defined application tags is 50.
|
1871
|
+
# The maximum number of user-defined application tags is 50. For more
|
1872
|
+
# information, see [Using Tagging][1].
|
1873
|
+
#
|
1874
|
+
#
|
1875
|
+
#
|
1876
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1689
1877
|
#
|
1690
1878
|
# @option params [required, String] :resource_arn
|
1691
1879
|
# The ARN of the application to assign the tags.
|
@@ -1716,7 +1904,12 @@ module Aws::KinesisAnalyticsV2
|
|
1716
1904
|
req.send_request(options)
|
1717
1905
|
end
|
1718
1906
|
|
1719
|
-
# Removes one or more tags from a Kinesis Analytics application.
|
1907
|
+
# Removes one or more tags from a Kinesis Analytics application. For
|
1908
|
+
# more information, see [Using Tagging][1].
|
1909
|
+
#
|
1910
|
+
#
|
1911
|
+
#
|
1912
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1720
1913
|
#
|
1721
1914
|
# @option params [required, String] :resource_arn
|
1722
1915
|
# The ARN of the Kinesis Analytics application from which to remove the
|
@@ -1920,9 +2113,19 @@ module Aws::KinesisAnalyticsV2
|
|
1920
2113
|
# application_snapshot_configuration_update: {
|
1921
2114
|
# snapshots_enabled_update: false, # required
|
1922
2115
|
# },
|
2116
|
+
# vpc_configuration_updates: [
|
2117
|
+
# {
|
2118
|
+
# vpc_configuration_id: "Id", # required
|
2119
|
+
# subnet_id_updates: ["SubnetId"],
|
2120
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
2121
|
+
# },
|
2122
|
+
# ],
|
1923
2123
|
# },
|
1924
2124
|
# service_execution_role_update: "RoleARN",
|
1925
2125
|
# run_configuration_update: {
|
2126
|
+
# flink_run_configuration: {
|
2127
|
+
# allow_non_restored_state: false,
|
2128
|
+
# },
|
1926
2129
|
# application_restore_configuration: {
|
1927
2130
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
1928
2131
|
# snapshot_name: "SnapshotName",
|
@@ -1941,7 +2144,7 @@ module Aws::KinesisAnalyticsV2
|
|
1941
2144
|
# resp.application_detail.application_arn #=> String
|
1942
2145
|
# resp.application_detail.application_description #=> String
|
1943
2146
|
# resp.application_detail.application_name #=> String
|
1944
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
2147
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1945
2148
|
# resp.application_detail.service_execution_role #=> String
|
1946
2149
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
1947
2150
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -2021,6 +2224,13 @@ module Aws::KinesisAnalyticsV2
|
|
2021
2224
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
2022
2225
|
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
2023
2226
|
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
2227
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
|
2228
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
|
2229
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
|
2230
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
|
2231
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
|
2232
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
|
2233
|
+
# resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
|
2024
2234
|
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
2025
2235
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
2026
2236
|
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
@@ -2048,7 +2258,7 @@ module Aws::KinesisAnalyticsV2
|
|
2048
2258
|
params: params,
|
2049
2259
|
config: config)
|
2050
2260
|
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
2051
|
-
context[:gem_version] = '1.
|
2261
|
+
context[:gem_version] = '1.16.0'
|
2052
2262
|
Seahorse::Client::Request.new(handlers, context)
|
2053
2263
|
end
|
2054
2264
|
|