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.
@@ -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
 
@@ -33,6 +33,10 @@ module Aws::KinesisAnalyticsV2
33
33
  ApplicationConfigurationUpdate = Shapes::StructureShape.new(name: 'ApplicationConfigurationUpdate')
34
34
  ApplicationDescription = Shapes::StringShape.new(name: 'ApplicationDescription')
35
35
  ApplicationDetail = Shapes::StructureShape.new(name: 'ApplicationDetail')
36
+ ApplicationMaintenanceConfigurationDescription = Shapes::StructureShape.new(name: 'ApplicationMaintenanceConfigurationDescription')
37
+ ApplicationMaintenanceConfigurationUpdate = Shapes::StructureShape.new(name: 'ApplicationMaintenanceConfigurationUpdate')
38
+ ApplicationMaintenanceWindowEndTime = Shapes::StringShape.new(name: 'ApplicationMaintenanceWindowEndTime')
39
+ ApplicationMaintenanceWindowStartTime = Shapes::StringShape.new(name: 'ApplicationMaintenanceWindowStartTime')
36
40
  ApplicationName = Shapes::StringShape.new(name: 'ApplicationName')
37
41
  ApplicationRestoreConfiguration = Shapes::StructureShape.new(name: 'ApplicationRestoreConfiguration')
38
42
  ApplicationRestoreType = Shapes::StringShape.new(name: 'ApplicationRestoreType')
@@ -43,6 +47,7 @@ module Aws::KinesisAnalyticsV2
43
47
  ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries')
44
48
  ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
45
49
  ApplicationVersionId = Shapes::IntegerShape.new(name: 'ApplicationVersionId')
50
+ AuthorizedUrl = Shapes::StringShape.new(name: 'AuthorizedUrl')
46
51
  BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
47
52
  BucketARN = Shapes::StringShape.new(name: 'BucketARN')
48
53
  CSVMappingParameters = Shapes::StructureShape.new(name: 'CSVMappingParameters')
@@ -64,7 +69,10 @@ module Aws::KinesisAnalyticsV2
64
69
  CodeSize = Shapes::IntegerShape.new(name: 'CodeSize')
65
70
  CodeValidationException = Shapes::StructureShape.new(name: 'CodeValidationException')
66
71
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
72
+ ConditionalToken = Shapes::StringShape.new(name: 'ConditionalToken')
67
73
  ConfigurationType = Shapes::StringShape.new(name: 'ConfigurationType')
74
+ CreateApplicationPresignedUrlRequest = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlRequest')
75
+ CreateApplicationPresignedUrlResponse = Shapes::StructureShape.new(name: 'CreateApplicationPresignedUrlResponse')
68
76
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
69
77
  CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
70
78
  CreateApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'CreateApplicationSnapshotRequest')
@@ -206,6 +214,8 @@ module Aws::KinesisAnalyticsV2
206
214
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
207
215
  ResourceProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ResourceProvisionedThroughputExceededException')
208
216
  RoleARN = Shapes::StringShape.new(name: 'RoleARN')
217
+ RollbackApplicationRequest = Shapes::StructureShape.new(name: 'RollbackApplicationRequest')
218
+ RollbackApplicationResponse = Shapes::StructureShape.new(name: 'RollbackApplicationResponse')
209
219
  RunConfiguration = Shapes::StructureShape.new(name: 'RunConfiguration')
210
220
  RunConfigurationDescription = Shapes::StructureShape.new(name: 'RunConfigurationDescription')
211
221
  RunConfigurationUpdate = Shapes::StructureShape.new(name: 'RunConfigurationUpdate')
@@ -220,6 +230,7 @@ module Aws::KinesisAnalyticsV2
220
230
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
221
231
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
222
232
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
233
+ SessionExpirationDurationInSeconds = Shapes::IntegerShape.new(name: 'SessionExpirationDurationInSeconds')
223
234
  SnapshotDetails = Shapes::StructureShape.new(name: 'SnapshotDetails')
224
235
  SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
225
236
  SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
@@ -250,8 +261,11 @@ module Aws::KinesisAnalyticsV2
250
261
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
251
262
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
252
263
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
264
+ UpdateApplicationMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationMaintenanceConfigurationRequest')
265
+ UpdateApplicationMaintenanceConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationMaintenanceConfigurationResponse')
253
266
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
254
267
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
268
+ UrlType = Shapes::StringShape.new(name: 'UrlType')
255
269
  VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
256
270
  VpcConfigurationDescription = Shapes::StructureShape.new(name: 'VpcConfigurationDescription')
257
271
  VpcConfigurationDescriptions = Shapes::ListShape.new(name: 'VpcConfigurationDescriptions')
@@ -262,8 +276,9 @@ module Aws::KinesisAnalyticsV2
262
276
  ZipFileContent = Shapes::BlobShape.new(name: 'ZipFileContent')
263
277
 
264
278
  AddApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
265
- AddApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
279
+ AddApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
266
280
  AddApplicationCloudWatchLoggingOptionRequest.add_member(:cloud_watch_logging_option, Shapes::ShapeRef.new(shape: CloudWatchLoggingOption, required: true, location_name: "CloudWatchLoggingOption"))
281
+ AddApplicationCloudWatchLoggingOptionRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
267
282
  AddApplicationCloudWatchLoggingOptionRequest.struct_class = Types::AddApplicationCloudWatchLoggingOptionRequest
268
283
 
269
284
  AddApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
