aws-sdk-kinesisanalyticsv2 1.20.0 → 1.25.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: 4b831b4bd30e42dbcbe794f28ca2f8da456e5b9cccd164155af1a3569eb7cece
4
- data.tar.gz: 7026d8635743da1bffaa5f793d55e3672f9e25557b11197eb3ed2f5dd4b8b5c2
3
+ metadata.gz: 974920539005491457ed162594096e0d29998fbccf59847264126cbb571f8dea
4
+ data.tar.gz: '028cd9fc3ac1132f91ad89dc78b595a5a837fa28b702027019e95de5d0032f27'
5
5
  SHA512:
6
- metadata.gz: 27d829bc04d1084867b884becc02781a3e66cc53e704015797fc43f01d848e1afb6f7bb41f256118a2831aacbd416a867ee8dcab12df39a93c247ee28675c84e
7
- data.tar.gz: f257e108707dbe449dc56d3c3a193f453fd3150bfc9ae5ea5d964878b632cb715a33e7b8ec25878730bfe7ea1cd3914be983e61dec6136c3dd6621b28ceeedfd
6
+ metadata.gz: 3de32490c99d6ce9f1ddebc10d5ac7ed205672f8773b0207c7aebf387f4c3a7ebaf4ba091d45dec117fc3cd4798db0cf33ca7fefa2e61cb703a3d9ea54c303a4
7
+ data.tar.gz: 55fd7329f796533af0d5fe2c4b16dd23d4498eb4adff7ddcc5d53ce1f6f0d834de3533eaaea1b1bcd4a281a4354fc7059b641e7b1f807e324ccece8bd83c23d3
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
47
48
  # @!group service
48
49
  module Aws::KinesisAnalyticsV2
49
50
 
50
- GEM_VERSION = '1.20.0'
51
+ GEM_VERSION = '1.25.0'
51
52
 
52
53
  end
@@ -384,8 +384,8 @@ module Aws::KinesisAnalyticsV2
384
384
  req.send_request(options)
385
385
  end
386
386
 
387
- # Adds a streaming source to your SQL-based Amazon Kinesis Data
388
- # Analytics application.
387
+ # Adds a streaming source to your SQL-based Kinesis Data Analytics
388
+ # application.
389
389
  #
390
390
  # You can add a streaming source when you create an application, or you
391
391
  # can use this operation to add a streaming source after you create an
@@ -495,14 +495,14 @@ module Aws::KinesisAnalyticsV2
495
495
  req.send_request(options)
496
496
  end
497
497
 
498
- # Adds an InputProcessingConfiguration to an SQL-based Kinesis Data
498
+ # Adds an InputProcessingConfiguration to a SQL-based Kinesis Data
499
499
  # Analytics application. An input processor pre-processes records on the
500
500
  # input stream before the application's SQL code executes. Currently,
501
501
  # the only input processor available is [AWS Lambda][1].
502
502
  #
503
503
  #
504
504
  #
505
- # [1]: https://aws.amazon.com/documentation/lambda/
505
+ # [1]: https://docs.aws.amazon.com/lambda/
506
506
  #
507
507
  # @option params [required, String] :application_name
508
508
  # The name of the application to which you want to add the input
@@ -560,8 +560,8 @@ module Aws::KinesisAnalyticsV2
560
560
  req.send_request(options)
561
561
  end
562
562
 
563
- # Adds an external destination to your SQL-based Amazon Kinesis Data
564
- # Analytics application.
563
+ # Adds an external destination to your SQL-based Kinesis Data Analytics
564
+ # application.
565
565
  #
566
566
  # If you want Kinesis Data Analytics to deliver data from an
567
567
  # in-application stream within your application to an external
@@ -650,8 +650,8 @@ module Aws::KinesisAnalyticsV2
650
650
  req.send_request(options)
651
651
  end
652
652
 
653
- # Adds a reference data source to an existing SQL-based Amazon Kinesis
654
- # Data Analytics application.
653
+ # Adds a reference data source to an existing SQL-based Kinesis Data
654
+ # Analytics application.
655
655
  #
656
656
  # Kinesis Data Analytics reads reference data (that is, an Amazon S3
657
657
  # object) and creates an in-application table within your application.
@@ -763,11 +763,10 @@ module Aws::KinesisAnalyticsV2
763
763
  # The name of an existing application.
764
764
  #
765
765
  # @option params [required, Integer] :current_application_version_id
766
- # The version of the application to which you want to add the input
767
- # processing configuration. You can use the DescribeApplication
768
- # operation to get the current application version. If the version
769
- # specified is not the current version, the
770
- # `ConcurrentModificationException` is returned.
766
+ # The version of the application to which you want to add the VPC
767
+ # configuration. You can use the DescribeApplication operation to get
768
+ # the current application version. If the version specified is not the
769
+ # current version, the `ConcurrentModificationException` is returned.
771
770
  #
