aws-sdk-kafka 1.0.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.
@@ -0,0 +1,283 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kafka
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
15
+ BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
16
+ BrokerNodeGroupInfo = Shapes::StructureShape.new(name: 'BrokerNodeGroupInfo')
17
+ BrokerNodeInfo = Shapes::StructureShape.new(name: 'BrokerNodeInfo')
18
+ BrokerSoftwareInfo = Shapes::StructureShape.new(name: 'BrokerSoftwareInfo')
19
+ ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
20
+ ClusterState = Shapes::StringShape.new(name: 'ClusterState')
21
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
22
+ CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
23
+ CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
24
+ DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
25
+ DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
26
+ DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
27
+ DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
28
+ EBSStorageInfo = Shapes::StructureShape.new(name: 'EBSStorageInfo')
29
+ EncryptionAtRest = Shapes::StructureShape.new(name: 'EncryptionAtRest')
30
+ EncryptionInfo = Shapes::StructureShape.new(name: 'EncryptionInfo')
31
+ EnhancedMonitoring = Shapes::StringShape.new(name: 'EnhancedMonitoring')
32
+ Error = Shapes::StructureShape.new(name: 'Error')
33
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
34
+ GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
35
+ GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
36
+ InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
37
+ ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
38
+ ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
39
+ ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
40
+ ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
41
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
42
+ NodeInfo = Shapes::StructureShape.new(name: 'NodeInfo')
43
+ NodeType = Shapes::StringShape.new(name: 'NodeType')
44
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
45
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
46
+ StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
47
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
48
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
49
+ ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
50
+ __boolean = Shapes::BooleanShape.new(name: '__boolean')
51
+ __double = Shapes::FloatShape.new(name: '__double')
52
+ __integer = Shapes::IntegerShape.new(name: '__integer')
53
+ __integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
54
+ __integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
55
+ __listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
56
+ __listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
57
+ __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
58
+ __long = Shapes::IntegerShape.new(name: '__long')
59
+ __string = Shapes::StringShape.new(name: '__string')
60
+ __stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
61
+ __stringMin1Max64 = Shapes::StringShape.new(name: '__stringMin1Max64')
62
+ __stringMin5Max32 = Shapes::StringShape.new(name: '__stringMin5Max32')
63
+ __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
64
+ __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
65
+
66
+ BrokerNodeGroupInfo.add_member(:broker_az_distribution, Shapes::ShapeRef.new(shape: BrokerAZDistribution, location_name: "brokerAZDistribution"))
67
+ BrokerNodeGroupInfo.add_member(:client_subnets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "clientSubnets"))
68
+ BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
69
+ BrokerNodeGroupInfo.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
70
+ BrokerNodeGroupInfo.add_member(:storage_info, Shapes::ShapeRef.new(shape: StorageInfo, location_name: "storageInfo"))
71
+ BrokerNodeGroupInfo.struct_class = Types::BrokerNodeGroupInfo
72
+
73
+ BrokerNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
74
+ BrokerNodeInfo.add_member(:broker_id, Shapes::ShapeRef.new(shape: __double, location_name: "brokerId"))
75
+ BrokerNodeInfo.add_member(:client_subnet, Shapes::ShapeRef.new(shape: __string, location_name: "clientSubnet"))
76
+ BrokerNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
77
+ BrokerNodeInfo.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
78
+ BrokerNodeInfo.struct_class = Types::BrokerNodeInfo
79
+
80
+ BrokerSoftwareInfo.add_member(:configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "configurationArn"))
81
+ BrokerSoftwareInfo.add_member(:configuration_revision, Shapes::ShapeRef.new(shape: __string, location_name: "configurationRevision"))
82
+ BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
83
+ BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
84
+
85
+ ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
86
+ ClusterInfo.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
87
+ ClusterInfo.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
88
+ ClusterInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
89
+ ClusterInfo.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
90
+ ClusterInfo.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
91
+ ClusterInfo.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
92
+ ClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
93
+ ClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
94
+ ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
95
+ ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
96
+ ClusterInfo.struct_class = Types::ClusterInfo
97
+
98
+ CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
99
+ CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
100
+ CreateClusterRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
101
+ CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
102
+ CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
103
+ CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
104
+ CreateClusterRequest.struct_class = Types::CreateClusterRequest
105
+
106
+ CreateClusterResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
107
+ CreateClusterResponse.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
108
+ CreateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
109
+ CreateClusterResponse.struct_class = Types::CreateClusterResponse
110
+
111
+ DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
112
+ DeleteClusterRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "currentVersion"))
113
+ DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
114
+
115
+ DeleteClusterResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
116
+ DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
117
+ DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
118
+
119
+ DescribeClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
120
+ DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
121
+
122
+ DescribeClusterResponse.add_member(:cluster_info, Shapes::ShapeRef.new(shape: ClusterInfo, location_name: "clusterInfo"))
123
+ DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
124
+
125
+ EBSStorageInfo.add_member(:volume_size, Shapes::ShapeRef.new(shape: __integerMin1Max16384, location_name: "volumeSize"))
126
+ EBSStorageInfo.struct_class = Types::EBSStorageInfo
127
+
128
+ EncryptionAtRest.add_member(:data_volume_kms_key_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "dataVolumeKMSKeyId"))
129
+ EncryptionAtRest.struct_class = Types::EncryptionAtRest
130
+
131
+ EncryptionInfo.add_member(:encryption_at_rest, Shapes::ShapeRef.new(shape: EncryptionAtRest, location_name: "encryptionAtRest"))
132
+ EncryptionInfo.struct_class = Types::EncryptionInfo
133
+
134
+ Error.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
135
+ Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
136
+ Error.struct_class = Types::Error
137
+
138
+ GetBootstrapBrokersRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
139
+ GetBootstrapBrokersRequest.struct_class = Types::GetBootstrapBrokersRequest
140
+
141
+ GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
142
+ GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
143
+
144
+ ListClustersRequest.add_member(:cluster_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterNameFilter"))
145
+ ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
146
+ ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
147
+ ListClustersRequest.struct_class = Types::ListClustersRequest
148
+
149
+ ListClustersResponse.add_member(:cluster_info_list, Shapes::ShapeRef.new(shape: __listOfClusterInfo, location_name: "clusterInfoList"))
150
+ ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
151
+ ListClustersResponse.struct_class = Types::ListClustersResponse
152
+
153
+ ListNodesRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
154
+ ListNodesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
155
+ ListNodesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
156
+ ListNodesRequest.struct_class = Types::ListNodesRequest
157
+
158
+ ListNodesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
159
+ ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
160
+ ListNodesResponse.struct_class = Types::ListNodesResponse
161
+
162
+ NodeInfo.add_member(:added_to_cluster_time, Shapes::ShapeRef.new(shape: __string, location_name: "addedToClusterTime"))
163
+ NodeInfo.add_member(:broker_node_info, Shapes::ShapeRef.new(shape: BrokerNodeInfo, location_name: "brokerNodeInfo"))
164
+ NodeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
165
+ NodeInfo.add_member(:node_arn, Shapes::ShapeRef.new(shape: __string, location_name: "nodeARN"))
166
+ NodeInfo.add_member(:node_type, Shapes::ShapeRef.new(shape: NodeType, location_name: "nodeType"))
167
+ NodeInfo.add_member(:zookeeper_node_info, Shapes::ShapeRef.new(shape: ZookeeperNodeInfo, location_name: "zookeeperNodeInfo"))
168
+ NodeInfo.struct_class = Types::NodeInfo
169
+
170
+ StorageInfo.add_member(:ebs_storage_info, Shapes::ShapeRef.new(shape: EBSStorageInfo, location_name: "ebsStorageInfo"))
171
+ StorageInfo.struct_class = Types::StorageInfo
172
+
173
+ ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
174
+ ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
175
+ ZookeeperNodeInfo.add_member(:zookeeper_id, Shapes::ShapeRef.new(shape: __double, location_name: "zookeeperId"))
176
+ ZookeeperNodeInfo.add_member(:zookeeper_version, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperVersion"))
177
+ ZookeeperNodeInfo.struct_class = Types::ZookeeperNodeInfo
178
+
179
+ __listOfClusterInfo.member = Shapes::ShapeRef.new(shape: ClusterInfo)
180
+
181
+ __listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
182
+
183
+ __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
184
+
185
+
186
+ # @api private
187
+ API = Seahorse::Model::Api.new.tap do |api|
188
+
189
+ api.version = "2018-11-14"
190
+
191
+ api.metadata = {
192
+ "apiVersion" => "2018-11-14",
193
+ "endpointPrefix" => "kafka",
194
+ "jsonVersion" => "1.1",
195
+ "protocol" => "rest-json",
196
+ "serviceAbbreviation" => "Kafka",
197
+ "serviceFullName" => "Managed Streaming for Kafka",
198
+ "serviceId" => "Kafka",
199
+ "signatureVersion" => "v4",
200
+ "signingName" => "kafka",
201
+ "uid" => "kafka-2018-11-14",
202
+ }
203
+
204
+ api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
205
+ o.name = "CreateCluster"
206
+ o.http_method = "POST"
207
+ o.http_request_uri = "/v1/clusters"
208
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
209
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterResponse)
210
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
211
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
212
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
213
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
214
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
215
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
216
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
217
+ end)
218
+
219
+ api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
220
+ o.name = "DeleteCluster"
221
+ o.http_method = "DELETE"
222
+ o.http_request_uri = "/v1/clusters/{clusterArn}"
223
+ o.input = Shapes::ShapeRef.new(shape: DeleteClusterRequest)
224
+ o.output = Shapes::ShapeRef.new(shape: DeleteClusterResponse)
225
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
226
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
227
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
228
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
229
+ end)
230
+
231
+ api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
232
+ o.name = "DescribeCluster"
233
+ o.http_method = "GET"
234
+ o.http_request_uri = "/v1/clusters/{clusterArn}"
235
+ o.input = Shapes::ShapeRef.new(shape: DescribeClusterRequest)
236
+ o.output = Shapes::ShapeRef.new(shape: DescribeClusterResponse)
237
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
238
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
239
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
240
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
241
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
242
+ end)
243
+
244
+ api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
245
+ o.name = "GetBootstrapBrokers"
246
+ o.http_method = "GET"
247
+ o.http_request_uri = "/v1/clusters/{clusterArn}/bootstrap-brokers"
248
+ o.input = Shapes::ShapeRef.new(shape: GetBootstrapBrokersRequest)
249
+ o.output = Shapes::ShapeRef.new(shape: GetBootstrapBrokersResponse)
250
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
251
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
252
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
253
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
254
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
255
+ end)
256
+
257
+ api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
258
+ o.name = "ListClusters"
259
+ o.http_method = "GET"
260
+ o.http_request_uri = "/v1/clusters"
261
+ o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
262
+ o.output = Shapes::ShapeRef.new(shape: ListClustersResponse)
263
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
264
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
265
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
266
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
267
+ end)
268
+
269
+ api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
270
+ o.name = "ListNodes"
271
+ o.http_method = "GET"
272
+ o.http_request_uri = "/v1/clusters/{clusterArn}/nodes"
273
+ o.input = Shapes::ShapeRef.new(shape: ListNodesRequest)
274
+ o.output = Shapes::ShapeRef.new(shape: ListNodesResponse)
275
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
276
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
277
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
278
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
279
+ end)
280
+ end
281
+
282
+ end
283
+ end
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kafka
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kafka
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,655 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kafka
9
+ module Types
10
+
11
+ # Describes the setup to be used for Kafka broker nodes in the cluster.
12
+ #
13
+ # @note When making an API call, you may pass BrokerNodeGroupInfo
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # broker_az_distribution: "DEFAULT", # accepts DEFAULT
18
+ # client_subnets: ["__string"], # required
19
+ # instance_type: "__stringMin5Max32", # required
20
+ # security_groups: ["__string"],
21
+ # storage_info: {
22
+ # ebs_storage_info: {
23
+ # volume_size: 1,
24
+ # },
25
+ # },
26
+ # }
27
+ #
28
+ # @!attribute [rw] broker_az_distribution
29
+ # The distribution of broker nodes across Availability Zones.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] client_subnets
33
+ # The list of subnets to connect to in the client virtual private
34
+ # cloud (VPC). AWS creates elastic network interfaces inside these
35
+ # subnets. Client applications use elastic network interfaces to
36
+ # produce and consume data. Client subnets can't be in Availability
37
+ # Zone us-east-1e.
38
+ # @return [Array<String>]
39
+ #
40
+ # @!attribute [rw] instance_type
41
+ # The type of Amazon EC2 instances to use for Kafka brokers. The
42
+ # following instance types are allowed: kafka.m5.large,
43
+ # kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge,
44
+ # kafka.m5.12xlarge, and kafka.m5.24xlarge.
45
+ # @return [String]
46
+ #
47
+ # @!attribute [rw] security_groups
48
+ # The AWS security groups to associate with the elastic network
49
+ # interfaces in order to specify who can connect to and communicate
50
+ # with the Amazon MSK cluster.
51
+ # @return [Array<String>]
52
+ #
53
+ # @!attribute [rw] storage_info
54
+ # Contains information about storage volumes attached to MSK broker
55
+ # nodes.
56
+ # @return [Types::StorageInfo]
57
+ #
58
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerNodeGroupInfo AWS API Documentation
59
+ #
60
+ class BrokerNodeGroupInfo < Struct.new(
61
+ :broker_az_distribution,
62
+ :client_subnets,
63
+ :instance_type,
64
+ :security_groups,
65
+ :storage_info)
66
+ include Aws::Structure
67
+ end
68
+
69
+ # BrokerNodeInfo
70
+ #
71
+ # @!attribute [rw] attached_eni_id
72
+ # The attached elastic network interface of the broker.
73
+ # @return [String]
74
+ #
75
+ # @!attribute [rw] broker_id
76
+ # The ID of the broker.
77
+ # @return [Float]
78
+ #
79
+ # @!attribute [rw] client_subnet
80
+ # The client subnet to which this broker node belongs.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] client_vpc_ip_address
84
+ # The virtual private cloud (VPC) of the client.
85
+ # @return [String]
86
+ #
87
+ # @!attribute [rw] current_broker_software_info
88
+ # Information about the version of software currently deployed on the
89
+ # Kafka brokers in the cluster.
90
+ # @return [Types::BrokerSoftwareInfo]
91
+ #
92
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerNodeInfo AWS API Documentation
93
+ #
94
+ class BrokerNodeInfo < Struct.new(
95
+ :attached_eni_id,
96
+ :broker_id,
97
+ :client_subnet,
98
+ :client_vpc_ip_address,
99
+ :current_broker_software_info)
100
+ include Aws::Structure
101
+ end
102
+
103
+ # Information about the current software installed on the cluster.
104
+ #
105
+ # @!attribute [rw] configuration_arn
106
+ # The Amazon Resource Name (ARN) of the configuration used for the
107
+ # cluster.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] configuration_revision
111
+ # The revision of the configuration to use.
112
+ # @return [String]
113
+ #
114
+ # @!attribute [rw] kafka_version
115
+ # The version of Apache Kafka.
116
+ # @return [String]
117
+ #
118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerSoftwareInfo AWS API Documentation
119
+ #
120
+ class BrokerSoftwareInfo < Struct.new(
121
+ :configuration_arn,
122
+ :configuration_revision,
123
+ :kafka_version)
124
+ include Aws::Structure
125
+ end
126
+
127
+ # Returns information about a cluster.
128
+ #
129
+ # @!attribute [rw] broker_node_group_info
130
+ # Information about the broker nodes.
131
+ # @return [Types::BrokerNodeGroupInfo]
132
+ #
133
+ # @!attribute [rw] cluster_arn
134
+ # The Amazon Resource Name (ARN) that uniquely identifies the cluster.
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] cluster_name
138
+ # The name of the cluster.
139
+ # @return [String]
140
+ #
141
+ # @!attribute [rw] creation_time
142
+ # The time when the cluster was created.
143
+ # @return [Time]
144
+ #
145
+ # @!attribute [rw] current_broker_software_info
146
+ # Information about the version of software currently deployed on the
147
+ # Kafka brokers in the cluster.
148
+ # @return [Types::BrokerSoftwareInfo]
149
+ #
150
+ # @!attribute [rw] current_version
151
+ # The current version of the MSK cluster.
152
+ # @return [String]
153
+ #
154
+ # @!attribute [rw] encryption_info
155
+ # Includes all encryption-related information.
156
+ # @return [Types::EncryptionInfo]
157
+ #
158
+ # @!attribute [rw] enhanced_monitoring
159
+ # Specifies which metrics are gathered for the MSK cluster. This
160
+ # property has three possible values: DEFAULT, PER\_BROKER, and
161
+ # PER\_TOPIC\_PER\_BROKER.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] number_of_broker_nodes
165
+ # The number of Kafka broker nodes in the cluster.
166
+ # @return [Integer]
167
+ #
168
+ # @!attribute [rw] state
169
+ # The state of the cluster. The possible states are CREATING, ACTIVE,
170
+ # and FAILED.
171
+ # @return [String]
172
+ #
173
+ # @!attribute [rw] zookeeper_connect_string
174
+ # The connection string to use to connect to the Apache ZooKeeper
175
+ # cluster.
176
+ # @return [String]
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
179
+ #
180
+ class ClusterInfo < Struct.new(
181
+ :broker_node_group_info,
182
+ :cluster_arn,
183
+ :cluster_name,
184
+ :creation_time,
185
+ :current_broker_software_info,
186
+ :current_version,
187
+ :encryption_info,
188
+ :enhanced_monitoring,
189
+ :number_of_broker_nodes,
190
+ :state,
191
+ :zookeeper_connect_string)
192
+ include Aws::Structure
193
+ end
194
+
195
+ # Creates a cluster.
196
+ #
197
+ # @note When making an API call, you may pass CreateClusterRequest
198
+ # data as a hash:
199
+ #
200
+ # {
201
+ # broker_node_group_info: { # required
202
+ # broker_az_distribution: "DEFAULT", # accepts DEFAULT
203
+ # client_subnets: ["__string"], # required
204
+ # instance_type: "__stringMin5Max32", # required
205
+ # security_groups: ["__string"],
206
+ # storage_info: {
207
+ # ebs_storage_info: {
208
+ # volume_size: 1,
209
+ # },
210
+ # },
211
+ # },
212
+ # cluster_name: "__stringMin1Max64", # required
213
+ # encryption_info: {
214
+ # encryption_at_rest: {
215
+ # data_volume_kms_key_id: "__string", # required
216
+ # },
217
+ # },
218
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
219
+ # kafka_version: "__stringMin1Max128", # required
220
+ # number_of_broker_nodes: 1, # required
221
+ # }
222
+ #
223
+ # @!attribute [rw] broker_node_group_info
224
+ # Information about the broker nodes in the cluster.
225
+ # @return [Types::BrokerNodeGroupInfo]
226
+ #
227
+ # @!attribute [rw] cluster_name
228
+ # The name of the cluster.
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] encryption_info
232
+ # Includes all encryption-related information.
233
+ # @return [Types::EncryptionInfo]
234
+ #
235
+ # @!attribute [rw] enhanced_monitoring
236
+ # Specifies the level of monitoring for the MSK cluster. The possible
237
+ # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
238
+ # @return [String]
239
+ #
240
+ # @!attribute [rw] kafka_version
241
+ # The version of Apache Kafka.
242
+ # @return [String]
243
+ #
244
+ # @!attribute [rw] number_of_broker_nodes
245
+ # The number of Kafka broker nodes in the Amazon MSK cluster.
246
+ # @return [Integer]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterRequest AWS API Documentation
249
+ #
250
+ class CreateClusterRequest < Struct.new(
251
+ :broker_node_group_info,
252
+ :cluster_name,
253
+ :encryption_info,
254
+ :enhanced_monitoring,
255
+ :kafka_version,
256
+ :number_of_broker_nodes)
257
+ include Aws::Structure
258
+ end
259
+
260
+ # Returns information about the created cluster.
261
+ #
262
+ # @!attribute [rw] cluster_arn
263
+ # The Amazon Resource Name (ARN) of the cluster.
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] cluster_name
267
+ # The name of the MSK cluster.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] state
271
+ # The state of the cluster. The possible states are CREATING, ACTIVE,
272
+ # and FAILED.
273
+ # @return [String]
274
+ #
275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterResponse AWS API Documentation
276
+ #
277
+ class CreateClusterResponse < Struct.new(
278
+ :cluster_arn,
279
+ :cluster_name,
280
+ :state)
281
+ include Aws::Structure
282
+ end
283
+
284
+ # @note When making an API call, you may pass DeleteClusterRequest
285
+ # data as a hash:
286
+ #
287
+ # {
288
+ # cluster_arn: "__string", # required
289
+ # current_version: "__string",
290
+ # }
291
+ #
292
+ # @!attribute [rw] cluster_arn
293
+ # @return [String]
294
+ #
295
+ # @!attribute [rw] current_version
296
+ # @return [String]
297
+ #
298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterRequest AWS API Documentation
299
+ #
300
+ class DeleteClusterRequest < Struct.new(
301
+ :cluster_arn,
302
+ :current_version)
303
+ include Aws::Structure
304
+ end
305
+
306
+ # Returns information about the deleted cluster.
307
+ #
308
+ # @!attribute [rw] cluster_arn
309
+ # The Amazon Resource Name (ARN) of the cluster.
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] state
313
+ # The state of the cluster. The possible states are CREATING, ACTIVE,
314
+ # and FAILED.
315
+ # @return [String]
316
+ #
317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterResponse AWS API Documentation
318
+ #
319
+ class DeleteClusterResponse < Struct.new(
320
+ :cluster_arn,
321
+ :state)
322
+ include Aws::Structure
323
+ end
324
+
325
+ # @note When making an API call, you may pass DescribeClusterRequest
326
+ # data as a hash:
327
+ #
328
+ # {
329
+ # cluster_arn: "__string", # required
330
+ # }
331
+ #
332
+ # @!attribute [rw] cluster_arn
333
+ # @return [String]
334
+ #
335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterRequest AWS API Documentation
336
+ #
337
+ class DescribeClusterRequest < Struct.new(
338
+ :cluster_arn)
339
+ include Aws::Structure
340
+ end
341
+
342
+ # Returns information about a cluster.
343
+ #
344
+ # @!attribute [rw] cluster_info
345
+ # The cluster information.
346
+ # @return [Types::ClusterInfo]
347
+ #
348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterResponse AWS API Documentation
349
+ #
350
+ class DescribeClusterResponse < Struct.new(
351
+ :cluster_info)
352
+ include Aws::Structure
353
+ end
354
+
355
+ # Contains information about the EBS storage volumes attached to Kafka
356
+ # broker nodes.
357
+ #
358
+ # @note When making an API call, you may pass EBSStorageInfo
359
+ # data as a hash:
360
+ #
361
+ # {
362
+ # volume_size: 1,
363
+ # }
364
+ #
365
+ # @!attribute [rw] volume_size
366
+ # The size in GiB of the EBS volume for the data drive on each broker
367
+ # node.
368
+ # @return [Integer]
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EBSStorageInfo AWS API Documentation
371
+ #
372
+ class EBSStorageInfo < Struct.new(
373
+ :volume_size)
374
+ include Aws::Structure
375
+ end
376
+
377
+ # The data volume encryption details.
378
+ #
379
+ # @note When making an API call, you may pass EncryptionAtRest
380
+ # data as a hash:
381
+ #
382
+ # {
383
+ # data_volume_kms_key_id: "__string", # required
384
+ # }
385
+ #
386
+ # @!attribute [rw] data_volume_kms_key_id
387
+ # The AWS KMS key used for data encryption.
388
+ # @return [String]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EncryptionAtRest AWS API Documentation
391
+ #
392
+ class EncryptionAtRest < Struct.new(
393
+ :data_volume_kms_key_id)
394
+ include Aws::Structure
395
+ end
396
+
397
+ # Includes encryption-related information, such as the AWS KMS key used
398
+ # for encrypting data at rest.
399
+ #
400
+ # @note When making an API call, you may pass EncryptionInfo
401
+ # data as a hash:
402
+ #
403
+ # {
404
+ # encryption_at_rest: {
405
+ # data_volume_kms_key_id: "__string", # required
406
+ # },
407
+ # }
408
+ #
409
+ # @!attribute [rw] encryption_at_rest
410
+ # The data volume encryption details.
411
+ # @return [Types::EncryptionAtRest]
412
+ #
413
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EncryptionInfo AWS API Documentation
414
+ #
415
+ class EncryptionInfo < Struct.new(
416
+ :encryption_at_rest)
417
+ include Aws::Structure
418
+ end
419
+
420
+ # Returns information about an error.
421
+ #
422
+ # @!attribute [rw] invalid_parameter
423
+ # The parameter that caused the error.
424
+ # @return [String]
425
+ #
426
+ # @!attribute [rw] message
427
+ # The description of the error.
428
+ # @return [String]
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Error AWS API Documentation
431
+ #
432
+ class Error < Struct.new(
433
+ :invalid_parameter,
434
+ :message)
435
+ include Aws::Structure
436
+ end
437
+
438
+ # @note When making an API call, you may pass GetBootstrapBrokersRequest
439
+ # data as a hash:
440
+ #
441
+ # {
442
+ # cluster_arn: "__string", # required
443
+ # }
444
+ #
445
+ # @!attribute [rw] cluster_arn
446
+ # @return [String]
447
+ #
448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersRequest AWS API Documentation
449
+ #
450
+ class GetBootstrapBrokersRequest < Struct.new(
451
+ :cluster_arn)
452
+ include Aws::Structure
453
+ end
454
+
455
+ # Returns a string containing one or more hostname:port pairs.
456
+ #
457
+ # @!attribute [rw] bootstrap_broker_string
458
+ # A string containing one or more hostname:port pairs.
459
+ # @return [String]
460
+ #
461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
462
+ #
463
+ class GetBootstrapBrokersResponse < Struct.new(
464
+ :bootstrap_broker_string)
465
+ include Aws::Structure
466
+ end
467
+
468
+ # @note When making an API call, you may pass ListClustersRequest
469
+ # data as a hash:
470
+ #
471
+ # {
472
+ # cluster_name_filter: "__string",
473
+ # max_results: 1,
474
+ # next_token: "__string",
475
+ # }
476
+ #
477
+ # @!attribute [rw] cluster_name_filter
478
+ # @return [String]
479
+ #
480
+ # @!attribute [rw] max_results
481
+ # @return [Integer]
482
+ #
483
+ # @!attribute [rw] next_token
484
+ # @return [String]
485
+ #
486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersRequest AWS API Documentation
487
+ #
488
+ class ListClustersRequest < Struct.new(
489
+ :cluster_name_filter,
490
+ :max_results,
491
+ :next_token)
492
+ include Aws::Structure
493
+ end
494
+
495
+ # The response contains an array containing cluster information and a
496
+ # next token if the response is truncated.
497
+ #
498
+ # @!attribute [rw] cluster_info_list
499
+ # Information on each of the MSK clusters in the response.
500
+ # @return [Array<Types::ClusterInfo>]
501
+ #
502
+ # @!attribute [rw] next_token
503
+ # The paginated results marker. When the result of a ListClusters
504
+ # operation is truncated, the call returns NextToken in the response.
505
+ # To get another batch of clusters, provide this token in your next
506
+ # request.
507
+ # @return [String]
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersResponse AWS API Documentation
510
+ #
511
+ class ListClustersResponse < Struct.new(
512
+ :cluster_info_list,
513
+ :next_token)
514
+ include Aws::Structure
515
+ end
516
+
517
+ # @note When making an API call, you may pass ListNodesRequest
518
+ # data as a hash:
519
+ #
520
+ # {
521
+ # cluster_arn: "__string", # required
522
+ # max_results: 1,
523
+ # next_token: "__string",
524
+ # }
525
+ #
526
+ # @!attribute [rw] cluster_arn
527
+ # @return [String]
528
+ #
529
+ # @!attribute [rw] max_results
530
+ # @return [Integer]
531
+ #
532
+ # @!attribute [rw] next_token
533
+ # @return [String]
534
+ #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesRequest AWS API Documentation
536
+ #
537
+ class ListNodesRequest < Struct.new(
538
+ :cluster_arn,
539
+ :max_results,
540
+ :next_token)
541
+ include Aws::Structure
542
+ end
543
+
544
+ # Information about nodes in the cluster.
545
+ #
546
+ # @!attribute [rw] next_token
547
+ # The paginated results marker. When the result of a ListNodes
548
+ # operation is truncated, the call returns NextToken in the response.
549
+ # To get another batch of nodes, provide this token in your next
550
+ # request.
551
+ # @return [String]
552
+ #
553
+ # @!attribute [rw] node_info_list
554
+ # List containing a NodeInfo object.
555
+ # @return [Array<Types::NodeInfo>]
556
+ #
557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodesResponse AWS API Documentation
558
+ #
559
+ class ListNodesResponse < Struct.new(
560
+ :next_token,
561
+ :node_info_list)
562
+ include Aws::Structure
563
+ end
564
+
565
+ # The node information object.
566
+ #
567
+ # @!attribute [rw] added_to_cluster_time
568
+ # The start time.
569
+ # @return [String]
570
+ #
571
+ # @!attribute [rw] broker_node_info
572
+ # The broker node info.
573
+ # @return [Types::BrokerNodeInfo]
574
+ #
575
+ # @!attribute [rw] instance_type
576
+ # The instance type.
577
+ # @return [String]
578
+ #
579
+ # @!attribute [rw] node_arn
580
+ # The Amazon Resource Name (ARN) of the node.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] node_type
584
+ # The node type.
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] zookeeper_node_info
588
+ # The ZookeeperNodeInfo.
589
+ # @return [Types::ZookeeperNodeInfo]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/NodeInfo AWS API Documentation
592
+ #
593
+ class NodeInfo < Struct.new(
594
+ :added_to_cluster_time,
595
+ :broker_node_info,
596
+ :instance_type,
597
+ :node_arn,
598
+ :node_type,
599
+ :zookeeper_node_info)
600
+ include Aws::Structure
601
+ end
602
+
603
+ # Contains information about storage volumes attached to MSK broker
604
+ # nodes.
605
+ #
606
+ # @note When making an API call, you may pass StorageInfo
607
+ # data as a hash:
608
+ #
609
+ # {
610
+ # ebs_storage_info: {
611
+ # volume_size: 1,
612
+ # },
613
+ # }
614
+ #
615
+ # @!attribute [rw] ebs_storage_info
616
+ # EBS volume information.
617
+ # @return [Types::EBSStorageInfo]
618
+ #
619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/StorageInfo AWS API Documentation
620
+ #
621
+ class StorageInfo < Struct.new(
622
+ :ebs_storage_info)
623
+ include Aws::Structure
624
+ end
625
+
626
+ # Zookeeper node information.
627
+ #
628
+ # @!attribute [rw] attached_eni_id
629
+ # The attached elastic network interface of the broker.
630
+ # @return [String]
631
+ #
632
+ # @!attribute [rw] client_vpc_ip_address
633
+ # The virtual private cloud (VPC) IP address of the client.
634
+ # @return [String]
635
+ #
636
+ # @!attribute [rw] zookeeper_id
637
+ # The role-specific ID for Zookeeper.
638
+ # @return [Float]
639
+ #
640
+ # @!attribute [rw] zookeeper_version
641
+ # The version of Zookeeper.
642
+ # @return [String]
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ZookeeperNodeInfo AWS API Documentation
645
+ #
646
+ class ZookeeperNodeInfo < Struct.new(
647
+ :attached_eni_id,
648
+ :client_vpc_ip_address,
649
+ :zookeeper_id,
650
+ :zookeeper_version)
651
+ include Aws::Structure
652
+ end
653
+
654
+ end
655
+ end