@@ -314,8 +329,9 @@ module Aws::KinesisAnalyticsV2
314
329
  AddApplicationReferenceDataSourceResponse.struct_class = Types::AddApplicationReferenceDataSourceResponse
315
330
 
316
331
  AddApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
317
- AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
332
+ AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
318
333
  AddApplicationVpcConfigurationRequest.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
334
+ AddApplicationVpcConfigurationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
319
335
  AddApplicationVpcConfigurationRequest.struct_class = Types::AddApplicationVpcConfigurationRequest
320
336
 
321
337
  AddApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
@@ -371,8 +387,19 @@ module Aws::KinesisAnalyticsV2
371
387
  ApplicationDetail.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTimestamp"))
372
388
  ApplicationDetail.add_member(:application_configuration_description, Shapes::ShapeRef.new(shape: ApplicationConfigurationDescription, location_name: "ApplicationConfigurationDescription"))
373
389
  ApplicationDetail.add_member(:cloud_watch_logging_option_descriptions, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionDescriptions, location_name: "CloudWatchLoggingOptionDescriptions"))
390
+ ApplicationDetail.add_member(:application_maintenance_configuration_description, Shapes::ShapeRef.new(shape: ApplicationMaintenanceConfigurationDescription, location_name: "ApplicationMaintenanceConfigurationDescription"))
391
+ ApplicationDetail.add_member(:application_version_updated_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionUpdatedFrom"))
392
+ ApplicationDetail.add_member(:application_version_rolled_back_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionRolledBackFrom"))
393
+ ApplicationDetail.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
374
394
  ApplicationDetail.struct_class = Types::ApplicationDetail
375
395
 
396
+ ApplicationMaintenanceConfigurationDescription.add_member(:application_maintenance_window_start_time, Shapes::ShapeRef.new(shape: ApplicationMaintenanceWindowStartTime, required: true, location_name: "ApplicationMaintenanceWindowStartTime"))
397
+ ApplicationMaintenanceConfigurationDescription.add_member(:application_maintenance_window_end_time, Shapes::ShapeRef.new(shape: ApplicationMaintenanceWindowEndTime, required: true, location_name: "ApplicationMaintenanceWindowEndTime"))
398
+ ApplicationMaintenanceConfigurationDescription.struct_class = Types::ApplicationMaintenanceConfigurationDescription
399
+
400
+ ApplicationMaintenanceConfigurationUpdate.add_member(:application_maintenance_window_start_time_update, Shapes::ShapeRef.new(shape: ApplicationMaintenanceWindowStartTime, required: true, location_name: "ApplicationMaintenanceWindowStartTimeUpdate"))
401
+ ApplicationMaintenanceConfigurationUpdate.struct_class = Types::ApplicationMaintenanceConfigurationUpdate
402
+
376
403
  ApplicationRestoreConfiguration.add_member(:application_restore_type, Shapes::ShapeRef.new(shape: ApplicationRestoreType, required: true, location_name: "ApplicationRestoreType"))
377
404
  ApplicationRestoreConfiguration.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: SnapshotName, location_name: "SnapshotName"))
378
405
  ApplicationRestoreConfiguration.struct_class = Types::ApplicationRestoreConfiguration
@@ -457,6 +484,14 @@ module Aws::KinesisAnalyticsV2
457
484
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
458
485
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
459
486
 
487
+ CreateApplicationPresignedUrlRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
488
+ CreateApplicationPresignedUrlRequest.add_member(:url_type, Shapes::ShapeRef.new(shape: UrlType, required: true, location_name: "UrlType"))
489
+ CreateApplicationPresignedUrlRequest.add_member(:session_expiration_duration_in_seconds, Shapes::ShapeRef.new(shape: SessionExpirationDurationInSeconds, location_name: "SessionExpirationDurationInSeconds"))
490
+ CreateApplicationPresignedUrlRequest.struct_class = Types::CreateApplicationPresignedUrlRequest
491
+
492
+ CreateApplicationPresignedUrlResponse.add_member(:authorized_url, Shapes::ShapeRef.new(shape: AuthorizedUrl, location_name: "AuthorizedUrl"))
493
+ CreateApplicationPresignedUrlResponse.struct_class = Types::CreateApplicationPresignedUrlResponse
494
+
460
495
  CreateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
461
496
  CreateApplicationRequest.add_member(:application_description, Shapes::ShapeRef.new(shape: ApplicationDescription, location_name: "ApplicationDescription"))
462
497
  CreateApplicationRequest.add_member(:runtime_environment, Shapes::ShapeRef.new(shape: RuntimeEnvironment, required: true, location_name: "RuntimeEnvironment"))
@@ -476,8 +511,9 @@ module Aws::KinesisAnalyticsV2
476
511
  CreateApplicationSnapshotResponse.struct_class = Types::CreateApplicationSnapshotResponse
477
512
 
478
513
  DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
479
- DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
514
+ DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
480
515
  DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:cloud_watch_logging_option_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "CloudWatchLoggingOptionId"))
516
+ DeleteApplicationCloudWatchLoggingOptionRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
481
517
  DeleteApplicationCloudWatchLoggingOptionRequest.struct_class = Types::DeleteApplicationCloudWatchLoggingOptionRequest
482
518
 
483
519
  DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
@@ -526,8 +562,9 @@ module Aws::KinesisAnalyticsV2
526
562
  DeleteApplicationSnapshotResponse.struct_class = Types::DeleteApplicationSnapshotResponse
527
563
 
528
564
  DeleteApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
529
- DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
565
+ DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
530
566
  DeleteApplicationVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
