aws-sdk-kafka 1.44.0 → 1.48.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +362 -4
- data/lib/aws-sdk-kafka/client_api.rb +157 -1
- data/lib/aws-sdk-kafka/types.rb +749 -2
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +4 -4
@@ -27,11 +27,13 @@ module Aws::Kafka
|
|
27
27
|
ClientAuthentication = Shapes::StructureShape.new(name: 'ClientAuthentication')
|
28
28
|
ClientBroker = Shapes::StringShape.new(name: 'ClientBroker')
|
29
29
|
CloudWatchLogs = Shapes::StructureShape.new(name: 'CloudWatchLogs')
|
30
|
+
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
30
31
|
ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
|
31
32
|
ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
|
32
33
|
ClusterOperationStep = Shapes::StructureShape.new(name: 'ClusterOperationStep')
|
33
34
|
ClusterOperationStepInfo = Shapes::StructureShape.new(name: 'ClusterOperationStepInfo')
|
34
35
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
36
|
+
ClusterType = Shapes::StringShape.new(name: 'ClusterType')
|
35
37
|
CompatibleKafkaVersion = Shapes::StructureShape.new(name: 'CompatibleKafkaVersion')
|
36
38
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
37
39
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
@@ -41,6 +43,8 @@ module Aws::Kafka
|
|
41
43
|
ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
|
42
44
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
43
45
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
46
|
+
CreateClusterV2Request = Shapes::StructureShape.new(name: 'CreateClusterV2Request')
|
47
|
+
CreateClusterV2Response = Shapes::StructureShape.new(name: 'CreateClusterV2Response')
|
44
48
|
CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
|
45
49
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
46
50
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
@@ -51,6 +55,8 @@ module Aws::Kafka
|
|
51
55
|
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
52
56
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
53
57
|
DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
|
58
|
+
DescribeClusterV2Request = Shapes::StructureShape.new(name: 'DescribeClusterV2Request')
|
59
|
+
DescribeClusterV2Response = Shapes::StructureShape.new(name: 'DescribeClusterV2Response')
|
54
60
|
DescribeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRequest')
|
55
61
|
DescribeConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationResponse')
|
56
62
|
DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
|
@@ -78,6 +84,8 @@ module Aws::Kafka
|
|
78
84
|
ListClusterOperationsResponse = Shapes::StructureShape.new(name: 'ListClusterOperationsResponse')
|
79
85
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
80
86
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
87
|
+
ListClustersV2Request = Shapes::StructureShape.new(name: 'ListClustersV2Request')
|
88
|
+
ListClustersV2Response = Shapes::StructureShape.new(name: 'ListClustersV2Response')
|
81
89
|
ListConfigurationRevisionsRequest = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsRequest')
|
82
90
|
ListConfigurationRevisionsResponse = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsResponse')
|
83
91
|
ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
|
@@ -102,12 +110,19 @@ module Aws::Kafka
|
|
102
110
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
103
111
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
104
112
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
113
|
+
Provisioned = Shapes::StructureShape.new(name: 'Provisioned')
|
114
|
+
ProvisionedRequest = Shapes::StructureShape.new(name: 'ProvisionedRequest')
|
115
|
+
ProvisionedThroughput = Shapes::StructureShape.new(name: 'ProvisionedThroughput')
|
105
116
|
PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
|
106
117
|
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
107
118
|
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
108
119
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
109
120
|
Sasl = Shapes::StructureShape.new(name: 'Sasl')
|
110
121
|
Scram = Shapes::StructureShape.new(name: 'Scram')
|
122
|
+
Serverless = Shapes::StructureShape.new(name: 'Serverless')
|
123
|
+
ServerlessClientAuthentication = Shapes::StructureShape.new(name: 'ServerlessClientAuthentication')
|
124
|
+
ServerlessRequest = Shapes::StructureShape.new(name: 'ServerlessRequest')
|
125
|
+
ServerlessSasl = Shapes::StructureShape.new(name: 'ServerlessSasl')
|
111
126
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
112
127
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
113
128
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -136,6 +151,7 @@ module Aws::Kafka
|
|
136
151
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
137
152
|
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
138
153
|
UpdateSecurityResponse = Shapes::StructureShape.new(name: 'UpdateSecurityResponse')
|
154
|
+
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
139
155
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
140
156
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
141
157
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
@@ -144,6 +160,7 @@ module Aws::Kafka
|
|
144
160
|
__integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
|
145
161
|
__integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
|
146
162
|
__listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
|
163
|
+
__listOfCluster = Shapes::ListShape.new(name: '__listOfCluster')
|
147
164
|
__listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
|
148
165
|
__listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
|
149
166
|
__listOfClusterOperationStep = Shapes::ListShape.new(name: '__listOfClusterOperationStep')
|
@@ -153,6 +170,7 @@ module Aws::Kafka
|
|
153
170
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
154
171
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
155
172
|
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
173
|
+
__listOfVpcConfig = Shapes::ListShape.new(name: '__listOfVpcConfig')
|
156
174
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
157
175
|
__long = Shapes::IntegerShape.new(name: '__long')
|
158
176
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
@@ -183,7 +201,8 @@ module Aws::Kafka
|
|
183
201
|
BatchDisassociateScramSecretResponse.struct_class = Types::BatchDisassociateScramSecretResponse
|
184
202
|
|
185
203
|
BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
|
186
|
-
BrokerEBSVolumeInfo.add_member(:
|
204
|
+
BrokerEBSVolumeInfo.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "provisionedThroughput"))
|
205
|
+
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, location_name: "volumeSizeGB"))
|
187
206
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
188
207
|
|
189
208
|
BrokerLogs.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogs, location_name: "cloudWatchLogs"))
|
@@ -221,6 +240,19 @@ module Aws::Kafka
|
|
221
240
|
CloudWatchLogs.add_member(:log_group, Shapes::ShapeRef.new(shape: __string, location_name: "logGroup"))
|
222
241
|
CloudWatchLogs.struct_class = Types::CloudWatchLogs
|
223
242
|
|
243
|
+
Cluster.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
|
244
|
+
Cluster.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
|
245
|
+
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
246
|
+
Cluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
|
247
|
+
Cluster.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
248
|
+
Cluster.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
249
|
+
Cluster.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
250
|
+
Cluster.add_member(:state_info, Shapes::ShapeRef.new(shape: StateInfo, location_name: "stateInfo"))
|
251
|
+
Cluster.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
252
|
+
Cluster.add_member(:provisioned, Shapes::ShapeRef.new(shape: Provisioned, location_name: "provisioned"))
|
253
|
+
Cluster.add_member(:serverless, Shapes::ShapeRef.new(shape: Serverless, location_name: "serverless"))
|
254
|
+
Cluster.struct_class = Types::Cluster
|
255
|
+
|
224
256
|
ClusterInfo.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
|
225
257
|
ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
|
226
258
|
ClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
@@ -308,6 +340,18 @@ module Aws::Kafka
|
|
308
340
|
CreateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
309
341
|
CreateClusterResponse.struct_class = Types::CreateClusterResponse
|
310
342
|
|
343
|
+
CreateClusterV2Request.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
|
344
|
+
CreateClusterV2Request.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
345
|
+
CreateClusterV2Request.add_member(:provisioned, Shapes::ShapeRef.new(shape: ProvisionedRequest, location_name: "provisioned"))
|
346
|
+
CreateClusterV2Request.add_member(:serverless, Shapes::ShapeRef.new(shape: ServerlessRequest, location_name: "serverless"))
|
347
|
+
CreateClusterV2Request.struct_class = Types::CreateClusterV2Request
|
348
|
+
|
349
|
+
CreateClusterV2Response.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
350
|
+
CreateClusterV2Response.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
|
351
|
+
CreateClusterV2Response.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
352
|
+
CreateClusterV2Response.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
|
353
|
+
CreateClusterV2Response.struct_class = Types::CreateClusterV2Response
|
354
|
+
|
311
355
|
CreateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
312
356
|
CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
313
357
|
CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
@@ -348,6 +392,12 @@ module Aws::Kafka
|
|
348
392
|
DescribeClusterResponse.add_member(:cluster_info, Shapes::ShapeRef.new(shape: ClusterInfo, location_name: "clusterInfo"))
|
349
393
|
DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
|
350
394
|
|
395
|
+
DescribeClusterV2Request.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
396
|
+
DescribeClusterV2Request.struct_class = Types::DescribeClusterV2Request
|
397
|
+
|
398
|
+
DescribeClusterV2Response.add_member(:cluster_info, Shapes::ShapeRef.new(shape: Cluster, location_name: "clusterInfo"))
|
399
|
+
DescribeClusterV2Response.struct_class = Types::DescribeClusterV2Response
|
400
|
+
|
351
401
|
DescribeConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
352
402
|
DescribeConfigurationRequest.struct_class = Types::DescribeConfigurationRequest
|
353
403
|
|
@@ -371,6 +421,7 @@ module Aws::Kafka
|
|
371
421
|
DescribeConfigurationRevisionResponse.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, location_name: "serverProperties"))
|
372
422
|
DescribeConfigurationRevisionResponse.struct_class = Types::DescribeConfigurationRevisionResponse
|
373
423
|
|
424
|
+
EBSStorageInfo.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "provisionedThroughput"))
|
374
425
|
EBSStorageInfo.add_member(:volume_size, Shapes::ShapeRef.new(shape: __integerMin1Max16384, location_name: "volumeSize"))
|
375
426
|
EBSStorageInfo.struct_class = Types::EBSStorageInfo
|
376
427
|
|
@@ -454,6 +505,16 @@ module Aws::Kafka
|
|
454
505
|
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
455
506
|
ListClustersResponse.struct_class = Types::ListClustersResponse
|
456
507
|
|
508
|
+
ListClustersV2Request.add_member(:cluster_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterNameFilter"))
|
509
|
+
ListClustersV2Request.add_member(:cluster_type_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterTypeFilter"))
|
510
|
+
ListClustersV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
511
|
+
ListClustersV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
512
|
+
ListClustersV2Request.struct_class = Types::ListClustersV2Request
|
513
|
+
|
514
|
+
ListClustersV2Response.add_member(:cluster_info_list, Shapes::ShapeRef.new(shape: __listOfCluster, location_name: "clusterInfoList"))
|
515
|
+
ListClustersV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
516
|
+
ListClustersV2Response.struct_class = Types::ListClustersV2Response
|
517
|
+
|
457
518
|
ListConfigurationRevisionsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
458
519
|
ListConfigurationRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
459
520
|
ListConfigurationRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -551,6 +612,33 @@ module Aws::Kafka
|
|
551
612
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
552
613
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
553
614
|
|
615
|
+
Provisioned.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
616
|
+
Provisioned.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
|
617
|
+
Provisioned.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
618
|
+
Provisioned.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
619
|
+
Provisioned.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
620
|
+
Provisioned.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
621
|
+
Provisioned.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
622
|
+
Provisioned.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
623
|
+
Provisioned.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
624
|
+
Provisioned.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
625
|
+
Provisioned.struct_class = Types::Provisioned
|
626
|
+
|
627
|
+
ProvisionedRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
628
|
+
ProvisionedRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
629
|
+
ProvisionedRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
630
|
+
ProvisionedRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
631
|
+
ProvisionedRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
632
|
+
ProvisionedRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
|
633
|
+
ProvisionedRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
634
|
+
ProvisionedRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
|
635
|
+
ProvisionedRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
636
|
+
ProvisionedRequest.struct_class = Types::ProvisionedRequest
|
637
|
+
|
638
|
+
ProvisionedThroughput.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
639
|
+
ProvisionedThroughput.add_member(:volume_throughput, Shapes::ShapeRef.new(shape: __integer, location_name: "volumeThroughput"))
|
640
|
+
ProvisionedThroughput.struct_class = Types::ProvisionedThroughput
|
641
|
+
|
554
642
|
PublicAccess.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
555
643
|
PublicAccess.struct_class = Types::PublicAccess
|
556
644
|
|
@@ -574,6 +662,20 @@ module Aws::Kafka
|
|
574
662
|
Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
575
663
|
Scram.struct_class = Types::Scram
|
576
664
|
|
665
|
+
Serverless.add_member(:vpc_configs, Shapes::ShapeRef.new(shape: __listOfVpcConfig, required: true, location_name: "vpcConfigs"))
|
666
|
+
Serverless.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ServerlessClientAuthentication, location_name: "clientAuthentication"))
|
667
|
+
Serverless.struct_class = Types::Serverless
|
668
|
+
|
669
|
+
ServerlessClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: ServerlessSasl, location_name: "sasl"))
|
670
|
+
ServerlessClientAuthentication.struct_class = Types::ServerlessClientAuthentication
|
671
|
+
|
672
|
+
ServerlessRequest.add_member(:vpc_configs, Shapes::ShapeRef.new(shape: __listOfVpcConfig, required: true, location_name: "vpcConfigs"))
|
673
|
+
ServerlessRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ServerlessClientAuthentication, location_name: "clientAuthentication"))
|
674
|
+
ServerlessRequest.struct_class = Types::ServerlessRequest
|
675
|
+
|
676
|
+
ServerlessSasl.add_member(:iam, Shapes::ShapeRef.new(shape: Iam, location_name: "iam"))
|
677
|
+
ServerlessSasl.struct_class = Types::ServerlessSasl
|
678
|
+
|
577
679
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
578
680
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
579
681
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -698,6 +800,10 @@ module Aws::Kafka
|
|
698
800
|
UpdateSecurityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
699
801
|
UpdateSecurityResponse.struct_class = Types::UpdateSecurityResponse
|
700
802
|
|
803
|
+
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subnetIds"))
|
804
|
+
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroupIds"))
|
805
|
+
VpcConfig.struct_class = Types::VpcConfig
|
806
|
+
|
701
807
|
ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
|
702
808
|
ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
|
703
809
|
ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
|
@@ -707,6 +813,8 @@ module Aws::Kafka
|
|
707
813
|
|
708
814
|
__listOfBrokerEBSVolumeInfo.member = Shapes::ShapeRef.new(shape: BrokerEBSVolumeInfo)
|
709
815
|
|
816
|
+
__listOfCluster.member = Shapes::ShapeRef.new(shape: Cluster)
|
817
|
+
|
710
818
|
__listOfClusterInfo.member = Shapes::ShapeRef.new(shape: ClusterInfo)
|
711
819
|
|
712
820
|
__listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
|
@@ -725,6 +833,8 @@ module Aws::Kafka
|
|
725
833
|
|
726
834
|
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
727
835
|
|
836
|
+
__listOfVpcConfig.member = Shapes::ShapeRef.new(shape: VpcConfig)
|
837
|
+
|
728
838
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
729
839
|
|
730
840
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -779,6 +889,21 @@ module Aws::Kafka
|
|
779
889
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
780
890
|
end)
|
781
891
|
|
892
|
+
api.add_operation(:create_cluster_v2, Seahorse::Model::Operation.new.tap do |o|
|
893
|
+
o.name = "CreateClusterV2"
|
894
|
+
o.http_method = "POST"
|
895
|
+
o.http_request_uri = "/api/v2/clusters"
|
896
|
+
o.input = Shapes::ShapeRef.new(shape: CreateClusterV2Request)
|
897
|
+
o.output = Shapes::ShapeRef.new(shape: CreateClusterV2Response)
|
898
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
899
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
900
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
903
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
904
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
905
|
+
end)
|
906
|
+
|
782
907
|
api.add_operation(:create_configuration, Seahorse::Model::Operation.new.tap do |o|
|
783
908
|
o.name = "CreateConfiguration"
|
784
909
|
o.http_method = "POST"
|
@@ -831,6 +956,19 @@ module Aws::Kafka
|
|
831
956
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
832
957
|
end)
|
833
958
|
|
959
|
+
api.add_operation(:describe_cluster_v2, Seahorse::Model::Operation.new.tap do |o|
|
960
|
+
o.name = "DescribeClusterV2"
|
961
|
+
o.http_method = "GET"
|
962
|
+
o.http_request_uri = "/api/v2/clusters/{clusterArn}"
|
963
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeClusterV2Request)
|
964
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeClusterV2Response)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
966
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
970
|
+
end)
|
971
|
+
|
834
972
|
api.add_operation(:describe_cluster_operation, Seahorse::Model::Operation.new.tap do |o|
|
835
973
|
o.name = "DescribeClusterOperation"
|
836
974
|
o.http_method = "GET"
|
@@ -951,6 +1089,24 @@ module Aws::Kafka
|
|
951
1089
|
)
|
952
1090
|
end)
|
953
1091
|
|
1092
|
+
api.add_operation(:list_clusters_v2, Seahorse::Model::Operation.new.tap do |o|
|
1093
|
+
o.name = "ListClustersV2"
|
1094
|
+
o.http_method = "GET"
|
1095
|
+
o.http_request_uri = "/api/v2/clusters"
|
1096
|
+
o.input = Shapes::ShapeRef.new(shape: ListClustersV2Request)
|
1097
|
+
o.output = Shapes::ShapeRef.new(shape: ListClustersV2Response)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1102
|
+
o[:pager] = Aws::Pager.new(
|
1103
|
+
limit_key: "max_results",
|
1104
|
+
tokens: {
|
1105
|
+
"next_token" => "next_token"
|
1106
|
+
}
|
1107
|
+
)
|
1108
|
+
end)
|
1109
|
+
|
954
1110
|
api.add_operation(:list_configuration_revisions, Seahorse::Model::Operation.new.tap do |o|
|
955
1111
|
o.name = "ListConfigurationRevisions"
|
956
1112
|
o.http_method = "GET"
|