aws-sdk-kinesisanalyticsv2 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e33bec621252ab26886739a588a1a9c9d34e872eb9b5038f9b85e7fd4e31019d
|
4
|
+
data.tar.gz: 84865f282c2435689a9f0829f9514059069130ffe1b4d74795bf446b4b00dddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14b206ccc4baecfce56d50b07cba37e234e878dad31a5c664bd71ef2f894bca8426763b59179c10a62c458fb10e1853b0264bc5d20330b1fd0072369abb160f9
|
7
|
+
data.tar.gz: 1cf6e229f706ff5d6600f4a2e94c72dbb632396ab89e925ae09bd21509bd4524ecccfdd882bea724d2530b7babfec6b789a9e5eea3be327b6ead2b14d71cd9bd
|
@@ -858,7 +858,7 @@ module Aws::KinesisAnalyticsV2
|
|
858
858
|
# resp = client.create_application({
|
859
859
|
# application_name: "ApplicationName", # required
|
860
860
|
# application_description: "ApplicationDescription",
|
861
|
-
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
|
861
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11
|
862
862
|
# service_execution_role: "RoleARN", # required
|
863
863
|
# application_configuration: {
|
864
864
|
# sql_application_configuration: {
|
@@ -1021,7 +1021,7 @@ module Aws::KinesisAnalyticsV2
|
|
1021
1021
|
# resp.application_detail.application_arn #=> String
|
1022
1022
|
# resp.application_detail.application_description #=> String
|
1023
1023
|
# resp.application_detail.application_name #=> String
|
1024
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1024
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1025
1025
|
# resp.application_detail.service_execution_role #=> String
|
1026
1026
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1027
1027
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -1123,6 +1123,58 @@ module Aws::KinesisAnalyticsV2
|
|
1123
1123
|
req.send_request(options)
|
1124
1124
|
end
|
1125
1125
|
|
1126
|
+
# Creates and returns a URL that you can use to connect to an
|
1127
|
+
# application's extension. Currently, the only available extension is
|
1128
|
+
# the Apache Flink dashboard.
|
1129
|
+
#
|
1130
|
+
# The IAM role or user used to call this API defines the permissions to
|
1131
|
+
# access the extension. Once the presigned URL is created, no additional
|
1132
|
+
# permission is required to access this URL. IAM authorization policies
|
1133
|
+
# for this API are also enforced for every HTTP request that attempts to
|
1134
|
+
# connect to the extension.
|
1135
|
+
#
|
1136
|
+
# <note markdown="1"> The URL that you get from a call to CreateApplicationPresignedUrl must
|
1137
|
+
# be used within 3 minutes to be valid. If you first try to use the URL
|
1138
|
+
# after the 3-minute limit expires, the service returns an HTTP 403
|
1139
|
+
# Forbidden error.
|
1140
|
+
#
|
1141
|
+
# </note>
|
1142
|
+
#
|
1143
|
+
# @option params [required, String] :application_name
|
1144
|
+
# The name of the application.
|
1145
|
+
#
|
1146
|
+
# @option params [required, String] :url_type
|
1147
|
+
# The type of the extension for which to create and return a URL.
|
1148
|
+
# Currently, the only valid extension URL type is `FLINK_DASHBOARD_URL`.
|
1149
|
+
#
|
1150
|
+
# @option params [Integer] :session_expiration_duration_in_seconds
|
1151
|
+
# The duration in seconds for which the returned URL will be valid.
|
1152
|
+
#
|
1153
|
+
# @return [Types::CreateApplicationPresignedUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1154
|
+
#
|
1155
|
+
# * {Types::CreateApplicationPresignedUrlResponse#authorized_url #authorized_url} => String
|
1156
|
+
#
|
1157
|
+
# @example Request syntax with placeholder values
|
1158
|
+
#
|
1159
|
+
# resp = client.create_application_presigned_url({
|
1160
|
+
# application_name: "ApplicationName", # required
|
1161
|
+
# url_type: "FLINK_DASHBOARD_URL", # required, accepts FLINK_DASHBOARD_URL
|
1162
|
+
# session_expiration_duration_in_seconds: 1,
|
1163
|
+
# })
|
1164
|
+
#
|
1165
|
+
# @example Response structure
|
1166
|
+
#
|
1167
|
+
# resp.authorized_url #=> String
|
1168
|
+
#
|
1169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrl AWS API Documentation
|
1170
|
+
#
|
1171
|
+
# @overload create_application_presigned_url(params = {})
|
1172
|
+
# @param [Hash] params ({})
|
1173
|
+
def create_application_presigned_url(params = {}, options = {})
|
1174
|
+
req = build_request(:create_application_presigned_url, params)
|
1175
|
+
req.send_request(options)
|
1176
|
+
end
|
1177
|
+
|
1126
1178
|
# Creates a snapshot of the application's state data.
|
1127
1179
|
#
|
1128
1180
|
# @option params [required, String] :application_name
|
@@ -1464,7 +1516,7 @@ module Aws::KinesisAnalyticsV2
|
|
1464
1516
|
# resp.application_detail.application_arn #=> String
|
1465
1517
|
# resp.application_detail.application_description #=> String
|
1466
1518
|
# resp.application_detail.application_name #=> String
|
1467
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1519
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1468
1520
|
# resp.application_detail.service_execution_role #=> String
|
1469
1521
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1470
1522
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -1769,7 +1821,7 @@ module Aws::KinesisAnalyticsV2
|
|
1769
1821
|
# resp.application_summaries[0].application_arn #=> String
|
1770
1822
|
# resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
1771
1823
|
# resp.application_summaries[0].application_version_id #=> Integer
|
1772
|
-
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
1824
|
+
# resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
1773
1825
|
# resp.next_token #=> String
|
1774
1826
|
#
|
1775
1827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
|
@@ -1862,8 +1914,14 @@ module Aws::KinesisAnalyticsV2
|
|
1862
1914
|
end
|
1863
1915
|
|
1864
1916
|
# Stops the application from processing data. You can stop an
|
1865
|
-
# application only if it is in the running
|
1866
|
-
#
|
1917
|
+
# application only if it is in the running status, unless you set the
|
1918
|
+
# `Force` parameter to `true`.
|
1919
|
+
#
|
1920
|
+
# You can use the DescribeApplication operation to find the application
|
1921
|
+
# status.
|
1922
|
+
#
|
1923
|
+
# Kinesis Data Analytics takes a snapshot when the application is
|
1924
|
+
# stopped, unless `Force` is set to `true`.
|
1867
1925
|
#
|
1868
1926
|
# @option params [required, String] :application_name
|
1869
1927
|
# The name of the running application to stop.
|
@@ -1873,12 +1931,19 @@ module Aws::KinesisAnalyticsV2
|
|
1873
1931
|
# `true`, Kinesis Data Analytics stops the application without taking a
|
1874
1932
|
# snapshot.
|
1875
1933
|
#
|
1934
|
+
# <note markdown="1"> Force-stopping your application may lead to data loss or duplication.
|
1935
|
+
# To prevent data loss or duplicate processing of data during
|
1936
|
+
# application restarts, we recommend you to take frequent snapshots of
|
1937
|
+
# your application.
|
1938
|
+
#
|
1939
|
+
# </note>
|
1940
|
+
#
|
1876
1941
|
# You can only force stop a Flink-based Kinesis Data Analytics
|
1877
1942
|
# application. You can't force stop a SQL-based Kinesis Data Analytics
|
1878
1943
|
# application.
|
1879
1944
|
#
|
1880
1945
|
# The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
|
1881
|
-
# `AUTOSCALING`, or `RUNNING`
|
1946
|
+
# `AUTOSCALING`, or `RUNNING` status.
|
1882
1947
|
#
|
1883
1948
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1884
1949
|
#
|
@@ -2182,7 +2247,7 @@ module Aws::KinesisAnalyticsV2
|
|
2182
2247
|
# resp.application_detail.application_arn #=> String
|
2183
2248
|
# resp.application_detail.application_description #=> String
|
2184
2249
|
# resp.application_detail.application_name #=> String
|
2185
|
-
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
|
2250
|
+
# resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
|
2186
2251
|
# resp.application_detail.service_execution_role #=> String
|
2187
2252
|
# resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
|
2188
2253
|
# resp.application_detail.application_version_id #=> Integer
|
@@ -2297,7 +2362,7 @@ module Aws::KinesisAnalyticsV2
|
|
2297
2362
|
params: params,
|
2298
2363
|
config: config)
|
2299
2364
|
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
|
2300
|
-
context[:gem_version] = '1.
|
2365
|
+
context[:gem_version] = '1.24.0'
|
2301
2366
|
Seahorse::Client::Request.new(handlers, context)
|
2302
2367
|
end
|
2303
2368
|
|
@@ -43,6 +43,7 @@ module Aws::KinesisAnalyticsV2
|
|
43
43
|
ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries')
|
44
44
|
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
45
45
|
ApplicationVersionId = Shapes::IntegerShape.new(name: 'ApplicationVersionId')
|
46
|
+
AuthorizedUrl = Shapes::StringShape.new(name: 'AuthorizedUrl')
|
46
47
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
47
48
|
BucketARN = Shapes::StringShape.new(name: 'BucketARN')
|
48
49
|
CSVMappingParameters = Shapes::StructureShape.new(name: 'CSVMappingParameters')
|
@@ -65,6 +66,8 @@ module Aws::KinesisAnalyticsV2
|
|
65
66
|
CodeValidationException = Shapes::StructureShape.new(name: 'CodeValidationException')
|
66
67
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
67
68
|
ConfigurationType = Shapes::StringShape.new(name: 'ConfigurationType')
|
69
|
+
CreateApplicationPresignedUrlRequest = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlRequest')
|
70
|
+
CreateApplicationPresignedUrlResponse = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlResponse')
|
68
71
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
69
72
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
70
73
|
CreateApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'CreateApplicationSnapshotRequest')
|
@@ -220,6 +223,7 @@ module Aws::KinesisAnalyticsV2
|
|
220
223
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
221
224
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
222
225
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
226
|
+
SessionExpirationDurationInSeconds = Shapes::IntegerShape.new(name: 'SessionExpirationDurationInSeconds')
|
223
227
|
SnapshotDetails = Shapes::StructureShape.new(name: 'SnapshotDetails')
|
224
228
|
SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
|
225
229
|
SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
|
@@ -252,6 +256,7 @@ module Aws::KinesisAnalyticsV2
|
|
252
256
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
253
257
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
254
258
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
259
|
+
UrlType = Shapes::StringShape.new(name: 'UrlType')
|
255
260
|
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
256
261
|
VpcConfigurationDescription = Shapes::StructureShape.new(name: 'VpcConfigurationDescription')
|
257
262
|
VpcConfigurationDescriptions = Shapes::ListShape.new(name: 'VpcConfigurationDescriptions')
|
@@ -457,6 +462,14 @@ module Aws::KinesisAnalyticsV2
|
|
457
462
|
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
458
463
|
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
459
464
|
|
465
|
+
CreateApplicationPresignedUrlRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
466
|
+
CreateApplicationPresignedUrlRequest.add_member(:url_type, Shapes::ShapeRef.new(shape: UrlType, required: true, location_name: "UrlType"))
|
467
|
+
CreateApplicationPresignedUrlRequest.add_member(:session_expiration_duration_in_seconds, Shapes::ShapeRef.new(shape: SessionExpirationDurationInSeconds, location_name: "SessionExpirationDurationInSeconds"))
|
468
|
+
CreateApplicationPresignedUrlRequest.struct_class = Types::CreateApplicationPresignedUrlRequest
|
469
|
+
|
470
|
+
CreateApplicationPresignedUrlResponse.add_member(:authorized_url, Shapes::ShapeRef.new(shape: AuthorizedUrl, location_name: "AuthorizedUrl"))
|
471
|
+
CreateApplicationPresignedUrlResponse.struct_class = Types::CreateApplicationPresignedUrlResponse
|
472
|
+
|
460
473
|
CreateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
461
474
|
CreateApplicationRequest.add_member(:application_description, Shapes::ShapeRef.new(shape: ApplicationDescription, location_name: "ApplicationDescription"))
|
462
475
|
CreateApplicationRequest.add_member(:runtime_environment, Shapes::ShapeRef.new(shape: RuntimeEnvironment, required: true, location_name: "RuntimeEnvironment"))
|
@@ -1152,6 +1165,17 @@ module Aws::KinesisAnalyticsV2
|
|
1152
1165
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1153
1166
|
end)
|
1154
1167
|
|
1168
|
+
api.add_operation(:create_application_presigned_url, Seahorse::Model::Operation.new.tap do |o|
|
1169
|
+
o.name = "CreateApplicationPresignedUrl"
|
1170
|
+
o.http_method = "POST"
|
1171
|
+
o.http_request_uri = "/"
|
1172
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlRequest)
|
1173
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlResponse)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1177
|
+
end)
|
1178
|
+
|
1155
1179
|
api.add_operation(:create_application_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
1156
1180
|
o.name = "CreateApplicationSnapshot"
|
1157
1181
|
o.http_method = "POST"
|
@@ -1705,13 +1705,58 @@ module Aws::KinesisAnalyticsV2
|
|
1705
1705
|
include Aws::Structure
|
1706
1706
|
end
|
1707
1707
|
|
1708
|
+
# @note When making an API call, you may pass CreateApplicationPresignedUrlRequest
|
1709
|
+
# data as a hash:
|
1710
|
+
#
|
1711
|
+
# {
|
1712
|
+
# application_name: "ApplicationName", # required
|
1713
|
+
# url_type: "FLINK_DASHBOARD_URL", # required, accepts FLINK_DASHBOARD_URL
|
1714
|
+
# session_expiration_duration_in_seconds: 1,
|
1715
|
+
# }
|
1716
|
+
#
|
1717
|
+
# @!attribute [rw] application_name
|
1718
|
+
# The name of the application.
|
1719
|
+
# @return [String]
|
1720
|
+
#
|
1721
|
+
# @!attribute [rw] url_type
|
1722
|
+
# The type of the extension for which to create and return a URL.
|
1723
|
+
# Currently, the only valid extension URL type is
|
1724
|
+
# `FLINK_DASHBOARD_URL`.
|
1725
|
+
# @return [String]
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] session_expiration_duration_in_seconds
|
1728
|
+
# The duration in seconds for which the returned URL will be valid.
|
1729
|
+
# @return [Integer]
|
1730
|
+
#
|
1731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrlRequest AWS API Documentation
|
1732
|
+
#
|
1733
|
+
class CreateApplicationPresignedUrlRequest < Struct.new(
|
1734
|
+
:application_name,
|
1735
|
+
:url_type,
|
1736
|
+
:session_expiration_duration_in_seconds)
|
1737
|
+
SENSITIVE = []
|
1738
|
+
include Aws::Structure
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# @!attribute [rw] authorized_url
|
1742
|
+
# The URL of the extension.
|
1743
|
+
# @return [String]
|
1744
|
+
#
|
1745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrlResponse AWS API Documentation
|
1746
|
+
#
|
1747
|
+
class CreateApplicationPresignedUrlResponse < Struct.new(
|
1748
|
+
:authorized_url)
|
1749
|
+
SENSITIVE = []
|
1750
|
+
include Aws::Structure
|
1751
|
+
end
|
1752
|
+
|
1708
1753
|
# @note When making an API call, you may pass CreateApplicationRequest
|
1709
1754
|
# data as a hash:
|
1710
1755
|
#
|
1711
1756
|
# {
|
1712
1757
|
# application_name: "ApplicationName", # required
|
1713
1758
|
# application_description: "ApplicationDescription",
|
1714
|
-
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
|
1759
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11
|
1715
1760
|
# service_execution_role: "RoleARN", # required
|
1716
1761
|
# application_configuration: {
|
1717
1762
|
# sql_application_configuration: {
|
@@ -5584,12 +5629,19 @@ module Aws::KinesisAnalyticsV2
|
|
5584
5629
|
# to `true`, Kinesis Data Analytics stops the application without
|
5585
5630
|
# taking a snapshot.
|
5586
5631
|
#
|
5632
|
+
# <note markdown="1"> Force-stopping your application may lead to data loss or
|
5633
|
+
# duplication. To prevent data loss or duplicate processing of data
|
5634
|
+
# during application restarts, we recommend you to take frequent
|
5635
|
+
# snapshots of your application.
|
5636
|
+
#
|
5637
|
+
# </note>
|
5638
|
+
#
|
5587
5639
|
# You can only force stop a Flink-based Kinesis Data Analytics
|
5588
5640
|
# application. You can't force stop a SQL-based Kinesis Data
|
5589
5641
|
# Analytics application.
|
5590
5642
|
#
|
5591
5643
|
# The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
|
5592
|
-
# `AUTOSCALING`, or `RUNNING`
|
5644
|
+
# `AUTOSCALING`, or `RUNNING` status.
|
5593
5645
|
# @return [Boolean]
|
5594
5646
|
#
|
5595
5647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplicationRequest AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesisanalyticsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|