567
+ DeleteApplicationVpcConfigurationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
531
568
  DeleteApplicationVpcConfigurationRequest.struct_class = Types::DeleteApplicationVpcConfigurationRequest
532
569
 
533
570
  DeleteApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
@@ -876,6 +913,13 @@ module Aws::KinesisAnalyticsV2
876
913
  ResourceProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
877
914
  ResourceProvisionedThroughputExceededException.struct_class = Types::ResourceProvisionedThroughputExceededException
878
915
 
916
+ RollbackApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
917
+ RollbackApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
918
+ RollbackApplicationRequest.struct_class = Types::RollbackApplicationRequest
919
+
920
+ RollbackApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
921
+ RollbackApplicationResponse.struct_class = Types::RollbackApplicationResponse
922
+
879
923
  RunConfiguration.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
880
924
  RunConfiguration.add_member(:sql_run_configurations, Shapes::ShapeRef.new(shape: SqlRunConfigurations, location_name: "SqlRunConfigurations"))
881
925
  RunConfiguration.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
@@ -1005,12 +1049,21 @@ module Aws::KinesisAnalyticsV2
1005
1049
 
1006
1050
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1007
1051
 
1052
+ UpdateApplicationMaintenanceConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
1053
+ UpdateApplicationMaintenanceConfigurationRequest.add_member(:application_maintenance_configuration_update, Shapes::ShapeRef.new(shape: ApplicationMaintenanceConfigurationUpdate, required: true, location_name: "ApplicationMaintenanceConfigurationUpdate"))
1054
+ UpdateApplicationMaintenanceConfigurationRequest.struct_class = Types::UpdateApplicationMaintenanceConfigurationRequest
1055
+
1056
+ UpdateApplicationMaintenanceConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
1057
+ UpdateApplicationMaintenanceConfigurationResponse.add_member(:application_maintenance_configuration_description, Shapes::ShapeRef.new(shape: ApplicationMaintenanceConfigurationDescription, location_name: "ApplicationMaintenanceConfigurationDescription"))
1058
+ UpdateApplicationMaintenanceConfigurationResponse.struct_class = Types::UpdateApplicationMaintenanceConfigurationResponse
1059
+
1008
1060
  UpdateApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
1009
- UpdateApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
1061
+ UpdateApplicationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "CurrentApplicationVersionId"))
1010
1062
  UpdateApplicationRequest.add_member(:application_configuration_update, Shapes::ShapeRef.new(shape: ApplicationConfigurationUpdate, location_name: "ApplicationConfigurationUpdate"))
1011
1063
  UpdateApplicationRequest.add_member(:service_execution_role_update, Shapes::ShapeRef.new(shape: RoleARN, location_name: "ServiceExecutionRoleUpdate"))
1012
1064
  UpdateApplicationRequest.add_member(:run_configuration_update, Shapes::ShapeRef.new(shape: RunConfigurationUpdate, location_name: "RunConfigurationUpdate"))
1013
1065
  UpdateApplicationRequest.add_member(:cloud_watch_logging_option_updates, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionUpdates, location_name: "CloudWatchLoggingOptionUpdates"))
1066
+ UpdateApplicationRequest.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken"))
1014
1067
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
1015
1068
 
1016
1069
  UpdateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
@@ -1152,6 +1205,17 @@ module Aws::KinesisAnalyticsV2
1152
1205
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1153
1206
  end)
1154
1207
 
1208
+ api.add_operation(:create_application_presigned_url, Seahorse::Model::Operation.new.tap do |o|
1209
+ o.name = "CreateApplicationPresignedUrl"
1210
+ o.http_method = "POST"
1211
+ o.http_request_uri = "/"
1212
+ o.input = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlRequest)
1213
+ o.output = Shapes::ShapeRef.new(shape: CreateApplicationPresignedUrlResponse)
1214
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1217
+ end)
1218
+
1155
1219
  api.add_operation(:create_application_snapshot, Seahorse::Model::Operation.new.tap do |o|
1156
1220
  o.name = "CreateApplicationSnapshot"
1157
1221
  o.http_method = "POST"
@@ -1325,6 +1389,20 @@ module Aws::KinesisAnalyticsV2
1325
1389
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1326
1390
  end)
1327
1391
 
1392
+ api.add_operation(:rollback_application, Seahorse::Model::Operation.new.tap do |o|
1393
+ o.name = "RollbackApplication"
1394
+ o.http_method = "POST"
1395
+ o.http_request_uri = "/"
1396
+ o.input = Shapes::ShapeRef.new(shape: RollbackApplicationRequest)
1397
+ o.output = Shapes::ShapeRef.new(shape: RollbackApplicationResponse)
1398
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1404
+ end)
1405
+
1328
1406
  api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o|
1329
1407
  o.name = "StartApplication"
1330
1408
  o.http_method = "POST"
@@ -1391,6 +1469,20 @@ module Aws::KinesisAnalyticsV2
1391
1469
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1392
1470
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1393
1471
  o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationConfigurationException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1473
+ end)
1474
+
1475
+ api.add_operation(:update_application_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
1476
+ o.name = "UpdateApplicationMaintenanceConfiguration"
1477
+ o.http_method = "POST"
1478
+ o.http_request_uri = "/"
1479
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationMaintenanceConfigurationRequest)
1480
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationMaintenanceConfigurationResponse)
1481
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1482
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1485
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1394
1486
  end)
1395
1487
  end
1396
1488
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -15,10 +15,11 @@ module Aws::KinesisAnalyticsV2
15
15
  #
