aws-sdk-kinesisanalyticsv2 1.23.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a6deea5451cb4a28255465b790ce754cf6fba28086c4ce13f4a725f8076483
4
- data.tar.gz: 14accf4428c4440a44056f2e2179c6c0aa88f8cd6d903938e6fcd51e83cf361c
3
+ metadata.gz: 10fba38bf6e3e0a3a2c7d4c5c288ed181755a5696d6af922eba3f2f828dfbe12
4
+ data.tar.gz: '08a1be2352a9ffe9fb1e7699a00c43f898fd179cb376d2bf8dbf5359d76a44f5'
5
5
  SHA512:
6
- metadata.gz: '0388be12e01a7cedf36f362b510e52fe3abdcb21d1302b40e7f814f2cfde452f5a097e2fff20ea34d8b9f5c35322994726e750bd24ff634af3f4cef3fc8113bc'
7
- data.tar.gz: 689910aa2e4b84f110f28331402ecf18700d314621b4fa21af7a3679e64322be5188d1127e838b408675ae20ba78a532476b4806da1d8202eab989c576da2853
6
+ metadata.gz: e03ec3f8b912cc6f7700eac907c68bb2b06cf85a72596d4d62c2c4b66bacdb274e414a6d9414436bd7a4ae6d7f90f6e89ee96f57eaafebc19fb7c4fd64610d89
7
+ data.tar.gz: 2a7eb78effd00ea8a7c3782a70549167e659ceadec00788c9e7b2d748a728bfc7a04be295ed8c183103fbd9bcac1546bcddece79e8f3400a10dca3717814a827
data/CHANGELOG.md ADDED
@@ -0,0 +1,153 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.28.0 (2021-05-05)
5
+ ------------------
6
+
7
+ * Feature - Amazon Kinesis Analytics now supports RollbackApplication for Apache Flink applications to revert the application to the previous running version
8
+
9
+ 1.27.0 (2021-04-26)
10
+ ------------------
11
+
12
+ * Feature - Amazon Kinesis Data Analytics now supports custom application maintenance configuration using UpdateApplicationMaintenanceConfiguration API for Apache Flink applications. Customers will have visibility when their application is under maintenance status using 'MAINTENANCE' application status.
13
+
14
+ 1.26.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.25.0 (2021-02-02)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.24.0 (2020-11-19)
25
+ ------------------
26
+
27
+ * Feature - Amazon Kinesis Data Analytics now supports building and running streaming applications using Apache Flink 1.11 and provides a way to access the Apache Flink dashboard for supported Flink versions.
28
+
29
+ 1.23.0 (2020-10-06)
30
+ ------------------
31
+
32
+ * Feature - Amazon Kinesis Analytics now supports StopApplication with 'force' option
33
+
34
+ 1.22.0 (2020-09-30)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.21.0 (2020-09-15)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.20.0 (2020-09-09)
45
+ ------------------
46
+
47
+ * Feature - Kinesis Data Analytics is adding new AUTOSCALING application status for applications during auto scaling and also adding FlinkRunConfigurationDescription in the ApplicationDetails.
48
+
49
+ 1.19.0 (2020-08-25)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.18.0 (2020-06-23)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.17.1 (2020-06-11)
60
+ ------------------
61
+
62
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
63
+
64
+ 1.17.0 (2020-06-10)
65
+ ------------------
66
+
67
+ * Issue - This version has been yanked. (#2327).
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.16.0 (2020-05-28)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.15.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.14.0 (2020-03-09)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.13.0 (2019-12-17)
86
+ ------------------
87
+
88
+ * Feature - Kinesis Data Analytics service now supports running Java applications using Flink 1.8.
89
+
90
+ 1.12.0 (2019-11-25)
91
+ ------------------
92
+
93
+ * Feature - Kinesis Data Analytics service adds support to configure Java applications to access resources in a VPC. Also releasing support to configure Java applications to set allowNonRestoreState flag through the service APIs.
94
+
95
+ 1.11.0 (2019-10-23)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.10.0 (2019-07-25)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.9.0 (2019-07-01)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.8.0 (2019-06-17)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.7.0 (2019-05-21)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.6.0 (2019-05-15)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.5.0 (2019-05-14)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.4.0 (2019-05-08)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.3.0 (2019-03-21)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.2.0 (2019-03-18)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.1.0 (2019-03-14)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.0.0 (2018-11-28)
151
+ ------------------
152
+
153
+ * Feature - Initial release of `aws-sdk-kinesisanalyticsv2`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.28.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
48
48
  # @!group service
49
49
  module Aws::KinesisAnalyticsV2
50
50
 
51
- GEM_VERSION = '1.23.0'
51
+ GEM_VERSION = '1.28.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -343,13 +343,20 @@ module Aws::KinesisAnalyticsV2
343
343
  # @option params [required, String] :application_name
344
344
  # The Kinesis Data Analytics application name.
345
345
  #
346
- # @option params [required, Integer] :current_application_version_id
347
- # The version ID of the Kinesis Data Analytics application. You can
346
+ # @option params [Integer] :current_application_version_id
347
+ # The version ID of the Kinesis Data Analytics application. You must
348
+ # provide the `ApplicationVersionID` or the `ConditionalToken`.You can
348
349
  # retrieve the application version ID using DescribeApplication.
349
350
  #
350
351
  # @option params [required, Types::CloudWatchLoggingOption] :cloud_watch_logging_option
351
352
  # Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
352
353
  #
354
+ # @option params [String] :conditional_token
355
+ # A value you use to implement strong concurrency for application
356
+ # updates. You must provide the `ApplicationVersionID` or the
357
+ # `ConditionalToken`. You get the application's current
358
+ # `ConditionalToken` using DescribeApplication.
359
+ #
353
360
  # @return [Types::AddApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
354
361
  #
355
362
  # * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
@@ -360,10 +367,11 @@ module Aws::KinesisAnalyticsV2
360
367
  #
361
368
  # resp = client.add_application_cloud_watch_logging_option({
362
369
  # application_name: "ApplicationName", # required
363
- # current_application_version_id: 1, # required
370
+ # current_application_version_id: 1,
364
371
  # cloud_watch_logging_option: { # required
365
372
  # log_stream_arn: "LogStreamARN", # required
366
373
  # },
374
+ # conditional_token: "ConditionalToken",
367
375
  # })
368
376
  #
369
377
  # @example Response structure
@@ -401,7 +409,8 @@ module Aws::KinesisAnalyticsV2
401
409
  # streaming source.
402
410
  #
403
411
  # @option params [required, Integer] :current_application_version_id
404
- # The current version of your application. You can use the
412
+ # The current version of your application. You must provide the
413
+ # `ApplicationVersionID` or the `ConditionalToken`.You can use the
405
414
  # DescribeApplication operation to find the current application version.
406
415
  #
407
416
  # @option params [required, Types::Input] :input
@@ -510,7 +519,8 @@ module Aws::KinesisAnalyticsV2
510
519
  #
511
520
  # @option params [required, Integer] :current_application_version_id
512
521
  # The version of the application to which you want to add the input
513
- # processing configuration. You can use the DescribeApplication
522
+ # processing configuration. You must provide the `ApplicationVersionID`
523
+ # or the `ConditionalToken`. You can use the DescribeApplication
514
524
  # operation to get the current application version. If the version
515
525
  # specified is not the current version, the
516
526
  # `ConcurrentModificationException` is returned.
@@ -587,9 +597,11 @@ module Aws::KinesisAnalyticsV2
587
597
  #
588
598
  # @option params [required, Integer] :current_application_version_id
589
599
  # The version of the application to which you want to add the output
590
- # configuration. You can use the DescribeApplication operation to get
591
- # the current application version. If the version specified is not the
592
- # current version, the `ConcurrentModificationException` is returned.
600
+ # configuration. You must provide the `ApplicationVersionID` or the
601
+ # `ConditionalToken`. You can use the DescribeApplication operation to
602
+ # get the current application version. If the version specified is not
603
+ # the current version, the `ConcurrentModificationException` is
604
+ # returned.
593
605
  #
594
606
  # @option params [required, Types::Output] :output
595
607
  # An array of objects, each describing one output configuration. In the
@@ -762,15 +774,23 @@ module Aws::KinesisAnalyticsV2
762
774
  # @option params [required, String] :application_name
763
775
  # The name of an existing application.
764
776
  #
765
- # @option params [required, Integer] :current_application_version_id
777
+ # @option params [Integer] :current_application_version_id
766
778
  # 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.
779
+ # configuration. You must provide the `ApplicationVersionID` or the
780
+ # `ConditionalToken`. You can use the DescribeApplication operation to
781
+ # get the current application version. If the version specified is not
782
+ # the current version, the `ConcurrentModificationException` is
783
+ # returned.
770
784
  #
771
785
  # @option params [required, Types::VpcConfiguration] :vpc_configuration
772
786
  # Description of the VPC to add to the application.
773
787
  #
788
+ # @option params [String] :conditional_token
789
+ # A value you use to implement strong concurrency for application
790
+ # updates. You must provide the `ApplicationVersionID` or the
791
+ # `ConditionalToken`. You get the application's current
792
+ # `ConditionalToken` using DescribeApplication.
793
+ #
774
794
  # @return [Types::AddApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
775
795
  #
776
796
  # * {Types::AddApplicationVpcConfigurationResponse#application_arn #application_arn} => String
@@ -781,11 +801,12 @@ module Aws::KinesisAnalyticsV2
781
801
  #
782
802
  # resp = client.add_application_vpc_configuration({
783
803
  # application_name: "ApplicationName", # required
784
- # current_application_version_id: 1, # required
804
+ # current_application_version_id: 1,
785
805
  # vpc_configuration: { # required
786
806
  # subnet_ids: ["SubnetId"], # required
787
807
  # security_group_ids: ["SecurityGroupId"], # required
788
808
  # },
809
+ # conditional_token: "ConditionalToken",
789
810
  # })
790
811
  #
791
812
  # @example Response structure
@@ -823,8 +844,8 @@ module Aws::KinesisAnalyticsV2
823
844
  # A summary description of the application.
824
845
  #
825
846
  # @option params [required, String] :runtime_environment
826
- # The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
827
- # or `FLINK-1_8`).
847
+ # The runtime environment for the application (`SQL-1_0`, `FLINK-1_6`,
848
+ # `FLINK-1_8`, or `FLINK-1_11`).
828
849
  #
829
850
  # @option params [required, String] :service_execution_role
830
851
  # The IAM role used by the application to access Kinesis data streams,
@@ -858,7 +879,7 @@ module Aws::KinesisAnalyticsV2
858
879
  # resp = client.create_application({
859
880
  # application_name: "ApplicationName", # required
860
881
  # application_description: "ApplicationDescription",
861
- # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
882
+ # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11
862
883
  # service_execution_role: "RoleARN", # required
863
884
  # application_configuration: {
864
885
  # sql_application_configuration: {
@@ -1021,9 +1042,9 @@ module Aws::KinesisAnalyticsV2
1021
1042
  # resp.application_detail.application_arn #=> String
1022
1043
  # resp.application_detail.application_description #=> String
1023
1044
  # resp.application_detail.application_name #=> String
1024
- # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
1045
+ # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
1025
1046
  # resp.application_detail.service_execution_role #=> String
1026
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1047
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
1027
1048
  # resp.application_detail.application_version_id #=> Integer
1028
1049
  # resp.application_detail.create_timestamp #=> Time
1029
1050
  # resp.application_detail.last_update_timestamp #=> Time
@@ -1113,6 +1134,11 @@ module Aws::KinesisAnalyticsV2
1113
1134
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
1114
1135
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
1115
1136
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
1137
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
1138
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
1139
+ # resp.application_detail.application_version_updated_from #=> Integer
1140
+ # resp.application_detail.application_version_rolled_back_from #=> Integer
1141
+ # resp.application_detail.conditional_token #=> String
1116
1142
  #
1117
1143
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplication AWS API Documentation
1118
1144
  #
@@ -1123,6 +1149,62 @@ module Aws::KinesisAnalyticsV2
1123
1149
  req.send_request(options)
1124
1150
  end
1125
1151
 
1152
+ # Creates and returns a URL that you can use to connect to an
1153
+ # application's extension. Currently, the only available extension is
1154
+ # the Apache Flink dashboard.
1155
+ #
1156
+ # The IAM role or user used to call this API defines the permissions to
1157
+ # access the extension. After the presigned URL is created, no
1158
+ # additional permission is required to access this URL. IAM
1159
+ # authorization policies for this API are also enforced for every HTTP
1160
+ # request that attempts to connect to the extension.
1161
+ #
1162
+ # You control the amount of time that the URL will be valid using the
1163
+ # `SessionExpirationDurationInSeconds` parameter. If you do not provide
1164
+ # this parameter, the returned URL is valid for twelve hours.
1165
+ #
1166
+ # <note markdown="1"> The URL that you get from a call to CreateApplicationPresignedUrl must
1167
+ # be used within 3 minutes to be valid. If you first try to use the URL
1168
+ # after the 3-minute limit expires, the service returns an HTTP 403
1169
+ # Forbidden error.
1170
+ #
1171
+ # </note>
1172
+ #
1173
+ # @option params [required, String] :application_name
1174
+ # The name of the application.
1175
+ #
1176
+ # @option params [required, String] :url_type
1177
+ # The type of the extension for which to create and return a URL.
1178
+ # Currently, the only valid extension URL type is `FLINK_DASHBOARD_URL`.
1179
+ #
1180
+ # @option params [Integer] :session_expiration_duration_in_seconds
1181
+ # The duration in seconds for which the returned URL will be valid.
1182
+ #
1183
+ # @return [Types::CreateApplicationPresignedUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1184
+ #
1185
+ # * {Types::CreateApplicationPresignedUrlResponse#authorized_url #authorized_url} => String
1186
+ #
1187
+ # @example Request syntax with placeholder values
1188
+ #
1189
+ # resp = client.create_application_presigned_url({
1190
+ # application_name: "ApplicationName", # required
1191
+ # url_type: "FLINK_DASHBOARD_URL", # required, accepts FLINK_DASHBOARD_URL
1192
+ # session_expiration_duration_in_seconds: 1,
1193
+ # })
1194
+ #
1195
+ # @example Response structure
1196
+ #
1197
+ # resp.authorized_url #=> String
1198
+ #
1199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrl AWS API Documentation
1200
+ #
1201
+ # @overload create_application_presigned_url(params = {})
1202
+ # @param [Hash] params ({})
1203
+ def create_application_presigned_url(params = {}, options = {})
1204
+ req = build_request(:create_application_presigned_url, params)
1205
+ req.send_request(options)
1206
+ end
1207
+
1126
1208
  # Creates a snapshot of the application's state data.
1127
1209
  #
1128
1210
  # @option params [required, String] :application_name
@@ -1182,15 +1264,22 @@ module Aws::KinesisAnalyticsV2
1182
1264
  # @option params [required, String] :application_name
1183
1265
  # The application name.
1184
1266
  #
1185
- # @option params [required, Integer] :current_application_version_id
1186
- # The version ID of the application. You can retrieve the application
1187
- # version ID using DescribeApplication.
1267
+ # @option params [Integer] :current_application_version_id
1268
+ # The version ID of the application. You must provide the
1269
+ # `ApplicationVersionID` or the `ConditionalToken`. You can retrieve the
1270
+ # application version ID using DescribeApplication.
1188
1271
  #
1189
1272
  # @option params [required, String] :cloud_watch_logging_option_id
1190
1273
  # The `CloudWatchLoggingOptionId` of the Amazon CloudWatch logging
1191
1274
  # option to delete. You can get the `CloudWatchLoggingOptionId` by using
1192
1275
  # the DescribeApplication operation.
1193
1276
  #
1277
+ # @option params [String] :conditional_token
1278
+ # A value you use to implement strong concurrency for application
1279
+ # updates. You must provide the `ApplicationVersionID` or the
1280
+ # `ConditionalToken`. You get the application's current
1281
+ # `ConditionalToken` using DescribeApplication.
1282
+ #
1194
1283
  # @return [Types::DeleteApplicationCloudWatchLoggingOptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1195
1284
  #
1196
1285
  # * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String
@@ -1201,8 +1290,9 @@ module Aws::KinesisAnalyticsV2
1201
1290
  #
1202
1291
  # resp = client.delete_application_cloud_watch_logging_option({
1203
1292
  # application_name: "ApplicationName", # required
1204
- # current_application_version_id: 1, # required
1293
+ # current_application_version_id: 1,
1205
1294
  # cloud_watch_logging_option_id: "Id", # required
1295
+ # conditional_token: "ConditionalToken",
1206
1296
  # })
1207
1297
  #
1208
1298
  # @example Response structure
@@ -1401,13 +1491,20 @@ module Aws::KinesisAnalyticsV2
1401
1491
  # @option params [required, String] :application_name
1402
1492
  # The name of an existing application.
1403
1493
  #
1404
- # @option params [required, Integer] :current_application_version_id
1405
- # The current application version ID. You can retrieve the application
1406
- # version ID using DescribeApplication.
1494
+ # @option params [Integer] :current_application_version_id
1495
+ # The current application version ID. You must provide the
1496
+ # `ApplicationVersionID` or the `ConditionalToken`.You can retrieve the
1497
+ # application version ID using DescribeApplication.
1407
1498
  #
1408
1499
  # @option params [required, String] :vpc_configuration_id
1409
1500
  # The ID of the VPC configuration to delete.
1410
1501
  #
1502
+ # @option params [String] :conditional_token
1503
+ # A value you use to implement strong concurrency for application
1504
+ # updates. You must provide the `ApplicationVersionID` or the
1505
+ # `ConditionalToken`. You get the application's current
1506
+ # `ConditionalToken` using DescribeApplication.
1507
+ #
1411
1508
  # @return [Types::DeleteApplicationVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1412
1509
  #
1413
1510
  # * {Types::DeleteApplicationVpcConfigurationResponse#application_arn #application_arn} => String
@@ -1417,8 +1514,9 @@ module Aws::KinesisAnalyticsV2
1417
1514
  #
1418
1515
  # resp = client.delete_application_vpc_configuration({
1419
1516
  # application_name: "ApplicationName", # required
1420
- # current_application_version_id: 1, # required
1517
+ # current_application_version_id: 1,
1421
1518
  # vpc_configuration_id: "Id", # required
1519
+ # conditional_token: "ConditionalToken",
1422
1520
  # })
1423
1521
  #
1424
1522
  # @example Response structure
@@ -1464,9 +1562,9 @@ module Aws::KinesisAnalyticsV2
1464
1562
  # resp.application_detail.application_arn #=> String
1465
1563
  # resp.application_detail.application_description #=> String
1466
1564
  # resp.application_detail.application_name #=> String
1467
- # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
1565
+ # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
1468
1566
  # resp.application_detail.service_execution_role #=> String
1469
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1567
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
1470
1568
  # resp.application_detail.application_version_id #=> Integer
1471
1569
  # resp.application_detail.create_timestamp #=> Time
1472
1570
  # resp.application_detail.last_update_timestamp #=> Time
@@ -1556,6 +1654,11 @@ module Aws::KinesisAnalyticsV2
1556
1654
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
1557
1655
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
1558
1656
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
1657
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
1658
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
1659
+ # resp.application_detail.application_version_updated_from #=> Integer
1660
+ # resp.application_detail.application_version_rolled_back_from #=> Integer
1661
+ # resp.application_detail.conditional_token #=> String
1559
1662
  #
1560
1663
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplication AWS API Documentation
1561
1664
  #
@@ -1767,9 +1870,9 @@ module Aws::KinesisAnalyticsV2
1767
1870
  # resp.application_summaries #=> Array
1768
1871
  # resp.application_summaries[0].application_name #=> String
1769
1872
  # resp.application_summaries[0].application_arn #=> String
1770
- # resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
1873
+ # resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
1771
1874
  # 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"
1875
+ # resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
1773
1876
  # resp.next_token #=> String
1774
1877
  #
1775
1878
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications AWS API Documentation
@@ -1816,6 +1919,149 @@ module Aws::KinesisAnalyticsV2
1816
1919
  req.send_request(options)
1817
1920
  end
1818
1921
 
1922
+ # Reverts the application to the previous running version. You can roll
1923
+ # back an application if you suspect it is stuck in a transient status.
1924
+ #
1925
+ # You can roll back an application only if it is in the `UPDATING` or
1926
+ # `AUTOSCALING` status.
1927
+ #
1928
+ # When you rollback an application, it loads state data from the last
1929
+ # successful snapshot. If the application has no snapshots, Kinesis Data
1930
+ # Analytics rejects the rollback request.
1931
+ #
1932
+ # This action is not supported for Kinesis Data Analytics for SQL
1933
+ # applications.
1934
+ #
1935
+ # @option params [required, String] :application_name
1936
+ # The name of the application.
1937
+ #
1938
+ # @option params [required, Integer] :current_application_version_id
1939
+ # The current application version ID. You can retrieve the application
1940
+ # version ID using DescribeApplication.
1941
+ #
1942
+ # @return [Types::RollbackApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1943
+ #
1944
+ # * {Types::RollbackApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
1945
+ #
1946
+ # @example Request syntax with placeholder values
1947
+ #
1948
+ # resp = client.rollback_application({
1949
+ # application_name: "ApplicationName", # required
1950
+ # current_application_version_id: 1, # required
1951
+ # })
1952
+ #
1953
+ # @example Response structure
1954
+ #
1955
+ # resp.application_detail.application_arn #=> String
1956
+ # resp.application_detail.application_description #=> String
1957
+ # resp.application_detail.application_name #=> String
1958
+ # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
1959
+ # resp.application_detail.service_execution_role #=> String
1960
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
1961
+ # resp.application_detail.application_version_id #=> Integer
1962
+ # resp.application_detail.create_timestamp #=> Time
1963
+ # resp.application_detail.last_update_timestamp #=> Time
1964
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions #=> Array
1965
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_id #=> String
1966
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].name_prefix #=> String
1967
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names #=> Array
1968
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].in_app_stream_names[0] #=> String
1969
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
1970
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
1971
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
1972
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
1973
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
1974
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].kinesis_firehose_input_description.role_arn #=> String
1975
+ # 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"
1976
+ # 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
1977
+ # 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
1978
+ # 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
1979
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_encoding #=> String
1980
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns #=> Array
1981
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].name #=> String
1982
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].mapping #=> String
1983
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_schema.record_columns[0].sql_type #=> String
1984
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.input_descriptions[0].input_parallelism.count #=> Integer
1985
+ # 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"
1986
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions #=> Array
1987
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].output_id #=> String
1988
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].name #=> String
1989
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.resource_arn #=> String
1990
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_streams_output_description.role_arn #=> String
1991
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.resource_arn #=> String
1992
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].kinesis_firehose_output_description.role_arn #=> String
1993
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.resource_arn #=> String
1994
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].lambda_output_description.role_arn #=> String
1995
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.output_descriptions[0].destination_schema.record_format_type #=> String, one of "JSON", "CSV"
1996
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions #=> Array
1997
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_id #=> String
1998
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].table_name #=> String
1999
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.bucket_arn #=> String
2000
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.file_key #=> String
2001
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].s3_reference_data_source_description.reference_role_arn #=> String
2002
+ # 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"
2003
+ # 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
2004
+ # 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
2005
+ # 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
2006
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_encoding #=> String
2007
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns #=> Array
2008
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].name #=> String
2009
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].mapping #=> String
2010
+ # resp.application_detail.application_configuration_description.sql_application_configuration_description.reference_data_source_descriptions[0].reference_schema.record_columns[0].sql_type #=> String
2011
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_type #=> String, one of "PLAINTEXT", "ZIPFILE"
2012
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.text_content #=> String
2013
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_md5 #=> String
2014
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.code_size #=> Integer
2015
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.bucket_arn #=> String
2016
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.file_key #=> String
2017
+ # resp.application_detail.application_configuration_description.application_code_configuration_description.code_content_description.s3_application_code_location_description.object_version #=> String
2018
+ # 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"
2019
+ # resp.application_detail.application_configuration_description.run_configuration_description.application_restore_configuration_description.snapshot_name #=> String
2020
+ # resp.application_detail.application_configuration_description.run_configuration_description.flink_run_configuration_description.allow_non_restored_state #=> Boolean
2021
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
2022
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpointing_enabled #=> Boolean
2023
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.checkpoint_interval #=> Integer
2024
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.checkpoint_configuration_description.min_pause_between_checkpoints #=> Integer
2025
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
2026
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.metrics_level #=> String, one of "APPLICATION", "TASK", "OPERATOR", "PARALLELISM"
2027
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.monitoring_configuration_description.log_level #=> String, one of "INFO", "WARN", "ERROR", "DEBUG"
2028
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.configuration_type #=> String, one of "DEFAULT", "CUSTOM"
2029
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism #=> Integer
2030
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.parallelism_per_kpu #=> Integer
2031
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.current_parallelism #=> Integer
2032
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.parallelism_configuration_description.auto_scaling_enabled #=> Boolean
2033
+ # resp.application_detail.application_configuration_description.flink_application_configuration_description.job_plan_description #=> String
2034
+ # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions #=> Array
2035
+ # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_group_id #=> String
2036
+ # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash
2037
+ # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String
2038
+ # resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean
2039
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array
2040
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String
2041
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String
2042
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids #=> Array
2043
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].subnet_ids[0] #=> String
2044
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids #=> Array
2045
+ # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].security_group_ids[0] #=> String
2046
+ # resp.application_detail.cloud_watch_logging_option_descriptions #=> Array
2047
+ # resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
2048
+ # resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
2049
+ # resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
2050
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
2051
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
2052
+ # resp.application_detail.application_version_updated_from #=> Integer
2053
+ # resp.application_detail.application_version_rolled_back_from #=> Integer
2054
+ # resp.application_detail.conditional_token #=> String
2055
+ #
2056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplication AWS API Documentation
2057
+ #
2058
+ # @overload rollback_application(params = {})
2059
+ # @param [Hash] params ({})
2060
+ def rollback_application(params = {}, options = {})
2061
+ req = build_request(:rollback_application, params)
2062
+ req.send_request(options)
2063
+ end
2064
+
1819
2065
  # Starts the specified Kinesis Data Analytics application. After
