aws-sdk-kinesisanalyticsv2 1.3.0 → 1.4.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
  SHA1:
3
- metadata.gz: 3fcf0dc1cf1c7b7c683ce0083e17c7b441cfff34
4
- data.tar.gz: 94de67798f13f1dedaabc7253e598141b4a30908
3
+ metadata.gz: 2d07f86762c2e9521539593f7afa39622c97453e
4
+ data.tar.gz: e5856264ff32d755e79242ac15c53c959d331d77
5
5
  SHA512:
6
- metadata.gz: 27da01df2d4e37e0dc3cdf681dd6a1b04be49dceb80ae0644cc9da394b1708baeeb0ce4980283ce5e2e5a8664467156eddb4f4d9f296dbcdaa5d2421f1fa4d4a
7
- data.tar.gz: defaa4777d120c46978f72a8a943c3abffb6824749be702322d2211f7f943a5d00ab921fd3b36a020897aabe4ae343460c02f16a1c63b72e460430e76a72cd85
6
+ metadata.gz: 188f923b357b6a0f2bc7457ce611f8b15c2e0205f4b0196b1edcd8f0edad4a40a16978de3aee74fa73fd1028eee072bf941387a976dfd72f411cae8a9d76f7f4
7
+ data.tar.gz: 830fd1578ea7e63f3403a048660d1e6798550796a411c2bf414c88d8b11e796b94f636e6d1e2824c8947c5dbad84ced2123012f1f845af67797911bc1923fdaa
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kinesisanalyticsv2/customizations'
42
42
  # @service
43
43
  module Aws::KinesisAnalyticsV2
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -209,6 +209,49 @@ module Aws::KinesisAnalyticsV2
209
209
  # When `true`, request parameters are validated before
210
210
  # sending the request.
211
211
  #
212
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
213
+ # requests through. Formatted like 'http://proxy.com:123'.
214
+ #
215
+ # @option options [Float] :http_open_timeout (15) The number of
216
+ # seconds to wait when opening a HTTP session before rasing a
217
+ # `Timeout::Error`.
218
+ #
219
+ # @option options [Integer] :http_read_timeout (60) The default
220
+ # number of seconds to wait for response data. This value can
221
+ # safely be set
222
+ # per-request on the session yeidled by {#session_for}.
223
+ #
224
+ # @option options [Float] :http_idle_timeout (5) The number of
225
+ # seconds a connection is allowed to sit idble before it is
226
+ # considered stale. Stale connections are closed and removed
227
+ # from the pool before making a request.
228
+ #
229
+ # @option options [Float] :http_continue_timeout (1) The number of
230
+ # seconds to wait for a 100-continue response before sending the
231
+ # request body. This option has no effect unless the request has
232
+ # "Expect" header set to "100-continue". Defaults to `nil` which
233
+ # disables this behaviour. This value can safely be set per
234
+ # request on the session yeidled by {#session_for}.
235
+ #
236
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
237
+ # HTTP debug output will be sent to the `:logger`.
238
+ #
239
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
240
+ # SSL peer certificates are verified when establishing a
241
+ # connection.
242
+ #
243
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
244
+ # certificate authority bundle file that should be used when
245
+ # verifying peer certificates. If you do not pass
246
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
247
+ # will be used if available.
248
+ #
249
+ # @option options [String] :ssl_ca_directory Full path of the
250
+ # directory that contains the unbundled SSL certificate
251
+ # authority files for verifying peer certificates. If you do
252
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
253
+ # system default will be used if available.
254
+ #
212
255
  def initialize(*args)
213
256
  super
214
257
  end
@@ -628,14 +671,9 @@ module Aws::KinesisAnalyticsV2
628
671
  # about creating a Kinesis Data Analytics application, see [Creating an
629
672
  # Application][1].
630
673
  #
631
- # <note markdown="1"> SQL is not enabled for this private beta release. Using SQL parameters
632
- # (such as SqlApplicationConfiguration) will result in an error.
633
- #
634
- # </note>
635
674
  #
