aws-sdk-kafka 1.51.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +64 -1
- data/lib/aws-sdk-kafka/client_api.rb +34 -0
- data/lib/aws-sdk-kafka/endpoints.rb +14 -0
- data/lib/aws-sdk-kafka/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-kafka/types.rb +100 -5
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e294d4b0959ec6fea3393e645f323f2e218b22e8b7402509ea99f181709229ac
|
4
|
+
data.tar.gz: 2073fafb0e9aa6c6c4179f8e933436473e4d02a2379c416221185bea47dcf6b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81fbf95e50ac85e5264ed8d57e0e1e77151be0314a9eb3f7655e7e0cf5ee1d1d110e9388c07fa1956abda3e2ad2ac651f15c7e364472fd0638180f287f50f2f
|
7
|
+
data.tar.gz: 797afedb23f7bcd5c4e80a32b399aa879fcaf98d1a9ee933f4b97465687966d2031a0b33a948fb28f56b459acdc106d0d1530c70099cd3ca1cd664d6752eb2fd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.52.0 (2022-10-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Tiered Storage. UpdateStorage allows you to control the Storage Mode for supported storage tiers.
|
8
|
+
|
4
9
|
1.51.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -441,6 +441,9 @@ module Aws::Kafka
|
|
441
441
|
# @option params [Hash<String,String>] :tags
|
442
442
|
# Create tags when creating the cluster.
|
443
443
|
#
|
444
|
+
# @option params [String] :storage_mode
|
445
|
+
# This controls storage mode for supported storage tiers.
|
446
|
+
#
|
444
447
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
445
448
|
#
|
446
449
|
# * {Types::CreateClusterResponse#cluster_arn #cluster_arn} => String
|
@@ -534,6 +537,7 @@ module Aws::Kafka
|
|
534
537
|
# tags: {
|
535
538
|
# "__string" => "__string",
|
536
539
|
# },
|
540
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
537
541
|
# })
|
538
542
|
#
|
539
543
|
# @example Response structure
|
@@ -661,6 +665,7 @@ module Aws::Kafka
|
|
661
665
|
# },
|
662
666
|
# },
|
663
667
|
# number_of_broker_nodes: 1, # required
|
668
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
664
669
|
# },
|
665
670
|
# serverless: {
|
666
671
|
# vpc_configs: [ # required
|
@@ -872,6 +877,7 @@ module Aws::Kafka
|
|
872
877
|
# resp.cluster_info.tags["__string"] #=> String
|
873
878
|
# resp.cluster_info.zookeeper_connect_string #=> String
|
874
879
|
# resp.cluster_info.zookeeper_connect_string_tls #=> String
|
880
|
+
# resp.cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
875
881
|
#
|
876
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster AWS API Documentation
|
877
883
|
#
|
@@ -947,6 +953,7 @@ module Aws::Kafka
|
|
947
953
|
# resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
|
948
954
|
# resp.cluster_info.provisioned.zookeeper_connect_string #=> String
|
949
955
|
# resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
|
956
|
+
# resp.cluster_info.provisioned.storage_mode #=> String, one of "LOCAL", "TIERED"
|
950
957
|
# resp.cluster_info.serverless.vpc_configs #=> Array
|
951
958
|
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
|
952
959
|
# resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
|
@@ -1021,6 +1028,7 @@ module Aws::Kafka
|
|
1021
1028
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1022
1029
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1023
1030
|
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
1031
|
+
# resp.cluster_operation_info.source_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1024
1032
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
1025
1033
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1026
1034
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
@@ -1051,6 +1059,7 @@ module Aws::Kafka
|
|
1051
1059
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1052
1060
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1053
1061
|
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
1062
|
+
# resp.cluster_operation_info.target_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1054
1063
|
#
|
1055
1064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
1056
1065
|
#
|
@@ -1316,6 +1325,7 @@ module Aws::Kafka
|
|
1316
1325
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1317
1326
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1318
1327
|
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1328
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1319
1329
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1320
1330
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
1321
1331
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].provisioned_throughput.enabled #=> Boolean
|
@@ -1346,6 +1356,7 @@ module Aws::Kafka
|
|
1346
1356
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1347
1357
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1348
1358
|
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1359
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1349
1360
|
# resp.next_token #=> String
|
1350
1361
|
#
|
1351
1362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1428,6 +1439,7 @@ module Aws::Kafka
|
|
1428
1439
|
# resp.cluster_info_list[0].tags["__string"] #=> String
|
1429
1440
|
# resp.cluster_info_list[0].zookeeper_connect_string #=> String
|
1430
1441
|
# resp.cluster_info_list[0].zookeeper_connect_string_tls #=> String
|
1442
|
+
# resp.cluster_info_list[0].storage_mode #=> String, one of "LOCAL", "TIERED"
|
1431
1443
|
# resp.next_token #=> String
|
1432
1444
|
#
|
1433
1445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters AWS API Documentation
|
@@ -1522,6 +1534,7 @@ module Aws::Kafka
|
|
1522
1534
|
# resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
|
1523
1535
|
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
|
1524
1536
|
# resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
|
1537
|
+
# resp.cluster_info_list[0].provisioned.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1525
1538
|
# resp.cluster_info_list[0].serverless.vpc_configs #=> Array
|
1526
1539
|
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
|
1527
1540
|
# resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
|
@@ -2308,6 +2321,56 @@ module Aws::Kafka
|
|
2308
2321
|
req.send_request(options)
|
2309
2322
|
end
|
2310
2323
|
|
2324
|
+
# Updates cluster broker volume size (or) sets cluster storage mode to
|
2325
|
+
# TIERED.
|
2326
|
+
#
|
2327
|
+
# @option params [required, String] :cluster_arn
|
2328
|
+
#
|
2329
|
+
# @option params [required, String] :current_version
|
2330
|
+
# The version of cluster to update from. A successful operation will
|
2331
|
+
# then generate a new version.
|
2332
|
+
#
|
2333
|
+
# @option params [Types::ProvisionedThroughput] :provisioned_throughput
|
2334
|
+
# EBS volume provisioned throughput information.
|
2335
|
+
#
|
2336
|
+
# @option params [String] :storage_mode
|
2337
|
+
# Controls storage mode for supported storage tiers.
|
2338
|
+
#
|
2339
|
+
# @option params [Integer] :volume_size_gb
|
2340
|
+
# size of the EBS volume to update.
|
2341
|
+
#
|
2342
|
+
# @return [Types::UpdateStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2343
|
+
#
|
2344
|
+
# * {Types::UpdateStorageResponse#cluster_arn #cluster_arn} => String
|
2345
|
+
# * {Types::UpdateStorageResponse#cluster_operation_arn #cluster_operation_arn} => String
|
2346
|
+
#
|
2347
|
+
# @example Request syntax with placeholder values
|
2348
|
+
#
|
2349
|
+
# resp = client.update_storage({
|
2350
|
+
# cluster_arn: "__string", # required
|
2351
|
+
# current_version: "__string", # required
|
2352
|
+
# provisioned_throughput: {
|
2353
|
+
# enabled: false,
|
2354
|
+
# volume_throughput: 1,
|
2355
|
+
# },
|
2356
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
2357
|
+
# volume_size_gb: 1,
|
2358
|
+
# })
|
2359
|
+
#
|
2360
|
+
# @example Response structure
|
2361
|
+
#
|
2362
|
+
# resp.cluster_arn #=> String
|
2363
|
+
# resp.cluster_operation_arn #=> String
|
2364
|
+
#
|
2365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateStorage AWS API Documentation
|
2366
|
+
#
|
2367
|
+
# @overload update_storage(params = {})
|
2368
|
+
# @param [Hash] params ({})
|
2369
|
+
def update_storage(params = {}, options = {})
|
2370
|
+
req = build_request(:update_storage, params)
|
2371
|
+
req.send_request(options)
|
2372
|
+
end
|
2373
|
+
|
2311
2374
|
# @!endgroup
|
2312
2375
|
|
2313
2376
|
# @param params ({})
|
@@ -2321,7 +2384,7 @@ module Aws::Kafka
|
|
2321
2384
|
params: params,
|
2322
2385
|
config: config)
|
2323
2386
|
context[:gem_name] = 'aws-sdk-kafka'
|
2324
|
-
context[:gem_version] = '1.
|
2387
|
+
context[:gem_version] = '1.52.0'
|
2325
2388
|
Seahorse::Client::Request.new(handlers, context)
|
2326
2389
|
end
|
2327
2390
|
|
@@ -126,6 +126,7 @@ module Aws::Kafka
|
|
126
126
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
127
127
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
128
128
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
129
|
+
StorageMode = Shapes::StringShape.new(name: 'StorageMode')
|
129
130
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
130
131
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
131
132
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
@@ -151,6 +152,8 @@ module Aws::Kafka
|
|
151
152
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
152
153
|
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
153
154
|
UpdateSecurityResponse = Shapes::StructureShape.new(name: 'UpdateSecurityResponse')
|
155
|
+
UpdateStorageRequest = Shapes::StructureShape.new(name: 'UpdateStorageRequest')
|
156
|
+
UpdateStorageResponse = Shapes::StructureShape.new(name: 'UpdateStorageResponse')
|
154
157
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
155
158
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
156
159
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
@@ -271,6 +274,7 @@ module Aws::Kafka
|
|
271
274
|
ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
272
275
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
273
276
|
ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
277
|
+
ClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
274
278
|
ClusterInfo.struct_class = Types::ClusterInfo
|
275
279
|
|
276
280
|
ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
|
@@ -333,6 +337,7 @@ module Aws::Kafka
|
|
333
337
|
CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
334
338
|
CreateClusterRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
335
339
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
340
|
+
CreateClusterRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
336
341
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
337
342
|
|
338
343
|
CreateClusterResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
@@ -578,6 +583,7 @@ module Aws::Kafka
|
|
578
583
|
MutableClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
579
584
|
MutableClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
580
585
|
MutableClusterInfo.add_member(:connectivity_info, Shapes::ShapeRef.new(shape: ConnectivityInfo, location_name: "connectivityInfo"))
|
586
|
+
MutableClusterInfo.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
581
587
|
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
582
588
|
|
583
589
|
NodeExporter.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
@@ -622,6 +628,7 @@ module Aws::Kafka
|
|
622
628
|
Provisioned.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
623
629
|
Provisioned.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
624
630
|
Provisioned.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
631
|
+
Provisioned.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
625
632
|
Provisioned.struct_class = Types::Provisioned
|
626
633
|
|
627
634
|
ProvisionedRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
@@ -633,6 +640,7 @@ module Aws::Kafka
|
|
633
640
|
ProvisionedRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
634
641
|
ProvisionedRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
635
642
|
ProvisionedRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
643
|
+
ProvisionedRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
636
644
|
ProvisionedRequest.struct_class = Types::ProvisionedRequest
|
637
645
|
|
638
646
|
ProvisionedThroughput.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
@@ -800,6 +808,17 @@ module Aws::Kafka
|
|
800
808
|
UpdateSecurityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
801
809
|
UpdateSecurityResponse.struct_class = Types::UpdateSecurityResponse
|
802
810
|
|
811
|
+
UpdateStorageRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
812
|
+
UpdateStorageRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
813
|
+
UpdateStorageRequest.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "provisionedThroughput"))
|
814
|
+
UpdateStorageRequest.add_member(:storage_mode, Shapes::ShapeRef.new(shape: StorageMode, location_name: "storageMode"))
|
815
|
+
UpdateStorageRequest.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, location_name: "volumeSizeGB"))
|
816
|
+
UpdateStorageRequest.struct_class = Types::UpdateStorageRequest
|
817
|
+
|
818
|
+
UpdateStorageResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
819
|
+
UpdateStorageResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
820
|
+
UpdateStorageResponse.struct_class = Types::UpdateStorageResponse
|
821
|
+
|
803
822
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subnetIds"))
|
804
823
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroupIds"))
|
805
824
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -1376,6 +1395,21 @@ module Aws::Kafka
|
|
1376
1395
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1377
1396
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1378
1397
|
end)
|
1398
|
+
|
1399
|
+
api.add_operation(:update_storage, Seahorse::Model::Operation.new.tap do |o|
|
1400
|
+
o.name = "UpdateStorage"
|
1401
|
+
o.http_method = "PUT"
|
1402
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/storage"
|
1403
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateStorageRequest)
|
1404
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateStorageResponse)
|
1405
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1406
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1407
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1408
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1409
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1410
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1411
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1412
|
+
end)
|
1379
1413
|
end
|
1380
1414
|
|
1381
1415
|
end
|
@@ -501,5 +501,19 @@ module Aws::Kafka
|
|
501
501
|
end
|
502
502
|
end
|
503
503
|
|
504
|
+
class UpdateStorage
|
505
|
+
def self.build(context)
|
506
|
+
unless context.config.regional_endpoint
|
507
|
+
endpoint = context.config.endpoint.to_s
|
508
|
+
end
|
509
|
+
Aws::Kafka::EndpointParameters.new(
|
510
|
+
region: context.config.region,
|
511
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
512
|
+
use_fips: context.config.use_fips_endpoint,
|
513
|
+
endpoint: endpoint,
|
514
|
+
)
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
504
518
|
end
|
505
519
|
end
|
@@ -126,6 +126,8 @@ module Aws::Kafka
|
|
126
126
|
Aws::Kafka::Endpoints::UpdateMonitoring.build(context)
|
127
127
|
when :update_security
|
128
128
|
Aws::Kafka::Endpoints::UpdateSecurity.build(context)
|
129
|
+
when :update_storage
|
130
|
+
Aws::Kafka::Endpoints::UpdateStorage.build(context)
|
129
131
|
end
|
130
132
|
end
|
131
133
|
end
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -458,6 +458,10 @@ module Aws::Kafka
|
|
458
458
|
# port.
|
459
459
|
# @return [String]
|
460
460
|
#
|
461
|
+
# @!attribute [rw] storage_mode
|
462
|
+
# This controls storage mode for supported storage tiers.
|
463
|
+
# @return [String]
|
464
|
+
#
|
461
465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
|
462
466
|
#
|
463
467
|
class ClusterInfo < Struct.new(
|
@@ -478,7 +482,8 @@ module Aws::Kafka
|
|
478
482
|
:state_info,
|
479
483
|
:tags,
|
480
484
|
:zookeeper_connect_string,
|
481
|
-
:zookeeper_connect_string_tls
|
485
|
+
:zookeeper_connect_string_tls,
|
486
|
+
:storage_mode)
|
482
487
|
SENSITIVE = []
|
483
488
|
include Aws::Structure
|
484
489
|
end
|
@@ -826,6 +831,7 @@ module Aws::Kafka
|
|
826
831
|
# tags: {
|
827
832
|
# "__string" => "__string",
|
828
833
|
# },
|
834
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
829
835
|
# }
|
830
836
|
#
|
831
837
|
# @!attribute [rw] broker_node_group_info
|
@@ -875,6 +881,10 @@ module Aws::Kafka
|
|
875
881
|
# Create tags when creating the cluster.
|
876
882
|
# @return [Hash<String,String>]
|
877
883
|
#
|
884
|
+
# @!attribute [rw] storage_mode
|
885
|
+
# This controls storage mode for supported storage tiers.
|
886
|
+
# @return [String]
|
887
|
+
#
|
878
888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterRequest AWS API Documentation
|
879
889
|
#
|
880
890
|
class CreateClusterRequest < Struct.new(
|
@@ -888,7 +898,8 @@ module Aws::Kafka
|
|
888
898
|
:logging_info,
|
889
899
|
:number_of_broker_nodes,
|
890
900
|
:open_monitoring,
|
891
|
-
:tags
|
901
|
+
:tags,
|
902
|
+
:storage_mode)
|
892
903
|
SENSITIVE = []
|
893
904
|
include Aws::Structure
|
894
905
|
end
|
@@ -1879,6 +1890,7 @@ module Aws::Kafka
|
|
1879
1890
|
# },
|
1880
1891
|
# },
|
1881
1892
|
# number_of_broker_nodes: 1, # required
|
1893
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
1882
1894
|
# },
|
1883
1895
|
# serverless: {
|
1884
1896
|
# vpc_configs: [ # required
|
@@ -2145,6 +2157,7 @@ module Aws::Kafka
|
|
2145
2157
|
# },
|
2146
2158
|
# },
|
2147
2159
|
# number_of_broker_nodes: 1, # required
|
2160
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
2148
2161
|
# }
|
2149
2162
|
#
|
2150
2163
|
# @!attribute [rw] broker_node_group_info
|
@@ -2186,6 +2199,10 @@ module Aws::Kafka
|
|
2186
2199
|
# The number of brokers in the cluster.
|
2187
2200
|
# @return [Integer]
|
2188
2201
|
#
|
2202
|
+
# @!attribute [rw] storage_mode
|
2203
|
+
# This controls storage mode for supported storage tiers.
|
2204
|
+
# @return [String]
|
2205
|
+
#
|
2189
2206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ProvisionedRequest AWS API Documentation
|
2190
2207
|
#
|
2191
2208
|
class ProvisionedRequest < Struct.new(
|
@@ -2197,7 +2214,8 @@ module Aws::Kafka
|
|
2197
2214
|
:open_monitoring,
|
2198
2215
|
:kafka_version,
|
2199
2216
|
:logging_info,
|
2200
|
-
:number_of_broker_nodes
|
2217
|
+
:number_of_broker_nodes,
|
2218
|
+
:storage_mode)
|
2201
2219
|
SENSITIVE = []
|
2202
2220
|
include Aws::Structure
|
2203
2221
|
end
|
@@ -2257,6 +2275,10 @@ module Aws::Kafka
|
|
2257
2275
|
# cluster on a TLS port.
|
2258
2276
|
# @return [String]
|
2259
2277
|
#
|
2278
|
+
# @!attribute [rw] storage_mode
|
2279
|
+
# This controls storage mode for supported storage tiers.
|
2280
|
+
# @return [String]
|
2281
|
+
#
|
2260
2282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Provisioned AWS API Documentation
|
2261
2283
|
#
|
2262
2284
|
class Provisioned < Struct.new(
|
@@ -2269,7 +2291,8 @@ module Aws::Kafka
|
|
2269
2291
|
:logging_info,
|
2270
2292
|
:number_of_broker_nodes,
|
2271
2293
|
:zookeeper_connect_string,
|
2272
|
-
:zookeeper_connect_string_tls
|
2294
|
+
:zookeeper_connect_string_tls,
|
2295
|
+
:storage_mode)
|
2273
2296
|
SENSITIVE = []
|
2274
2297
|
include Aws::Structure
|
2275
2298
|
end
|
@@ -2809,6 +2832,10 @@ module Aws::Kafka
|
|
2809
2832
|
# Information about the broker access configuration.
|
2810
2833
|
# @return [Types::ConnectivityInfo]
|
2811
2834
|
#
|
2835
|
+
# @!attribute [rw] storage_mode
|
2836
|
+
# This controls storage mode for supported storage tiers.
|
2837
|
+
# @return [String]
|
2838
|
+
#
|
2812
2839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
2813
2840
|
#
|
2814
2841
|
class MutableClusterInfo < Struct.new(
|
@@ -2822,7 +2849,8 @@ module Aws::Kafka
|
|
2822
2849
|
:instance_type,
|
2823
2850
|
:client_authentication,
|
2824
2851
|
:encryption_info,
|
2825
|
-
:connectivity_info
|
2852
|
+
:connectivity_info,
|
2853
|
+
:storage_mode)
|
2826
2854
|
SENSITIVE = []
|
2827
2855
|
include Aws::Structure
|
2828
2856
|
end
|
@@ -3732,6 +3760,73 @@ module Aws::Kafka
|
|
3732
3760
|
include Aws::Structure
|
3733
3761
|
end
|
3734
3762
|
|
3763
|
+
# Request object for UpdateStorageApi.
|
3764
|
+
#
|
3765
|
+
# @note When making an API call, you may pass UpdateStorageRequest
|
3766
|
+
# data as a hash:
|
3767
|
+
#
|
3768
|
+
# {
|
3769
|
+
# cluster_arn: "__string", # required
|
3770
|
+
# current_version: "__string", # required
|
3771
|
+
# provisioned_throughput: {
|
3772
|
+
# enabled: false,
|
3773
|
+
# volume_throughput: 1,
|
3774
|
+
# },
|
3775
|
+
# storage_mode: "LOCAL", # accepts LOCAL, TIERED
|
3776
|
+
# volume_size_gb: 1,
|
3777
|
+
# }
|
3778
|
+
#
|
3779
|
+
# @!attribute [rw] cluster_arn
|
3780
|
+
# @return [String]
|
3781
|
+
#
|
3782
|
+
# @!attribute [rw] current_version
|
3783
|
+
# The version of cluster to update from. A successful operation will
|
3784
|
+
# then generate a new version.
|
3785
|
+
# @return [String]
|
3786
|
+
#
|
3787
|
+
# @!attribute [rw] provisioned_throughput
|
3788
|
+
# EBS volume provisioned throughput information.
|
3789
|
+
# @return [Types::ProvisionedThroughput]
|
3790
|
+
#
|
3791
|
+
# @!attribute [rw] storage_mode
|
3792
|
+
# Controls storage mode for supported storage tiers.
|
3793
|
+
# @return [String]
|
3794
|
+
#
|
3795
|
+
# @!attribute [rw] volume_size_gb
|
3796
|
+
# size of the EBS volume to update.
|
3797
|
+
# @return [Integer]
|
3798
|
+
#
|
3799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateStorageRequest AWS API Documentation
|
3800
|
+
#
|
3801
|
+
class UpdateStorageRequest < Struct.new(
|
3802
|
+
:cluster_arn,
|
3803
|
+
:current_version,
|
3804
|
+
:provisioned_throughput,
|
3805
|
+
:storage_mode,
|
3806
|
+
:volume_size_gb)
|
3807
|
+
SENSITIVE = []
|
3808
|
+
include Aws::Structure
|
3809
|
+
end
|
3810
|
+
|
3811
|
+
# Response body for UpdateStorageResponse Api.
|
3812
|
+
#
|
3813
|
+
# @!attribute [rw] cluster_arn
|
3814
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
3815
|
+
# @return [String]
|
3816
|
+
#
|
3817
|
+
# @!attribute [rw] cluster_operation_arn
|
3818
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
3819
|
+
# @return [String]
|
3820
|
+
#
|
3821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateStorageResponse AWS API Documentation
|
3822
|
+
#
|
3823
|
+
class UpdateStorageResponse < Struct.new(
|
3824
|
+
:cluster_arn,
|
3825
|
+
:cluster_operation_arn)
|
3826
|
+
SENSITIVE = []
|
3827
|
+
include Aws::Structure
|
3828
|
+
end
|
3829
|
+
|
3735
3830
|
# Zookeeper node information.
|
3736
3831
|
#
|
3737
3832
|
# @!attribute [rw] attached_eni_id
|
data/lib/aws-sdk-kafka.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|