aws-sdk-kinesisanalyticsv2 1.0.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 +7 -0
- data/lib/aws-sdk-kinesisanalyticsv2.rb +47 -0
- data/lib/aws-sdk-kinesisanalyticsv2/client.rb +1931 -0
- data/lib/aws-sdk-kinesisanalyticsv2/client_api.rb +1173 -0
- data/lib/aws-sdk-kinesisanalyticsv2/customizations.rb +0 -0
- data/lib/aws-sdk-kinesisanalyticsv2/errors.rb +14 -0
- data/lib/aws-sdk-kinesisanalyticsv2/resource.rb +23 -0
- data/lib/aws-sdk-kinesisanalyticsv2/types.rb +5079 -0
- metadata +88 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: a1a15612e5e407ffab090a8be5adc095b6123d1b
|
|
4
|
+
data.tar.gz: f38c4d4dcd3600597d5529d9ad72e88466a45dec
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6401efdee494dc93b9f85cb1b6c6ca454ec42eedc40d6267e8fdf2c6e42fddc9c822fe3edbd0deb584ffa7c3e8973846d2748a4705f3edf622fb72b5b9ab04d5
|
|
7
|
+
data.tar.gz: 5ece2b09260faa62bf0f1406fa2a03838c7db37adc25ee7c7aacf8034701f01a27ecbcb072d6c4654c53f4335ae0c9b826039e052f2f5913e43635793a1bbca1
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
require 'aws-sdk-core'
|
|
9
|
+
require 'aws-sigv4'
|
|
10
|
+
|
|
11
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/types'
|
|
12
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/client_api'
|
|
13
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/client'
|
|
14
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/errors'
|
|
15
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/resource'
|
|
16
|
+
require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
|
|
17
|
+
|
|
18
|
+
# This module provides support for Amazon Kinesis Analytics. This module is available in the
|
|
19
|
+
# `aws-sdk-kinesisanalyticsv2` gem.
|
|
20
|
+
#
|
|
21
|
+
# # Client
|
|
22
|
+
#
|
|
23
|
+
# The {Client} class provides one method for each API operation. Operation
|
|
24
|
+
# methods each accept a hash of request parameters and return a response
|
|
25
|
+
# structure.
|
|
26
|
+
#
|
|
27
|
+
# See {Client} for more information.
|
|
28
|
+
#
|
|
29
|
+
# # Errors
|
|
30
|
+
#
|
|
31
|
+
# Errors returned from Amazon Kinesis Analytics all
|
|
32
|
+
# extend {Errors::ServiceError}.
|
|
33
|
+
#
|
|
34
|
+
# begin
|
|
35
|
+
# # do stuff
|
|
36
|
+
# rescue Aws::KinesisAnalyticsV2::Errors::ServiceError
|
|
37
|
+
# # rescues all service API errors
|
|
38
|
+
# end
|
|
39
|
+
#
|
|
40
|
+
# See {Errors} for more information.
|
|
41
|
+
#
|
|
42
|
+
# @service
|
|
43
|
+
module Aws::KinesisAnalyticsV2
|
|
44
|
+
|
|
45
|
+
GEM_VERSION = '1.0.0'
|
|
46
|
+
|
|
47
|
+
end
|
|
@@ -0,0 +1,1931 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
require 'seahorse/client/plugins/content_length.rb'
|
|
9
|
+
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
|
10
|
+
require 'aws-sdk-core/plugins/logging.rb'
|
|
11
|
+
require 'aws-sdk-core/plugins/param_converter.rb'
|
|
12
|
+
require 'aws-sdk-core/plugins/param_validator.rb'
|
|
13
|
+
require 'aws-sdk-core/plugins/user_agent.rb'
|
|
14
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
|
+
require 'aws-sdk-core/plugins/retry_errors.rb'
|
|
16
|
+
require 'aws-sdk-core/plugins/global_configuration.rb'
|
|
17
|
+
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
|
19
|
+
require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
20
|
+
require 'aws-sdk-core/plugins/response_paging.rb'
|
|
21
|
+
require 'aws-sdk-core/plugins/stub_responses.rb'
|
|
22
|
+
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
|
23
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
25
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
26
|
+
require 'aws-sdk-core/plugins/signature_v4.rb'
|
|
27
|
+
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
28
|
+
|
|
29
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:kinesisanalyticsv2)
|
|
30
|
+
|
|
31
|
+
module Aws::KinesisAnalyticsV2
|
|
32
|
+
class Client < Seahorse::Client::Base
|
|
33
|
+
|
|
34
|
+
include Aws::ClientStubs
|
|
35
|
+
|
|
36
|
+
@identifier = :kinesisanalyticsv2
|
|
37
|
+
|
|
38
|
+
set_api(ClientApi::API)
|
|
39
|
+
|
|
40
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
41
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
42
|
+
add_plugin(Aws::Plugins::Logging)
|
|
43
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
44
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
45
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
46
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
47
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
48
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
49
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
50
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
51
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
52
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
53
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
54
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
55
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
56
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
57
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
58
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
|
59
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
|
60
|
+
|
|
61
|
+
# @overload initialize(options)
|
|
62
|
+
# @param [Hash] options
|
|
63
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
64
|
+
# Your AWS credentials. This can be an instance of any one of the
|
|
65
|
+
# following classes:
|
|
66
|
+
#
|
|
67
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
68
|
+
# credentials.
|
|
69
|
+
#
|
|
70
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
71
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
72
|
+
#
|
|
73
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
|
74
|
+
# shared file, such as `~/.aws/config`.
|
|
75
|
+
#
|
|
76
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
77
|
+
#
|
|
78
|
+
# When `:credentials` are not configured directly, the following
|
|
79
|
+
# locations will be searched for credentials:
|
|
80
|
+
#
|
|
81
|
+
# * `Aws.config[:credentials]`
|
|
82
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
|
83
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
84
|
+
# * `~/.aws/credentials`
|
|
85
|
+
# * `~/.aws/config`
|
|
86
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
|
87
|
+
# very aggressive. Construct and pass an instance of
|
|
88
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
|
89
|
+
# timeouts.
|
|
90
|
+
#
|
|
91
|
+
# @option options [required, String] :region
|
|
92
|
+
# The AWS region to connect to. The configured `:region` is
|
|
93
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
94
|
+
# a default `:region` is search for in the following locations:
|
|
95
|
+
#
|
|
96
|
+
# * `Aws.config[:region]`
|
|
97
|
+
# * `ENV['AWS_REGION']`
|
|
98
|
+
# * `ENV['AMAZON_REGION']`
|
|
99
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
100
|
+
# * `~/.aws/credentials`
|
|
101
|
+
# * `~/.aws/config`
|
|
102
|
+
#
|
|
103
|
+
# @option options [String] :access_key_id
|
|
104
|
+
#
|
|
105
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
106
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
107
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
108
|
+
#
|
|
109
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
110
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
111
|
+
# this client.
|
|
112
|
+
#
|
|
113
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
114
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
115
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
116
|
+
#
|
|
117
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
118
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
119
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
120
|
+
#
|
|
121
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
122
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
123
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
124
|
+
#
|
|
125
|
+
# @option options [Boolean] :convert_params (true)
|
|
126
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
127
|
+
# the required types.
|
|
128
|
+
#
|
|
129
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
130
|
+
# Set to true to disable SDK automatically adding host prefix
|
|
131
|
+
# to default service endpoint when available.
|
|
132
|
+
#
|
|
133
|
+
# @option options [String] :endpoint
|
|
134
|
+
# The client endpoint is normally constructed from the `:region`
|
|
135
|
+
# option. You should only configure an `:endpoint` when connecting
|
|
136
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
|
137
|
+
#
|
|
138
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
139
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
140
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
141
|
+
#
|
|
142
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
143
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
144
|
+
#
|
|
145
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
146
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
147
|
+
# Use this option to config the time interval in seconds for making
|
|
148
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
149
|
+
#
|
|
150
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
151
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
|
152
|
+
#
|
|
153
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
154
|
+
# The log formatter.
|
|
155
|
+
#
|
|
156
|
+
# @option options [Symbol] :log_level (:info)
|
|
157
|
+
# The log level to send messages to the `:logger` at.
|
|
158
|
+
#
|
|
159
|
+
# @option options [Logger] :logger
|
|
160
|
+
# The Logger instance to send log messages to. If this option
|
|
161
|
+
# is not set, logging will be disabled.
|
|
162
|
+
#
|
|
163
|
+
# @option options [String] :profile ("default")
|
|
164
|
+
# Used when loading credentials from the shared credentials file
|
|
165
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
|
166
|
+
#
|
|
167
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
168
|
+
# The base delay in seconds used by the default backoff function.
|
|
169
|
+
#
|
|
170
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
171
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
|
172
|
+
#
|
|
173
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
174
|
+
#
|
|
175
|
+
# @option options [Integer] :retry_limit (3)
|
|
176
|
+
# The maximum number of times to retry failed requests. Only
|
|
177
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
178
|
+
# are retried. Generally, these are throttling errors, data
|
|
179
|
+
# checksum errors, networking errors, timeout errors and auth
|
|
180
|
+
# errors from expired credentials.
|
|
181
|
+
#
|
|
182
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
183
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :secret_access_key
|
|
186
|
+
#
|
|
187
|
+
# @option options [String] :session_token
|
|
188
|
+
#
|
|
189
|
+
# @option options [Boolean] :simple_json (false)
|
|
190
|
+
# Disables request parameter conversion, validation, and formatting.
|
|
191
|
+
# Also disable response data type conversions. This option is useful
|
|
192
|
+
# when you want to ensure the highest level of performance by
|
|
193
|
+
# avoiding overhead of walking request parameters and response data
|
|
194
|
+
# structures.
|
|
195
|
+
#
|
|
196
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
|
197
|
+
# be formatted exactly as the DynamoDB API expects.
|
|
198
|
+
#
|
|
199
|
+
# @option options [Boolean] :stub_responses (false)
|
|
200
|
+
# Causes the client to return stubbed responses. By default
|
|
201
|
+
# fake responses are generated and returned. You can specify
|
|
202
|
+
# the response data to return or errors to raise by calling
|
|
203
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
204
|
+
#
|
|
205
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
206
|
+
# requests are made, and retries are disabled.
|
|
207
|
+
#
|
|
208
|
+
# @option options [Boolean] :validate_params (true)
|
|
209
|
+
# When `true`, request parameters are validated before
|
|
210
|
+
# sending the request.
|
|
211
|
+
#
|
|
212
|
+
def initialize(*args)
|
|
213
|
+
super
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# @!group API Operations
|
|
217
|
+
|
|
218
|
+
# Adds an Amazon CloudWatch log stream to monitor application
|
|
219
|
+
# configuration errors.
|
|
220
|
+
#
|
|
221
|
+
# @option params [required, String] :application_name
|
|
222
|
+
# The Kinesis Data Analytics application name.
|
|
223
|
+
#
|
|
224
|
+
# @option params [required, Integer] :current_application_version_id
|
|
225
|
+
# The version ID of the Kinesis Data Analytics application. You can
|
|
226
|
+
# retrieve the application version ID using DescribeApplication.
|
|
227
|
+
#
|
|
228
|
+
# @option params [required, Types::CloudWatchLoggingOption] :cloud_watch_logging_option
|
|
229
|
+
# Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
|
|
230
|
+
#
|
|
231
|
+
# @return [Types::AddApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
232
|
+
#
|
|
233
|
+
# * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
|
|
234
|
+
# * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_version_id #application_version_id} => Integer
|
|
235
|
+
# * {Types::AddApplicationCloudWatchLoggingOptionResponse#cloud_watch_logging_option_descriptions #cloud_watch_logging_option_descriptions} => Array<Types::CloudWatchLoggingOptionDescription>
|
|
236
|
+
#
|
|
237
|
+
# @example Request syntax with placeholder values
|
|
238
|
+
#
|
|
239
|
+
# resp = client.add_application_cloud_watch_logging_option({
|
|
240
|
+
# application_name: "ApplicationName", # required
|
|
241
|
+
# current_application_version_id: 1, # required
|
|
242
|
+
# cloud_watch_logging_option: { # required
|
|
243
|
+
# log_stream_arn: "LogStreamARN", # required
|
|
244
|
+
# },
|
|
245
|
+
# })
|
|
246
|
+
#
|
|
247
|
+
# @example Response structure
|
|
248
|
+
#
|
|
249
|
+
# resp.application_arn #=> String
|
|
250
|
+
# resp.application_version_id #=> Integer
|
|
251
|
+
# resp.cloud_watch_logging_option_descriptions #=> Array
|
|
252
|
+
# resp.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
|
253
|
+
# resp.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
|
254
|
+
# resp.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
|
255
|
+
#
|
|
256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOption AWS API Documentation
|
|
257
|
+
#
|
|
258
|
+
# @overload add_application_cloud_watch_logging_option(params = {})
|
|
259
|
+
# @param [Hash] params ({})
|
|
260
|
+
def add_application_cloud_watch_logging_option(params = {}, options = {})
|
|
261
|
+
req = build_request(:add_application_cloud_watch_logging_option, params)
|
|
262
|
+
req.send_request(options)
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Adds a streaming source to your SQL-based Amazon Kinesis Data
|
|
266
|
+
# Analytics application.
|
|
267
|
+
#
|
|
268
|
+
# You can add a streaming source when you create an application, or you
|
|
269
|
+
# can use this operation to add a streaming source after you create an
|
|
270
|
+
# application. For more information, see CreateApplication.
|
|
271
|
+
#
|
|
272
|
+
# Any configuration update, including adding a streaming source using
|
|
273
|
+
# this operation, results in a new version of the application. You can
|
|
274
|
+
# use the DescribeApplication operation to find the current application
|
|
275
|
+
# version.
|
|
276
|
+
#
|
|
277
|
+
# @option params [required, String] :application_name
|
|
278
|
+
# The name of your existing application to which you want to add the
|
|
279
|
+
# streaming source.
|
|
280
|
+
#
|
|
281
|
+
# @option params [required, Integer] :current_application_version_id
|
|
282
|
+
# The current version of your application. You can use the
|
|
283
|
+
# DescribeApplication operation to find the current application version.
|
|
284
|
+
#
|
|
285
|
+
# @option params [required, Types::Input] :input
|
|
286
|
+
# The Input to add.
|
|
287
|
+
#
|
|
288
|
+
# @return [Types::AddApplicationInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
289
|
+
#
|
|
290
|
+
# * {Types::AddApplicationInputResponse#application_arn #application_arn} => String
|
|
291
|
+
# * {Types::AddApplicationInputResponse#application_version_id #application_version_id} => Integer
|
|
292
|
+
# * {Types::AddApplicationInputResponse#input_descriptions #input_descriptions} => Array<Types::InputDescription>
|
|
293
|
+
#
|
|
294
|
+
# @example Request syntax with placeholder values
|
|
295
|
+
#
|
|
296
|
+
# resp = client.add_application_input({
|
|
297
|
+
# application_name: "ApplicationName", # required
|
|
298
|
+
# current_application_version_id: 1, # required
|
|
299
|
+
# input: { # required
|
|
300
|
+
# name_prefix: "InAppStreamName", # required
|
|
301
|
+
# input_processing_configuration: {
|
|
302
|
+
# input_lambda_processor: { # required
|
|
303
|
+
# resource_arn: "ResourceARN", # required
|
|
304
|
+
# },
|
|
305
|
+
# },
|
|
306
|
+
# kinesis_streams_input: {
|
|
307
|
+
# resource_arn: "ResourceARN", # required
|
|
308
|
+
# },
|
|
309
|
+
# kinesis_firehose_input: {
|
|
310
|
+
# resource_arn: "ResourceARN", # required
|
|
311
|
+
# },
|
|
312
|
+
# input_parallelism: {
|
|
313
|
+
# count: 1,
|
|
314
|
+
# },
|
|
315
|
+
# input_schema: { # required
|
|
316
|
+
# record_format: { # required
|
|
317
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
318
|
+
# mapping_parameters: {
|
|
319
|
+
# json_mapping_parameters: {
|
|
320
|
+
# record_row_path: "RecordRowPath", # required
|
|
321
|
+
# },
|
|
322
|
+
# csv_mapping_parameters: {
|
|
323
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
324
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
325
|
+
# },
|
|
326
|
+
# },
|
|
327
|
+
# },
|
|
328
|
+
# record_encoding: "RecordEncoding",
|
|
329
|
+
# record_columns: [ # required
|
|
330
|
+
# {
|
|
331
|
+
# name: "RecordColumnName", # required
|
|
332
|
+
# mapping: "RecordColumnMapping",
|
|
333
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
334
|
+
# },
|
|
335
|
+
# ],
|
|
336
|
+
# },
|
|
337
|
+
# },
|
|
338
|
+
# })
|
|
339
|
+
#
|
|
340
|
+
# @example Response structure
|
|
341
|
+
#
|
|
342
|
+
# resp.application_arn #=> String
|
|
343
|
+
# resp.application_version_id #=> Integer
|
|
344
|
+
# resp.input_descriptions #=> Array
|
|
345
|
+
# resp.input_descriptions[0].input_id #=> String
|
|
346
|
+
# resp.input_descriptions[0].name_prefix #=> String
|
|
347
|
+
# resp.input_descriptions[0].in_app_stream_names #=> Array
|
|
348
|
+
# resp.input_descriptions[0].in_app_stream_names[0] #=> String
|
|
349
|
+
# resp.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
|
350
|
+
# resp.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
|
351
|
+
# resp.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
|
|
352
|
+
# resp.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
|
|
353
|
+
# resp.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
|
|
354
|
+
# resp.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
|
|
355
|
+
# resp.input_descriptions[0].input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
356
|
+
# resp.input_descriptions[0].input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
357
|
+
# resp.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
358
|
+
# resp.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
359
|
+
# resp.input_descriptions[0].input_schema.record_encoding #=> String
|
|
360
|
+
# resp.input_descriptions[0].input_schema.record_columns #=> Array
|
|
361
|
+
# resp.input_descriptions[0].input_schema.record_columns[0].name #=> String
|
|
362
|
+
# resp.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
|
|
363
|
+
# resp.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
|
|
364
|
+
# resp.input_descriptions[0].input_parallelism.count #=> Integer
|
|
365
|
+
# resp.input_descriptions[0].input_starting_position_configuration.input_starting_position #=> String, one of "NOW", "TRIM_HORIZON", "LAST_STOPPED_POINT"
|
|
366
|
+
#
|
|
367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInput AWS API Documentation
|
|
368
|
+
#
|
|
369
|
+
# @overload add_application_input(params = {})
|
|
370
|
+
# @param [Hash] params ({})
|
|
371
|
+
def add_application_input(params = {}, options = {})
|
|
372
|
+
req = build_request(:add_application_input, params)
|
|
373
|
+
req.send_request(options)
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
# Adds an InputProcessingConfiguration to an SQL-based Kinesis Data
|
|
377
|
+
# Analytics application. An input processor pre-processes records on the
|
|
378
|
+
# input stream before the application's SQL code executes. Currently,
|
|
379
|
+
# the only input processor available is [AWS Lambda][1].
|
|
380
|
+
#
|
|
381
|
+
#
|
|
382
|
+
#
|
|
383
|
+
# [1]: https://aws.amazon.com/documentation/lambda/
|
|
384
|
+
#
|
|
385
|
+
# @option params [required, String] :application_name
|
|
386
|
+
# The name of the application to which you want to add the input
|
|
387
|
+
# processing configuration.
|
|
388
|
+
#
|
|
389
|
+
# @option params [required, Integer] :current_application_version_id
|
|
390
|
+
# The version of the application to which you want to add the input
|
|
391
|
+
# processing configuration. You can use the DescribeApplication
|
|
392
|
+
# operation to get the current application version. If the version
|
|
393
|
+
# specified is not the current version, the
|
|
394
|
+
# `ConcurrentModificationException` is returned.
|
|
395
|
+
#
|
|
396
|
+
# @option params [required, String] :input_id
|
|
397
|
+
# The ID of the input configuration to add the input processing
|
|
398
|
+
# configuration to. You can get a list of the input IDs for an
|
|
399
|
+
# application using the DescribeApplication operation.
|
|
400
|
+
#
|
|
401
|
+
# @option params [required, Types::InputProcessingConfiguration] :input_processing_configuration
|
|
402
|
+
# The InputProcessingConfiguration to add to the application.
|
|
403
|
+
#
|
|
404
|
+
# @return [Types::AddApplicationInputProcessingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
405
|
+
#
|
|
406
|
+
# * {Types::AddApplicationInputProcessingConfigurationResponse#application_arn #application_arn} => String
|
|
407
|
+
# * {Types::AddApplicationInputProcessingConfigurationResponse#application_version_id #application_version_id} => Integer
|
|
408
|
+
# * {Types::AddApplicationInputProcessingConfigurationResponse#input_id #input_id} => String
|
|
409
|
+
# * {Types::AddApplicationInputProcessingConfigurationResponse#input_processing_configuration_description #input_processing_configuration_description} => Types::InputProcessingConfigurationDescription
|
|
410
|
+
#
|
|
411
|
+
# @example Request syntax with placeholder values
|
|
412
|
+
#
|
|
413
|
+
# resp = client.add_application_input_processing_configuration({
|
|
414
|
+
# application_name: "ApplicationName", # required
|
|
415
|
+
# current_application_version_id: 1, # required
|
|
416
|
+
# input_id: "Id", # required
|
|
417
|
+
# input_processing_configuration: { # required
|
|
418
|
+
# input_lambda_processor: { # required
|
|
419
|
+
# resource_arn: "ResourceARN", # required
|
|
420
|
+
# },
|
|
421
|
+
# },
|
|
422
|
+
# })
|
|
423
|
+
#
|
|
424
|
+
# @example Response structure
|
|
425
|
+
#
|
|
426
|
+
# resp.application_arn #=> String
|
|
427
|
+
# resp.application_version_id #=> Integer
|
|
428
|
+
# resp.input_id #=> String
|
|
429
|
+
# resp.input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
|
430
|
+
# resp.input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
|
431
|
+
#
|
|
432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInputProcessingConfiguration AWS API Documentation
|
|
433
|
+
#
|
|
434
|
+
# @overload add_application_input_processing_configuration(params = {})
|
|
435
|
+
# @param [Hash] params ({})
|
|
436
|
+
def add_application_input_processing_configuration(params = {}, options = {})
|
|
437
|
+
req = build_request(:add_application_input_processing_configuration, params)
|
|
438
|
+
req.send_request(options)
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Adds an external destination to your SQL-based Amazon Kinesis Data
|
|
442
|
+
# Analytics application.
|
|
443
|
+
#
|
|
444
|
+
# If you want Kinesis Data Analytics to deliver data from an
|
|
445
|
+
# in-application stream within your application to an external
|
|
446
|
+
# destination (such as an Kinesis data stream, a Kinesis Data Firehose
|
|
447
|
+
# delivery stream, or an AWS Lambda function), you add the relevant
|
|
448
|
+
# configuration to your application using this operation. You can
|
|
449
|
+
# configure one or more outputs for your application. Each output
|
|
450
|
+
# configuration maps an in-application stream and an external
|
|
451
|
+
# destination.
|
|
452
|
+
#
|
|
453
|
+
# You can use one of the output configurations to deliver data from your
|
|
454
|
+
# in-application error stream to an external destination so that you can
|
|
455
|
+
# analyze the errors.
|
|
456
|
+
#
|
|
457
|
+
# Any configuration update, including adding a streaming source using
|
|
458
|
+
# this operation, results in a new version of the application. You can
|
|
459
|
+
# use the DescribeApplication operation to find the current application
|
|
460
|
+
# version.
|
|
461
|
+
#
|
|
462
|
+
# @option params [required, String] :application_name
|
|
463
|
+
# The name of the application to which you want to add the output
|
|
464
|
+
# configuration.
|
|
465
|
+
#
|
|
466
|
+
# @option params [required, Integer] :current_application_version_id
|
|
467
|
+
# The version of the application to which you want to add the output
|
|
468
|
+
# configuration. You can use the DescribeApplication operation to get
|
|
469
|
+
# the current application version. If the version specified is not the
|
|
470
|
+
# current version, the `ConcurrentModificationException` is returned.
|
|
471
|
+
#
|
|
472
|
+
# @option params [required, Types::Output] :output
|
|
473
|
+
# An array of objects, each describing one output configuration. In the
|
|
474
|
+
# output configuration, you specify the name of an in-application
|
|
475
|
+
# stream, a destination (that is, a Kinesis data stream, a Kinesis Data
|
|
476
|
+
# Firehose delivery stream, or an AWS Lambda function), and record the
|
|
477
|
+
# formation to use when writing to the destination.
|
|
478
|
+
#
|
|
479
|
+
# @return [Types::AddApplicationOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
480
|
+
#
|
|
481
|
+
# * {Types::AddApplicationOutputResponse#application_arn #application_arn} => String
|
|
482
|
+
# * {Types::AddApplicationOutputResponse#application_version_id #application_version_id} => Integer
|
|
483
|
+
# * {Types::AddApplicationOutputResponse#output_descriptions #output_descriptions} => Array<Types::OutputDescription>
|
|
484
|
+
#
|
|
485
|
+
# @example Request syntax with placeholder values
|
|
486
|
+
#
|
|
487
|
+
# resp = client.add_application_output({
|
|
488
|
+
# application_name: "ApplicationName", # required
|
|
489
|
+
# current_application_version_id: 1, # required
|
|
490
|
+
# output: { # required
|
|
491
|
+
# name: "InAppStreamName", # required
|
|
492
|
+
# kinesis_streams_output: {
|
|
493
|
+
# resource_arn: "ResourceARN", # required
|
|
494
|
+
# },
|
|
495
|
+
# kinesis_firehose_output: {
|
|
496
|
+
# resource_arn: "ResourceARN", # required
|
|
497
|
+
# },
|
|
498
|
+
# lambda_output: {
|
|
499
|
+
# resource_arn: "ResourceARN", # required
|
|
500
|
+
# },
|
|
501
|
+
# destination_schema: { # required
|
|
502
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
503
|
+
# },
|
|
504
|
+
# },
|
|
505
|
+
# })
|
|
506
|
+
#
|
|
507
|
+
# @example Response structure
|
|
508
|
+
#
|
|
509
|
+
# resp.application_arn #=> String
|
|
510
|
+
# resp.application_version_id #=> Integer
|
|
511
|
+
# resp.output_descriptions #=> Array
|
|
512
|
+
# resp.output_descriptions[0].output_id #=> String
|
|
513
|
+
# resp.output_descriptions[0].name #=> String
|
|
514
|
+
# resp.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
|
|
515
|
+
# resp.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
|
|
516
|
+
# resp.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
|
|
517
|
+
# resp.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
|
|
518
|
+
# resp.output_descriptions[0].lambda_output_description.resource_arn #=> String
|
|
519
|
+
# resp.output_descriptions[0].lambda_output_description.role_arn #=> String
|
|
520
|
+
# resp.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
|
|
521
|
+
#
|
|
522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationOutput AWS API Documentation
|
|
523
|
+
#
|
|
524
|
+
# @overload add_application_output(params = {})
|
|
525
|
+
# @param [Hash] params ({})
|
|
526
|
+
def add_application_output(params = {}, options = {})
|
|
527
|
+
req = build_request(:add_application_output, params)
|
|
528
|
+
req.send_request(options)
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# Adds a reference data source to an existing SQL-based Amazon Kinesis
|
|
532
|
+
# Data Analytics application.
|
|
533
|
+
#
|
|
534
|
+
# Kinesis Data Analytics reads reference data (that is, an Amazon S3
|
|
535
|
+
# object) and creates an in-application table within your application.
|
|
536
|
+
# In the request, you provide the source (S3 bucket name and object key
|
|
537
|
+
# name), name of the in-application table to create, and the necessary
|
|
538
|
+
# mapping information that describes how data in an Amazon S3 object
|
|
539
|
+
# maps to columns in the resulting in-application table.
|
|
540
|
+
#
|
|
541
|
+
# @option params [required, String] :application_name
|
|
542
|
+
# The name of an existing application.
|
|
543
|
+
#
|
|
544
|
+
# @option params [required, Integer] :current_application_version_id
|
|
545
|
+
# The version of the application for which you are adding the reference
|
|
546
|
+
# data source. You can use the DescribeApplication operation to get the
|
|
547
|
+
# current application version. If the version specified is not the
|
|
548
|
+
# current version, the `ConcurrentModificationException` is returned.
|
|
549
|
+
#
|
|
550
|
+
# @option params [required, Types::ReferenceDataSource] :reference_data_source
|
|
551
|
+
# The reference data source can be an object in your Amazon S3 bucket.
|
|
552
|
+
# Kinesis Data Analytics reads the object and copies the data into the
|
|
553
|
+
# in-application table that is created. You provide an S3 bucket, object
|
|
554
|
+
# key name, and the resulting in-application table that is created.
|
|
555
|
+
#
|
|
556
|
+
# @return [Types::AddApplicationReferenceDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
557
|
+
#
|
|
558
|
+
# * {Types::AddApplicationReferenceDataSourceResponse#application_arn #application_arn} => String
|
|
559
|
+
# * {Types::AddApplicationReferenceDataSourceResponse#application_version_id #application_version_id} => Integer
|
|
560
|
+
# * {Types::AddApplicationReferenceDataSourceResponse#reference_data_source_descriptions #reference_data_source_descriptions} => Array<Types::ReferenceDataSourceDescription>
|
|
561
|
+
#
|
|
562
|
+
# @example Request syntax with placeholder values
|
|
563
|
+
#
|
|
564
|
+
# resp = client.add_application_reference_data_source({
|
|
565
|
+
# application_name: "ApplicationName", # required
|
|
566
|
+
# current_application_version_id: 1, # required
|
|
567
|
+
# reference_data_source: { # required
|
|
568
|
+
# table_name: "InAppTableName", # required
|
|
569
|
+
# s3_reference_data_source: {
|
|
570
|
+
# bucket_arn: "BucketARN",
|
|
571
|
+
# file_key: "FileKey",
|
|
572
|
+
# },
|
|
573
|
+
# reference_schema: { # required
|
|
574
|
+
# record_format: { # required
|
|
575
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
576
|
+
# mapping_parameters: {
|
|
577
|
+
# json_mapping_parameters: {
|
|
578
|
+
# record_row_path: "RecordRowPath", # required
|
|
579
|
+
# },
|
|
580
|
+
# csv_mapping_parameters: {
|
|
581
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
582
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
583
|
+
# },
|
|
584
|
+
# },
|
|
585
|
+
# },
|
|
586
|
+
# record_encoding: "RecordEncoding",
|
|
587
|
+
# record_columns: [ # required
|
|
588
|
+
# {
|
|
589
|
+
# name: "RecordColumnName", # required
|
|
590
|
+
# mapping: "RecordColumnMapping",
|
|
591
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
592
|
+
# },
|
|
593
|
+
# ],
|
|
594
|
+
# },
|
|
595
|
+
# },
|
|
596
|
+
# })
|
|
597
|
+
#
|
|
598
|
+
# @example Response structure
|
|
599
|
+
#
|
|
600
|
+
# resp.application_arn #=> String
|
|
601
|
+
# resp.application_version_id #=> Integer
|
|
602
|
+
# resp.reference_data_source_descriptions #=> Array
|
|
603
|
+
# resp.reference_data_source_descriptions[0].reference_id #=> String
|
|
604
|
+
# resp.reference_data_source_descriptions[0].table_name #=> String
|
|
605
|
+
# resp.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
|
|
606
|
+
# resp.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
|
|
607
|
+
# resp.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
|
|
608
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
609
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
610
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
611
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
612
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
|
|
613
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
|
|
614
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
|
|
615
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
|
|
616
|
+
# resp.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
|
|
617
|
+
#
|
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationReferenceDataSource AWS API Documentation
|
|
619
|
+
#
|
|
620
|
+
# @overload add_application_reference_data_source(params = {})
|
|
621
|
+
# @param [Hash] params ({})
|
|
622
|
+
def add_application_reference_data_source(params = {}, options = {})
|
|
623
|
+
req = build_request(:add_application_reference_data_source, params)
|
|
624
|
+
req.send_request(options)
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# Creates an Amazon Kinesis Data Analytics application. For information
|
|
628
|
+
# about creating a Kinesis Data Analytics application, see [Creating an
|
|
629
|
+
# Application][1].
|
|
630
|
+
#
|
|
631
|
+
# <note markdown="1"> SQL is not enabled for this private beta release. Using SQL parameters
|
|
632
|
+
# (such as SqlApplicationConfiguration) will result in an error.
|
|
633
|
+
#
|
|
634
|
+
# </note>
|
|
635
|
+
#
|
|
636
|
+
#
|
|
637
|
+
#
|
|
638
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/Java/creating-app.html
|
|
639
|
+
#
|
|
640
|
+
# @option params [required, String] :application_name
|
|
641
|
+
# The name of your application (for example, `sample-app`).
|
|
642
|
+
#
|
|
643
|
+
# @option params [String] :application_description
|
|
644
|
+
# A summary description of the application.
|
|
645
|
+
#
|
|
646
|
+
# @option params [required, String] :runtime_environment
|
|
647
|
+
# The runtime environment for the application (`SQL-1.0` or
|
|
648
|
+
# `JAVA-8-FLINK-1.5`).
|
|
649
|
+
#
|
|
650
|
+
# @option params [required, String] :service_execution_role
|
|
651
|
+
# The IAM role used by the application to access Kinesis data streams,
|
|
652
|
+
# Kinesis Data Firehose delivery streams, Amazon S3 objects, and other
|
|
653
|
+
# external resources.
|
|
654
|
+
#
|
|
655
|
+
# @option params [Types::ApplicationConfiguration] :application_configuration
|
|
656
|
+
# Use this parameter to configure the application.
|
|
657
|
+
#
|
|
658
|
+
# @option params [Array<Types::CloudWatchLoggingOption>] :cloud_watch_logging_options
|
|
659
|
+
# Use this parameter to configure an Amazon CloudWatch log stream to
|
|
660
|
+
# monitor application configuration errors.
|
|
661
|
+
#
|
|
662
|
+
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
663
|
+
#
|
|
664
|
+
# * {Types::CreateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
|
|
665
|
+
#
|
|
666
|
+
# @example Request syntax with placeholder values
|
|
667
|
+
#
|
|
668
|
+
# resp = client.create_application({
|
|
669
|
+
# application_name: "ApplicationName", # required
|
|
670
|
+
# application_description: "ApplicationDescription",
|
|
671
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6
|
|
672
|
+
# service_execution_role: "RoleARN", # required
|
|
673
|
+
# application_configuration: {
|
|
674
|
+
# sql_application_configuration: {
|
|
675
|
+
# inputs: [
|
|
676
|
+
# {
|
|
677
|
+
# name_prefix: "InAppStreamName", # required
|
|
678
|
+
# input_processing_configuration: {
|
|
679
|
+
# input_lambda_processor: { # required
|
|
680
|
+
# resource_arn: "ResourceARN", # required
|
|
681
|
+
# },
|
|
682
|
+
# },
|
|
683
|
+
# kinesis_streams_input: {
|
|
684
|
+
# resource_arn: "ResourceARN", # required
|
|
685
|
+
# },
|
|
686
|
+
# kinesis_firehose_input: {
|
|
687
|
+
# resource_arn: "ResourceARN", # required
|
|
688
|
+
# },
|
|
689
|
+
# input_parallelism: {
|
|
690
|
+
# count: 1,
|
|
691
|
+
# },
|
|
692
|
+
# input_schema: { # required
|
|
693
|
+
# record_format: { # required
|
|
694
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
695
|
+
# mapping_parameters: {
|
|
696
|
+
# json_mapping_parameters: {
|
|
697
|
+
# record_row_path: "RecordRowPath", # required
|
|
698
|
+
# },
|
|
699
|
+
# csv_mapping_parameters: {
|
|
700
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
701
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
702
|
+
# },
|
|
703
|
+
# },
|
|
704
|
+
# },
|
|
705
|
+
# record_encoding: "RecordEncoding",
|
|
706
|
+
# record_columns: [ # required
|
|
707
|
+
# {
|
|
708
|
+
# name: "RecordColumnName", # required
|
|
709
|
+
# mapping: "RecordColumnMapping",
|
|
710
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
711
|
+
# },
|
|
712
|
+
# ],
|
|
713
|
+
# },
|
|
714
|
+
# },
|
|
715
|
+
# ],
|
|
716
|
+
# outputs: [
|
|
717
|
+
# {
|
|
718
|
+
# name: "InAppStreamName", # required
|
|
719
|
+
# kinesis_streams_output: {
|
|
720
|
+
# resource_arn: "ResourceARN", # required
|
|
721
|
+
# },
|
|
722
|
+
# kinesis_firehose_output: {
|
|
723
|
+
# resource_arn: "ResourceARN", # required
|
|
724
|
+
# },
|
|
725
|
+
# lambda_output: {
|
|
726
|
+
# resource_arn: "ResourceARN", # required
|
|
727
|
+
# },
|
|
728
|
+
# destination_schema: { # required
|
|
729
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
730
|
+
# },
|
|
731
|
+
# },
|
|
732
|
+
# ],
|
|
733
|
+
# reference_data_sources: [
|
|
734
|
+
# {
|
|
735
|
+
# table_name: "InAppTableName", # required
|
|
736
|
+
# s3_reference_data_source: {
|
|
737
|
+
# bucket_arn: "BucketARN",
|
|
738
|
+
# file_key: "FileKey",
|
|
739
|
+
# },
|
|
740
|
+
# reference_schema: { # required
|
|
741
|
+
# record_format: { # required
|
|
742
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
743
|
+
# mapping_parameters: {
|
|
744
|
+
# json_mapping_parameters: {
|
|
745
|
+
# record_row_path: "RecordRowPath", # required
|
|
746
|
+
# },
|
|
747
|
+
# csv_mapping_parameters: {
|
|
748
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
749
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
750
|
+
# },
|
|
751
|
+
# },
|
|
752
|
+
# },
|
|
753
|
+
# record_encoding: "RecordEncoding",
|
|
754
|
+
# record_columns: [ # required
|
|
755
|
+
# {
|
|
756
|
+
# name: "RecordColumnName", # required
|
|
757
|
+
# mapping: "RecordColumnMapping",
|
|
758
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
759
|
+
# },
|
|
760
|
+
# ],
|
|
761
|
+
# },
|
|
762
|
+
# },
|
|
763
|
+
# ],
|
|
764
|
+
# },
|
|
765
|
+
# flink_application_configuration: {
|
|
766
|
+
# checkpoint_configuration: {
|
|
767
|
+
# configuration_type: "DEFAULT", # required, accepts DEFAULT, CUSTOM
|
|
768
|
+
# checkpointing_enabled: false,
|
|
769
|
+
# checkpoint_interval: 1,
|
|
770
|
+
# min_pause_between_checkpoints: 1,
|
|
771
|
+
# },
|
|
772
|
+
# monitoring_configuration: {
|
|
773
|
+
# configuration_type: "DEFAULT", # required, accepts DEFAULT, CUSTOM
|
|
774
|
+
# metrics_level: "APPLICATION", # accepts APPLICATION, TASK, OPERATOR, PARALLELISM
|
|
775
|
+
# log_level: "INFO", # accepts INFO, WARN, ERROR, DEBUG
|
|
776
|
+
# },
|
|
777
|
+
# parallelism_configuration: {
|
|
778
|
+
# configuration_type: "DEFAULT", # required, accepts DEFAULT, CUSTOM
|
|
779
|
+
# parallelism: 1,
|
|
780
|
+
# parallelism_per_kpu: 1,
|
|
781
|
+
# auto_scaling_enabled: false,
|
|
782
|
+
# },
|
|
783
|
+
# },
|
|
784
|
+
# environment_properties: {
|
|
785
|
+
# property_groups: [ # required
|
|
786
|
+
# {
|
|
787
|
+
# property_group_id: "Id", # required
|
|
788
|
+
# property_map: { # required
|
|
789
|
+
# "PropertyKey" => "PropertyValue",
|
|
790
|
+
# },
|
|
791
|
+
# },
|
|
792
|
+
# ],
|
|
793
|
+
# },
|
|
794
|
+
# application_code_configuration: { # required
|
|
795
|
+
# code_content: {
|
|
796
|
+
# text_content: "TextContent",
|
|
797
|
+
# zip_file_content: "data",
|
|
798
|
+
# s3_content_location: {
|
|
799
|
+
# bucket_arn: "BucketARN", # required
|
|
800
|
+
# file_key: "FileKey", # required
|
|
801
|
+
# object_version: "ObjectVersion",
|
|
802
|
+
# },
|
|
803
|
+
# },
|
|
804
|
+
# code_content_type: "PLAINTEXT", # required, accepts PLAINTEXT, ZIPFILE
|
|
805
|
+
# },
|
|
806
|
+
# application_snapshot_configuration: {
|
|
807
|
+
# snapshots_enabled: false, # required
|
|
808
|
+
# },
|
|
809
|
+
# },
|
|
810
|
+
# cloud_watch_logging_options: [
|
|
811
|
+
# {
|
|
812
|
+
# log_stream_arn: "LogStreamARN", # required
|
|
813
|
+
# },
|
|
814
|
+
# ],
|
|
815
|
+
# })
|
|
816
|
+
#
|
|
817
|
+
# @example Response structure
|
|
818
|
+
#
|
|
819
|
+
# resp.application_detail.application_arn #=> String
|
|
820
|
+
# resp.application_detail.application_description #=> String
|
|
821
|
+
# resp.application_detail.application_name #=> String
|
|
822
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
|
823
|
+
# resp.application_detail.service_execution_role #=> String
|
|
824
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
|
825
|
+
# resp.application_detail.application_version_id #=> Integer
|
|
826
|
+
# resp.application_detail.create_timestamp #=> Time
|
|
827
|
+
# resp.application_detail.last_update_timestamp #=> Time
|
|
828
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions #=> Array
|
|
829
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_id #=> String
|
|
830
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].name_prefix #=> String
|
|
831
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names #=> Array
|
|
832
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names[0] #=> String
|
|
833
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
|
834
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
|
835
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
|
|
836
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
|
|
837
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
|
|
838
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
|
|
839
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
840
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
841
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
842
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
843
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_encoding #=> String
|
|
844
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns #=> Array
|
|
845
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].name #=> String
|
|
846
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
|
|
847
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
|
|
848
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_parallelism.count #=> Integer
|
|
849
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_starting_position_configuration.input_starting_position #=> String, one of "NOW", "TRIM_HORIZON", "LAST_STOPPED_POINT"
|
|
850
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions #=> Array
|
|
851
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].output_id #=> String
|
|
852
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].name #=> String
|
|
853
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
|
|
854
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
|
|
855
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
|
|
856
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
|
|
857
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.resource_arn #=> String
|
|
858
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.role_arn #=> String
|
|
859
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
|
|
860
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions #=> Array
|
|
861
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_id #=> String
|
|
862
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].table_name #=> String
|
|
863
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
|
|
864
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
|
|
865
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
|
|
866
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
867
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
868
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
869
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
870
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
|
|
871
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
|
|
872
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
|
|
873
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
|
|
874
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
|
|
875
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_type #=> String, one of "PLAINTEXT", "ZIPFILE"
|
|
876
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.text_content #=> String
|
|
877
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_md5 #=> String
|
|
878
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_size #=> Integer
|
|
879
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.bucket_arn #=> String
|
|
880
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.file_key #=> String
|
|
881
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
|
882
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
|
883
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
|
884
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
885
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
|
886
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
|
887
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.min_pause_between_checkpoints #=> Integer
|
|
888
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
889
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.metrics_level #=> String, one of "APPLICATION", "TASK", "OPERATOR", "PARALLELISM"
|
|
890
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.log_level #=> String, one of "INFO", "WARN", "ERROR", "DEBUG"
|
|
891
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
892
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism #=> Integer
|
|
893
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism_per_kpu #=> Integer
|
|
894
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.current_parallelism #=> Integer
|
|
895
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.auto_scaling_enabled #=> Boolean
|
|
896
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.job_plan_description #=> String
|
|
897
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions #=> Array
|
|
898
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_group_id #=> String
|
|
899
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
|
900
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
|
901
|
+
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
|
902
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
|
903
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
|
904
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
|
905
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
|
906
|
+
#
|
|
907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplication AWS API Documentation
|
|
908
|
+
#
|
|
909
|
+
# @overload create_application(params = {})
|
|
910
|
+
# @param [Hash] params ({})
|
|
911
|
+
def create_application(params = {}, options = {})
|
|
912
|
+
req = build_request(:create_application, params)
|
|
913
|
+
req.send_request(options)
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
# Creates a snapshot of the application's state data.
|
|
917
|
+
#
|
|
918
|
+
# @option params [required, String] :application_name
|
|
919
|
+
# The name of an existing application
|
|
920
|
+
#
|
|
921
|
+
# @option params [required, String] :snapshot_name
|
|
922
|
+
# An identifier for the application snapshot.
|
|
923
|
+
#
|
|
924
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
925
|
+
#
|
|
926
|
+
# @example Request syntax with placeholder values
|
|
927
|
+
#
|
|
928
|
+
# resp = client.create_application_snapshot({
|
|
929
|
+
# application_name: "ApplicationName", # required
|
|
930
|
+
# snapshot_name: "SnapshotName", # required
|
|
931
|
+
# })
|
|
932
|
+
#
|
|
933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationSnapshot AWS API Documentation
|
|
934
|
+
#
|
|
935
|
+
# @overload create_application_snapshot(params = {})
|
|
936
|
+
# @param [Hash] params ({})
|
|
937
|
+
def create_application_snapshot(params = {}, options = {})
|
|
938
|
+
req = build_request(:create_application_snapshot, params)
|
|
939
|
+
req.send_request(options)
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
# Deletes the specified application. Kinesis Data Analytics halts
|
|
943
|
+
# application execution and deletes the application.
|
|
944
|
+
#
|
|
945
|
+
# @option params [required, String] :application_name
|
|
946
|
+
# The name of the application to delete.
|
|
947
|
+
#
|
|
948
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :create_timestamp
|
|
949
|
+
# Use the `DescribeApplication` operation to get this value.
|
|
950
|
+
#
|
|
951
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
952
|
+
#
|
|
953
|
+
# @example Request syntax with placeholder values
|
|
954
|
+
#
|
|
955
|
+
# resp = client.delete_application({
|
|
956
|
+
# application_name: "ApplicationName", # required
|
|
957
|
+
# create_timestamp: Time.now, # required
|
|
958
|
+
# })
|
|
959
|
+
#
|
|
960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplication AWS API Documentation
|
|
961
|
+
#
|
|
962
|
+
# @overload delete_application(params = {})
|
|
963
|
+
# @param [Hash] params ({})
|
|
964
|
+
def delete_application(params = {}, options = {})
|
|
965
|
+
req = build_request(:delete_application, params)
|
|
966
|
+
req.send_request(options)
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
# Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data
|
|
970
|
+
# Analytics application.
|
|
971
|
+
#
|
|
972
|
+
# @option params [required, String] :application_name
|
|
973
|
+
# The application name.
|
|
974
|
+
#
|
|
975
|
+
# @option params [required, Integer] :current_application_version_id
|
|
976
|
+
# The version ID of the application. You can retrieve the application
|
|
977
|
+
# version ID using DescribeApplication.
|
|
978
|
+
#
|
|
979
|
+
# @option params [required, String] :cloud_watch_logging_option_id
|
|
980
|
+
# The `CloudWatchLoggingOptionId` of the Amazon CloudWatch logging
|
|
981
|
+
# option to delete. You can get the `CloudWatchLoggingOptionId` by using
|
|
982
|
+
# the DescribeApplication operation.
|
|
983
|
+
#
|
|
984
|
+
# @return [Types::DeleteApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
985
|
+
#
|
|
986
|
+
# * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
|
|
987
|
+
# * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_version_id #application_version_id} => Integer
|
|
988
|
+
# * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#cloud_watch_logging_option_descriptions #cloud_watch_logging_option_descriptions} => Array<Types::CloudWatchLoggingOptionDescription>
|
|
989
|
+
#
|
|
990
|
+
# @example Request syntax with placeholder values
|
|
991
|
+
#
|
|
992
|
+
# resp = client.delete_application_cloud_watch_logging_option({
|
|
993
|
+
# application_name: "ApplicationName", # required
|
|
994
|
+
# current_application_version_id: 1, # required
|
|
995
|
+
# cloud_watch_logging_option_id: "Id", # required
|
|
996
|
+
# })
|
|
997
|
+
#
|
|
998
|
+
# @example Response structure
|
|
999
|
+
#
|
|
1000
|
+
# resp.application_arn #=> String
|
|
1001
|
+
# resp.application_version_id #=> Integer
|
|
1002
|
+
# resp.cloud_watch_logging_option_descriptions #=> Array
|
|
1003
|
+
# resp.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
|
1004
|
+
# resp.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
|
1005
|
+
# resp.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
|
1006
|
+
#
|
|
1007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOption AWS API Documentation
|
|
1008
|
+
#
|
|
1009
|
+
# @overload delete_application_cloud_watch_logging_option(params = {})
|
|
1010
|
+
# @param [Hash] params ({})
|
|
1011
|
+
def delete_application_cloud_watch_logging_option(params = {}, options = {})
|
|
1012
|
+
req = build_request(:delete_application_cloud_watch_logging_option, params)
|
|
1013
|
+
req.send_request(options)
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
# Deletes an InputProcessingConfiguration from an input.
|
|
1017
|
+
#
|
|
1018
|
+
# @option params [required, String] :application_name
|
|
1019
|
+
# The name of the application.
|
|
1020
|
+
#
|
|
1021
|
+
# @option params [required, Integer] :current_application_version_id
|
|
1022
|
+
# The application version. You can use the DescribeApplication operation
|
|
1023
|
+
# to get the current application version. If the version specified is
|
|
1024
|
+
# not the current version, the `ConcurrentModificationException` is
|
|
1025
|
+
# returned.
|
|
1026
|
+
#
|
|
1027
|
+
# @option params [required, String] :input_id
|
|
1028
|
+
# The ID of the input configuration from which to delete the input
|
|
1029
|
+
# processing configuration. You can get a list of the input IDs for an
|
|
1030
|
+
# application by using the DescribeApplication operation.
|
|
1031
|
+
#
|
|
1032
|
+
# @return [Types::DeleteApplicationInputProcessingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1033
|
+
#
|
|
1034
|
+
# * {Types::DeleteApplicationInputProcessingConfigurationResponse#application_arn #application_arn} => String
|
|
1035
|
+
# * {Types::DeleteApplicationInputProcessingConfigurationResponse#application_version_id #application_version_id} => Integer
|
|
1036
|
+
#
|
|
1037
|
+
# @example Request syntax with placeholder values
|
|
1038
|
+
#
|
|
1039
|
+
# resp = client.delete_application_input_processing_configuration({
|
|
1040
|
+
# application_name: "ApplicationName", # required
|
|
1041
|
+
# current_application_version_id: 1, # required
|
|
1042
|
+
# input_id: "Id", # required
|
|
1043
|
+
# })
|
|
1044
|
+
#
|
|
1045
|
+
# @example Response structure
|
|
1046
|
+
#
|
|
1047
|
+
# resp.application_arn #=> String
|
|
1048
|
+
# resp.application_version_id #=> Integer
|
|
1049
|
+
#
|
|
1050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationInputProcessingConfiguration AWS API Documentation
|
|
1051
|
+
#
|
|
1052
|
+
# @overload delete_application_input_processing_configuration(params = {})
|
|
1053
|
+
# @param [Hash] params ({})
|
|
1054
|
+
def delete_application_input_processing_configuration(params = {}, options = {})
|
|
1055
|
+
req = build_request(:delete_application_input_processing_configuration, params)
|
|
1056
|
+
req.send_request(options)
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
# Deletes the output destination configuration from your SQL-based
|
|
1060
|
+
# Amazon Kinesis Data Analytics application's configuration. Kinesis
|
|
1061
|
+
# Data Analytics will no longer write data from the corresponding
|
|
1062
|
+
# in-application stream to the external output destination.
|
|
1063
|
+
#
|
|
1064
|
+
# @option params [required, String] :application_name
|
|
1065
|
+
# The application name.
|
|
1066
|
+
#
|
|
1067
|
+
# @option params [required, Integer] :current_application_version_id
|
|
1068
|
+
# The application version. You can use the DescribeApplication operation
|
|
1069
|
+
# to get the current application version. If the version specified is
|
|
1070
|
+
# not the current version, the `ConcurrentModificationException` is
|
|
1071
|
+
# returned.
|
|
1072
|
+
#
|
|
1073
|
+
# @option params [required, String] :output_id
|
|
1074
|
+
# The ID of the configuration to delete. Each output configuration that
|
|
1075
|
+
# is added to the application (either when the application is created or
|
|
1076
|
+
# later) using the AddApplicationOutput operation has a unique ID. You
|
|
1077
|
+
# need to provide the ID to uniquely identify the output configuration
|
|
1078
|
+
# that you want to delete from the application configuration. You can
|
|
1079
|
+
# use the DescribeApplication operation to get the specific `OutputId`.
|
|
1080
|
+
#
|
|
1081
|
+
# @return [Types::DeleteApplicationOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1082
|
+
#
|
|
1083
|
+
# * {Types::DeleteApplicationOutputResponse#application_arn #application_arn} => String
|
|
1084
|
+
# * {Types::DeleteApplicationOutputResponse#application_version_id #application_version_id} => Integer
|
|
1085
|
+
#
|
|
1086
|
+
# @example Request syntax with placeholder values
|
|
1087
|
+
#
|
|
1088
|
+
# resp = client.delete_application_output({
|
|
1089
|
+
# application_name: "ApplicationName", # required
|
|
1090
|
+
# current_application_version_id: 1, # required
|
|
1091
|
+
# output_id: "Id", # required
|
|
1092
|
+
# })
|
|
1093
|
+
#
|
|
1094
|
+
# @example Response structure
|
|
1095
|
+
#
|
|
1096
|
+
# resp.application_arn #=> String
|
|
1097
|
+
# resp.application_version_id #=> Integer
|
|
1098
|
+
#
|
|
1099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationOutput AWS API Documentation
|
|
1100
|
+
#
|
|
1101
|
+
# @overload delete_application_output(params = {})
|
|
1102
|
+
# @param [Hash] params ({})
|
|
1103
|
+
def delete_application_output(params = {}, options = {})
|
|
1104
|
+
req = build_request(:delete_application_output, params)
|
|
1105
|
+
req.send_request(options)
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
# Deletes a reference data source configuration from the specified
|
|
1109
|
+
# SQL-based Amazon Kinesis Data Analytics application's configuration.
|
|
1110
|
+
#
|
|
1111
|
+
# If the application is running, Kinesis Data Analytics immediately
|
|
1112
|
+
# removes the in-application table that you created using the
|
|
1113
|
+
# AddApplicationReferenceDataSource operation.
|
|
1114
|
+
#
|
|
1115
|
+
# @option params [required, String] :application_name
|
|
1116
|
+
# The name of an existing application.
|
|
1117
|
+
#
|
|
1118
|
+
# @option params [required, Integer] :current_application_version_id
|
|
1119
|
+
# The current application version. You can use the DescribeApplication
|
|
1120
|
+
# operation to get the current application version. If the version
|
|
1121
|
+
# specified is not the current version, the
|
|
1122
|
+
# `ConcurrentModificationException` is returned.
|
|
1123
|
+
#
|
|
1124
|
+
# @option params [required, String] :reference_id
|
|
1125
|
+
# The ID of the reference data source. When you add a reference data
|
|
1126
|
+
# source to your application using the
|
|
1127
|
+
# AddApplicationReferenceDataSource, Kinesis Data Analytics assigns an
|
|
1128
|
+
# ID. You can use the DescribeApplication operation to get the reference
|
|
1129
|
+
# ID.
|
|
1130
|
+
#
|
|
1131
|
+
# @return [Types::DeleteApplicationReferenceDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1132
|
+
#
|
|
1133
|
+
# * {Types::DeleteApplicationReferenceDataSourceResponse#application_arn #application_arn} => String
|
|
1134
|
+
# * {Types::DeleteApplicationReferenceDataSourceResponse#application_version_id #application_version_id} => Integer
|
|
1135
|
+
#
|
|
1136
|
+
# @example Request syntax with placeholder values
|
|
1137
|
+
#
|
|
1138
|
+
# resp = client.delete_application_reference_data_source({
|
|
1139
|
+
# application_name: "ApplicationName", # required
|
|
1140
|
+
# current_application_version_id: 1, # required
|
|
1141
|
+
# reference_id: "Id", # required
|
|
1142
|
+
# })
|
|
1143
|
+
#
|
|
1144
|
+
# @example Response structure
|
|
1145
|
+
#
|
|
1146
|
+
# resp.application_arn #=> String
|
|
1147
|
+
# resp.application_version_id #=> Integer
|
|
1148
|
+
#
|
|
1149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationReferenceDataSource AWS API Documentation
|
|
1150
|
+
#
|
|
1151
|
+
# @overload delete_application_reference_data_source(params = {})
|
|
1152
|
+
# @param [Hash] params ({})
|
|
1153
|
+
def delete_application_reference_data_source(params = {}, options = {})
|
|
1154
|
+
req = build_request(:delete_application_reference_data_source, params)
|
|
1155
|
+
req.send_request(options)
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# Deletes a snapshot of application state.
|
|
1159
|
+
#
|
|
1160
|
+
# @option params [required, String] :application_name
|
|
1161
|
+
# The name of an existing application.
|
|
1162
|
+
#
|
|
1163
|
+
# @option params [required, String] :snapshot_name
|
|
1164
|
+
# The identifier for the snapshot delete.
|
|
1165
|
+
#
|
|
1166
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :snapshot_creation_timestamp
|
|
1167
|
+
# The creation timestamp of the application snapshot to delete. You can
|
|
1168
|
+
# retrieve this value using or .
|
|
1169
|
+
#
|
|
1170
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1171
|
+
#
|
|
1172
|
+
# @example Request syntax with placeholder values
|
|
1173
|
+
#
|
|
1174
|
+
# resp = client.delete_application_snapshot({
|
|
1175
|
+
# application_name: "ApplicationName", # required
|
|
1176
|
+
# snapshot_name: "SnapshotName", # required
|
|
1177
|
+
# snapshot_creation_timestamp: Time.now, # required
|
|
1178
|
+
# })
|
|
1179
|
+
#
|
|
1180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationSnapshot AWS API Documentation
|
|
1181
|
+
#
|
|
1182
|
+
# @overload delete_application_snapshot(params = {})
|
|
1183
|
+
# @param [Hash] params ({})
|
|
1184
|
+
def delete_application_snapshot(params = {}, options = {})
|
|
1185
|
+
req = build_request(:delete_application_snapshot, params)
|
|
1186
|
+
req.send_request(options)
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
# Returns information about a specific Amazon Kinesis Data Analytics
|
|
1190
|
+
# application.
|
|
1191
|
+
#
|
|
1192
|
+
# If you want to retrieve a list of all applications in your account,
|
|
1193
|
+
# use the ListApplications operation.
|
|
1194
|
+
#
|
|
1195
|
+
# @option params [required, String] :application_name
|
|
1196
|
+
# The name of the application.
|
|
1197
|
+
#
|
|
1198
|
+
# @option params [Boolean] :include_additional_details
|
|
1199
|
+
# Displays verbose information about a Kinesis Data Analytics
|
|
1200
|
+
# application, including the application's job plan.
|
|
1201
|
+
#
|
|
1202
|
+
# @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1203
|
+
#
|
|
1204
|
+
# * {Types::DescribeApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
|
|
1205
|
+
#
|
|
1206
|
+
# @example Request syntax with placeholder values
|
|
1207
|
+
#
|
|
1208
|
+
# resp = client.describe_application({
|
|
1209
|
+
# application_name: "ApplicationName", # required
|
|
1210
|
+
# include_additional_details: false,
|
|
1211
|
+
# })
|
|
1212
|
+
#
|
|
1213
|
+
# @example Response structure
|
|
1214
|
+
#
|
|
1215
|
+
# resp.application_detail.application_arn #=> String
|
|
1216
|
+
# resp.application_detail.application_description #=> String
|
|
1217
|
+
# resp.application_detail.application_name #=> String
|
|
1218
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
|
1219
|
+
# resp.application_detail.service_execution_role #=> String
|
|
1220
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
|
1221
|
+
# resp.application_detail.application_version_id #=> Integer
|
|
1222
|
+
# resp.application_detail.create_timestamp #=> Time
|
|
1223
|
+
# resp.application_detail.last_update_timestamp #=> Time
|
|
1224
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions #=> Array
|
|
1225
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_id #=> String
|
|
1226
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].name_prefix #=> String
|
|
1227
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names #=> Array
|
|
1228
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names[0] #=> String
|
|
1229
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
|
1230
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
|
1231
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
|
|
1232
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
|
|
1233
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
|
|
1234
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
|
|
1235
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
1236
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
1237
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
1238
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
1239
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_encoding #=> String
|
|
1240
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns #=> Array
|
|
1241
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].name #=> String
|
|
1242
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
|
|
1243
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
|
|
1244
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_parallelism.count #=> Integer
|
|
1245
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_starting_position_configuration.input_starting_position #=> String, one of "NOW", "TRIM_HORIZON", "LAST_STOPPED_POINT"
|
|
1246
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions #=> Array
|
|
1247
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].output_id #=> String
|
|
1248
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].name #=> String
|
|
1249
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
|
|
1250
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
|
|
1251
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
|
|
1252
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
|
|
1253
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.resource_arn #=> String
|
|
1254
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.role_arn #=> String
|
|
1255
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
|
|
1256
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions #=> Array
|
|
1257
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_id #=> String
|
|
1258
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].table_name #=> String
|
|
1259
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
|
|
1260
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
|
|
1261
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
|
|
1262
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
1263
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
1264
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
1265
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
1266
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
|
|
1267
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
|
|
1268
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
|
|
1269
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
|
|
1270
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
|
|
1271
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_type #=> String, one of "PLAINTEXT", "ZIPFILE"
|
|
1272
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.text_content #=> String
|
|
1273
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_md5 #=> String
|
|
1274
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_size #=> Integer
|
|
1275
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.bucket_arn #=> String
|
|
1276
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.file_key #=> String
|
|
1277
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
|
1278
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
|
1279
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
|
1280
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1281
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
|
1282
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
|
1283
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.min_pause_between_checkpoints #=> Integer
|
|
1284
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1285
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.metrics_level #=> String, one of "APPLICATION", "TASK", "OPERATOR", "PARALLELISM"
|
|
1286
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.log_level #=> String, one of "INFO", "WARN", "ERROR", "DEBUG"
|
|
1287
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1288
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism #=> Integer
|
|
1289
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism_per_kpu #=> Integer
|
|
1290
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.current_parallelism #=> Integer
|
|
1291
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.auto_scaling_enabled #=> Boolean
|
|
1292
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.job_plan_description #=> String
|
|
1293
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions #=> Array
|
|
1294
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_group_id #=> String
|
|
1295
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
|
1296
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
|
1297
|
+
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
|
1298
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
|
1299
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
|
1300
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
|
1301
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
|
1302
|
+
#
|
|
1303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplication AWS API Documentation
|
|
1304
|
+
#
|
|
1305
|
+
# @overload describe_application(params = {})
|
|
1306
|
+
# @param [Hash] params ({})
|
|
1307
|
+
def describe_application(params = {}, options = {})
|
|
1308
|
+
req = build_request(:describe_application, params)
|
|
1309
|
+
req.send_request(options)
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# Returns information about a snapshot of application state data.
|
|
1313
|
+
#
|
|
1314
|
+
# @option params [required, String] :application_name
|
|
1315
|
+
# The name of an existing application.
|
|
1316
|
+
#
|
|
1317
|
+
# @option params [required, String] :snapshot_name
|
|
1318
|
+
# The identifier of an application snapshot. You can retrieve this value
|
|
1319
|
+
# using .
|
|
1320
|
+
#
|
|
1321
|
+
# @return [Types::DescribeApplicationSnapshotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1322
|
+
#
|
|
1323
|
+
# * {Types::DescribeApplicationSnapshotResponse#snapshot_details #snapshot_details} => Types::SnapshotDetails
|
|
1324
|
+
#
|
|
1325
|
+
# @example Request syntax with placeholder values
|
|
1326
|
+
#
|
|
1327
|
+
# resp = client.describe_application_snapshot({
|
|
1328
|
+
# application_name: "ApplicationName", # required
|
|
1329
|
+
# snapshot_name: "SnapshotName", # required
|
|
1330
|
+
# })
|
|
1331
|
+
#
|
|
1332
|
+
# @example Response structure
|
|
1333
|
+
#
|
|
1334
|
+
# resp.snapshot_details.snapshot_name #=> String
|
|
1335
|
+
# resp.snapshot_details.snapshot_status #=> String, one of "CREATING", "READY", "DELETING", "FAILED"
|
|
1336
|
+
# resp.snapshot_details.application_version_id #=> Integer
|
|
1337
|
+
# resp.snapshot_details.snapshot_creation_timestamp #=> Time
|
|
1338
|
+
#
|
|
1339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationSnapshot AWS API Documentation
|
|
1340
|
+
#
|
|
1341
|
+
# @overload describe_application_snapshot(params = {})
|
|
1342
|
+
# @param [Hash] params ({})
|
|
1343
|
+
def describe_application_snapshot(params = {}, options = {})
|
|
1344
|
+
req = build_request(:describe_application_snapshot, params)
|
|
1345
|
+
req.send_request(options)
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1348
|
+
# Infers a schema for an SQL-based Amazon Kinesis Data Analytics
|
|
1349
|
+
# application by evaluating sample records on the specified streaming
|
|
1350
|
+
# source (Kinesis data stream or Kinesis Data Firehose delivery stream)
|
|
1351
|
+
# or Amazon S3 object. In the response, the operation returns the
|
|
1352
|
+
# inferred schema and also the sample records that the operation used to
|
|
1353
|
+
# infer the schema.
|
|
1354
|
+
#
|
|
1355
|
+
# You can use the inferred schema when configuring a streaming source
|
|
1356
|
+
# for your application. When you create an application using the Kinesis
|
|
1357
|
+
# Data Analytics console, the console uses this operation to infer a
|
|
1358
|
+
# schema and show it in the console user interface.
|
|
1359
|
+
#
|
|
1360
|
+
# @option params [String] :resource_arn
|
|
1361
|
+
# The Amazon Resource Name (ARN) of the streaming source.
|
|
1362
|
+
#
|
|
1363
|
+
# @option params [required, String] :service_execution_role
|
|
1364
|
+
# The ARN of the role that is used to access the streaming source.
|
|
1365
|
+
#
|
|
1366
|
+
# @option params [Types::InputStartingPositionConfiguration] :input_starting_position_configuration
|
|
1367
|
+
# The point at which you want Kinesis Data Analytics to start reading
|
|
1368
|
+
# records from the specified streaming source discovery purposes.
|
|
1369
|
+
#
|
|
1370
|
+
# @option params [Types::S3Configuration] :s3_configuration
|
|
1371
|
+
# Specify this parameter to discover a schema from data in an Amazon S3
|
|
1372
|
+
# object.
|
|
1373
|
+
#
|
|
1374
|
+
# @option params [Types::InputProcessingConfiguration] :input_processing_configuration
|
|
1375
|
+
# The InputProcessingConfiguration to use to preprocess the records
|
|
1376
|
+
# before discovering the schema of the records.
|
|
1377
|
+
#
|
|
1378
|
+
# @return [Types::DiscoverInputSchemaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1379
|
+
#
|
|
1380
|
+
# * {Types::DiscoverInputSchemaResponse#input_schema #input_schema} => Types::SourceSchema
|
|
1381
|
+
# * {Types::DiscoverInputSchemaResponse#parsed_input_records #parsed_input_records} => Array<Array<String>>
|
|
1382
|
+
# * {Types::DiscoverInputSchemaResponse#processed_input_records #processed_input_records} => Array<String>
|
|
1383
|
+
# * {Types::DiscoverInputSchemaResponse#raw_input_records #raw_input_records} => Array<String>
|
|
1384
|
+
#
|
|
1385
|
+
# @example Request syntax with placeholder values
|
|
1386
|
+
#
|
|
1387
|
+
# resp = client.discover_input_schema({
|
|
1388
|
+
# resource_arn: "ResourceARN",
|
|
1389
|
+
# service_execution_role: "RoleARN", # required
|
|
1390
|
+
# input_starting_position_configuration: {
|
|
1391
|
+
# input_starting_position: "NOW", # accepts NOW, TRIM_HORIZON, LAST_STOPPED_POINT
|
|
1392
|
+
# },
|
|
1393
|
+
# s3_configuration: {
|
|
1394
|
+
# bucket_arn: "BucketARN", # required
|
|
1395
|
+
# file_key: "FileKey", # required
|
|
1396
|
+
# },
|
|
1397
|
+
# input_processing_configuration: {
|
|
1398
|
+
# input_lambda_processor: { # required
|
|
1399
|
+
# resource_arn: "ResourceARN", # required
|
|
1400
|
+
# },
|
|
1401
|
+
# },
|
|
1402
|
+
# })
|
|
1403
|
+
#
|
|
1404
|
+
# @example Response structure
|
|
1405
|
+
#
|
|
1406
|
+
# resp.input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
1407
|
+
# resp.input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
1408
|
+
# resp.input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
1409
|
+
# resp.input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
1410
|
+
# resp.input_schema.record_encoding #=> String
|
|
1411
|
+
# resp.input_schema.record_columns #=> Array
|
|
1412
|
+
# resp.input_schema.record_columns[0].name #=> String
|
|
1413
|
+
# resp.input_schema.record_columns[0].mapping #=> String
|
|
1414
|
+
# resp.input_schema.record_columns[0].sql_type #=> String
|
|
1415
|
+
# resp.parsed_input_records #=> Array
|
|
1416
|
+
# resp.parsed_input_records[0] #=> Array
|
|
1417
|
+
# resp.parsed_input_records[0][0] #=> String
|
|
1418
|
+
# resp.processed_input_records #=> Array
|
|
1419
|
+
# resp.processed_input_records[0] #=> String
|
|
1420
|
+
# resp.raw_input_records #=> Array
|
|
1421
|
+
# resp.raw_input_records[0] #=> String
|
|
1422
|
+
#
|
|
1423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DiscoverInputSchema AWS API Documentation
|
|
1424
|
+
#
|
|
1425
|
+
# @overload discover_input_schema(params = {})
|
|
1426
|
+
# @param [Hash] params ({})
|
|
1427
|
+
def discover_input_schema(params = {}, options = {})
|
|
1428
|
+
req = build_request(:discover_input_schema, params)
|
|
1429
|
+
req.send_request(options)
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
# Lists information about the current application snapshots.
|
|
1433
|
+
#
|
|
1434
|
+
# @option params [required, String] :application_name
|
|
1435
|
+
# The name of an existing application.
|
|
1436
|
+
#
|
|
1437
|
+
# @option params [Integer] :limit
|
|
1438
|
+
# The maximum number of application snapshots to list.
|
|
1439
|
+
#
|
|
1440
|
+
# @option params [String] :next_token
|
|
1441
|
+
# Use this parameter if you receive a `NextToken` response in a previous
|
|
1442
|
+
# request that indicates that there is more output available. Set it to
|
|
1443
|
+
# the value of the previous call's `NextToken` response to indicate
|
|
1444
|
+
# where the output should continue from.
|
|
1445
|
+
#
|
|
1446
|
+
# @return [Types::ListApplicationSnapshotsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1447
|
+
#
|
|
1448
|
+
# * {Types::ListApplicationSnapshotsResponse#snapshot_summaries #snapshot_summaries} => Array<Types::SnapshotDetails>
|
|
1449
|
+
# * {Types::ListApplicationSnapshotsResponse#next_token #next_token} => String
|
|
1450
|
+
#
|
|
1451
|
+
# @example Request syntax with placeholder values
|
|
1452
|
+
#
|
|
1453
|
+
# resp = client.list_application_snapshots({
|
|
1454
|
+
# application_name: "ApplicationName", # required
|
|
1455
|
+
# limit: 1,
|
|
1456
|
+
# next_token: "NextToken",
|
|
1457
|
+
# })
|
|
1458
|
+
#
|
|
1459
|
+
# @example Response structure
|
|
1460
|
+
#
|
|
1461
|
+
# resp.snapshot_summaries #=> Array
|
|
1462
|
+
# resp.snapshot_summaries[0].snapshot_name #=> String
|
|
1463
|
+
# resp.snapshot_summaries[0].snapshot_status #=> String, one of "CREATING", "READY", "DELETING", "FAILED"
|
|
1464
|
+
# resp.snapshot_summaries[0].application_version_id #=> Integer
|
|
1465
|
+
# resp.snapshot_summaries[0].snapshot_creation_timestamp #=> Time
|
|
1466
|
+
# resp.next_token #=> String
|
|
1467
|
+
#
|
|
1468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationSnapshots AWS API Documentation
|
|
1469
|
+
#
|
|
1470
|
+
# @overload list_application_snapshots(params = {})
|
|
1471
|
+
# @param [Hash] params ({})
|
|
1472
|
+
def list_application_snapshots(params = {}, options = {})
|
|
1473
|
+
req = build_request(:list_application_snapshots, params)
|
|
1474
|
+
req.send_request(options)
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
# Returns a list of Amazon Kinesis Data Analytics applications in your
|
|
1478
|
+
# account. For each application, the response includes the application
|
|
1479
|
+
# name, Amazon Resource Name (ARN), and status.
|
|
1480
|
+
#
|
|
1481
|
+
# If you want detailed information about a specific application, use
|
|
1482
|
+
# DescribeApplication.
|
|
1483
|
+
#
|
|
1484
|
+
# @option params [Integer] :limit
|
|
1485
|
+
# The maximum number of applications to list.
|
|
1486
|
+
#
|
|
1487
|
+
# @option params [String] :next_token
|
|
1488
|
+
# If a previous command returned a pagination token, pass it into this
|
|
1489
|
+
# value to retrieve the next set of results. For more information about
|
|
1490
|
+
# pagination, see [Using the AWS Command Line Interface's Pagination
|
|
1491
|
+
# Options][1].
|
|
1492
|
+
#
|
|
1493
|
+
#
|
|
1494
|
+
#
|
|
1495
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/userguide/pagination.html
|
|
1496
|
+
#
|
|
1497
|
+
# @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1498
|
+
#
|
|
1499
|
+
# * {Types::ListApplicationsResponse#application_summaries #application_summaries} => Array<Types::ApplicationSummary>
|
|
1500
|
+
# * {Types::ListApplicationsResponse#next_token #next_token} => String
|
|
1501
|
+
#
|
|
1502
|
+
# @example Request syntax with placeholder values
|
|
1503
|
+
#
|
|
1504
|
+
# resp = client.list_applications({
|
|
1505
|
+
# limit: 1,
|
|
1506
|
+
# next_token: "ApplicationName",
|
|
1507
|
+
# })
|
|
1508
|
+
#
|
|
1509
|
+
# @example Response structure
|
|
1510
|
+
#
|
|
1511
|
+
# resp.application_summaries #=> Array
|
|
1512
|
+
# resp.application_summaries[0].application_name #=> String
|
|
1513
|
+
# resp.application_summaries[0].application_arn #=> String
|
|
1514
|
+
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
|
1515
|
+
# resp.application_summaries[0].application_version_id #=> Integer
|
|
1516
|
+
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
|
1517
|
+
# resp.next_token #=> String
|
|
1518
|
+
#
|
|
1519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
|
|
1520
|
+
#
|
|
1521
|
+
# @overload list_applications(params = {})
|
|
1522
|
+
# @param [Hash] params ({})
|
|
1523
|
+
def list_applications(params = {}, options = {})
|
|
1524
|
+
req = build_request(:list_applications, params)
|
|
1525
|
+
req.send_request(options)
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
# Starts the specified Amazon Kinesis Data Analytics application. After
|
|
1529
|
+
# creating an application, you must exclusively call this operation to
|
|
1530
|
+
# start your application.
|
|
1531
|
+
#
|
|
1532
|
+
# <note markdown="1"> SQL is not enabled for this private beta. Using SQL parameters (such
|
|
1533
|
+
# as RunConfiguration$SqlRunConfigurations) will result in an error.
|
|
1534
|
+
#
|
|
1535
|
+
# </note>
|
|
1536
|
+
#
|
|
1537
|
+
# @option params [required, String] :application_name
|
|
1538
|
+
# The name of the application.
|
|
1539
|
+
#
|
|
1540
|
+
# @option params [required, Types::RunConfiguration] :run_configuration
|
|
1541
|
+
# Identifies the run configuration (start parameters) of a Kinesis Data
|
|
1542
|
+
# Analytics application.
|
|
1543
|
+
#
|
|
1544
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1545
|
+
#
|
|
1546
|
+
# @example Request syntax with placeholder values
|
|
1547
|
+
#
|
|
1548
|
+
# resp = client.start_application({
|
|
1549
|
+
# application_name: "ApplicationName", # required
|
|
1550
|
+
# run_configuration: { # required
|
|
1551
|
+
# sql_run_configurations: [
|
|
1552
|
+
# {
|
|
1553
|
+
# input_id: "Id", # required
|
|
1554
|
+
# input_starting_position_configuration: { # required
|
|
1555
|
+
# input_starting_position: "NOW", # accepts NOW, TRIM_HORIZON, LAST_STOPPED_POINT
|
|
1556
|
+
# },
|
|
1557
|
+
# },
|
|
1558
|
+
# ],
|
|
1559
|
+
# application_restore_configuration: {
|
|
1560
|
+
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
|
1561
|
+
# snapshot_name: "SnapshotName",
|
|
1562
|
+
# },
|
|
1563
|
+
# },
|
|
1564
|
+
# })
|
|
1565
|
+
#
|
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StartApplication AWS API Documentation
|
|
1567
|
+
#
|
|
1568
|
+
# @overload start_application(params = {})
|
|
1569
|
+
# @param [Hash] params ({})
|
|
1570
|
+
def start_application(params = {}, options = {})
|
|
1571
|
+
req = build_request(:start_application, params)
|
|
1572
|
+
req.send_request(options)
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
# Stops the application from processing data. You can stop an
|
|
1576
|
+
# application only if it is in the running state. You can use the
|
|
1577
|
+
# DescribeApplication operation to find the application state.
|
|
1578
|
+
#
|
|
1579
|
+
# @option params [required, String] :application_name
|
|
1580
|
+
# The name of the running application to stop.
|
|
1581
|
+
#
|
|
1582
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1583
|
+
#
|
|
1584
|
+
# @example Request syntax with placeholder values
|
|
1585
|
+
#
|
|
1586
|
+
# resp = client.stop_application({
|
|
1587
|
+
# application_name: "ApplicationName", # required
|
|
1588
|
+
# })
|
|
1589
|
+
#
|
|
1590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication AWS API Documentation
|
|
1591
|
+
#
|
|
1592
|
+
# @overload stop_application(params = {})
|
|
1593
|
+
# @param [Hash] params ({})
|
|
1594
|
+
def stop_application(params = {}, options = {})
|
|
1595
|
+
req = build_request(:stop_application, params)
|
|
1596
|
+
req.send_request(options)
|
|
1597
|
+
end
|
|
1598
|
+
|
|
1599
|
+
# Updates an existing Amazon Kinesis Data Analytics application. Using
|
|
1600
|
+
# this operation, you can update application code, input configuration,
|
|
1601
|
+
# and output configuration.
|
|
1602
|
+
#
|
|
1603
|
+
# Kinesis Data Analytics updates the `ApplicationVersionId` each time
|
|
1604
|
+
# you update your application.
|
|
1605
|
+
#
|
|
1606
|
+
# <note markdown="1"> SQL is not enabled for this private beta. Using SQL parameters (such
|
|
1607
|
+
# as SqlApplicationConfigurationUpdate) will result in an error.
|
|
1608
|
+
#
|
|
1609
|
+
# </note>
|
|
1610
|
+
#
|
|
1611
|
+
# @option params [required, String] :application_name
|
|
1612
|
+
# The name of the application to update.
|
|
1613
|
+
#
|
|
1614
|
+
# @option params [required, Integer] :current_application_version_id
|
|
1615
|
+
# The current application version ID. You can retrieve the application
|
|
1616
|
+
# version ID using DescribeApplication.
|
|
1617
|
+
#
|
|
1618
|
+
# @option params [Types::ApplicationConfigurationUpdate] :application_configuration_update
|
|
1619
|
+
# Describes application configuration updates.
|
|
1620
|
+
#
|
|
1621
|
+
# @option params [String] :service_execution_role_update
|
|
1622
|
+
# Describes updates to the service execution role.
|
|
1623
|
+
#
|
|
1624
|
+
# @option params [Types::RunConfigurationUpdate] :run_configuration_update
|
|
1625
|
+
# Describes updates to the application's starting parameters.
|
|
1626
|
+
#
|
|
1627
|
+
# @option params [Array<Types::CloudWatchLoggingOptionUpdate>] :cloud_watch_logging_option_updates
|
|
1628
|
+
# Describes application Amazon CloudWatch logging option updates. You
|
|
1629
|
+
# can only update existing CloudWatch logging options with this action.
|
|
1630
|
+
# To add a new CloudWatch logging option, use
|
|
1631
|
+
# AddApplicationCloudWatchLoggingOption.
|
|
1632
|
+
#
|
|
1633
|
+
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1634
|
+
#
|
|
1635
|
+
# * {Types::UpdateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
|
|
1636
|
+
#
|
|
1637
|
+
# @example Request syntax with placeholder values
|
|
1638
|
+
#
|
|
1639
|
+
# resp = client.update_application({
|
|
1640
|
+
# application_name: "ApplicationName", # required
|
|
1641
|
+
# current_application_version_id: 1, # required
|
|
1642
|
+
# application_configuration_update: {
|
|
1643
|
+
# sql_application_configuration_update: {
|
|
1644
|
+
# input_updates: [
|
|
1645
|
+
# {
|
|
1646
|
+
# input_id: "Id", # required
|
|
1647
|
+
# name_prefix_update: "InAppStreamName",
|
|
1648
|
+
# input_processing_configuration_update: {
|
|
1649
|
+
# input_lambda_processor_update: { # required
|
|
1650
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1651
|
+
# },
|
|
1652
|
+
# },
|
|
1653
|
+
# kinesis_streams_input_update: {
|
|
1654
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1655
|
+
# },
|
|
1656
|
+
# kinesis_firehose_input_update: {
|
|
1657
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1658
|
+
# },
|
|
1659
|
+
# input_schema_update: {
|
|
1660
|
+
# record_format_update: {
|
|
1661
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
1662
|
+
# mapping_parameters: {
|
|
1663
|
+
# json_mapping_parameters: {
|
|
1664
|
+
# record_row_path: "RecordRowPath", # required
|
|
1665
|
+
# },
|
|
1666
|
+
# csv_mapping_parameters: {
|
|
1667
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
1668
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
1669
|
+
# },
|
|
1670
|
+
# },
|
|
1671
|
+
# },
|
|
1672
|
+
# record_encoding_update: "RecordEncoding",
|
|
1673
|
+
# record_column_updates: [
|
|
1674
|
+
# {
|
|
1675
|
+
# name: "RecordColumnName", # required
|
|
1676
|
+
# mapping: "RecordColumnMapping",
|
|
1677
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
1678
|
+
# },
|
|
1679
|
+
# ],
|
|
1680
|
+
# },
|
|
1681
|
+
# input_parallelism_update: {
|
|
1682
|
+
# count_update: 1, # required
|
|
1683
|
+
# },
|
|
1684
|
+
# },
|
|
1685
|
+
# ],
|
|
1686
|
+
# output_updates: [
|
|
1687
|
+
# {
|
|
1688
|
+
# output_id: "Id", # required
|
|
1689
|
+
# name_update: "InAppStreamName",
|
|
1690
|
+
# kinesis_streams_output_update: {
|
|
1691
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1692
|
+
# },
|
|
1693
|
+
# kinesis_firehose_output_update: {
|
|
1694
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1695
|
+
# },
|
|
1696
|
+
# lambda_output_update: {
|
|
1697
|
+
# resource_arn_update: "ResourceARN", # required
|
|
1698
|
+
# },
|
|
1699
|
+
# destination_schema_update: {
|
|
1700
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
1701
|
+
# },
|
|
1702
|
+
# },
|
|
1703
|
+
# ],
|
|
1704
|
+
# reference_data_source_updates: [
|
|
1705
|
+
# {
|
|
1706
|
+
# reference_id: "Id", # required
|
|
1707
|
+
# table_name_update: "InAppTableName",
|
|
1708
|
+
# s3_reference_data_source_update: {
|
|
1709
|
+
# bucket_arn_update: "BucketARN",
|
|
1710
|
+
# file_key_update: "FileKey",
|
|
1711
|
+
# },
|
|
1712
|
+
# reference_schema_update: {
|
|
1713
|
+
# record_format: { # required
|
|
1714
|
+
# record_format_type: "JSON", # required, accepts JSON, CSV
|
|
1715
|
+
# mapping_parameters: {
|
|
1716
|
+
# json_mapping_parameters: {
|
|
1717
|
+
# record_row_path: "RecordRowPath", # required
|
|
1718
|
+
# },
|
|
1719
|
+
# csv_mapping_parameters: {
|
|
1720
|
+
# record_row_delimiter: "RecordRowDelimiter", # required
|
|
1721
|
+
# record_column_delimiter: "RecordColumnDelimiter", # required
|
|
1722
|
+
# },
|
|
1723
|
+
# },
|
|
1724
|
+
# },
|
|
1725
|
+
# record_encoding: "RecordEncoding",
|
|
1726
|
+
# record_columns: [ # required
|
|
1727
|
+
# {
|
|
1728
|
+
# name: "RecordColumnName", # required
|
|
1729
|
+
# mapping: "RecordColumnMapping",
|
|
1730
|
+
# sql_type: "RecordColumnSqlType", # required
|
|
1731
|
+
# },
|
|
1732
|
+
# ],
|
|
1733
|
+
# },
|
|
1734
|
+
# },
|
|
1735
|
+
# ],
|
|
1736
|
+
# },
|
|
1737
|
+
# application_code_configuration_update: {
|
|
1738
|
+
# code_content_type_update: "PLAINTEXT", # accepts PLAINTEXT, ZIPFILE
|
|
1739
|
+
# code_content_update: {
|
|
1740
|
+
# text_content_update: "TextContent",
|
|
1741
|
+
# zip_file_content_update: "data",
|
|
1742
|
+
# s3_content_location_update: {
|
|
1743
|
+
# bucket_arn_update: "BucketARN",
|
|
1744
|
+
# file_key_update: "FileKey",
|
|
1745
|
+
# object_version_update: "ObjectVersion",
|
|
1746
|
+
# },
|
|
1747
|
+
# },
|
|
1748
|
+
# },
|
|
1749
|
+
# flink_application_configuration_update: {
|
|
1750
|
+
# checkpoint_configuration_update: {
|
|
1751
|
+
# configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
|
|
1752
|
+
# checkpointing_enabled_update: false,
|
|
1753
|
+
# checkpoint_interval_update: 1,
|
|
1754
|
+
# min_pause_between_checkpoints_update: 1,
|
|
1755
|
+
# },
|
|
1756
|
+
# monitoring_configuration_update: {
|
|
1757
|
+
# configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
|
|
1758
|
+
# metrics_level_update: "APPLICATION", # accepts APPLICATION, TASK, OPERATOR, PARALLELISM
|
|
1759
|
+
# log_level_update: "INFO", # accepts INFO, WARN, ERROR, DEBUG
|
|
1760
|
+
# },
|
|
1761
|
+
# parallelism_configuration_update: {
|
|
1762
|
+
# configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
|
|
1763
|
+
# parallelism_update: 1,
|
|
1764
|
+
# parallelism_per_kpu_update: 1,
|
|
1765
|
+
# auto_scaling_enabled_update: false,
|
|
1766
|
+
# },
|
|
1767
|
+
# },
|
|
1768
|
+
# environment_property_updates: {
|
|
1769
|
+
# property_groups: [ # required
|
|
1770
|
+
# {
|
|
1771
|
+
# property_group_id: "Id", # required
|
|
1772
|
+
# property_map: { # required
|
|
1773
|
+
# "PropertyKey" => "PropertyValue",
|
|
1774
|
+
# },
|
|
1775
|
+
# },
|
|
1776
|
+
# ],
|
|
1777
|
+
# },
|
|
1778
|
+
# application_snapshot_configuration_update: {
|
|
1779
|
+
# snapshots_enabled_update: false, # required
|
|
1780
|
+
# },
|
|
1781
|
+
# },
|
|
1782
|
+
# service_execution_role_update: "RoleARN",
|
|
1783
|
+
# run_configuration_update: {
|
|
1784
|
+
# application_restore_configuration: {
|
|
1785
|
+
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
|
1786
|
+
# snapshot_name: "SnapshotName",
|
|
1787
|
+
# },
|
|
1788
|
+
# },
|
|
1789
|
+
# cloud_watch_logging_option_updates: [
|
|
1790
|
+
# {
|
|
1791
|
+
# cloud_watch_logging_option_id: "Id", # required
|
|
1792
|
+
# log_stream_arn_update: "LogStreamARN",
|
|
1793
|
+
# },
|
|
1794
|
+
# ],
|
|
1795
|
+
# })
|
|
1796
|
+
#
|
|
1797
|
+
# @example Response structure
|
|
1798
|
+
#
|
|
1799
|
+
# resp.application_detail.application_arn #=> String
|
|
1800
|
+
# resp.application_detail.application_description #=> String
|
|
1801
|
+
# resp.application_detail.application_name #=> String
|
|
1802
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6"
|
|
1803
|
+
# resp.application_detail.service_execution_role #=> String
|
|
1804
|
+
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING"
|
|
1805
|
+
# resp.application_detail.application_version_id #=> Integer
|
|
1806
|
+
# resp.application_detail.create_timestamp #=> Time
|
|
1807
|
+
# resp.application_detail.last_update_timestamp #=> Time
|
|
1808
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions #=> Array
|
|
1809
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_id #=> String
|
|
1810
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].name_prefix #=> String
|
|
1811
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names #=> Array
|
|
1812
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names[0] #=> String
|
|
1813
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
|
|
1814
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
|
|
1815
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
|
|
1816
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
|
|
1817
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
|
|
1818
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
|
|
1819
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
1820
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
1821
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
1822
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
1823
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_encoding #=> String
|
|
1824
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns #=> Array
|
|
1825
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].name #=> String
|
|
1826
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
|
|
1827
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
|
|
1828
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_parallelism.count #=> Integer
|
|
1829
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_starting_position_configuration.input_starting_position #=> String, one of "NOW", "TRIM_HORIZON", "LAST_STOPPED_POINT"
|
|
1830
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions #=> Array
|
|
1831
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].output_id #=> String
|
|
1832
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].name #=> String
|
|
1833
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
|
|
1834
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
|
|
1835
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
|
|
1836
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
|
|
1837
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.resource_arn #=> String
|
|
1838
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.role_arn #=> String
|
|
1839
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
|
|
1840
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions #=> Array
|
|
1841
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_id #=> String
|
|
1842
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].table_name #=> String
|
|
1843
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
|
|
1844
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
|
|
1845
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
|
|
1846
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.record_format_type #=> String, one of "JSON", "CSV"
|
|
1847
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.json_mapping_parameters.record_row_path #=> String
|
|
1848
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_row_delimiter #=> String
|
|
1849
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_format.mapping_parameters.csv_mapping_parameters.record_column_delimiter #=> String
|
|
1850
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
|
|
1851
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
|
|
1852
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
|
|
1853
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
|
|
1854
|
+
# resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
|
|
1855
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_type #=> String, one of "PLAINTEXT", "ZIPFILE"
|
|
1856
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.text_content #=> String
|
|
1857
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_md5 #=> String
|
|
1858
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_size #=> Integer
|
|
1859
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.bucket_arn #=> String
|
|
1860
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.file_key #=> String
|
|
1861
|
+
# resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
|
|
1862
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.application_restore_type #=> String, one of "SKIP_RESTORE_FROM_SNAPSHOT", "RESTORE_FROM_LATEST_SNAPSHOT", "RESTORE_FROM_CUSTOM_SNAPSHOT"
|
|
1863
|
+
# resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
|
|
1864
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1865
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
|
|
1866
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
|
|
1867
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.min_pause_between_checkpoints #=> Integer
|
|
1868
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1869
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.metrics_level #=> String, one of "APPLICATION", "TASK", "OPERATOR", "PARALLELISM"
|
|
1870
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.log_level #=> String, one of "INFO", "WARN", "ERROR", "DEBUG"
|
|
1871
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
|
|
1872
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism #=> Integer
|
|
1873
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism_per_kpu #=> Integer
|
|
1874
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.current_parallelism #=> Integer
|
|
1875
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.auto_scaling_enabled #=> Boolean
|
|
1876
|
+
# resp.application_detail.application_configuration_description.flink_application_configuration_description.job_plan_description #=> String
|
|
1877
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions #=> Array
|
|
1878
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_group_id #=> String
|
|
1879
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
|
|
1880
|
+
# resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
|
|
1881
|
+
# resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
|
|
1882
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
|
|
1883
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
|
|
1884
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
|
|
1885
|
+
# resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
|
|
1886
|
+
#
|
|
1887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication AWS API Documentation
|
|
1888
|
+
#
|
|
1889
|
+
# @overload update_application(params = {})
|
|
1890
|
+
# @param [Hash] params ({})
|
|
1891
|
+
def update_application(params = {}, options = {})
|
|
1892
|
+
req = build_request(:update_application, params)
|
|
1893
|
+
req.send_request(options)
|
|
1894
|
+
end
|
|
1895
|
+
|
|
1896
|
+
# @!endgroup
|
|
1897
|
+
|
|
1898
|
+
# @param params ({})
|
|
1899
|
+
# @api private
|
|
1900
|
+
def build_request(operation_name, params = {})
|
|
1901
|
+
handlers = @handlers.for(operation_name)
|
|
1902
|
+
context = Seahorse::Client::RequestContext.new(
|
|
1903
|
+
operation_name: operation_name,
|
|
1904
|
+
operation: config.api.operation(operation_name),
|
|
1905
|
+
client: self,
|
|
1906
|
+
params: params,
|
|
1907
|
+
config: config)
|
|
1908
|
+
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
|
1909
|
+
context[:gem_version] = '1.0.0'
|
|
1910
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
# @api private
|
|
1914
|
+
# @deprecated
|
|
1915
|
+
def waiter_names
|
|
1916
|
+
[]
|
|
1917
|
+
end
|
|
1918
|
+
|
|
1919
|
+
class << self
|
|
1920
|
+
|
|
1921
|
+
# @api private
|
|
1922
|
+
attr_reader :identifier
|
|
1923
|
+
|
|
1924
|
+
# @api private
|
|
1925
|
+
def errors_module
|
|
1926
|
+
Errors
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1929
|
+
end
|
|
1930
|
+
end
|
|
1931
|
+
end
|