636
675
  #
637
- #
638
- # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/Java/creating-app.html
676
+ # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html
639
677
  #
640
678
  # @option params [required, String] :application_name
641
679
  # The name of your application (for example, `sample-app`).
@@ -645,7 +683,7 @@ module Aws::KinesisAnalyticsV2
645
683
  #
646
684
  # @option params [required, String] :runtime_environment
647
685
  # The runtime environment for the application (`SQL-1.0` or
648
- # `JAVA-8-FLINK-1.5`).
686
+ # `FLINK-1_6`).
649
687
  #
650
688
  # @option params [required, String] :service_execution_role
651
689
  # The IAM role used by the application to access Kinesis data streams,
@@ -659,6 +697,18 @@ module Aws::KinesisAnalyticsV2
659
697
  # Use this parameter to configure an Amazon CloudWatch log stream to
660
698
  # monitor application configuration errors.
661
699
  #
700
+ # @option params [Array<Types::Tag>] :tags
701
+ # A list of one or more tags to assign to the application. A tag is a
702
+ # key-value pair that identifies an application. Note that the maximum
703
+ # number of application tags includes system tags. The maximum number of
704
+ # user-defined application tags is 50. For more information, see [Using
705
+ # Cost Allocation Tags][1] in the *AWS Billing and Cost Management
706
+ # Guide*.
707
+ #
708
+ #
709
+ #
710
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
711
+ #
662
712
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
663
713
  #
664
714
  # * {Types::CreateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail
@@ -812,6 +862,12 @@ module Aws::KinesisAnalyticsV2
812
862
  # log_stream_arn: "LogStreamARN", # required
813
863
  # },
814
864
  # ],
865
+ # tags: [
866
+ # {
867
+ # key: "TagKey", # required
868
+ # value: "TagValue",
869
+ # },
870
+ # ],
815
871
  # })
816
872
  #
817
873
  # @example Response structure
@@ -1525,15 +1581,40 @@ module Aws::KinesisAnalyticsV2
1525
1581
  req.send_request(options)
1526
1582
  end
1527
1583
 
1584
+ # Retrieves the list of key-value tags assigned to the application.
1585
+ #
1586
+ # @option params [required, String] :resource_arn
1587
+ # The ARN of the application for which to retrieve tags.
1588
+ #
1589
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1590
+ #
1591
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1592
+ #
1593
+ # @example Request syntax with placeholder values
1594
+ #
1595
+ # resp = client.list_tags_for_resource({
1596
+ # resource_arn: "KinesisAnalyticsARN", # required
1597
+ # })
1598
+ #
1599
+ # @example Response structure
1600
+ #
1601
+ # resp.tags #=> Array
1602
+ # resp.tags[0].key #=> String
1603
+ # resp.tags[0].value #=> String
1604
+ #
1605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListTagsForResource AWS API Documentation
1606
+ #
1607
+ # @overload list_tags_for_resource(params = {})
1608
+ # @param [Hash] params ({})
1609
+ def list_tags_for_resource(params = {}, options = {})
1610
+ req = build_request(:list_tags_for_resource, params)
1611
+ req.send_request(options)
1612
+ end
1613
+
1528
1614
  # Starts the specified Amazon Kinesis Data Analytics application. After
1529
1615
  # creating an application, you must exclusively call this operation to
1530
1616
  # start your application.
1531
1617
  #
1532
- # <note markdown="1"> SQL is not enabled for this private beta. Using SQL parameters (such
1533
- # as RunConfiguration$SqlRunConfigurations) will result in an error.
1534
- #
1535
- # </note>
1536
- #
1537
1618
  # @option params [required, String] :application_name
1538
1619
  # The name of the application.
1539
1620
  #
@@ -1596,6 +1677,66 @@ module Aws::KinesisAnalyticsV2
1596
1677
  req.send_request(options)
1597
1678
  end
1598
1679
 