16
16
  # {
17
17
  # application_name: "ApplicationName", # required
18
- # current_application_version_id: 1, # required
18
+ # current_application_version_id: 1,
19
19
  # cloud_watch_logging_option: { # required
20
20
  # log_stream_arn: "LogStreamARN", # required
21
21
  # },
22
+ # conditional_token: "ConditionalToken",
22
23
  # }
23
24
  #
24
25
  # @!attribute [rw] application_name
@@ -26,7 +27,8 @@ module Aws::KinesisAnalyticsV2
26
27
  # @return [String]
27
28
  #
28
29
  # @!attribute [rw] current_application_version_id
29
- # The version ID of the Kinesis Data Analytics application. You can
30
+ # The version ID of the Kinesis Data Analytics application. You must
31
+ # provide the `ApplicationVersionID` or the `ConditionalToken`.You can
30
32
  # retrieve the application version ID using DescribeApplication.
31
33
  # @return [Integer]
32
34
  #
@@ -35,12 +37,20 @@ module Aws::KinesisAnalyticsV2
35
37
  # (ARN).
36
38
  # @return [Types::CloudWatchLoggingOption]
37
39
  #
40
+ # @!attribute [rw] conditional_token
41
+ # A value you use to implement strong concurrency for application
42
+ # updates. You must provide the `ApplicationVersionID` or the
43
+ # `ConditionalToken`. You get the application's current
44
+ # `ConditionalToken` using DescribeApplication.
45
+ # @return [String]
46
+ #
38
47
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOptionRequest AWS API Documentation
39
48
  #
40
49
  class AddApplicationCloudWatchLoggingOptionRequest < Struct.new(
41
50
  :application_name,
42
51
  :current_application_version_id,
43
- :cloud_watch_logging_option)
52
+ :cloud_watch_logging_option,
53
+ :conditional_token)
44
54
  SENSITIVE = []
45
55
  include Aws::Structure
46
56
  end
@@ -91,9 +101,10 @@ module Aws::KinesisAnalyticsV2
91
101
  #
92
102
  # @!attribute [rw] current_application_version_id
93
103
  # The version of the application to which you want to add the input
94
- # processing configuration. You can use the DescribeApplication
95
- # operation to get the current application version. If the version
96
- # specified is not the current version, the
104
+ # processing configuration. You must provide the
105
+ # `ApplicationVersionID` or the `ConditionalToken`. You can use the
106
+ # DescribeApplication operation to get the current application
107
+ # version. If the version specified is not the current version, the
97
108
  # `ConcurrentModificationException` is returned.
98
109
  # @return [Integer]
99
110
  #
@@ -201,7 +212,8 @@ module Aws::KinesisAnalyticsV2
201
212
  # @return [String]
202
213
  #
203
214
  # @!attribute [rw] current_application_version_id
204
- # The current version of your application. You can use the
215
+ # The current version of your application. You must provide the
216
+ # `ApplicationVersionID` or the `ConditionalToken`.You can use the
205
217
  # DescribeApplication operation to find the current application
206
218
  # version.
207
219
  # @return [Integer]
@@ -272,9 +284,11 @@ module Aws::KinesisAnalyticsV2
272
284
  #
273
285
  # @!attribute [rw] current_application_version_id
274
286
  # The version of the application to which you want to add the output
275
- # configuration. You can use the DescribeApplication operation to get
276
- # the current application version. If the version specified is not the
277
- # current version, the `ConcurrentModificationException` is returned.
287
+ # configuration. You must provide the `ApplicationVersionID` or the
288
+ # `ConditionalToken`. You can use the DescribeApplication operation to
289
+ # get the current application version. If the version specified is not
290
+ # the current version, the `ConcurrentModificationException` is
291
+ # returned.
278
292
  # @return [Integer]
279
293
  #
280
294
  # @!attribute [rw] output
@@ -418,11 +432,12 @@ module Aws::KinesisAnalyticsV2
418
432
  #
419
433
  # {
420
434
  # application_name: "ApplicationName", # required
421
- # current_application_version_id: 1, # required
435
+ # current_application_version_id: 1,
422
436
  # vpc_configuration: { # required
423
437
  # subnet_ids: ["SubnetId"], # required
424
438
  # security_group_ids: ["SecurityGroupId"], # required
425
439
  # },
440
+ # conditional_token: "ConditionalToken",
426
441
  # }
427
442
  #
428
443
  # @!attribute [rw] application_name
@@ -431,21 +446,31 @@ module Aws::KinesisAnalyticsV2
431
446
  #
432
447
  # @!attribute [rw] current_application_version_id
433
448
  # The version of the application to which you want to add the VPC
434
- # configuration. You can use the DescribeApplication operation to get
435
- # the current application version. If the version specified is not the
436
- # current version, the `ConcurrentModificationException` is returned.
449
+ # configuration. You must provide the `ApplicationVersionID` or the
450
+ # `ConditionalToken`. You can use the DescribeApplication operation to
451
+ # get the current application version. If the version specified is not
452
+ # the current version, the `ConcurrentModificationException` is
453
+ # returned.
437
454
  # @return [Integer]
438
455
  #
439
456
  # @!attribute [rw] vpc_configuration
440
457
  # Description of the VPC to add to the application.
441
458
  # @return [Types::VpcConfiguration]
442
459
  #
460
+ # @!attribute [rw] conditional_token
461
+ # A value you use to implement strong concurrency for application
462
+ # updates. You must provide the `ApplicationVersionID` or the
463
+ # `ConditionalToken`. You get the application's current
464
+ # `ConditionalToken` using DescribeApplication.
465
+ # @return [String]
466
+ #
443
467
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationRequest AWS API Documentation
444
468
  #