1820
2066
  # creating an application, you must exclusively call this operation to
1821
2067
  # start your application.
@@ -1862,8 +2108,14 @@ module Aws::KinesisAnalyticsV2
1862
2108
  end
1863
2109
 
1864
2110
  # Stops the application from processing data. You can stop an
1865
- # application only if it is in the running state. You can use the
1866
- # DescribeApplication operation to find the application state.
2111
+ # application only if it is in the running status, unless you set the
2112
+ # `Force` parameter to `true`.
2113
+ #
2114
+ # You can use the DescribeApplication operation to find the application
2115
+ # status.
2116
+ #
2117
+ # Kinesis Data Analytics takes a snapshot when the application is
2118
+ # stopped, unless `Force` is set to `true`.
1867
2119
  #
1868
2120
  # @option params [required, String] :application_name
1869
2121
  # The name of the running application to stop.
@@ -1873,12 +2125,19 @@ module Aws::KinesisAnalyticsV2
1873
2125
  # `true`, Kinesis Data Analytics stops the application without taking a
1874
2126
  # snapshot.
1875
2127
  #
2128
+ # <note markdown="1"> Force-stopping your application may lead to data loss or duplication.
2129
+ # To prevent data loss or duplicate processing of data during
2130
+ # application restarts, we recommend you to take frequent snapshots of
2131
+ # your application.
2132
+ #
2133
+ # </note>
2134
+ #
1876
2135
  # You can only force stop a Flink-based Kinesis Data Analytics