1680
+ # Adds one or more key-value tags to a Kinesis Analytics application.
1681
+ # Note that the maximum number of application tags includes system tags.
1682
+ # The maximum number of user-defined application tags is 50.
1683
+ #
1684
+ # @option params [required, String] :resource_arn
1685
+ # The ARN of the application to assign the tags.
1686
+ #
1687
+ # @option params [required, Array<Types::Tag>] :tags
1688
+ # The key-value tags to assign to the application.
1689
+ #
1690
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1691
+ #
1692
+ # @example Request syntax with placeholder values
1693
+ #
1694
+ # resp = client.tag_resource({
1695
+ # resource_arn: "KinesisAnalyticsARN", # required
1696
+ # tags: [ # required
1697
+ # {
1698
+ # key: "TagKey", # required
1699
+ # value: "TagValue",
1700
+ # },
1701
+ # ],
1702
+ # })
1703
+ #
1704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/TagResource AWS API Documentation
1705
+ #
1706
+ # @overload tag_resource(params = {})
1707
+ # @param [Hash] params ({})
1708
+ def tag_resource(params = {}, options = {})
1709
+ req = build_request(:tag_resource, params)
1710
+ req.send_request(options)
1711
+ end
1712
+
1713
+ # Removes one or more tags from a Kinesis Analytics application.
1714
+ #
1715
+ # @option params [required, String] :resource_arn
1716
+ # The ARN of the Kinesis Analytics application from which to remove the
1717
+ # tags.
1718
+ #
1719
+ # @option params [required, Array<String>] :tag_keys
1720
+ # A list of keys of tags to remove from the specified application.
1721
+ #
1722
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1723
+ #
1724
+ # @example Request syntax with placeholder values
1725
+ #
1726
+ # resp = client.untag_resource({
1727
+ # resource_arn: "KinesisAnalyticsARN", # required
1728
+ # tag_keys: ["TagKey"], # required
1729
+ # })
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UntagResource AWS API Documentation
1732
+ #
1733
+ # @overload untag_resource(params = {})
1734
+ # @param [Hash] params ({})
1735
+ def untag_resource(params = {}, options = {})
1736
+ req = build_request(:untag_resource, params)
1737
+ req.send_request(options)
1738
+ end
1739
+
1599
1740
  # Updates an existing Amazon Kinesis Data Analytics application. Using
1600
1741
  # this operation, you can update application code, input configuration,
1601
1742
  # and output configuration.
@@ -1603,11 +1744,6 @@ module Aws::KinesisAnalyticsV2
1603
1744
  # Kinesis Data Analytics updates the `ApplicationVersionId` each time
1604
1745
  # you update your application.
1605
1746
  #
1606
- # <note markdown="1"> SQL is not enabled for this private beta. Using SQL parameters (such
1607
- # as SqlApplicationConfigurationUpdate) will result in an error.
1608
- #
1609
- # </note>
1610
- #
1611
1747
  # @option params [required, String] :application_name
1612
1748
  # The name of the application to update.
1613
1749
  #
@@ -1906,7 +2042,7 @@ module Aws::KinesisAnalyticsV2
1906
2042
  params: params,
1907
2043
  config: config)
1908
2044
  context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
1909
- context[:gem_version] = '1.3.0'
2045
+ context[:gem_version] = '1.4.0'
1910
2046
  Seahorse::Client::Request.new(handlers, context)
1911
2047
  end
1912
2048
 
@@ -119,6 +119,7 @@ module Aws::KinesisAnalyticsV2
119
119
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
120
120
  JSONMappingParameters = Shapes::StructureShape.new(name: 'JSONMappingParameters')
121
121
  JobPlanDescription = Shapes::StringShape.new(name: 'JobPlanDescription')
122
+ KinesisAnalyticsARN = Shapes::StringShape.new(name: 'KinesisAnalyticsARN')
122
123
  KinesisFirehoseInput = Shapes::StructureShape.new(name: 'KinesisFirehoseInput')