445
469
  class AddApplicationVpcConfigurationRequest < Struct.new(
446
470
  :application_name,
447
471
  :current_application_version_id,
448
- :vpc_configuration)
472
+ :vpc_configuration,
473
+ :conditional_token)
449
474
  SENSITIVE = []
450
475
  include Aws::Structure
451
476
  end
@@ -1024,8 +1049,8 @@ module Aws::KinesisAnalyticsV2
1024
1049
  # @return [String]
1025
1050
  #
1026
1051
  # @!attribute [rw] runtime_environment
1027
- # The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
1028
- # or `FLINK-1_8`).
1052
+ # The runtime environment for the application (`SQL-1_0`, `FLINK-1_6`,
1053
+ # `FLINK-1_8`, or `FLINK-1_11`).
1029
1054
  # @return [String]
1030
1055
  #
1031
1056
  # @!attribute [rw] service_execution_role
@@ -1060,6 +1085,25 @@ module Aws::KinesisAnalyticsV2
1060
1085
  # Describes the application Amazon CloudWatch logging options.
1061
1086
  # @return [Array<Types::CloudWatchLoggingOptionDescription>]
1062
1087
  #
1088
+ # @!attribute [rw] application_maintenance_configuration_description
1089
+ # Describes the time window for automatic application maintenance.
1090
+ # @return [Types::ApplicationMaintenanceConfigurationDescription]
1091
+ #
1092
+ # @!attribute [rw] application_version_updated_from
1093
+ # The previous application version before the latest application
1094
+ # update. RollbackApplication reverts the application to this version.
1095
+ # @return [Integer]
1096
+ #
1097
+ # @!attribute [rw] application_version_rolled_back_from
1098
+ # If you reverted the application using RollbackApplication, the
1099
+ # application version when `RollbackApplication` was called.
1100
+ # @return [Integer]
1101
+ #
1102
+ # @!attribute [rw] conditional_token
1103
+ # A value you use to implement strong concurrency for application
1104
+ # updates.
1105
+ # @return [String]
1106
+ #
1063
1107
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationDetail AWS API Documentation
1064
1108
  #
1065
1109
  class ApplicationDetail < Struct.new(
@@ -1073,7 +1117,52 @@ module Aws::KinesisAnalyticsV2
1073
1117
  :create_timestamp,
1074
1118
  :last_update_timestamp,
1075
1119
  :application_configuration_description,
1076
- :cloud_watch_logging_option_descriptions)
1120
+ :cloud_watch_logging_option_descriptions,
1121
+ :application_maintenance_configuration_description,
1122
+ :application_version_updated_from,
1123
+ :application_version_rolled_back_from,
1124
+ :conditional_token)
1125
+ SENSITIVE = []
1126
+ include Aws::Structure
1127
+ end
1128
+
1129
+ # Describes the time window for automatic application maintenance.
1130
+ #
1131
+ # @!attribute [rw] application_maintenance_window_start_time
1132
+ # The start time for the automatic maintenance window.
1133
+ # @return [String]
1134
+ #
1135
+ # @!attribute [rw] application_maintenance_window_end_time
1136
+ # The end time for the automatic maintenance window.
1137
+ # @return [String]
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationMaintenanceConfigurationDescription AWS API Documentation
1140
+ #
1141
+ class ApplicationMaintenanceConfigurationDescription < Struct.new(
1142
+ :application_maintenance_window_start_time,
1143
+ :application_maintenance_window_end_time)
1144
+ SENSITIVE = []
1145
+ include Aws::Structure
1146
+ end
1147
+
1148
+ # Describes the updated time window for automatic application
1149
+ # maintenance.
1150
+ #
1151
+ # @note When making an API call, you may pass ApplicationMaintenanceConfigurationUpdate
1152
+ # data as a hash:
1153
+ #
1154
+ # {
1155
+ # application_maintenance_window_start_time_update: "ApplicationMaintenanceWindowStartTime", # required
1156
+ # }
1157
+ #
1158
+ # @!attribute [rw] application_maintenance_window_start_time_update
1159
+ # The updated start time for the automatic maintenance window.
1160
+ # @return [String]
1161
+ #
1162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationMaintenanceConfigurationUpdate AWS API Documentation
1163
+ #
1164
+ class ApplicationMaintenanceConfigurationUpdate < Struct.new(
1165
+ :application_maintenance_window_start_time_update)
1077
1166
  SENSITIVE = []
1078
1167
  include Aws::Structure
1079
1168
  end
@@ -1191,8 +1280,8 @@ module Aws::KinesisAnalyticsV2
1191
1280
  # @return [Integer]
1192
1281
  #
1193
1282
  # @!attribute [rw] runtime_environment
1194
- # The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
1195
- # or `FLINK-1_8`).
1283
+ # The runtime environment for the application (`SQL-1_0`, `FLINK-1_6`,
1284
+ # `FLINK-1_8`, or `FLINK-1_11`).
1196
1285
  # @return [String]
1197
1286
  #
1198
1287
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSummary AWS API Documentation
@@ -1300,7 +1389,7 @@ module Aws::KinesisAnalyticsV2
1300
1389
  # operations.
1301
1390
  #
1302
1391
  # <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
1303
- # application will use a `CheckpointInterval` vaue of 60000, even if
1392
+ # application will use a `CheckpointInterval` value of 60000, even if
1304
1393
  # this value is set to another value using this API or in application