772
771
  # @option params [required, Types::VpcConfiguration] :vpc_configuration
773
772
  # Description of the VPC to add to the application.
@@ -809,8 +808,8 @@ module Aws::KinesisAnalyticsV2
809
808
  req.send_request(options)
810
809
  end
811
810
 
812
- # Creates an Amazon Kinesis Data Analytics application. For information
813
- # about creating a Kinesis Data Analytics application, see [Creating an
811
+ # Creates a Kinesis Data Analytics application. For information about
812
+ # creating a Kinesis Data Analytics application, see [Creating an
814
813
  # Application][1].
815
814
  #
816
815
  #
@@ -824,8 +823,8 @@ module Aws::KinesisAnalyticsV2
824
823
  # A summary description of the application.
825
824
  #
826
825
  # @option params [required, String] :runtime_environment
827
- # The runtime environment for the application (`SQL-1.0` or
828
- # `FLINK-1_6`).
826
+ # The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
827
+ # or `FLINK-1_8`).
829
828
  #
830
829
  # @option params [required, String] :service_execution_role
831
830
  # The IAM role used by the application to access Kinesis data streams,
@@ -859,7 +858,7 @@ module Aws::KinesisAnalyticsV2
859
858
  # resp = client.create_application({
860
859
  # application_name: "ApplicationName", # required
861
860
  # application_description: "ApplicationDescription",
862
- # 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
863
862
  # service_execution_role: "RoleARN", # required
864
863
  # application_configuration: {
865
864
  # sql_application_configuration: {
@@ -1022,9 +1021,9 @@ module Aws::KinesisAnalyticsV2
1022
1021
  # resp.application_detail.application_arn #=> String
1023
1022
  # resp.application_detail.application_description #=> String
1024
1023
  # resp.application_detail.application_name #=> String
1025
- # 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"
1026
1025
  # resp.application_detail.service_execution_role #=> String
1027
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING"
1026
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1028
1027
  # resp.application_detail.application_version_id #=> Integer
1029
1028
  # resp.application_detail.create_timestamp #=> Time
1030
1029
  # resp.application_detail.last_update_timestamp #=> Time
@@ -1124,6 +1123,58 @@ module Aws::KinesisAnalyticsV2
1124
1123
  req.send_request(options)
1125
1124
  end
1126
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
+
1127
1178
  # Creates a snapshot of the application's state data.
1128
1179
  #
1129
1180
  # @option params [required, String] :application_name
@@ -1177,8 +1228,8 @@ module Aws::KinesisAnalyticsV2
1177
1228
  req.send_request(options)
1178
1229
  end
1179
1230
 
1180
- # Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data
1181
- # Analytics application.
1231
+ # Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics
1232
+ # application.
1182
1233
  #
1183
1234
  # @option params [required, String] :application_name
1184
1235
  # The application name.
@@ -1268,8 +1319,8 @@ module Aws::KinesisAnalyticsV2
1268
1319
  end
1269
1320
 
1270
1321
  # Deletes the output destination configuration from your SQL-based
1271
- # Amazon Kinesis Data Analytics application's configuration. Kinesis
1272
- # Data Analytics will no longer write data from the corresponding
1322
+ # Kinesis Data Analytics application's configuration. Kinesis Data
1323
+ # Analytics will no longer write data from the corresponding
1273
1324
  # in-application stream to the external output destination.
1274
1325
  #
1275
1326
  # @option params [required, String] :application_name
@@ -1317,7 +1368,7 @@ module Aws::KinesisAnalyticsV2
1317
1368
  end
1318
1369
 
1319
1370
  # Deletes a reference data source configuration from the specified
1320
- # SQL-based Amazon Kinesis Data Analytics application's configuration.
1371
+ # SQL-based Kinesis Data Analytics application's configuration.
1321
1372
  #
1322
1373
  # If the application is running, Kinesis Data Analytics immediately
1323
1374
  # removes the in-application table that you created using the
@@ -1436,7 +1487,7 @@ module Aws::KinesisAnalyticsV2
1436
1487
  req.send_request(options)
1437
1488
  end
1438
1489
 
1439
- # Returns information about a specific Amazon Kinesis Data Analytics
1490
+ # Returns information about a specific Kinesis Data Analytics
1440
1491
  # application.
1441
1492
  #
1442
1493
  # If you want to retrieve a list of all applications in your account,
@@ -1465,9 +1516,9 @@ module Aws::KinesisAnalyticsV2
1465
1516
  # resp.application_detail.application_arn #=> String
1466
1517
  # resp.application_detail.application_description #=> String
1467
1518
  # resp.application_detail.application_name #=> String
1468
- # 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"
1469
1520
  # resp.application_detail.service_execution_role #=> String
1470
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING"
1521
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1471
1522
  # resp.application_detail.application_version_id #=> Integer
1472
1523
  # resp.application_detail.create_timestamp #=> Time
1473
1524
  # resp.application_detail.last_update_timestamp #=> Time
@@ -1603,12 +1654,11 @@ module Aws::KinesisAnalyticsV2
1603
1654
  req.send_request(options)
1604
1655
  end
1605
1656
 
1606
- # Infers a schema for an SQL-based Amazon Kinesis Data Analytics
1607
- # application by evaluating sample records on the specified streaming
1608
- # source (Kinesis data stream or Kinesis Data Firehose delivery stream)
1609
- # or Amazon S3 object. In the response, the operation returns the
1610
- # inferred schema and also the sample records that the operation used to
1611
- # infer the schema.
1657
+ # Infers a schema for a SQL-based Kinesis Data Analytics application by
1658
+ # evaluating sample records on the specified streaming source (Kinesis
1659
+ # data stream or Kinesis Data Firehose delivery stream) or Amazon S3
1660
+ # object. In the response, the operation returns the inferred schema and
1661
+ # also the sample records that the operation used to infer the schema.
1612
1662
  #
1613
1663
  # You can use the inferred schema when configuring a streaming source
1614
1664
  # for your application. When you create an application using the Kinesis
@@ -1732,9 +1782,9 @@ module Aws::KinesisAnalyticsV2
1732
1782
  req.send_request(options)
1733
1783
  end
1734
1784
 
1735
- # Returns a list of Amazon Kinesis Data Analytics applications in your
1736
- # account. For each application, the response includes the application
1737
- # name, Amazon Resource Name (ARN), and status.
1785
+ # Returns a list of Kinesis Data Analytics applications in your account.
1786
+ # For each application, the response includes the application name,
1787
+ # Amazon Resource Name (ARN), and status.
1738
1788
  #
1739
1789
  # If you want detailed information about a specific application, use
1740
1790
  # DescribeApplication.
@@ -1769,9 +1819,9 @@ module Aws::KinesisAnalyticsV2
1769
1819
  # resp.application_summaries #=> Array
1770
1820
  # resp.application_summaries[0].application_name #=> String
1771
1821
  # resp.application_summaries[0].application_arn #=> String
1772
- # resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING"
1822
+ # resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1773
1823
  # resp.application_summaries[0].application_version_id #=> Integer
1774
- # 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"
1775
1825
  # resp.next_token #=> String
1776
1826
  #
1777
1827
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
@@ -1818,7 +1868,7 @@ module Aws::KinesisAnalyticsV2
1818
1868
  req.send_request(options)
1819
1869
  end
1820
1870
 
1821
- # Starts the specified Amazon Kinesis Data Analytics application. After
1871
+ # Starts the specified Kinesis Data Analytics application. After
1822
1872
  # creating an application, you must exclusively call this operation to
1823
1873
  # start your application.
1824
1874
  #
@@ -1864,18 +1914,44 @@ module Aws::KinesisAnalyticsV2
1864
1914
  end
1865
1915
 
1866
1916
  # Stops the application from processing data. You can stop an
1867
- # application only if it is in the running state. You can use the
1868
- # DescribeApplication operation to find the application state.
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`.
1869
1925
  #
1870
1926
  # @option params [required, String] :application_name
1871
1927
  # The name of the running application to stop.
1872
1928
  #
1929
+ # @option params [Boolean] :force
1930
+ # Set to `true` to force the application to stop. If you set `Force` to
1931
+ # `true`, Kinesis Data Analytics stops the application without taking a
1932
+ # snapshot.
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
+ #
1941
+ # You can only force stop a Flink-based Kinesis Data Analytics
1942
+ # application. You can't force stop a SQL-based Kinesis Data Analytics
1943
+ # application.
1944
+ #
1945
+ # The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
1946
+ # `AUTOSCALING`, or `RUNNING` status.
1947
+ #
1873
1948
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1874
1949
  #
1875
1950
  # @example Request syntax with placeholder values
1876
1951
  #
1877
1952
  # resp = client.stop_application({
1878
1953
  # application_name: "ApplicationName", # required
1954
+ # force: false,
1879
1955
  # })
1880
1956
  #
1881
1957
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication AWS API Documentation
@@ -1887,10 +1963,10 @@ module Aws::KinesisAnalyticsV2
1887
1963
  req.send_request(options)
1888
1964
  end
1889
1965
 
1890
- # Adds one or more key-value tags to a Kinesis Analytics application.
1891
- # Note that the maximum number of application tags includes system tags.
1892
- # The maximum number of user-defined application tags is 50. For more
1893
- # information, see [Using Tagging][1].
1966
+ # Adds one or more key-value tags to a Kinesis Data Analytics
1967
+ # application. Note that the maximum number of application tags includes
1968
+ # system tags. The maximum number of user-defined application tags is
1969
+ # 50. For more information, see [Using Tagging][1].
1894
1970
  #
1895
1971
  #
1896
1972
  #
@@ -1925,16 +2001,16 @@ module Aws::KinesisAnalyticsV2
1925
2001
  req.send_request(options)
1926
2002
  end
1927
2003
 
1928
- # Removes one or more tags from a Kinesis Analytics application. For
1929
- # more information, see [Using Tagging][1].
2004
+ # Removes one or more tags from a Kinesis Data Analytics application.
2005
+ # For more information, see [Using Tagging][1].
1930
2006
  #
1931
2007
  #
1932
2008
  #
1933
2009
  # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
1934
2010
  #
1935
2011
  # @option params [required, String] :resource_arn
1936
- # The ARN of the Kinesis Analytics application from which to remove the
1937
- # tags.
2012
+ # The ARN of the Kinesis Data Analytics application from which to remove
2013
+ # the tags.
1938
2014
  #
1939
2015
  # @option params [required, Array<String>] :tag_keys
1940
2016
  # A list of keys of tags to remove from the specified application.
@@ -1957,13 +2033,19 @@ module Aws::KinesisAnalyticsV2
1957
2033
  req.send_request(options)
1958
2034
  end
1959
2035
 
1960
- # Updates an existing Amazon Kinesis Data Analytics application. Using
1961
- # this operation, you can update application code, input configuration,
1962
- # and output configuration.
2036
+ # Updates an existing Kinesis Data Analytics application. Using this
2037
+ # operation, you can update application code, input configuration, and
2038
+ # output configuration.
1963
2039
  #
1964
2040
  # Kinesis Data Analytics updates the `ApplicationVersionId` each time
1965
2041
  # you update your application.
1966
2042
  #
2043
+ # <note markdown="1"> You cannot update the `RuntimeEnvironment` of an existing application.
2044
+ # If you need to update an application's `RuntimeEnvironment`, you must
2045
+ # delete the application and create it again.
2046
+ #
2047
+ # </note>
2048
+ #
1967
2049
  # @option params [required, String] :application_name
1968
2050
  # The name of the application to update.
1969
2051
  #
@@ -2165,9 +2247,9 @@ module Aws::KinesisAnalyticsV2
2165
2247
  # resp.application_detail.application_arn #=> String
2166
2248
  # resp.application_detail.application_description #=> String
2167
2249
  # resp.application_detail.application_name #=> String
2168
- # 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"
2169
2251
  # resp.application_detail.service_execution_role #=> String
2170
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING"
2252
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
2171
2253
  # resp.application_detail.application_version_id #=> Integer
2172
2254
  # resp.application_detail.create_timestamp #=> Time
2173
2255
  # resp.application_detail.last_update_timestamp #=> Time
@@ -2280,7 +2362,7 @@ module Aws::KinesisAnalyticsV2
2280
2362
  params: params,
2281
2363
  config: config)
2282
2364
  context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
2283
- context[:gem_version] = '1.20.0'
2365
+ context[:gem_version] = '1.25.0'
2284
2366
  Seahorse::Client::Request.new(handlers, context)
2285
2367
  end
2286
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"))
@@ -967,6 +980,7 @@ module Aws::KinesisAnalyticsV2
967
980
  StartApplicationResponse.struct_class = Types::StartApplicationResponse
968
981
 
969
982
  StopApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
983
+ StopApplicationRequest.add_member(:force, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Force"))
970
984
  StopApplicationRequest.struct_class = Types::StopApplicationRequest
971
985
 
972
986
  StopApplicationResponse.struct_class = Types::StopApplicationResponse
@@ -1151,6 +1165,17 @@ module Aws::KinesisAnalyticsV2
1151
1165
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1152
1166
  end)
1153
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
+
1154
1179
  api.add_operation(:create_application_snapshot, Seahorse::Model::Operation.new.tap do |o|
1155
1180
  o.name = "CreateApplicationSnapshot"
1156
1181
  o.http_method = "POST"
@@ -1348,6 +1373,7 @@ module Aws::KinesisAnalyticsV2
1348
1373
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1349
1374
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1350
1375
  o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1351
1377
  end)
1352
1378
 
1353
1379
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|