123
124
  KinesisFirehoseInputDescription = Shapes::StructureShape.new(name: 'KinesisFirehoseInputDescription')
124
125
  KinesisFirehoseInputUpdate = Shapes::StructureShape.new(name: 'KinesisFirehoseInputUpdate')
@@ -141,6 +142,8 @@ module Aws::KinesisAnalyticsV2
141
142
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
142
143
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
143
144
  ListSnapshotsInputLimit = Shapes::IntegerShape.new(name: 'ListSnapshotsInputLimit')
145
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
146
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
144
147
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
145
148
  LogStreamARN = Shapes::StringShape.new(name: 'LogStreamARN')
146
149
  MappingParameters = Shapes::StructureShape.new(name: 'MappingParameters')
@@ -222,10 +225,20 @@ module Aws::KinesisAnalyticsV2
222
225
  StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
223
226
  StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest')
224
227
  StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse')
228
+ Tag = Shapes::StructureShape.new(name: 'Tag')
229
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
230
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
231
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
232
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
233
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
234
+ Tags = Shapes::ListShape.new(name: 'Tags')
225
235
  TextContent = Shapes::StringShape.new(name: 'TextContent')
226
236
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
237
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
227
238
  UnableToDetectSchemaException = Shapes::StructureShape.new(name: 'UnableToDetectSchemaException')
228
239
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
240
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
241
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
229
242
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
230
243
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
231
244
  ZipFileContent = Shapes::BlobShape.new(name: 'ZipFileContent')
@@ -413,6 +426,7 @@ module Aws::KinesisAnalyticsV2
413
426
  CreateApplicationRequest.add_member(:service_execution_role, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "ServiceExecutionRole"))
414
427
  CreateApplicationRequest.add_member(:application_configuration, Shapes::ShapeRef.new(shape: ApplicationConfiguration, location_name: "ApplicationConfiguration"))
415
428
  CreateApplicationRequest.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
429
+ CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
416
430
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
417
431
 
418
432
  CreateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
@@ -668,6 +682,12 @@ module Aws::KinesisAnalyticsV2
668
682
  ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "NextToken"))
669
683
  ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
670
684
 
685
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: KinesisAnalyticsARN, required: true, location_name: "ResourceARN"))
686
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
687
+
688
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
689
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
690
+
671
691
  MappingParameters.add_member(:json_mapping_parameters, Shapes::ShapeRef.new(shape: JSONMappingParameters, location_name: "JSONMappingParameters"))
672
692
  MappingParameters.add_member(:csv_mapping_parameters, Shapes::ShapeRef.new(shape: CSVMappingParameters, location_name: "CSVMappingParameters"))
673
693
  MappingParameters.struct_class = Types::MappingParameters
@@ -873,6 +893,26 @@ module Aws::KinesisAnalyticsV2
873
893
 
874
894
  StopApplicationResponse.struct_class = Types::StopApplicationResponse
875
895
 
896
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
897
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
898
+ Tag.struct_class = Types::Tag
899
+
900
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
901
+
902
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: KinesisAnalyticsARN, required: true, location_name: "ResourceARN"))
903
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
904
+ TagResourceRequest.struct_class = Types::TagResourceRequest
905
+
906
+ TagResourceResponse.struct_class = Types::TagResourceResponse
907
+
908
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
909
+
910
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: KinesisAnalyticsARN, required: true, location_name: "ResourceARN"))
911
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
912
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
913
+
914
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
915
+
876
916
  UpdateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
877
917
  UpdateApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
878
918
  UpdateApplicationRequest.add_member(:application_configuration_update, Shapes::ShapeRef.new(shape: ApplicationConfigurationUpdate, location_name: "ApplicationConfigurationUpdate"))
@@ -915,6 +955,7 @@ module Aws::KinesisAnalyticsV2
915
955
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
916
956
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
917
957
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
918
959
  end)
919
960
 
920
961
  api.add_operation(:add_application_input, Seahorse::Model::Operation.new.tap do |o|
@@ -981,6 +1022,8 @@ module Aws::KinesisAnalyticsV2
981
1022
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
982
1023
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
983
1024
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
984
1027
  end)