1305
1394
  # code.
1306
1395
  #
@@ -1375,7 +1464,7 @@ module Aws::KinesisAnalyticsV2
1375
1464
  # operations.
1376
1465
  #
1377
1466
  # <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
1378
- # application will use a `CheckpointInterval` vaue of 60000, even if
1467
+ # application will use a `CheckpointInterval` value of 60000, even if
1379
1468
  # this value is set to another value using this API or in application
1380
1469
  # code.
1381
1470
  #
@@ -1453,7 +1542,7 @@ module Aws::KinesisAnalyticsV2
1453
1542
  # operations.
1454
1543
  #
1455
1544
  # <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
1456
- # application will use a `CheckpointInterval` vaue of 60000, even if
1545
+ # application will use a `CheckpointInterval` value of 60000, even if
1457
1546
  # this value is set to another value using this API or in application
1458
1547
  # code.
1459
1548
  #
@@ -1705,13 +1794,58 @@ module Aws::KinesisAnalyticsV2
1705
1794
  include Aws::Structure
1706
1795
  end
1707
1796
 
1797
+ # @note When making an API call, you may pass CreateApplicationPresignedUrlRequest
1798
+ # data as a hash:
1799
+ #
1800
+ # {
1801
+ # application_name: "ApplicationName", # required
1802
+ # url_type: "FLINK_DASHBOARD_URL", # required, accepts FLINK_DASHBOARD_URL
1803
+ # session_expiration_duration_in_seconds: 1,
1804
+ # }
1805
+ #
1806
+ # @!attribute [rw] application_name
1807
+ # The name of the application.
1808
+ # @return [String]
1809
+ #
1810
+ # @!attribute [rw] url_type
1811
+ # The type of the extension for which to create and return a URL.
1812
+ # Currently, the only valid extension URL type is
1813
+ # `FLINK_DASHBOARD_URL`.
1814
+ # @return [String]
1815
+ #
1816
+ # @!attribute [rw] session_expiration_duration_in_seconds
1817
+ # The duration in seconds for which the returned URL will be valid.
1818
+ # @return [Integer]
1819
+ #
1820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrlRequest AWS API Documentation
1821
+ #
1822
+ class CreateApplicationPresignedUrlRequest < Struct.new(
1823
+ :application_name,
1824
+ :url_type,
1825
+ :session_expiration_duration_in_seconds)
1826
+ SENSITIVE = []
1827
+ include Aws::Structure
1828
+ end
1829
+
1830
+ # @!attribute [rw] authorized_url
1831
+ # The URL of the extension.
1832
+ # @return [String]
1833
+ #
1834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrlResponse AWS API Documentation
1835
+ #
1836
+ class CreateApplicationPresignedUrlResponse < Struct.new(
1837
+ :authorized_url)
1838
+ SENSITIVE = []
1839
+ include Aws::Structure
1840
+ end
1841
+
1708
1842
  # @note When making an API call, you may pass CreateApplicationRequest
1709
1843
  # data as a hash:
1710
1844
  #
1711
1845
  # {
1712
1846
  # application_name: "ApplicationName", # required
1713
1847
  # application_description: "ApplicationDescription",
1714
- # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
1848
+ # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11
1715
1849
  # service_execution_role: "RoleARN", # required
1716
1850
  # application_configuration: {
1717
1851
  # sql_application_configuration: {
@@ -1878,8 +2012,8 @@ module Aws::KinesisAnalyticsV2
1878
2012
  # @return [String]
1879
2013
  #
1880
2014
  # @!attribute [rw] runtime_environment
1881
- # The runtime environment for the application (`SQL-1.0`, `FLINK-1_6`,
1882
- # or `FLINK-1_8`).
2015
+ # The runtime environment for the application (`SQL-1_0`, `FLINK-1_6`,
2016
+ # `FLINK-1_8`, or `FLINK-1_11`).
1883
2017
  # @return [String]
1884
2018
  #
1885
2019
  # @!attribute [rw] service_execution_role
@@ -1971,8 +2105,9 @@ module Aws::KinesisAnalyticsV2
1971
2105
  #
1972
2106
  # {
1973
2107
  # application_name: "ApplicationName", # required
1974
- # current_application_version_id: 1, # required
2108
+ # current_application_version_id: 1,
1975
2109
  # cloud_watch_logging_option_id: "Id", # required
2110
+ # conditional_token: "ConditionalToken",
1976
2111
  # }
1977
2112
  #
1978
2113
  # @!attribute [rw] application_name
@@ -1980,8 +2115,9 @@ module Aws::KinesisAnalyticsV2
1980
2115
  # @return [String]
1981
2116
  #
1982
2117
  # @!attribute [rw] current_application_version_id
1983
- # The version ID of the application. You can retrieve the application
1984
- # version ID using DescribeApplication.
2118
+ # The version ID of the application. You must provide the
2119
+ # `ApplicationVersionID` or the `ConditionalToken`. You can retrieve
2120
+ # the application version ID using DescribeApplication.
1985
2121
  # @return [Integer]
1986
2122
  #
1987
2123
  # @!attribute [rw] cloud_watch_logging_option_id
@@ -1990,12 +2126,20 @@ module Aws::KinesisAnalyticsV2
1990
2126
  # using the DescribeApplication operation.
1991
2127
  # @return [String]
1992
2128
  #