1877
2136
  # application. You can't force stop a SQL-based Kinesis Data Analytics
1878
2137
  # application.
1879
2138
  #
1880
2139
  # The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
1881
- # `AUTOSCALING`, or `RUNNING` state.
2140
+ # `AUTOSCALING`, or `RUNNING` status.
1882
2141
  #
1883
2142
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1884
2143
  #
@@ -1984,9 +2243,10 @@ module Aws::KinesisAnalyticsV2
1984
2243
  # @option params [required, String] :application_name
1985
2244
  # The name of the application to update.
1986
2245
  #
1987
- # @option params [required, Integer] :current_application_version_id
1988
- # The current application version ID. You can retrieve the application
1989
- # version ID using DescribeApplication.
2246
+ # @option params [Integer] :current_application_version_id
2247
+ # The current application version ID. You must provide the
2248
+ # `ApplicationVersionID` or the `ConditionalToken`.You can retrieve the
2249
+ # application version ID using DescribeApplication.
1990
2250
  #
1991
2251
  # @option params [Types::ApplicationConfigurationUpdate] :application_configuration_update
1992
2252
  # Describes application configuration updates.
@@ -2003,6 +2263,12 @@ module Aws::KinesisAnalyticsV2
2003
2263
  # To add a new CloudWatch logging option, use