985
1028
 
986
1029
  api.add_operation(:create_application_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -1008,6 +1051,7 @@ module Aws::KinesisAnalyticsV2
1008
1051
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1009
1052
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1010
1053
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1011
1055
  end)
1012
1056
 
1013
1057
  api.add_operation(:delete_application_cloud_watch_logging_option, Seahorse::Model::Operation.new.tap do |o|
@@ -1021,6 +1065,7 @@ module Aws::KinesisAnalyticsV2
1021
1065
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1022
1066
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1023
1067
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1024
1069
  end)
1025
1070
 
1026
1071
  api.add_operation(:delete_application_input_processing_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1129,6 +1174,17 @@ module Aws::KinesisAnalyticsV2
1129
1174
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1130
1175
  end)
1131
1176
 
1177
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1178
+ o.name = "ListTagsForResource"
1179
+ o.http_method = "POST"
1180
+ o.http_request_uri = "/"
1181
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1182
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1183
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1185
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1186
+ end)
1187
+
1132
1188
  api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o|
1133
1189
  o.name = "StartApplication"
1134
1190
  o.http_method = "POST"
@@ -1152,6 +1208,33 @@ module Aws::KinesisAnalyticsV2
1152
1208
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1153
1209
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1154
1210
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1212
+ end)
1213
+
1214
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1215
+ o.name = "TagResource"
1216
+ o.http_method = "POST"
1217
+ o.http_request_uri = "/"
1218
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1219
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1220
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1221
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1223
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1224
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1225
+ end)
1226
+
1227
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1228
+ o.name = "UntagResource"
1229
+ o.http_method = "POST"
1230
+ o.http_request_uri = "/"
1231
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1232
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1233
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1234
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1235
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1236
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1155
1238
  end)
1156
1239
 
1157
1240
  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
@@ -1166,6 +1249,7 @@ module Aws::KinesisAnalyticsV2
1166
1249
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1167
1250
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1168
1251
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1169
1253
  end)
1170
1254
  end
1171
1255
 
@@ -301,7 +301,7 @@ module Aws::KinesisAnalyticsV2
301
301
  #
302
302
  #
303
303
  #
304
- # [1]: http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html
304
+ # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html
305
305
  # @return [Array<Types::OutputDescription>]
306
306
  #
307
307
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationOutputResponse AWS API Documentation
@@ -915,7 +915,7 @@ module Aws::KinesisAnalyticsV2
915
915
  #
916
916
  # @!attribute [rw] runtime_environment
917
917
  # The runtime environment for the application (`SQL-1.0` or
918
- # `JAVA-8-FLINK-1.5`).
918
+ # `FLINK-1_6`).
919
919
  # @return [String]
920
920
  #
921
921
  # @!attribute [rw] service_execution_role
@@ -1077,7 +1077,7 @@ module Aws::KinesisAnalyticsV2
1077
1077
  #
1078
1078
  # @!attribute [rw] runtime_environment
1079
1079
  # The runtime environment for the application (`SQL-1.0` or
1080
- # `JAVA-8-FLINK-1.5`).
1080
+ # `FLINK-1_6`).
1081
1081
  # @return [String]
1082
1082
  #
1083
1083
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSummary AWS API Documentation
@@ -1600,6 +1600,12 @@ module Aws::KinesisAnalyticsV2
1600
1600
  # log_stream_arn: "LogStreamARN", # required
1601
1601
  # },
1602
1602
  # ],
1603
+ # tags: [
1604
+ # {
1605
+ # key: "TagKey", # required
1606
+ # value: "TagValue",
1607
+ # },
1608
+ # ],
1603
1609
  # }
1604
1610
  #
1605
1611
  # @!attribute [rw] application_name
@@ -1612,7 +1618,7 @@ module Aws::KinesisAnalyticsV2
1612
1618
  #
1613
1619
  # @!attribute [rw] runtime_environment