2129
+ # @!attribute [rw] conditional_token
2130
+ # A value you use to implement strong concurrency for application
2131
+ # updates. You must provide the `ApplicationVersionID` or the
2132
+ # `ConditionalToken`. You get the application's current
2133
+ # `ConditionalToken` using DescribeApplication.
2134
+ # @return [String]
2135
+ #
1993
2136
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOptionRequest AWS API Documentation
1994
2137
  #
1995
2138
  class DeleteApplicationCloudWatchLoggingOptionRequest < Struct.new(
1996
2139
  :application_name,
1997
2140
  :current_application_version_id,
1998
- :cloud_watch_logging_option_id)
2141
+ :cloud_watch_logging_option_id,
2142
+ :conditional_token)
1999
2143
  SENSITIVE = []
2000
2144
  include Aws::Structure
2001
2145
  end
@@ -2260,8 +2404,9 @@ module Aws::KinesisAnalyticsV2
2260
2404
  #
2261
2405
  # {
2262
2406
  # application_name: "ApplicationName", # required
2263
- # current_application_version_id: 1, # required
2407
+ # current_application_version_id: 1,
2264
2408
  # vpc_configuration_id: "Id", # required
2409
+ # conditional_token: "ConditionalToken",
2265
2410
  # }
2266
2411
  #
2267
2412
  # @!attribute [rw] application_name
@@ -2269,20 +2414,29 @@ module Aws::KinesisAnalyticsV2
2269
2414
  # @return [String]
2270
2415
  #
2271
2416
  # @!attribute [rw] current_application_version_id
2272
- # The current application version ID. You can retrieve the application
2273
- # version ID using DescribeApplication.
2417
+ # The current application version ID. You must provide the
2418
+ # `ApplicationVersionID` or the `ConditionalToken`.You can retrieve
2419
+ # the application version ID using DescribeApplication.
2274
2420
  # @return [Integer]
2275
2421
  #
2276
2422
  # @!attribute [rw] vpc_configuration_id
2277
2423
  # The ID of the VPC configuration to delete.
2278
2424
  # @return [String]
2279
2425
  #
2426
+ # @!attribute [rw] conditional_token
2427
+ # A value you use to implement strong concurrency for application
2428
+ # updates. You must provide the `ApplicationVersionID` or the
2429
+ # `ConditionalToken`. You get the application's current
2430
+ # `ConditionalToken` using DescribeApplication.
2431
+ # @return [String]
2432
+ #
2280
2433
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationRequest AWS API Documentation
2281
2434
  #
2282
2435
  class DeleteApplicationVpcConfigurationRequest < Struct.new(
2283
2436
  :application_name,
2284
2437
  :current_application_version_id,
2285
- :vpc_configuration_id)
2438
+ :vpc_configuration_id,
2439
+ :conditional_token)
2286
2440
  SENSITIVE = []
2287
2441
  include Aws::Structure
2288
2442
  end
@@ -4272,8 +4426,8 @@ module Aws::KinesisAnalyticsV2
4272
4426
  end
4273
4427
 
4274
4428
  # Describes parameters for how a Flink-based Kinesis Data Analytics
4275
- # application application executes multiple tasks simultaneously. For
4276
- # more information about parallelism, see [Parallel Execution][1] in the
4429
+ # application executes multiple tasks simultaneously. For more
4430
+ # information about parallelism, see [Parallel Execution][1] in the
4277
4431
  # [Apache Flink Documentation][2].
4278
4432
  #
4279
4433
  #
@@ -4789,6 +4943,46 @@ module Aws::KinesisAnalyticsV2
4789
4943
  include Aws::Structure
4790
4944
  end
4791
4945
 
4946
+ # @note When making an API call, you may pass RollbackApplicationRequest
4947
+ # data as a hash:
4948
+ #
4949
+ # {
4950
+ # application_name: "ApplicationName", # required
4951
+ # current_application_version_id: 1, # required
4952
+ # }
4953
+ #
4954
+ # @!attribute [rw] application_name
4955
+ # The name of the application.
4956
+ # @return [String]
4957
+ #
4958
+ # @!attribute [rw] current_application_version_id
4959
+ # The current application version ID. You can retrieve the application
4960
+ # version ID using DescribeApplication.
4961
+ # @return [Integer]
4962
+ #
4963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplicationRequest AWS API Documentation
4964
+ #
4965
+ class RollbackApplicationRequest < Struct.new(
4966
+ :application_name,
4967
+ :current_application_version_id)
4968
+ SENSITIVE = []
4969
+ include Aws::Structure
4970
+ end
4971
+
4972
+ # @!attribute [rw] application_detail
4973
+ # Describes the application, including the application Amazon Resource
4974
+ # Name (ARN), status, latest version, and input and output
4975
+ # configurations.
4976
+ # @return [Types::ApplicationDetail]
4977
+ #
4978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplicationResponse AWS API Documentation
4979
+ #
4980
+ class RollbackApplicationResponse < Struct.new(
4981
+ :application_detail)
4982
+ SENSITIVE = []
4983
+ include Aws::Structure
4984
+ end
4985
+
4792
4986
  # Describes the starting parameters for an Kinesis Data Analytics
4793
4987
  # application.
4794
4988
  #
@@ -5584,12 +5778,19 @@ module Aws::KinesisAnalyticsV2
5584
5778
  # to `true`, Kinesis Data Analytics stops the application without
5585
5779
  # taking a snapshot.
5586
5780
  #
5781
+ # <note markdown="1"> Force-stopping your application may lead to data loss or
5782
+ # duplication. To prevent data loss or duplicate processing of data
5783
+ # during application restarts, we recommend you to take frequent
5784
+ # snapshots of your application.
5785
+ #
5786
+ # </note>
5787
+ #
5587
5788
  # You can only force stop a Flink-based Kinesis Data Analytics
5588
5789
  # application. You can't force stop a SQL-based Kinesis Data
5589
5790
  # Analytics application.
5590
5791
  #
5591
5792
  # The application must be in the `STARTING`, `UPDATING`, `STOPPING`,
5592
- # `AUTOSCALING`, or `RUNNING` state.
5793
+ # `AUTOSCALING`, or `RUNNING` status.
5593
5794
  # @return [Boolean]
5594
5795
  #
5595
5796
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplicationRequest AWS API Documentation
@@ -5760,12 +5961,58 @@ module Aws::KinesisAnalyticsV2
5760
5961
  #
5761
5962
  class UntagResourceResponse < Aws::EmptyStructure; end
5762
5963
 
5964
+ # @note When making an API call, you may pass UpdateApplicationMaintenanceConfigurationRequest
5965
+ # data as a hash:
5966
+ #
5967
+ # {
5968
+ # application_name: "ApplicationName", # required
5969
+ # application_maintenance_configuration_update: { # required
5970
+ # application_maintenance_window_start_time_update: "ApplicationMaintenanceWindowStartTime", # required
5971
+ # },
5972
+ # }
5973
+ #
5974
+ # @!attribute [rw] application_name
5975
+ # The name of the application for which you want to update the
5976
+ # maintenance time window.
5977
+ # @return [String]
5978
+ #
5979
+ # @!attribute [rw] application_maintenance_configuration_update
5980
+ # Describes the application maintenance configuration update.
5981
+ # @return [Types::ApplicationMaintenanceConfigurationUpdate]
5982
+ #
5983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationMaintenanceConfigurationRequest AWS API Documentation
5984
+ #
5985
+ class UpdateApplicationMaintenanceConfigurationRequest < Struct.new(
5986
+ :application_name,
5987
+ :application_maintenance_configuration_update)
5988
+ SENSITIVE = []
5989
+ include Aws::Structure
5990
+ end
5991
+
5992
+ # @!attribute [rw] application_arn
5993
+ # The Amazon Resource Name (ARN) of the application.
5994
+ # @return [String]
5995
+ #
5996
+ # @!attribute [rw] application_maintenance_configuration_description
5997
+ # The application maintenance configuration description after the
5998
+ # update.
5999
+ # @return [Types::ApplicationMaintenanceConfigurationDescription]
6000
+ #
6001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationMaintenanceConfigurationResponse AWS API Documentation
6002
+ #
6003
+ class UpdateApplicationMaintenanceConfigurationResponse < Struct.new(
6004
+ :application_arn,
6005
+ :application_maintenance_configuration_description)
6006
+ SENSITIVE = []
6007
+ include Aws::Structure
6008
+ end
6009
+
5763
6010
  # @note When making an API call, you may pass UpdateApplicationRequest
5764
6011
  # data as a hash:
5765
6012
  #
5766
6013
  # {
5767
6014
  # application_name: "ApplicationName", # required
5768
- # current_application_version_id: 1, # required
6015
+ # current_application_version_id: 1,
5769
6016
  # application_configuration_update: {
5770
6017
  # sql_application_configuration_update: {
5771
6018
  # input_updates: [
@@ -5929,6 +6176,7 @@ module Aws::KinesisAnalyticsV2
5929
6176
  # log_stream_arn_update: "LogStreamARN",
5930
6177
  # },
5931
6178
  # ],
6179
+ # conditional_token: "ConditionalToken",
5932
6180
  # }
5933
6181
  #
5934
6182
  # @!attribute [rw] application_name
@@ -5936,8 +6184,9 @@ module Aws::KinesisAnalyticsV2
5936
6184
  # @return [String]
5937
6185
  #
5938
6186
  # @!attribute [rw] current_application_version_id
5939
- # The current application version ID. You can retrieve the application
5940
- # version ID using DescribeApplication.
6187
+ # The current application version ID. You must provide the
6188
+ # `ApplicationVersionID` or the `ConditionalToken`.You can retrieve
6189
+ # the application version ID using DescribeApplication.
5941
6190
  # @return [Integer]
5942
6191
  #
5943
6192
  # @!attribute [rw] application_configuration_update
@@ -5959,6 +6208,13 @@ module Aws::KinesisAnalyticsV2
5959
6208
  # AddApplicationCloudWatchLoggingOption.
5960
6209
  # @return [Array<Types::CloudWatchLoggingOptionUpdate>]
5961
6210
  #
6211
+ # @!attribute [rw] conditional_token
6212
+ # A value you use to implement strong concurrency for application
6213
+ # updates. You must provide the `ApplicationVersionID` or the
6214
+ # `ConditionalToken`. You get the application's current
6215
+ # `ConditionalToken` using DescribeApplication.
6216
+ # @return [String]
6217
+ #
5962
6218
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationRequest AWS API Documentation
5963
6219
  #
5964
6220
  class UpdateApplicationRequest < Struct.new(
@@ -5967,7 +6223,8 @@ module Aws::KinesisAnalyticsV2
5967
6223
  :application_configuration_update,
5968
6224
  :service_execution_role_update,
5969
6225
  :run_configuration_update,
5970
- :cloud_watch_logging_option_updates)
6226
+ :cloud_watch_logging_option_updates,
6227
+ :conditional_token)
5971
6228
  SENSITIVE = []
5972
6229
  include Aws::Structure
5973
6230
  end