2004
2264
  # AddApplicationCloudWatchLoggingOption.
2005
2265
  #
2266
+ # @option params [String] :conditional_token
2267
+ # A value you use to implement strong concurrency for application
2268
+ # updates. You must provide the `ApplicationVersionID` or the
2269
+ # `ConditionalToken`. You get the application's current
2270
+ # `ConditionalToken` using DescribeApplication.
2271
+ #
2006
2272
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2007
2273
  #
2008
2274
  # * {Types::UpdateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
@@ -2011,7 +2277,7 @@ module Aws::KinesisAnalyticsV2
2011
2277
  #
2012
2278
  # resp = client.update_application({
2013
2279
  # application_name: "ApplicationName", # required
2014
- # current_application_version_id: 1, # required
2280
+ # current_application_version_id: 1,
2015
2281
  # application_configuration_update: {
2016
2282
  # sql_application_configuration_update: {
2017
2283
  # input_updates: [
@@ -2175,6 +2441,7 @@ module Aws::KinesisAnalyticsV2
2175
2441
  # log_stream_arn_update: "LogStreamARN",
2176
2442
  # },
2177
2443
  # ],
2444
+ # conditional_token: "ConditionalToken",
2178
2445
  # })
2179
2446
  #
2180
2447
  # @example Response structure
@@ -2182,9 +2449,9 @@ module Aws::KinesisAnalyticsV2
2182
2449
  # resp.application_detail.application_arn #=> String
2183
2450
  # resp.application_detail.application_description #=> String
2184
2451
  # resp.application_detail.application_name #=> String
2185
- # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8"
2452
+ # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11"
2186
2453
  # resp.application_detail.service_execution_role #=> String
2187
- # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING"
2454
+ # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "MAINTENANCE", "ROLLING_BACK"
2188
2455
  # resp.application_detail.application_version_id #=> Integer
2189
2456
  # resp.application_detail.create_timestamp #=> Time
2190
2457
  # resp.application_detail.last_update_timestamp #=> Time
@@ -2274,6 +2541,11 @@ module Aws::KinesisAnalyticsV2
2274
2541
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String
2275
2542
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String
2276
2543
  # resp.application_detail.cloud_watch_logging_option_descriptions[0].role_arn #=> String
2544
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
2545
+ # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
2546
+ # resp.application_detail.application_version_updated_from #=> Integer
2547
+ # resp.application_detail.application_version_rolled_back_from #=> Integer
2548
+ # resp.application_detail.conditional_token #=> String
2277
2549
  #
2278
2550
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication AWS API Documentation
2279
2551
  #
@@ -2284,6 +2556,51 @@ module Aws::KinesisAnalyticsV2
2284
2556
  req.send_request(options)
2285
2557
  end
2286
2558
 
2559
+ # Updates the configuration for the automatic maintenance that Kinesis
2560
+ # Data Analytics performs on the application. For information about
2561
+ # automatic application maintenance, see [Kinesis Data Analytics for
2562
+ # Apache Flink Maintenance][1].
2563
+ #
2564
+ #
2565
+ #
2566
+ # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/maintenance.html
2567
+ #
2568
+ # @option params [required, String] :application_name
2569
+ # The name of the application for which you want to update the
2570
+ # maintenance time window.
2571
+ #
2572
+ # @option params [required, Types::ApplicationMaintenanceConfigurationUpdate] :application_maintenance_configuration_update
2573
+ # Describes the application maintenance configuration update.
2574
+ #
2575
+ # @return [Types::UpdateApplicationMaintenanceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2576
+ #
2577
+ # * {Types::UpdateApplicationMaintenanceConfigurationResponse#application_arn #application_arn} => String
2578
+ # * {Types::UpdateApplicationMaintenanceConfigurationResponse#application_maintenance_configuration_description #application_maintenance_configuration_description} => Types::ApplicationMaintenanceConfigurationDescription
2579
+ #
2580
+ # @example Request syntax with placeholder values
2581
+ #
2582
+ # resp = client.update_application_maintenance_configuration({
2583
+ # application_name: "ApplicationName", # required
2584
+ # application_maintenance_configuration_update: { # required
2585
+ # application_maintenance_window_start_time_update: "ApplicationMaintenanceWindowStartTime", # required
2586
+ # },
2587
+ # })
2588
+ #
2589
+ # @example Response structure
2590
+ #
2591
+ # resp.application_arn #=> String
2592
+ # resp.application_maintenance_configuration_description.application_maintenance_window_start_time #=> String
2593
+ # resp.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String
2594
+ #
2595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationMaintenanceConfiguration AWS API Documentation
2596
+ #
2597
+ # @overload update_application_maintenance_configuration(params = {})
2598
+ # @param [Hash] params ({})
2599
+ def update_application_maintenance_configuration(params = {}, options = {})
2600
+ req = build_request(:update_application_maintenance_configuration, params)
2601
+ req.send_request(options)
2602
+ end
2603
+
2287
2604
  # @!endgroup
2288
2605
 
2289
2606
  # @param params ({})
@@ -2297,7 +2614,7 @@ module Aws::KinesisAnalyticsV2
2297
2614
  params: params,
2298
2615
  config: config)
2299
2616
  context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
2300
- context[:gem_version] = '1.23.0'
2617
+ context[:gem_version] = '1.28.0'
2301
2618
  Seahorse::Client::Request.new(handlers, context)
2302
2619
  end
2303
2620