1614
1620
  # The runtime environment for the application (`SQL-1.0` or
1615
- # `JAVA-8-FLINK-1.5`).
1621
+ # `FLINK-1_6`).
1616
1622
  # @return [String]
1617
1623
  #
1618
1624
  # @!attribute [rw] service_execution_role
@@ -1630,6 +1636,19 @@ module Aws::KinesisAnalyticsV2
1630
1636
  # monitor application configuration errors.
1631
1637
  # @return [Array<Types::CloudWatchLoggingOption>]
1632
1638
  #
1639
+ # @!attribute [rw] tags
1640
+ # A list of one or more tags to assign to the application. A tag is a
1641
+ # key-value pair that identifies an application. Note that the maximum
1642
+ # number of application tags includes system tags. The maximum number
1643
+ # of user-defined application tags is 50. For more information, see
1644
+ # [Using Cost Allocation Tags][1] in the *AWS Billing and Cost
1645
+ # Management Guide*.
1646
+ #
1647
+ #
1648
+ #
1649
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
1650
+ # @return [Array<Types::Tag>]
1651
+ #
1633
1652
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationRequest AWS API Documentation
1634
1653
  #
1635
1654
  class CreateApplicationRequest < Struct.new(
@@ -1638,7 +1657,8 @@ module Aws::KinesisAnalyticsV2
1638
1657
  :runtime_environment,
1639
1658
  :service_execution_role,
1640
1659
  :application_configuration,
1641
- :cloud_watch_logging_options)
1660
+ :cloud_watch_logging_options,
1661
+ :tags)
1642
1662
  include Aws::Structure
1643
1663
  end
1644
1664
 
@@ -2538,6 +2558,13 @@ module Aws::KinesisAnalyticsV2
2538
2558
  # @!attribute [rw] resource_arn
2539
2559
  # The ARN of the AWS Lambda function that operates on records in the
2540
2560
  # stream.
2561
+ #
2562
+ # <note markdown="1"> To specify an earlier version of the Lambda function than the
2563
+ # latest, include the Lambda function version in the Lambda function
2564
+ # ARN. For more information about Lambda ARNs, see [Example ARNs: AWS
2565
+ # Lambda](/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda)
2566
+ #
2567
+ # </note>
2541
2568
  # @return [String]
2542
2569
  #
2543
2570
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputLambdaProcessor AWS API Documentation
@@ -2554,6 +2581,13 @@ module Aws::KinesisAnalyticsV2
2554
2581
  # @!attribute [rw] resource_arn
2555
2582
  # The ARN of the AWS Lambda function that is used to preprocess the
2556
2583
  # records in the stream.
2584
+ #
2585
+ # <note markdown="1"> To specify an earlier version of the Lambda function than the
2586
+ # latest, include the Lambda function version in the Lambda function
2587
+ # ARN. For more information about Lambda ARNs, see [Example ARNs: AWS
2588
+ # Lambda](/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda)
2589
+ #
2590
+ # </note>
2557
2591
  # @return [String]
2558
2592
  #
2559
2593
  # @!attribute [rw] role_arn
@@ -2589,6 +2623,13 @@ module Aws::KinesisAnalyticsV2
2589
2623
  # @!attribute [rw] resource_arn_update
2590
2624
  # The Amazon Resource Name (ARN) of the new AWS Lambda function that
2591
2625
  # is used to preprocess the records in the stream.
2626
+ #
2627
+ # <note markdown="1"> To specify an earlier version of the Lambda function than the
2628
+ # latest, include the Lambda function version in the Lambda function
2629
+ # ARN. For more information about Lambda ARNs, see [Example ARNs: AWS
2630
+ # Lambda](/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda)
2631
+ #
2632
+ # </note>
2592
2633
  # @return [String]
2593
2634
  #
2594
2635
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputLambdaProcessorUpdate AWS API Documentation
@@ -3222,6 +3263,13 @@ module Aws::KinesisAnalyticsV2
3222
3263
  # @!attribute [rw] resource_arn
