aws-sdk-kinesisanalyticsv2 1.11.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-kinesisanalyticsv2.rb +7 -4
- data/lib/aws-sdk-kinesisanalyticsv2/client.rb +235 -25
- data/lib/aws-sdk-kinesisanalyticsv2/client_api.rb +92 -0
- data/lib/aws-sdk-kinesisanalyticsv2/errors.rb +35 -13
- data/lib/aws-sdk-kinesisanalyticsv2/resource.rb +1 -0
- data/lib/aws-sdk-kinesisanalyticsv2/types.rb +479 -22
- metadata +3 -3
@@ -21,6 +21,8 @@ module Aws::KinesisAnalyticsV2
|
|
21
21
|
AddApplicationOutputResponse = Shapes::StructureShape.new(name: 'AddApplicationOutputResponse')
|
22
22
|
AddApplicationReferenceDataSourceRequest = Shapes::StructureShape.new(name: 'AddApplicationReferenceDataSourceRequest')
|
23
23
|
AddApplicationReferenceDataSourceResponse = Shapes::StructureShape.new(name: 'AddApplicationReferenceDataSourceResponse')
|
24
|
+
AddApplicationVpcConfigurationRequest = Shapes::StructureShape.new(name: 'AddApplicationVpcConfigurationRequest')
|
25
|
+
AddApplicationVpcConfigurationResponse = Shapes::StructureShape.new(name: 'AddApplicationVpcConfigurationResponse')
|
24
26
|
ApplicationCodeConfiguration = Shapes::StructureShape.new(name: 'ApplicationCodeConfiguration')
|
25
27
|
ApplicationCodeConfigurationDescription = Shapes::StructureShape.new(name: 'ApplicationCodeConfigurationDescription')
|
26
28
|
ApplicationCodeConfigurationUpdate = Shapes::StructureShape.new(name: 'ApplicationCodeConfigurationUpdate')
|
@@ -77,6 +79,8 @@ module Aws::KinesisAnalyticsV2
|
|
77
79
|
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
78
80
|
DeleteApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteApplicationSnapshotRequest')
|
79
81
|
DeleteApplicationSnapshotResponse = Shapes::StructureShape.new(name: 'DeleteApplicationSnapshotResponse')
|
82
|
+
DeleteApplicationVpcConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationVpcConfigurationRequest')
|
83
|
+
DeleteApplicationVpcConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationVpcConfigurationResponse')
|
80
84
|
DescribeApplicationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationRequest')
|
81
85
|
DescribeApplicationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationResponse')
|
82
86
|
DescribeApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'DescribeApplicationSnapshotRequest')
|
@@ -92,6 +96,7 @@ module Aws::KinesisAnalyticsV2
|
|
92
96
|
FlinkApplicationConfiguration = Shapes::StructureShape.new(name: 'FlinkApplicationConfiguration')
|
93
97
|
FlinkApplicationConfigurationDescription = Shapes::StructureShape.new(name: 'FlinkApplicationConfigurationDescription')
|
94
98
|
FlinkApplicationConfigurationUpdate = Shapes::StructureShape.new(name: 'FlinkApplicationConfigurationUpdate')
|
99
|
+
FlinkRunConfiguration = Shapes::StructureShape.new(name: 'FlinkRunConfiguration')
|
95
100
|
Id = Shapes::StringShape.new(name: 'Id')
|
96
101
|
InAppStreamName = Shapes::StringShape.new(name: 'InAppStreamName')
|
97
102
|
InAppStreamNames = Shapes::ListShape.new(name: 'InAppStreamNames')
|
@@ -210,6 +215,8 @@ module Aws::KinesisAnalyticsV2
|
|
210
215
|
S3ReferenceDataSource = Shapes::StructureShape.new(name: 'S3ReferenceDataSource')
|
211
216
|
S3ReferenceDataSourceDescription = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceDescription')
|
212
217
|
S3ReferenceDataSourceUpdate = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceUpdate')
|
218
|
+
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
219
|
+
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
213
220
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
214
221
|
SnapshotDetails = Shapes::StructureShape.new(name: 'SnapshotDetails')
|
215
222
|
SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
|
@@ -225,6 +232,8 @@ module Aws::KinesisAnalyticsV2
|
|
225
232
|
StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
|
226
233
|
StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest')
|
227
234
|
StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse')
|
235
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
236
|
+
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
228
237
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
229
238
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
230
239
|
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
@@ -241,6 +250,13 @@ module Aws::KinesisAnalyticsV2
|
|
241
250
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
242
251
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
243
252
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
253
|
+
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
254
|
+
VpcConfigurationDescription = Shapes::StructureShape.new(name: 'VpcConfigurationDescription')
|
255
|
+
VpcConfigurationDescriptions = Shapes::ListShape.new(name: 'VpcConfigurationDescriptions')
|
256
|
+
VpcConfigurationUpdate = Shapes::StructureShape.new(name: 'VpcConfigurationUpdate')
|
257
|
+
VpcConfigurationUpdates = Shapes::ListShape.new(name: 'VpcConfigurationUpdates')
|
258
|
+
VpcConfigurations = Shapes::ListShape.new(name: 'VpcConfigurations')
|
259
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
244
260
|
ZipFileContent = Shapes::BlobShape.new(name: 'ZipFileContent')
|
245
261
|
|
246
262
|
AddApplicationCloudWatchLoggingOptionRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
@@ -295,6 +311,16 @@ module Aws::KinesisAnalyticsV2
|
|
295
311
|
AddApplicationReferenceDataSourceResponse.add_member(:reference_data_source_descriptions, Shapes::ShapeRef.new(shape: ReferenceDataSourceDescriptions, location_name: "ReferenceDataSourceDescriptions"))
|
296
312
|
AddApplicationReferenceDataSourceResponse.struct_class = Types::AddApplicationReferenceDataSourceResponse
|
297
313
|
|
314
|
+
AddApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
315
|
+
AddApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
|
316
|
+
AddApplicationVpcConfigurationRequest.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
|
317
|
+
AddApplicationVpcConfigurationRequest.struct_class = Types::AddApplicationVpcConfigurationRequest
|
318
|
+
|
319
|
+
AddApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
320
|
+
AddApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId"))
|
321
|
+
AddApplicationVpcConfigurationResponse.add_member(:vpc_configuration_description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "VpcConfigurationDescription"))
|
322
|
+
AddApplicationVpcConfigurationResponse.struct_class = Types::AddApplicationVpcConfigurationResponse
|
323
|
+
|
298
324
|
ApplicationCodeConfiguration.add_member(:code_content, Shapes::ShapeRef.new(shape: CodeContent, location_name: "CodeContent"))
|
299
325
|
ApplicationCodeConfiguration.add_member(:code_content_type, Shapes::ShapeRef.new(shape: CodeContentType, required: true, location_name: "CodeContentType"))
|
300
326
|
ApplicationCodeConfiguration.struct_class = Types::ApplicationCodeConfiguration
|
@@ -312,6 +338,7 @@ module Aws::KinesisAnalyticsV2
|
|
312
338
|
ApplicationConfiguration.add_member(:environment_properties, Shapes::ShapeRef.new(shape: EnvironmentProperties, location_name: "EnvironmentProperties"))
|
313
339
|
ApplicationConfiguration.add_member(:application_code_configuration, Shapes::ShapeRef.new(shape: ApplicationCodeConfiguration, required: true, location_name: "ApplicationCodeConfiguration"))
|
314
340
|
ApplicationConfiguration.add_member(:application_snapshot_configuration, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfiguration, location_name: "ApplicationSnapshotConfiguration"))
|
341
|
+
ApplicationConfiguration.add_member(:vpc_configurations, Shapes::ShapeRef.new(shape: VpcConfigurations, location_name: "VpcConfigurations"))
|
315
342
|
ApplicationConfiguration.struct_class = Types::ApplicationConfiguration
|
316
343
|
|
317
344
|
ApplicationConfigurationDescription.add_member(:sql_application_configuration_description, Shapes::ShapeRef.new(shape: SqlApplicationConfigurationDescription, location_name: "SqlApplicationConfigurationDescription"))
|
@@ -320,6 +347,7 @@ module Aws::KinesisAnalyticsV2
|
|
320
347
|
ApplicationConfigurationDescription.add_member(:flink_application_configuration_description, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationDescription, location_name: "FlinkApplicationConfigurationDescription"))
|
321
348
|
ApplicationConfigurationDescription.add_member(:environment_property_descriptions, Shapes::ShapeRef.new(shape: EnvironmentPropertyDescriptions, location_name: "EnvironmentPropertyDescriptions"))
|
322
349
|
ApplicationConfigurationDescription.add_member(:application_snapshot_configuration_description, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationDescription, location_name: "ApplicationSnapshotConfigurationDescription"))
|
350
|
+
ApplicationConfigurationDescription.add_member(:vpc_configuration_descriptions, Shapes::ShapeRef.new(shape: VpcConfigurationDescriptions, location_name: "VpcConfigurationDescriptions"))
|
323
351
|
ApplicationConfigurationDescription.struct_class = Types::ApplicationConfigurationDescription
|
324
352
|
|
325
353
|
ApplicationConfigurationUpdate.add_member(:sql_application_configuration_update, Shapes::ShapeRef.new(shape: SqlApplicationConfigurationUpdate, location_name: "SqlApplicationConfigurationUpdate"))
|
@@ -327,6 +355,7 @@ module Aws::KinesisAnalyticsV2
|
|
327
355
|
ApplicationConfigurationUpdate.add_member(:flink_application_configuration_update, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationUpdate, location_name: "FlinkApplicationConfigurationUpdate"))
|
328
356
|
ApplicationConfigurationUpdate.add_member(:environment_property_updates, Shapes::ShapeRef.new(shape: EnvironmentPropertyUpdates, location_name: "EnvironmentPropertyUpdates"))
|
329
357
|
ApplicationConfigurationUpdate.add_member(:application_snapshot_configuration_update, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationUpdate, location_name: "ApplicationSnapshotConfigurationUpdate"))
|
358
|
+
ApplicationConfigurationUpdate.add_member(:vpc_configuration_updates, Shapes::ShapeRef.new(shape: VpcConfigurationUpdates, location_name: "VpcConfigurationUpdates"))
|
330
359
|
ApplicationConfigurationUpdate.struct_class = Types::ApplicationConfigurationUpdate
|
331
360
|
|
332
361
|
ApplicationDetail.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ApplicationARN"))
|
@@ -494,6 +523,15 @@ module Aws::KinesisAnalyticsV2
|
|
494
523
|
|
495
524
|
DeleteApplicationSnapshotResponse.struct_class = Types::DeleteApplicationSnapshotResponse
|
496
525
|
|
526
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
527
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
|
528
|
+
DeleteApplicationVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
529
|
+
DeleteApplicationVpcConfigurationRequest.struct_class = Types::DeleteApplicationVpcConfigurationRequest
|
530
|
+
|
531
|
+
DeleteApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN"))
|
532
|
+
DeleteApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId"))
|
533
|
+
DeleteApplicationVpcConfigurationResponse.struct_class = Types::DeleteApplicationVpcConfigurationResponse
|
534
|
+
|
497
535
|
DescribeApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
|
498
536
|
DescribeApplicationRequest.add_member(:include_additional_details, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "IncludeAdditionalDetails"))
|
499
537
|
DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest
|
@@ -549,6 +587,9 @@ module Aws::KinesisAnalyticsV2
|
|
549
587
|
FlinkApplicationConfigurationUpdate.add_member(:parallelism_configuration_update, Shapes::ShapeRef.new(shape: ParallelismConfigurationUpdate, location_name: "ParallelismConfigurationUpdate"))
|
550
588
|
FlinkApplicationConfigurationUpdate.struct_class = Types::FlinkApplicationConfigurationUpdate
|
551
589
|
|
590
|
+
FlinkRunConfiguration.add_member(:allow_non_restored_state, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AllowNonRestoredState"))
|
591
|
+
FlinkRunConfiguration.struct_class = Types::FlinkRunConfiguration
|
592
|
+
|
552
593
|
InAppStreamNames.member = Shapes::ShapeRef.new(shape: InAppStreamName)
|
553
594
|
|
554
595
|
Input.add_member(:name_prefix, Shapes::ShapeRef.new(shape: InAppStreamName, required: true, location_name: "NamePrefix"))
|
@@ -833,6 +874,7 @@ module Aws::KinesisAnalyticsV2
|
|
833
874
|
ResourceProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
834
875
|
ResourceProvisionedThroughputExceededException.struct_class = Types::ResourceProvisionedThroughputExceededException
|
835
876
|
|
877
|
+
RunConfiguration.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
836
878
|
RunConfiguration.add_member(:sql_run_configurations, Shapes::ShapeRef.new(shape: SqlRunConfigurations, location_name: "SqlRunConfigurations"))
|
837
879
|
RunConfiguration.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
|
838
880
|
RunConfiguration.struct_class = Types::RunConfiguration
|
@@ -840,6 +882,7 @@ module Aws::KinesisAnalyticsV2
|
|
840
882
|
RunConfigurationDescription.add_member(:application_restore_configuration_description, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfigurationDescription"))
|
841
883
|
RunConfigurationDescription.struct_class = Types::RunConfigurationDescription
|
842
884
|
|
885
|
+
RunConfigurationUpdate.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration"))
|
843
886
|
RunConfigurationUpdate.add_member(:application_restore_configuration, Shapes::ShapeRef.new(shape: ApplicationRestoreConfiguration, location_name: "ApplicationRestoreConfiguration"))
|
844
887
|
RunConfigurationUpdate.struct_class = Types::RunConfigurationUpdate
|
845
888
|
|
@@ -875,6 +918,8 @@ module Aws::KinesisAnalyticsV2
|
|
875
918
|
S3ReferenceDataSourceUpdate.add_member(:file_key_update, Shapes::ShapeRef.new(shape: FileKey, location_name: "FileKeyUpdate"))
|
876
919
|
S3ReferenceDataSourceUpdate.struct_class = Types::S3ReferenceDataSourceUpdate
|
877
920
|
|
921
|
+
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
922
|
+
|
878
923
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
879
924
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
880
925
|
|
@@ -923,6 +968,8 @@ module Aws::KinesisAnalyticsV2
|
|
923
968
|
|
924
969
|
StopApplicationResponse.struct_class = Types::StopApplicationResponse
|
925
970
|
|
971
|
+
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
972
|
+
|
926
973
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
927
974
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
928
975
|
Tag.struct_class = Types::Tag
|
@@ -965,6 +1012,27 @@ module Aws::KinesisAnalyticsV2
|
|
965
1012
|
UpdateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail"))
|
966
1013
|
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
967
1014
|
|
1015
|
+
VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
1016
|
+
VpcConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
1017
|
+
VpcConfiguration.struct_class = Types::VpcConfiguration
|
1018
|
+
|
1019
|
+
VpcConfigurationDescription.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
1020
|
+
VpcConfigurationDescription.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
1021
|
+
VpcConfigurationDescription.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
1022
|
+
VpcConfigurationDescription.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
1023
|
+
VpcConfigurationDescription.struct_class = Types::VpcConfigurationDescription
|
1024
|
+
|
1025
|
+
VpcConfigurationDescriptions.member = Shapes::ShapeRef.new(shape: VpcConfigurationDescription)
|
1026
|
+
|
1027
|
+
VpcConfigurationUpdate.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "VpcConfigurationId"))
|
1028
|
+
VpcConfigurationUpdate.add_member(:subnet_id_updates, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIdUpdates"))
|
1029
|
+
VpcConfigurationUpdate.add_member(:security_group_id_updates, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIdUpdates"))
|
1030
|
+
VpcConfigurationUpdate.struct_class = Types::VpcConfigurationUpdate
|
1031
|
+
|
1032
|
+
VpcConfigurationUpdates.member = Shapes::ShapeRef.new(shape: VpcConfigurationUpdate)
|
1033
|
+
|
1034
|
+
VpcConfigurations.member = Shapes::ShapeRef.new(shape: VpcConfiguration)
|
1035
|
+
|
968
1036
|
|
969
1037
|
# @api private
|
970
1038
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1052,6 +1120,18 @@ module Aws::KinesisAnalyticsV2
|
|
1052
1120
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1053
1121
|
end)
|
1054
1122
|
|
1123
|
+
api.add_operation(:add_application_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1124
|
+
o.name = "AddApplicationVpcConfiguration"
|
1125
|
+
o.http_method = "POST"
|
1126
|
+
o.http_request_uri = "/"
|
1127
|
+
o.input = Shapes::ShapeRef.new(shape: AddApplicationVpcConfigurationRequest)
|
1128
|
+
o.output = Shapes::ShapeRef.new(shape: AddApplicationVpcConfigurationResponse)
|
1129
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1133
|
+
end)
|
1134
|
+
|
1055
1135
|
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
1056
1136
|
o.name = "CreateApplication"
|
1057
1137
|
o.http_method = "POST"
|
@@ -1161,6 +1241,18 @@ module Aws::KinesisAnalyticsV2
|
|
1161
1241
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1162
1242
|
end)
|
1163
1243
|
|
1244
|
+
api.add_operation(:delete_application_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1245
|
+
o.name = "DeleteApplicationVpcConfiguration"
|
1246
|
+
o.http_method = "POST"
|
1247
|
+
o.http_request_uri = "/"
|
1248
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApplicationVpcConfigurationRequest)
|
1249
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApplicationVpcConfigurationResponse)
|
1250
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1251
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1253
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1254
|
+
end)
|
1255
|
+
|
1164
1256
|
api.add_operation(:describe_application, Seahorse::Model::Operation.new.tap do |o|
|
1165
1257
|
o.name = "DescribeApplication"
|
1166
1258
|
o.http_method = "POST"
|
@@ -6,6 +6,41 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::KinesisAnalyticsV2
|
9
|
+
|
10
|
+
# When KinesisAnalyticsV2 returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::KinesisAnalyticsV2::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all KinesisAnalyticsV2 errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::KinesisAnalyticsV2::Errors::ServiceError
|
18
|
+
# # rescues all KinesisAnalyticsV2 API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {CodeValidationException}
|
29
|
+
# * {ConcurrentModificationException}
|
30
|
+
# * {InvalidApplicationConfigurationException}
|
31
|
+
# * {InvalidArgumentException}
|
32
|
+
# * {InvalidRequestException}
|
33
|
+
# * {LimitExceededException}
|
34
|
+
# * {ResourceInUseException}
|
35
|
+
# * {ResourceNotFoundException}
|
36
|
+
# * {ResourceProvisionedThroughputExceededException}
|
37
|
+
# * {ServiceUnavailableException}
|
38
|
+
# * {TooManyTagsException}
|
39
|
+
# * {UnableToDetectSchemaException}
|
40
|
+
# * {UnsupportedOperationException}
|
41
|
+
#
|
42
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
43
|
+
# if they are not defined above.
|
9
44
|
module Errors
|
10
45
|
|
11
46
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +58,6 @@ module Aws::KinesisAnalyticsV2
|
|
23
58
|
def message
|
24
59
|
@message || @data[:message]
|
25
60
|
end
|
26
|
-
|
27
61
|
end
|
28
62
|
|
29
63
|
class ConcurrentModificationException < ServiceError
|
@@ -39,7 +73,6 @@ module Aws::KinesisAnalyticsV2
|
|
39
73
|
def message
|
40
74
|
@message || @data[:message]
|
41
75
|
end
|
42
|
-
|
43
76
|
end
|
44
77
|
|
45
78
|
class InvalidApplicationConfigurationException < ServiceError
|
@@ -55,7 +88,6 @@ module Aws::KinesisAnalyticsV2
|
|
55
88
|
def message
|
56
89
|
@message || @data[:message]
|
57
90
|
end
|
58
|
-
|
59
91
|
end
|
60
92
|
|
61
93
|
class InvalidArgumentException < ServiceError
|
@@ -71,7 +103,6 @@ module Aws::KinesisAnalyticsV2
|
|
71
103
|
def message
|
72
104
|
@message || @data[:message]
|
73
105
|
end
|
74
|
-
|
75
106
|
end
|
76
107
|
|
77
108
|
class InvalidRequestException < ServiceError
|
@@ -87,7 +118,6 @@ module Aws::KinesisAnalyticsV2
|
|
87
118
|
def message
|
88
119
|
@message || @data[:message]
|
89
120
|
end
|
90
|
-
|
91
121
|
end
|
92
122
|
|
93
123
|
class LimitExceededException < ServiceError
|
@@ -103,7 +133,6 @@ module Aws::KinesisAnalyticsV2
|
|
103
133
|
def message
|
104
134
|
@message || @data[:message]
|
105
135
|
end
|
106
|
-
|
107
136
|
end
|
108
137
|
|
109
138
|
class ResourceInUseException < ServiceError
|
@@ -119,7 +148,6 @@ module Aws::KinesisAnalyticsV2
|
|
119
148
|
def message
|
120
149
|
@message || @data[:message]
|
121
150
|
end
|
122
|
-
|
123
151
|
end
|
124
152
|
|
125
153
|
class ResourceNotFoundException < ServiceError
|
@@ -135,7 +163,6 @@ module Aws::KinesisAnalyticsV2
|
|
135
163
|
def message
|
136
164
|
@message || @data[:message]
|
137
165
|
end
|
138
|
-
|
139
166
|
end
|
140
167
|
|
141
168
|
class ResourceProvisionedThroughputExceededException < ServiceError
|
@@ -151,7 +178,6 @@ module Aws::KinesisAnalyticsV2
|
|
151
178
|
def message
|
152
179
|
@message || @data[:message]
|
153
180
|
end
|
154
|
-
|
155
181
|
end
|
156
182
|
|
157
183
|
class ServiceUnavailableException < ServiceError
|
@@ -167,7 +193,6 @@ module Aws::KinesisAnalyticsV2
|
|
167
193
|
def message
|
168
194
|
@message || @data[:message]
|
169
195
|
end
|
170
|
-
|
171
196
|
end
|
172
197
|
|
173
198
|
class TooManyTagsException < ServiceError
|
@@ -183,7 +208,6 @@ module Aws::KinesisAnalyticsV2
|
|
183
208
|
def message
|
184
209
|
@message || @data[:message]
|
185
210
|
end
|
186
|
-
|
187
211
|
end
|
188
212
|
|
189
213
|
class UnableToDetectSchemaException < ServiceError
|
@@ -209,7 +233,6 @@ module Aws::KinesisAnalyticsV2
|
|
209
233
|
def processed_input_records
|
210
234
|
@data[:processed_input_records]
|
211
235
|
end
|
212
|
-
|
213
236
|
end
|
214
237
|
|
215
238
|
class UnsupportedOperationException < ServiceError
|
@@ -225,7 +248,6 @@ module Aws::KinesisAnalyticsV2
|
|
225
248
|
def message
|
226
249
|
@message || @data[:message]
|
227
250
|
end
|
228
|
-
|
229
251
|
end
|
230
252
|
|
231
253
|
end
|
@@ -401,6 +401,66 @@ module Aws::KinesisAnalyticsV2
|
|
401
401
|
include Aws::Structure
|
402
402
|
end
|
403
403
|
|
404
|
+
# @note When making an API call, you may pass AddApplicationVpcConfigurationRequest
|
405
|
+
# data as a hash:
|
406
|
+
#
|
407
|
+
# {
|
408
|
+
# application_name: "ApplicationName", # required
|
409
|
+
# current_application_version_id: 1, # required
|
410
|
+
# vpc_configuration: { # required
|
411
|
+
# subnet_ids: ["SubnetId"], # required
|
412
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
413
|
+
# },
|
414
|
+
# }
|
415
|
+
#
|
416
|
+
# @!attribute [rw] application_name
|
417
|
+
# The name of an existing application.
|
418
|
+
# @return [String]
|
419
|
+
#
|
420
|
+
# @!attribute [rw] current_application_version_id
|
421
|
+
# The version of the application to which you want to add the input
|
422
|
+
# processing configuration. You can use the DescribeApplication
|
423
|
+
# operation to get the current application version. If the version
|
424
|
+
# specified is not the current version, the
|
425
|
+
# `ConcurrentModificationException` is returned.
|
426
|
+
# @return [Integer]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] vpc_configuration
|
429
|
+
# Description of the VPC to add to the application.
|
430
|
+
# @return [Types::VpcConfiguration]
|
431
|
+
#
|
432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationRequest AWS API Documentation
|
433
|
+
#
|
434
|
+
class AddApplicationVpcConfigurationRequest < Struct.new(
|
435
|
+
:application_name,
|
436
|
+
:current_application_version_id,
|
437
|
+
:vpc_configuration)
|
438
|
+
include Aws::Structure
|
439
|
+
end
|
440
|
+
|
441
|
+
# @!attribute [rw] application_arn
|
442
|
+
# The ARN of the application.
|
443
|
+
# @return [String]
|
444
|
+
#
|
445
|
+
# @!attribute [rw] application_version_id
|
446
|
+
# Provides the current application version. Kinesis Data Analytics
|
447
|
+
# updates the ApplicationVersionId each time you update the
|
448
|
+
# application.
|
449
|
+
# @return [Integer]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] vpc_configuration_description
|
452
|
+
# The parameters of the new VPC configuration.
|
453
|
+
# @return [Types::VpcConfigurationDescription]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationResponse AWS API Documentation
|
456
|
+
#
|
457
|
+
class AddApplicationVpcConfigurationResponse < Struct.new(
|
458
|
+
:application_arn,
|
459
|
+
:application_version_id,
|
460
|
+
:vpc_configuration_description)
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
404
464
|
# Describes code configuration for a Java-based Kinesis Data Analytics
|
405
465
|
# application.
|
406
466
|
#
|
@@ -633,6 +693,12 @@ module Aws::KinesisAnalyticsV2
|
|
633
693
|
# application_snapshot_configuration: {
|
634
694
|
# snapshots_enabled: false, # required
|
635
695
|
# },
|
696
|
+
# vpc_configurations: [
|
697
|
+
# {
|
698
|
+
# subnet_ids: ["SubnetId"], # required
|
699
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
700
|
+
# },
|
701
|
+
# ],
|
636
702
|
# }
|
637
703
|
#
|
638
704
|
# @!attribute [rw] sql_application_configuration
|
@@ -660,6 +726,11 @@ module Aws::KinesisAnalyticsV2
|
|
660
726
|
# Data Analytics application.
|
661
727
|
# @return [Types::ApplicationSnapshotConfiguration]
|
662
728
|
#
|
729
|
+
# @!attribute [rw] vpc_configurations
|
730
|
+
# The array of descriptions of VPC configurations available to the
|
731
|
+
# application.
|
732
|
+
# @return [Array<Types::VpcConfiguration>]
|
733
|
+
#
|
663
734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfiguration AWS API Documentation
|
664
735
|
#
|
665
736
|
class ApplicationConfiguration < Struct.new(
|
@@ -667,7 +738,8 @@ module Aws::KinesisAnalyticsV2
|
|
667
738
|
:flink_application_configuration,
|
668
739
|
:environment_properties,
|
669
740
|
:application_code_configuration,
|
670
|
-
:application_snapshot_configuration
|
741
|
+
:application_snapshot_configuration,
|
742
|
+
:vpc_configurations)
|
671
743
|
include Aws::Structure
|
672
744
|
end
|
673
745
|
|
@@ -703,6 +775,11 @@ module Aws::KinesisAnalyticsV2
|
|
703
775
|
# Data Analytics application.
|
704
776
|
# @return [Types::ApplicationSnapshotConfigurationDescription]
|
705
777
|
#
|
778
|
+
# @!attribute [rw] vpc_configuration_descriptions
|
779
|
+
# The array of descriptions of VPC configurations available to the
|
780
|
+
# application.
|
781
|
+
# @return [Array<Types::VpcConfigurationDescription>]
|
782
|
+
#
|
706
783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationDescription AWS API Documentation
|
707
784
|
#
|
708
785
|
class ApplicationConfigurationDescription < Struct.new(
|
@@ -711,7 +788,8 @@ module Aws::KinesisAnalyticsV2
|
|
711
788
|
:run_configuration_description,
|
712
789
|
:flink_application_configuration_description,
|
713
790
|
:environment_property_descriptions,
|
714
|
-
:application_snapshot_configuration_description
|
791
|
+
:application_snapshot_configuration_description,
|
792
|
+
:vpc_configuration_descriptions)
|
715
793
|
include Aws::Structure
|
716
794
|
end
|
717
795
|
|
@@ -859,6 +937,13 @@ module Aws::KinesisAnalyticsV2
|
|
859
937
|
# application_snapshot_configuration_update: {
|
860
938
|
# snapshots_enabled_update: false, # required
|
861
939
|
# },
|
940
|
+
# vpc_configuration_updates: [
|
941
|
+
# {
|
942
|
+
# vpc_configuration_id: "Id", # required
|
943
|
+
# subnet_id_updates: ["SubnetId"],
|
944
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
945
|
+
# },
|
946
|
+
# ],
|
862
947
|
# }
|
863
948
|
#
|
864
949
|
# @!attribute [rw] sql_application_configuration_update
|
@@ -886,6 +971,11 @@ module Aws::KinesisAnalyticsV2
|
|
886
971
|
# Data Analytics application.
|
887
972
|
# @return [Types::ApplicationSnapshotConfigurationUpdate]
|
888
973
|
#
|
974
|
+
# @!attribute [rw] vpc_configuration_updates
|
975
|
+
# Updates to the array of descriptions of VPC configurations available
|
976
|
+
# to the application.
|
977
|
+
# @return [Array<Types::VpcConfigurationUpdate>]
|
978
|
+
#
|
889
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationUpdate AWS API Documentation
|
890
980
|
#
|
891
981
|
class ApplicationConfigurationUpdate < Struct.new(
|
@@ -893,7 +983,8 @@ module Aws::KinesisAnalyticsV2
|
|
893
983
|
:application_code_configuration_update,
|
894
984
|
:flink_application_configuration_update,
|
895
985
|
:environment_property_updates,
|
896
|
-
:application_snapshot_configuration_update
|
986
|
+
:application_snapshot_configuration_update,
|
987
|
+
:vpc_configuration_updates)
|
897
988
|
include Aws::Structure
|
898
989
|
end
|
899
990
|
|
@@ -1149,17 +1240,45 @@ module Aws::KinesisAnalyticsV2
|
|
1149
1240
|
#
|
1150
1241
|
# @!attribute [rw] configuration_type
|
1151
1242
|
# Describes whether the application uses Amazon Kinesis Data
|
1152
|
-
# Analytics' default checkpointing behavior.
|
1243
|
+
# Analytics' default checkpointing behavior. You must set this
|
1244
|
+
# property to `CUSTOM` in order to set the `CheckpointingEnabled`,
|
1245
|
+
# `CheckpointInterval`, or `MinPauseBetweenCheckpoints` parameters.
|
1246
|
+
#
|
1247
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1248
|
+
# following values, even if they are set to other values using APIs or
|
1249
|
+
# application code:
|
1250
|
+
#
|
1251
|
+
# * **CheckpointingEnabled:** true
|
1252
|
+
#
|
1253
|
+
# * **CheckpointInterval:** 60000
|
1254
|
+
#
|
1255
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1256
|
+
#
|
1257
|
+
# </note>
|
1153
1258
|
# @return [String]
|
1154
1259
|
#
|
1155
1260
|
# @!attribute [rw] checkpointing_enabled
|
1156
1261
|
# Describes whether checkpointing is enabled for a Java-based Kinesis
|
1157
1262
|
# Data Analytics application.
|
1263
|
+
#
|
1264
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1265
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1266
|
+
# if this value is set to another value using this API or in
|
1267
|
+
# application code.
|
1268
|
+
#
|
1269
|
+
# </note>
|
1158
1270
|
# @return [Boolean]
|
1159
1271
|
#
|
1160
1272
|
# @!attribute [rw] checkpoint_interval
|
1161
1273
|
# Describes the interval in milliseconds between checkpoint
|
1162
1274
|
# operations.
|
1275
|
+
#
|
1276
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1277
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1278
|
+
# this value is set to another value using this API or in application
|
1279
|
+
# code.
|
1280
|
+
#
|
1281
|
+
# </note>
|
1163
1282
|
# @return [Integer]
|
1164
1283
|
#
|
1165
1284
|
# @!attribute [rw] min_pause_between_checkpoints
|
@@ -1170,6 +1289,12 @@ module Aws::KinesisAnalyticsV2
|
|
1170
1289
|
# more information, see [ Tuning Checkpointing][1] in the [Apache
|
1171
1290
|
# Flink Documentation][2].
|
1172
1291
|
#
|
1292
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1293
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1294
|
+
# even if this value is set using this API or in application code.
|
1295
|
+
#
|
1296
|
+
# </note>
|
1297
|
+
#
|
1173
1298
|
#
|
1174
1299
|
#
|
1175
1300
|
# [1]: https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing
|
@@ -1192,21 +1317,53 @@ module Aws::KinesisAnalyticsV2
|
|
1192
1317
|
# @!attribute [rw] configuration_type
|
1193
1318
|
# Describes whether the application uses the default checkpointing
|
1194
1319
|
# behavior in Kinesis Data Analytics.
|
1320
|
+
#
|
1321
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1322
|
+
# following values, even if they are set to other values using APIs or
|
1323
|
+
# application code:
|
1324
|
+
#
|
1325
|
+
# * **CheckpointingEnabled:** true
|
1326
|
+
#
|
1327
|
+
# * **CheckpointInterval:** 60000
|
1328
|
+
#
|
1329
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1330
|
+
#
|
1331
|
+
# </note>
|
1195
1332
|
# @return [String]
|
1196
1333
|
#
|
1197
1334
|
# @!attribute [rw] checkpointing_enabled
|
1198
1335
|
# Describes whether checkpointing is enabled for a Java-based Kinesis
|
1199
1336
|
# Data Analytics application.
|
1337
|
+
#
|
1338
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1339
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1340
|
+
# if this value is set to another value using this API or in
|
1341
|
+
# application code.
|
1342
|
+
#
|
1343
|
+
# </note>
|
1200
1344
|
# @return [Boolean]
|
1201
1345
|
#
|
1202
1346
|
# @!attribute [rw] checkpoint_interval
|
1203
1347
|
# Describes the interval in milliseconds between checkpoint
|
1204
1348
|
# operations.
|
1349
|
+
#
|
1350
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1351
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1352
|
+
# this value is set to another value using this API or in application
|
1353
|
+
# code.
|
1354
|
+
#
|
1355
|
+
# </note>
|
1205
1356
|
# @return [Integer]
|
1206
1357
|
#
|
1207
1358
|
# @!attribute [rw] min_pause_between_checkpoints
|
1208
1359
|
# Describes the minimum time in milliseconds after a checkpoint
|
1209
1360
|
# operation completes that a new checkpoint operation can start.
|
1361
|
+
#
|
1362
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1363
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1364
|
+
# even if this value is set using this API or in application code.
|
1365
|
+
#
|
1366
|
+
# </note>
|
1210
1367
|
# @return [Integer]
|
1211
1368
|
#
|
1212
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationDescription AWS API Documentation
|
@@ -1234,23 +1391,57 @@ module Aws::KinesisAnalyticsV2
|
|
1234
1391
|
#
|
1235
1392
|
# @!attribute [rw] configuration_type_update
|
1236
1393
|
# Describes updates to whether the application uses the default
|
1237
|
-
# checkpointing behavior of Kinesis Data Analytics.
|
1394
|
+
# checkpointing behavior of Kinesis Data Analytics. You must set this
|
1395
|
+
# property to `CUSTOM` in order to set the `CheckpointingEnabled`,
|
1396
|
+
# `CheckpointInterval`, or `MinPauseBetweenCheckpoints` parameters.
|
1397
|
+
#
|
1398
|
+
# <note markdown="1"> If this value is set to `DEFAULT`, the application will use the
|
1399
|
+
# following values, even if they are set to other values using APIs or
|
1400
|
+
# application code:
|
1401
|
+
#
|
1402
|
+
# * **CheckpointingEnabled:** true
|
1403
|
+
#
|
1404
|
+
# * **CheckpointInterval:** 60000
|
1405
|
+
#
|
1406
|
+
# * **MinPauseBetweenCheckpoints:** 5000
|
1407
|
+
#
|
1408
|
+
# </note>
|
1238
1409
|
# @return [String]
|
1239
1410
|
#
|
1240
1411
|
# @!attribute [rw] checkpointing_enabled_update
|
1241
1412
|
# Describes updates to whether checkpointing is enabled for an
|
1242
1413
|
# application.
|
1414
|
+
#
|
1415
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1416
|
+
# application will use a `CheckpointingEnabled` value of `true`, even
|
1417
|
+
# if this value is set to another value using this API or in
|
1418
|
+
# application code.
|
1419
|
+
#
|
1420
|
+
# </note>
|
1243
1421
|
# @return [Boolean]
|
1244
1422
|
#
|
1245
1423
|
# @!attribute [rw] checkpoint_interval_update
|
1246
1424
|
# Describes updates to the interval in milliseconds between checkpoint
|
1247
1425
|
# operations.
|
1426
|
+
#
|
1427
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1428
|
+
# application will use a `CheckpointInterval` vaue of 60000, even if
|
1429
|
+
# this value is set to another value using this API or in application
|
1430
|
+
# code.
|
1431
|
+
#
|
1432
|
+
# </note>
|
1248
1433
|
# @return [Integer]
|
1249
1434
|
#
|
1250
1435
|
# @!attribute [rw] min_pause_between_checkpoints_update
|
1251
1436
|
# Describes updates to the minimum time in milliseconds after a
|
1252
1437
|
# checkpoint operation completes that a new checkpoint operation can
|
1253
1438
|
# start.
|
1439
|
+
#
|
1440
|
+
# <note markdown="1"> If `CheckpointConfiguration.ConfigurationType` is `DEFAULT`, the
|
1441
|
+
# application will use a `MinPauseBetweenCheckpoints` value of 5000,
|
1442
|
+
# even if this value is set using this API or in application code.
|
1443
|
+
#
|
1444
|
+
# </note>
|
1254
1445
|
# @return [Integer]
|
1255
1446
|
#
|
1256
1447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationUpdate AWS API Documentation
|
@@ -1483,7 +1674,7 @@ module Aws::KinesisAnalyticsV2
|
|
1483
1674
|
# {
|
1484
1675
|
# application_name: "ApplicationName", # required
|
1485
1676
|
# application_description: "ApplicationDescription",
|
1486
|
-
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6
|
1677
|
+
# runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8
|
1487
1678
|
# service_execution_role: "RoleARN", # required
|
1488
1679
|
# application_configuration: {
|
1489
1680
|
# sql_application_configuration: {
|
@@ -1621,6 +1812,12 @@ module Aws::KinesisAnalyticsV2
|
|
1621
1812
|
# application_snapshot_configuration: {
|
1622
1813
|
# snapshots_enabled: false, # required
|
1623
1814
|
# },
|
1815
|
+
# vpc_configurations: [
|
1816
|
+
# {
|
1817
|
+
# subnet_ids: ["SubnetId"], # required
|
1818
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
1819
|
+
# },
|
1820
|
+
# ],
|
1624
1821
|
# },
|
1625
1822
|
# cloud_watch_logging_options: [
|
1626
1823
|
# {
|
@@ -1668,12 +1865,11 @@ module Aws::KinesisAnalyticsV2
|
|
1668
1865
|
# key-value pair that identifies an application. Note that the maximum
|
1669
1866
|
# number of application tags includes system tags. The maximum number
|
1670
1867
|
# of user-defined application tags is 50. For more information, see
|
1671
|
-
# [Using
|
1672
|
-
# Management Guide*.
|
1868
|
+
# [Using Tagging][1].
|
1673
1869
|
#
|
1674
1870
|
#
|
1675
1871
|
#
|
1676
|
-
# [1]: https://docs.aws.amazon.com/
|
1872
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
1677
1873
|
# @return [Array<Types::Tag>]
|
1678
1874
|
#
|
1679
1875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationRequest AWS API Documentation
|
@@ -2009,6 +2205,53 @@ module Aws::KinesisAnalyticsV2
|
|
2009
2205
|
#
|
2010
2206
|
class DeleteApplicationSnapshotResponse < Aws::EmptyStructure; end
|
2011
2207
|
|
2208
|
+
# @note When making an API call, you may pass DeleteApplicationVpcConfigurationRequest
|
2209
|
+
# data as a hash:
|
2210
|
+
#
|
2211
|
+
# {
|
2212
|
+
# application_name: "ApplicationName", # required
|
2213
|
+
# current_application_version_id: 1, # required
|
2214
|
+
# vpc_configuration_id: "Id", # required
|
2215
|
+
# }
|
2216
|
+
#
|
2217
|
+
# @!attribute [rw] application_name
|
2218
|
+
# The name of an existing application.
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] current_application_version_id
|
2222
|
+
# The current application version ID. You can retrieve the application
|
2223
|
+
# version ID using DescribeApplication.
|
2224
|
+
# @return [Integer]
|
2225
|
+
#
|
2226
|
+
# @!attribute [rw] vpc_configuration_id
|
2227
|
+
# The ID of the VPC configuration to delete.
|
2228
|
+
# @return [String]
|
2229
|
+
#
|
2230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationRequest AWS API Documentation
|
2231
|
+
#
|
2232
|
+
class DeleteApplicationVpcConfigurationRequest < Struct.new(
|
2233
|
+
:application_name,
|
2234
|
+
:current_application_version_id,
|
2235
|
+
:vpc_configuration_id)
|
2236
|
+
include Aws::Structure
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
# @!attribute [rw] application_arn
|
2240
|
+
# The ARN of the Kinesis Data Analytics application.
|
2241
|
+
# @return [String]
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] application_version_id
|
2244
|
+
# The updated version ID of the application.
|
2245
|
+
# @return [Integer]
|
2246
|
+
#
|
2247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationResponse AWS API Documentation
|
2248
|
+
#
|
2249
|
+
class DeleteApplicationVpcConfigurationResponse < Struct.new(
|
2250
|
+
:application_arn,
|
2251
|
+
:application_version_id)
|
2252
|
+
include Aws::Structure
|
2253
|
+
end
|
2254
|
+
|
2012
2255
|
# @note When making an API call, you may pass DescribeApplicationRequest
|
2013
2256
|
# data as a hash:
|
2014
2257
|
#
|
@@ -2409,6 +2652,38 @@ module Aws::KinesisAnalyticsV2
|
|
2409
2652
|
include Aws::Structure
|
2410
2653
|
end
|
2411
2654
|
|
2655
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
2656
|
+
# Data Analytics application.
|
2657
|
+
#
|
2658
|
+
# @note When making an API call, you may pass FlinkRunConfiguration
|
2659
|
+
# data as a hash:
|
2660
|
+
#
|
2661
|
+
# {
|
2662
|
+
# allow_non_restored_state: false,
|
2663
|
+
# }
|
2664
|
+
#
|
2665
|
+
# @!attribute [rw] allow_non_restored_state
|
2666
|
+
# When restoring from a savepoint, specifies whether the runtime is
|
2667
|
+
# allowed to skip a state that cannot be mapped to the new program.
|
2668
|
+
# This will happen if the program is updated between savepoints to
|
2669
|
+
# remove stateful parameters, and state data in the savepoint no
|
2670
|
+
# longer corresponds to valid application data. For more information,
|
2671
|
+
# see [ Allowing Non-Restored State][1] in the [Apache Flink
|
2672
|
+
# documentation][2].
|
2673
|
+
#
|
2674
|
+
#
|
2675
|
+
#
|
2676
|
+
# [1]: https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state
|
2677
|
+
# [2]: https://ci.apache.org/projects/flink/flink-docs-release-1.8/
|
2678
|
+
# @return [Boolean]
|
2679
|
+
#
|
2680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkRunConfiguration AWS API Documentation
|
2681
|
+
#
|
2682
|
+
class FlinkRunConfiguration < Struct.new(
|
2683
|
+
:allow_non_restored_state)
|
2684
|
+
include Aws::Structure
|
2685
|
+
end
|
2686
|
+
|
2412
2687
|
# When you configure the application input for an SQL-based Amazon
|
2413
2688
|
# Kinesis Data Analytics application, you specify the streaming source,
|
2414
2689
|
# the in-application stream name that is created, and the mapping
|
@@ -3603,7 +3878,9 @@ module Aws::KinesisAnalyticsV2
|
|
3603
3878
|
#
|
3604
3879
|
# @!attribute [rw] configuration_type
|
3605
3880
|
# Describes whether to use the default CloudWatch logging
|
3606
|
-
# configuration for an application.
|
3881
|
+
# configuration for an application. You must set this property to
|
3882
|
+
# `CUSTOM` in order to set the `LogLevel` or `MetricsLevel`
|
3883
|
+
# parameters.
|
3607
3884
|
# @return [String]
|
3608
3885
|
#
|
3609
3886
|
# @!attribute [rw] metrics_level
|
@@ -3662,7 +3939,9 @@ module Aws::KinesisAnalyticsV2
|
|
3662
3939
|
#
|
3663
3940
|
# @!attribute [rw] configuration_type_update
|
3664
3941
|
# Describes updates to whether to use the default CloudWatch logging
|
3665
|
-
# configuration for an application.
|
3942
|
+
# configuration for an application. You must set this property to
|
3943
|
+
# `CUSTOM` in order to set the `LogLevel` or `MetricsLevel`
|
3944
|
+
# parameters.
|
3666
3945
|
# @return [String]
|
3667
3946
|
#
|
3668
3947
|
# @!attribute [rw] metrics_level_update
|
@@ -3873,14 +4152,24 @@ module Aws::KinesisAnalyticsV2
|
|
3873
4152
|
#
|
3874
4153
|
# @!attribute [rw] configuration_type
|
3875
4154
|
# Describes whether the application uses the default parallelism for
|
3876
|
-
# the Kinesis Data Analytics service.
|
4155
|
+
# the Kinesis Data Analytics service. You must set this property to
|
4156
|
+
# `CUSTOM` in order to change your application's
|
4157
|
+
# `AutoScalingEnabled`, `Parallelism`, or `ParallelismPerKPU`
|
4158
|
+
# properties.
|
3877
4159
|
# @return [String]
|
3878
4160
|
#
|
3879
4161
|
# @!attribute [rw] parallelism
|
3880
4162
|
# Describes the initial number of parallel tasks that a Java-based
|
3881
|
-
# Kinesis Data Analytics application can perform.
|
3882
|
-
#
|
3883
|
-
#
|
4163
|
+
# Kinesis Data Analytics application can perform. If
|
4164
|
+
# `AutoScalingEnabled` is set to True, Kinesis Data Analytics
|
4165
|
+
# increases the `CurrentParallelism` value in response to application
|
4166
|
+
# load. The service can increase the `CurrentParallelism` value up to
|
4167
|
+
# the maximum parallelism, which is `ParalellismPerKPU` times the
|
4168
|
+
# maximum KPUs for the application. The maximum KPUs for an
|
4169
|
+
# application is 32 by default, and can be increased by requesting a
|
4170
|
+
# limit increase. If application load is reduced, the service can
|
4171
|
+
# reduce the `CurrentParallelism` value down to the `Parallelism`
|
4172
|
+
# setting.
|
3884
4173
|
# @return [Integer]
|
3885
4174
|
#
|
3886
4175
|
# @!attribute [rw] parallelism_per_kpu
|
@@ -3920,7 +4209,15 @@ module Aws::KinesisAnalyticsV2
|
|
3920
4209
|
#
|
3921
4210
|
# @!attribute [rw] parallelism
|
3922
4211
|
# Describes the initial number of parallel tasks that a Java-based
|
3923
|
-
# Kinesis Data Analytics application can perform.
|
4212
|
+
# Kinesis Data Analytics application can perform. If
|
4213
|
+
# `AutoScalingEnabled` is set to True, then Kinesis Data Analytics can
|
4214
|
+
# increase the `CurrentParallelism` value in response to application
|
4215
|
+
# load. The service can increase `CurrentParallelism` up to the
|
4216
|
+
# maximum parallelism, which is `ParalellismPerKPU` times the maximum
|
4217
|
+
# KPUs for the application. The maximum KPUs for an application is 32
|
4218
|
+
# by default, and can be increased by requesting a limit increase. If
|
4219
|
+
# application load is reduced, the service can reduce the
|
4220
|
+
# `CurrentParallelism` value down to the `Parallelism` setting.
|
3924
4221
|
# @return [Integer]
|
3925
4222
|
#
|
3926
4223
|
# @!attribute [rw] parallelism_per_kpu
|
@@ -3931,7 +4228,15 @@ module Aws::KinesisAnalyticsV2
|
|
3931
4228
|
#
|
3932
4229
|
# @!attribute [rw] current_parallelism
|
3933
4230
|
# Describes the current number of parallel tasks that a Java-based
|
3934
|
-
# Kinesis Data Analytics application can perform.
|
4231
|
+
# Kinesis Data Analytics application can perform. If
|
4232
|
+
# `AutoScalingEnabled` is set to True, Kinesis Data Analytics can
|
4233
|
+
# increase this value in response to application load. The service can
|
4234
|
+
# increase this value up to the maximum parallelism, which is
|
4235
|
+
# `ParalellismPerKPU` times the maximum KPUs for the application. The
|
4236
|
+
# maximum KPUs for an application is 32 by default, and can be
|
4237
|
+
# increased by requesting a limit increase. If application load is
|
4238
|
+
# reduced, the service can reduce the `CurrentParallelism` value down
|
4239
|
+
# to the `Parallelism` setting.
|
3935
4240
|
# @return [Integer]
|
3936
4241
|
#
|
3937
4242
|
# @!attribute [rw] auto_scaling_enabled
|
@@ -3967,12 +4272,22 @@ module Aws::KinesisAnalyticsV2
|
|
3967
4272
|
# @!attribute [rw] configuration_type_update
|
3968
4273
|
# Describes updates to whether the application uses the default
|
3969
4274
|
# parallelism for the Kinesis Data Analytics service, or if a custom
|
3970
|
-
# parallelism is used.
|
4275
|
+
# parallelism is used. You must set this property to `CUSTOM` in order
|
4276
|
+
# to change your application's `AutoScalingEnabled`, `Parallelism`,
|
4277
|
+
# or `ParallelismPerKPU` properties.
|
3971
4278
|
# @return [String]
|
3972
4279
|
#
|
3973
4280
|
# @!attribute [rw] parallelism_update
|
3974
4281
|
# Describes updates to the initial number of parallel tasks an
|
3975
|
-
# application can perform.
|
4282
|
+
# application can perform. If `AutoScalingEnabled` is set to True,
|
4283
|
+
# then Kinesis Data Analytics can increase the `CurrentParallelism`
|
4284
|
+
# value in response to application load. The service can increase
|
4285
|
+
# `CurrentParallelism` up to the maximum parallelism, which is
|
4286
|
+
# `ParalellismPerKPU` times the maximum KPUs for the application. The
|
4287
|
+
# maximum KPUs for an application is 32 by default, and can be
|
4288
|
+
# increased by requesting a limit increase. If application load is
|
4289
|
+
# reduced, the service will reduce `CurrentParallelism` down to the
|
4290
|
+
# `Parallelism` setting.
|
3976
4291
|
# @return [Integer]
|
3977
4292
|
#
|
3978
4293
|
# @!attribute [rw] parallelism_per_kpu_update
|
@@ -4328,6 +4643,9 @@ module Aws::KinesisAnalyticsV2
|
|
4328
4643
|
# data as a hash:
|
4329
4644
|
#
|
4330
4645
|
# {
|
4646
|
+
# flink_run_configuration: {
|
4647
|
+
# allow_non_restored_state: false,
|
4648
|
+
# },
|
4331
4649
|
# sql_run_configurations: [
|
4332
4650
|
# {
|
4333
4651
|
# input_id: "Id", # required
|
@@ -4342,6 +4660,11 @@ module Aws::KinesisAnalyticsV2
|
|
4342
4660
|
# },
|
4343
4661
|
# }
|
4344
4662
|
#
|
4663
|
+
# @!attribute [rw] flink_run_configuration
|
4664
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
4665
|
+
# Data Analytics application.
|
4666
|
+
# @return [Types::FlinkRunConfiguration]
|
4667
|
+
#
|
4345
4668
|
# @!attribute [rw] sql_run_configurations
|
4346
4669
|
# Describes the starting parameters for an SQL-based Kinesis Data
|
4347
4670
|
# Analytics application.
|
@@ -4354,6 +4677,7 @@ module Aws::KinesisAnalyticsV2
|
|
4354
4677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RunConfiguration AWS API Documentation
|
4355
4678
|
#
|
4356
4679
|
class RunConfiguration < Struct.new(
|
4680
|
+
:flink_run_configuration,
|
4357
4681
|
:sql_run_configurations,
|
4358
4682
|
:application_restore_configuration)
|
4359
4683
|
include Aws::Structure
|
@@ -4380,12 +4704,20 @@ module Aws::KinesisAnalyticsV2
|
|
4380
4704
|
# data as a hash:
|
4381
4705
|
#
|
4382
4706
|
# {
|
4707
|
+
# flink_run_configuration: {
|
4708
|
+
# allow_non_restored_state: false,
|
4709
|
+
# },
|
4383
4710
|
# application_restore_configuration: {
|
4384
4711
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
4385
4712
|
# snapshot_name: "SnapshotName",
|
4386
4713
|
# },
|
4387
4714
|
# }
|
4388
4715
|
#
|
4716
|
+
# @!attribute [rw] flink_run_configuration
|
4717
|
+
# Describes the starting parameters for an Apache Flink-based Kinesis
|
4718
|
+
# Data Analytics application.
|
4719
|
+
# @return [Types::FlinkRunConfiguration]
|
4720
|
+
#
|
4389
4721
|
# @!attribute [rw] application_restore_configuration
|
4390
4722
|
# Describes updates to the restore behavior of a restarting
|
4391
4723
|
# application.
|
@@ -4394,6 +4726,7 @@ module Aws::KinesisAnalyticsV2
|
|
4394
4726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RunConfigurationUpdate AWS API Documentation
|
4395
4727
|
#
|
4396
4728
|
class RunConfigurationUpdate < Struct.new(
|
4729
|
+
:flink_run_configuration,
|
4397
4730
|
:application_restore_configuration)
|
4398
4731
|
include Aws::Structure
|
4399
4732
|
end
|
@@ -5019,6 +5352,9 @@ module Aws::KinesisAnalyticsV2
|
|
5019
5352
|
# {
|
5020
5353
|
# application_name: "ApplicationName", # required
|
5021
5354
|
# run_configuration: { # required
|
5355
|
+
# flink_run_configuration: {
|
5356
|
+
# allow_non_restored_state: false,
|
5357
|
+
# },
|
5022
5358
|
# sql_run_configurations: [
|
5023
5359
|
# {
|
5024
5360
|
# input_id: "Id", # required
|
@@ -5082,12 +5418,11 @@ module Aws::KinesisAnalyticsV2
|
|
5082
5418
|
# tag value is replaced with the value that you specify in the request.
|
5083
5419
|
# Note that the maximum number of application tags includes system tags.
|
5084
5420
|
# The maximum number of user-defined application tags is 50. For more
|
5085
|
-
# information, see [Using
|
5086
|
-
# and Cost Management Guide*.
|
5421
|
+
# information, see [Using Tagging][1].
|
5087
5422
|
#
|
5088
5423
|
#
|
5089
5424
|
#
|
5090
|
-
# [1]: https://docs.aws.amazon.com/
|
5425
|
+
# [1]: https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html
|
5091
5426
|
#
|
5092
5427
|
# @note When making an API call, you may pass Tag
|
5093
5428
|
# data as a hash:
|
@@ -5372,9 +5707,19 @@ module Aws::KinesisAnalyticsV2
|
|
5372
5707
|
# application_snapshot_configuration_update: {
|
5373
5708
|
# snapshots_enabled_update: false, # required
|
5374
5709
|
# },
|
5710
|
+
# vpc_configuration_updates: [
|
5711
|
+
# {
|
5712
|
+
# vpc_configuration_id: "Id", # required
|
5713
|
+
# subnet_id_updates: ["SubnetId"],
|
5714
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
5715
|
+
# },
|
5716
|
+
# ],
|
5375
5717
|
# },
|
5376
5718
|
# service_execution_role_update: "RoleARN",
|
5377
5719
|
# run_configuration_update: {
|
5720
|
+
# flink_run_configuration: {
|
5721
|
+
# allow_non_restored_state: false,
|
5722
|
+
# },
|
5378
5723
|
# application_restore_configuration: {
|
5379
5724
|
# application_restore_type: "SKIP_RESTORE_FROM_SNAPSHOT", # required, accepts SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT
|
5380
5725
|
# snapshot_name: "SnapshotName",
|
@@ -5439,5 +5784,117 @@ module Aws::KinesisAnalyticsV2
|
|
5439
5784
|
include Aws::Structure
|
5440
5785
|
end
|
5441
5786
|
|
5787
|
+
# Describes the parameters of a VPC used by the application.
|
5788
|
+
#
|
5789
|
+
# @note When making an API call, you may pass VpcConfiguration
|
5790
|
+
# data as a hash:
|
5791
|
+
#
|
5792
|
+
# {
|
5793
|
+
# subnet_ids: ["SubnetId"], # required
|
5794
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
5795
|
+
# }
|
5796
|
+
#
|
5797
|
+
# @!attribute [rw] subnet_ids
|
5798
|
+
# The array of [Subnet][1] IDs used by the VPC configuration.
|
5799
|
+
#
|
5800
|
+
#
|
5801
|
+
#
|
5802
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5803
|
+
# @return [Array<String>]
|
5804
|
+
#
|
5805
|
+
# @!attribute [rw] security_group_ids
|
5806
|
+
# The array of [SecurityGroup][1] IDs used by the VPC configuration.
|
5807
|
+
#
|
5808
|
+
#
|
5809
|
+
#
|
5810
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5811
|
+
# @return [Array<String>]
|
5812
|
+
#
|
5813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfiguration AWS API Documentation
|
5814
|
+
#
|
5815
|
+
class VpcConfiguration < Struct.new(
|
5816
|
+
:subnet_ids,
|
5817
|
+
:security_group_ids)
|
5818
|
+
include Aws::Structure
|
5819
|
+
end
|
5820
|
+
|
5821
|
+
# Describes the parameters of a VPC used by the application.
|
5822
|
+
#
|
5823
|
+
# @!attribute [rw] vpc_configuration_id
|
5824
|
+
# The ID of the VPC configuration.
|
5825
|
+
# @return [String]
|
5826
|
+
#
|
5827
|
+
# @!attribute [rw] vpc_id
|
5828
|
+
# The ID of the associated VPC.
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] subnet_ids
|
5832
|
+
# The array of [Subnet][1] IDs used by the VPC configuration.
|
5833
|
+
#
|
5834
|
+
#
|
5835
|
+
#
|
5836
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5837
|
+
# @return [Array<String>]
|
5838
|
+
#
|
5839
|
+
# @!attribute [rw] security_group_ids
|
5840
|
+
# The array of [SecurityGroup][1] IDs used by the VPC configuration.
|
5841
|
+
#
|
5842
|
+
#
|
5843
|
+
#
|
5844
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5845
|
+
# @return [Array<String>]
|
5846
|
+
#
|
5847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfigurationDescription AWS API Documentation
|
5848
|
+
#
|
5849
|
+
class VpcConfigurationDescription < Struct.new(
|
5850
|
+
:vpc_configuration_id,
|
5851
|
+
:vpc_id,
|
5852
|
+
:subnet_ids,
|
5853
|
+
:security_group_ids)
|
5854
|
+
include Aws::Structure
|
5855
|
+
end
|
5856
|
+
|
5857
|
+
# Describes updates to the VPC configuration used by the application.
|
5858
|
+
#
|
5859
|
+
# @note When making an API call, you may pass VpcConfigurationUpdate
|
5860
|
+
# data as a hash:
|
5861
|
+
#
|
5862
|
+
# {
|
5863
|
+
# vpc_configuration_id: "Id", # required
|
5864
|
+
# subnet_id_updates: ["SubnetId"],
|
5865
|
+
# security_group_id_updates: ["SecurityGroupId"],
|
5866
|
+
# }
|
5867
|
+
#
|
5868
|
+
# @!attribute [rw] vpc_configuration_id
|
5869
|
+
# Describes an update to the ID of the VPC configuration.
|
5870
|
+
# @return [String]
|
5871
|
+
#
|
5872
|
+
# @!attribute [rw] subnet_id_updates
|
5873
|
+
# Describes updates to the array of [Subnet][1] IDs used by the VPC
|
5874
|
+
# configuration.
|
5875
|
+
#
|
5876
|
+
#
|
5877
|
+
#
|
5878
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html
|
5879
|
+
# @return [Array<String>]
|
5880
|
+
#
|
5881
|
+
# @!attribute [rw] security_group_id_updates
|
5882
|
+
# Describes updates to the array of [SecurityGroup][1] IDs used by the
|
5883
|
+
# VPC configuration.
|
5884
|
+
#
|
5885
|
+
#
|
5886
|
+
#
|
5887
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html
|
5888
|
+
# @return [Array<String>]
|
5889
|
+
#
|
5890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfigurationUpdate AWS API Documentation
|
5891
|
+
#
|
5892
|
+
class VpcConfigurationUpdate < Struct.new(
|
5893
|
+
:vpc_configuration_id,
|
5894
|
+
:subnet_id_updates,
|
5895
|
+
:security_group_id_updates)
|
5896
|
+
include Aws::Structure
|
5897
|
+
end
|
5898
|
+
|
5442
5899
|
end
|
5443
5900
|
end
|