3223
3264
  # The Amazon Resource Name (ARN) of the destination Lambda function to
3224
3265
  # write to.
3266
+ #
3267
+ # <note markdown="1"> To specify an earlier version of the Lambda function than the
3268
+ # latest, include the Lambda function version in the Lambda function
3269
+ # ARN. For more information about Lambda ARNs, see [Example ARNs: AWS
3270
+ # Lambda](/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda)
3271
+ #
3272
+ # </note>
3225
3273
  # @return [String]
3226
3274
  #
3227
3275
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/LambdaOutput AWS API Documentation
@@ -3273,6 +3321,13 @@ module Aws::KinesisAnalyticsV2
3273
3321
  # @!attribute [rw] resource_arn_update
3274
3322
  # The Amazon Resource Name (ARN) of the destination AWS Lambda
3275
3323
  # function.
3324
+ #
3325
+ # <note markdown="1"> To specify an earlier version of the Lambda function than the
3326
+ # latest, include the Lambda function version in the Lambda function
3327
+ # ARN. For more information about Lambda ARNs, see [Example ARNs: AWS
3328
+ # Lambda](/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda)
3329
+ #
3330
+ # </note>
3276
3331
  # @return [String]
3277
3332
  #
3278
3333
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/LambdaOutputUpdate AWS API Documentation
@@ -3388,6 +3443,35 @@ module Aws::KinesisAnalyticsV2
3388
3443
  include Aws::Structure
3389
3444
  end
3390
3445
 
3446
+ # @note When making an API call, you may pass ListTagsForResourceRequest
3447
+ # data as a hash:
3448
+ #
3449
+ # {
3450
+ # resource_arn: "KinesisAnalyticsARN", # required
3451
+ # }
3452
+ #
3453
+ # @!attribute [rw] resource_arn
3454
+ # The ARN of the application for which to retrieve tags.
3455
+ # @return [String]
3456
+ #
3457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListTagsForResourceRequest AWS API Documentation
3458
+ #
3459
+ class ListTagsForResourceRequest < Struct.new(
3460
+ :resource_arn)
3461
+ include Aws::Structure
3462
+ end
3463
+
3464
+ # @!attribute [rw] tags
3465
+ # The key-value tags assigned to the application.
3466
+ # @return [Array<Types::Tag>]
3467
+ #
3468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListTagsForResourceResponse AWS API Documentation
3469
+ #
3470
+ class ListTagsForResourceResponse < Struct.new(
3471
+ :tags)
3472
+ include Aws::Structure
3473
+ end
3474
+
3391
3475
  # When you configure an SQL-based Amazon Kinesis Data Analytics
3392
3476
  # application's input at the time of creating or updating an
3393
3477
  # application, provides additional mapping information specific to the
@@ -3431,7 +3515,7 @@ module Aws::KinesisAnalyticsV2
3431
3515
  #
3432
3516
  #
3433
3517
  #
3434
- # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/Java/monitoring-overview.html
3518
+ # [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/monitoring-overview.html
3435
3519
  #
3436
3520
  # @note When making an API call, you may pass MonitoringConfiguration
3437
3521
  # data as a hash:
@@ -3889,7 +3973,7 @@ module Aws::KinesisAnalyticsV2
3889
3973
  # @return [String]
3890
3974
  #
3891
3975
  # @!attribute [rw] mapping
3892
- # A reference to the data element in the streaming input of the
3976
+ # A reference to the data element in the streaming input or the
3893
3977
  # reference data source.
3894
3978
  # @return [String]
3895
3979
  #
@@ -4863,6 +4947,104 @@ module Aws::KinesisAnalyticsV2
4863
4947
  #
4864
4948
  class StopApplicationResponse < Aws::EmptyStructure; end
4865
4949
 
4950
+ # A key-value pair (the value is optional) that you can define and
4951
+ # assign to AWS resources. If you specify a tag that already exists, the
4952
+ # tag value is replaced with the value that you specify in the request.
4953
+ # Note that the maximum number of application tags includes system tags.
4954
+ # The maximum number of user-defined application tags is 50. For more
4955
+ # information, see [Using Cost Allocation Tags][1] in the *AWS Billing
4956
+ # and Cost Management Guide*.
4957
+ #
4958
+ #
4959
+ #
4960
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
4961
+ #
4962
+ # @note When making an API call, you may pass Tag
4963
+ # data as a hash:
4964
+ #
4965
+ # {
4966
+ # key: "TagKey", # required
4967
+ # value: "TagValue",
4968
+ # }
4969
+ #
4970
+ # @!attribute [rw] key
4971
+ # The key of the key-value tag.
4972
+ # @return [String]
4973
+ #
4974
+ # @!attribute [rw] value
4975
+ # The value of the key-value tag. The value is optional.
4976
+ # @return [String]
4977
+ #
4978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/Tag AWS API Documentation
4979
+ #
4980
+ class Tag < Struct.new(
4981
+ :key,
4982
+ :value)
4983
+ include Aws::Structure
4984
+ end
4985
+
4986
+ # @note When making an API call, you may pass TagResourceRequest
4987
+ # data as a hash:
4988
+ #
4989
+ # {
4990
+ # resource_arn: "KinesisAnalyticsARN", # required
4991
+ # tags: [ # required
4992
+ # {
4993
+ # key: "TagKey", # required
4994
+ # value: "TagValue",
4995
+ # },
4996
+ # ],
4997
+ # }
4998
+ #
4999
+ # @!attribute [rw] resource_arn
5000
+ # The ARN of the application to assign the tags.
5001
+ # @return [String]
5002
+ #
5003
+ # @!attribute [rw] tags
5004
+ # The key-value tags to assign to the application.
5005
+ # @return [Array<Types::Tag>]
5006
+ #
5007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/TagResourceRequest AWS API Documentation
5008
+ #
5009
+ class TagResourceRequest < Struct.new(
5010
+ :resource_arn,
5011
+ :tags)
5012
+ include Aws::Structure
5013
+ end
5014
+
5015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/TagResourceResponse AWS API Documentation
5016
+ #
5017
+ class TagResourceResponse < Aws::EmptyStructure; end
5018
+
5019
+ # @note When making an API call, you may pass UntagResourceRequest
5020
+ # data as a hash:
5021
+ #
5022
+ # {
5023
+ # resource_arn: "KinesisAnalyticsARN", # required
5024
+ # tag_keys: ["TagKey"], # required
5025
+ # }
5026
+ #
5027
+ # @!attribute [rw] resource_arn
5028
+ # The ARN of the Kinesis Analytics application from which to remove
5029
+ # the tags.
5030
+ # @return [String]
5031
+ #
5032
+ # @!attribute [rw] tag_keys
5033
+ # A list of keys of tags to remove from the specified application.
5034
+ # @return [Array<String>]
5035
+ #
5036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UntagResourceRequest AWS API Documentation
5037
+ #
5038
+ class UntagResourceRequest < Struct.new(
5039
+ :resource_arn,
5040
+ :tag_keys)
5041
+ include Aws::Structure
5042
+ end
5043
+
5044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UntagResourceResponse AWS API Documentation
5045
+ #
5046
+ class UntagResourceResponse < Aws::EmptyStructure; end
5047
+
4866
5048
  # @note When making an API call, you may pass UpdateApplicationRequest
4867
5049
  # data as a hash:
4868
5050
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesisanalyticsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -59,7 +59,7 @@ files:
59
59
  - lib/aws-sdk-kinesisanalyticsv2/errors.rb
60
60
  - lib/aws-sdk-kinesisanalyticsv2/resource.rb
61
61
  - lib/aws-sdk-kinesisanalyticsv2/types.rb
62
- homepage: http://github.com/aws/aws-sdk-ruby
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
63
  licenses:
64
64
  - Apache-2.0
65
65
  metadata: