aws-sdk-kafka 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- data/lib/aws-sdk-kafka/client.rb +282 -20
- data/lib/aws-sdk-kafka/client_api.rb +192 -1
- data/lib/aws-sdk-kafka/types.rb +544 -31
- metadata +2 -2
@@ -13,10 +13,14 @@ module Aws::Kafka
|
|
13
13
|
|
14
14
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
15
15
|
BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
|
16
|
+
BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
|
16
17
|
BrokerNodeGroupInfo = Shapes::StructureShape.new(name: 'BrokerNodeGroupInfo')
|
17
18
|
BrokerNodeInfo = Shapes::StructureShape.new(name: 'BrokerNodeInfo')
|
18
19
|
BrokerSoftwareInfo = Shapes::StructureShape.new(name: 'BrokerSoftwareInfo')
|
20
|
+
ClientAuthentication = Shapes::StructureShape.new(name: 'ClientAuthentication')
|
21
|
+
ClientBroker = Shapes::StringShape.new(name: 'ClientBroker')
|
19
22
|
ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
|
23
|
+
ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
|
20
24
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
21
25
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
22
26
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
@@ -28,6 +32,8 @@ module Aws::Kafka
|
|
28
32
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
29
33
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
30
34
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
35
|
+
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
36
|
+
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
31
37
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
32
38
|
DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
|
33
39
|
DescribeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRequest')
|
@@ -36,15 +42,21 @@ module Aws::Kafka
|
|
36
42
|
DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
|
37
43
|
EBSStorageInfo = Shapes::StructureShape.new(name: 'EBSStorageInfo')
|
38
44
|
EncryptionAtRest = Shapes::StructureShape.new(name: 'EncryptionAtRest')
|
45
|
+
EncryptionInTransit = Shapes::StructureShape.new(name: 'EncryptionInTransit')
|
39
46
|
EncryptionInfo = Shapes::StructureShape.new(name: 'EncryptionInfo')
|
40
47
|
EnhancedMonitoring = Shapes::StringShape.new(name: 'EnhancedMonitoring')
|
41
48
|
Error = Shapes::StructureShape.new(name: 'Error')
|
49
|
+
ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
|
42
50
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
43
51
|
GetBootstrapBrokersRequest = Shapes::StructureShape.new(name: 'GetBootstrapBrokersRequest')
|
44
52
|
GetBootstrapBrokersResponse = Shapes::StructureShape.new(name: 'GetBootstrapBrokersResponse')
|
45
53
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
54
|
+
ListClusterOperationsRequest = Shapes::StructureShape.new(name: 'ListClusterOperationsRequest')
|
55
|
+
ListClusterOperationsResponse = Shapes::StructureShape.new(name: 'ListClusterOperationsResponse')
|
46
56
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
47
57
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
58
|
+
ListConfigurationRevisionsRequest = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsRequest')
|
59
|
+
ListConfigurationRevisionsResponse = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsResponse')
|
48
60
|
ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
|
49
61
|
ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
|
50
62
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
@@ -52,15 +64,21 @@ module Aws::Kafka
|
|
52
64
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
53
65
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
54
66
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
67
|
+
MutableClusterInfo = Shapes::StructureShape.new(name: 'MutableClusterInfo')
|
55
68
|
NodeInfo = Shapes::StructureShape.new(name: 'NodeInfo')
|
56
69
|
NodeType = Shapes::StringShape.new(name: 'NodeType')
|
57
70
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
58
71
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
59
72
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
60
73
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
74
|
+
Tls = Shapes::StructureShape.new(name: 'Tls')
|
61
75
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
62
76
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
63
77
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
78
|
+
UpdateBrokerStorageRequest = Shapes::StructureShape.new(name: 'UpdateBrokerStorageRequest')
|
79
|
+
UpdateBrokerStorageResponse = Shapes::StructureShape.new(name: 'UpdateBrokerStorageResponse')
|
80
|
+
UpdateClusterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationRequest')
|
81
|
+
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
64
82
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
65
83
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
66
84
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
@@ -68,8 +86,11 @@ module Aws::Kafka
|
|
68
86
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
69
87
|
__integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
|
70
88
|
__integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
|
89
|
+
__listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
|
71
90
|
__listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
|
91
|
+
__listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
|
72
92
|
__listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
|
93
|
+
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
73
94
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
74
95
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
75
96
|
__long = Shapes::IntegerShape.new(name: '__long')
|
@@ -85,6 +106,10 @@ module Aws::Kafka
|
|
85
106
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
86
107
|
BadRequestException.struct_class = Types::BadRequestException
|
87
108
|
|
109
|
+
BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
|
110
|
+
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
111
|
+
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
112
|
+
|
88
113
|
BrokerNodeGroupInfo.add_member(:broker_az_distribution, Shapes::ShapeRef.new(shape: BrokerAZDistribution, location_name: "brokerAZDistribution"))
|
89
114
|
BrokerNodeGroupInfo.add_member(:client_subnets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "clientSubnets"))
|
90
115
|
BrokerNodeGroupInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __stringMin5Max32, required: true, location_name: "instanceType"))
|
@@ -97,6 +122,7 @@ module Aws::Kafka
|
|
97
122
|
BrokerNodeInfo.add_member(:client_subnet, Shapes::ShapeRef.new(shape: __string, location_name: "clientSubnet"))
|
98
123
|
BrokerNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
|
99
124
|
BrokerNodeInfo.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
|
125
|
+
BrokerNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
|
100
126
|
BrokerNodeInfo.struct_class = Types::BrokerNodeInfo
|
101
127
|
|
102
128
|
BrokerSoftwareInfo.add_member(:configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "configurationArn"))
|
@@ -104,7 +130,12 @@ module Aws::Kafka
|
|
104
130
|
BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
105
131
|
BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
|
106
132
|
|
133
|
+
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
134
|
+
ClientAuthentication.struct_class = Types::ClientAuthentication
|
135
|
+
|
136
|
+
ClusterInfo.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
|
107
137
|
ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
|
138
|
+
ClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
108
139
|
ClusterInfo.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
109
140
|
ClusterInfo.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
|
110
141
|
ClusterInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
@@ -114,9 +145,22 @@ module Aws::Kafka
|
|
114
145
|
ClusterInfo.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
115
146
|
ClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
|
116
147
|
ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
148
|
+
ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
117
149
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
118
150
|
ClusterInfo.struct_class = Types::ClusterInfo
|
119
151
|
|
152
|
+
ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
|
153
|
+
ClusterOperationInfo.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
154
|
+
ClusterOperationInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
155
|
+
ClusterOperationInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "endTime"))
|
156
|
+
ClusterOperationInfo.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
|
157
|
+
ClusterOperationInfo.add_member(:operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "operationArn"))
|
158
|
+
ClusterOperationInfo.add_member(:operation_state, Shapes::ShapeRef.new(shape: __string, location_name: "operationState"))
|
159
|
+
ClusterOperationInfo.add_member(:operation_type, Shapes::ShapeRef.new(shape: __string, location_name: "operationType"))
|
160
|
+
ClusterOperationInfo.add_member(:source_cluster_info, Shapes::ShapeRef.new(shape: MutableClusterInfo, location_name: "sourceClusterInfo"))
|
161
|
+
ClusterOperationInfo.add_member(:target_cluster_info, Shapes::ShapeRef.new(shape: MutableClusterInfo, location_name: "targetClusterInfo"))
|
162
|
+
ClusterOperationInfo.struct_class = Types::ClusterOperationInfo
|
163
|
+
|
120
164
|
Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
121
165
|
Configuration.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
|
122
166
|
Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
|
@@ -139,12 +183,14 @@ module Aws::Kafka
|
|
139
183
|
ConflictException.struct_class = Types::ConflictException
|
140
184
|
|
141
185
|
CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
186
|
+
CreateClusterRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
142
187
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
|
143
188
|
CreateClusterRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
144
189
|
CreateClusterRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
145
190
|
CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
146
191
|
CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
147
192
|
CreateClusterRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
|
193
|
+
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
148
194
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
149
195
|
|
150
196
|
CreateClusterResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
@@ -172,6 +218,12 @@ module Aws::Kafka
|
|
172
218
|
DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
173
219
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
174
220
|
|
221
|
+
DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
|
222
|
+
DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
|
223
|
+
|
224
|
+
DescribeClusterOperationResponse.add_member(:cluster_operation_info, Shapes::ShapeRef.new(shape: ClusterOperationInfo, location_name: "clusterOperationInfo"))
|
225
|
+
DescribeClusterOperationResponse.struct_class = Types::DescribeClusterOperationResponse
|
226
|
+
|
175
227
|
DescribeClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
176
228
|
DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
|
177
229
|
|
@@ -206,13 +258,22 @@ module Aws::Kafka
|
|
206
258
|
EncryptionAtRest.add_member(:data_volume_kms_key_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "dataVolumeKMSKeyId"))
|
207
259
|
EncryptionAtRest.struct_class = Types::EncryptionAtRest
|
208
260
|
|
261
|
+
EncryptionInTransit.add_member(:client_broker, Shapes::ShapeRef.new(shape: ClientBroker, location_name: "clientBroker"))
|
262
|
+
EncryptionInTransit.add_member(:in_cluster, Shapes::ShapeRef.new(shape: __boolean, location_name: "inCluster"))
|
263
|
+
EncryptionInTransit.struct_class = Types::EncryptionInTransit
|
264
|
+
|
209
265
|
EncryptionInfo.add_member(:encryption_at_rest, Shapes::ShapeRef.new(shape: EncryptionAtRest, location_name: "encryptionAtRest"))
|
266
|
+
EncryptionInfo.add_member(:encryption_in_transit, Shapes::ShapeRef.new(shape: EncryptionInTransit, location_name: "encryptionInTransit"))
|
210
267
|
EncryptionInfo.struct_class = Types::EncryptionInfo
|
211
268
|
|
212
269
|
Error.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
213
270
|
Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
214
271
|
Error.struct_class = Types::Error
|
215
272
|
|
273
|
+
ErrorInfo.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
274
|
+
ErrorInfo.add_member(:error_string, Shapes::ShapeRef.new(shape: __string, location_name: "errorString"))
|
275
|
+
ErrorInfo.struct_class = Types::ErrorInfo
|
276
|
+
|
216
277
|
ForbiddenException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
217
278
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
218
279
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -221,12 +282,22 @@ module Aws::Kafka
|
|
221
282
|
GetBootstrapBrokersRequest.struct_class = Types::GetBootstrapBrokersRequest
|
222
283
|
|
223
284
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
|
285
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
224
286
|
GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
|
225
287
|
|
226
288
|
InternalServerErrorException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
227
289
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
228
290
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
229
291
|
|
292
|
+
ListClusterOperationsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
293
|
+
ListClusterOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
294
|
+
ListClusterOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
295
|
+
ListClusterOperationsRequest.struct_class = Types::ListClusterOperationsRequest
|
296
|
+
|
297
|
+
ListClusterOperationsResponse.add_member(:cluster_operation_info_list, Shapes::ShapeRef.new(shape: __listOfClusterOperationInfo, location_name: "clusterOperationInfoList"))
|
298
|
+
ListClusterOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
299
|
+
ListClusterOperationsResponse.struct_class = Types::ListClusterOperationsResponse
|
300
|
+
|
230
301
|
ListClustersRequest.add_member(:cluster_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterNameFilter"))
|
231
302
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
232
303
|
ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -236,7 +307,16 @@ module Aws::Kafka
|
|
236
307
|
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
237
308
|
ListClustersResponse.struct_class = Types::ListClustersResponse
|
238
309
|
|
239
|
-
|
310
|
+
ListConfigurationRevisionsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
311
|
+
ListConfigurationRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
312
|
+
ListConfigurationRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
313
|
+
ListConfigurationRevisionsRequest.struct_class = Types::ListConfigurationRevisionsRequest
|
314
|
+
|
315
|
+
ListConfigurationRevisionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
316
|
+
ListConfigurationRevisionsResponse.add_member(:revisions, Shapes::ShapeRef.new(shape: __listOfConfigurationRevision, location_name: "revisions"))
|
317
|
+
ListConfigurationRevisionsResponse.struct_class = Types::ListConfigurationRevisionsResponse
|
318
|
+
|
319
|
+
ListConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
240
320
|
ListConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
241
321
|
ListConfigurationsRequest.struct_class = Types::ListConfigurationsRequest
|
242
322
|
|
@@ -259,6 +339,11 @@ module Aws::Kafka
|
|
259
339
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
260
340
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
261
341
|
|
342
|
+
MutableClusterInfo.add_member(:broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, location_name: "brokerEBSVolumeInfo"))
|
343
|
+
MutableClusterInfo.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
344
|
+
MutableClusterInfo.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integer, location_name: "numberOfBrokerNodes"))
|
345
|
+
MutableClusterInfo.struct_class = Types::MutableClusterInfo
|
346
|
+
|
262
347
|
NodeInfo.add_member(:added_to_cluster_time, Shapes::ShapeRef.new(shape: __string, location_name: "addedToClusterTime"))
|
263
348
|
NodeInfo.add_member(:broker_node_info, Shapes::ShapeRef.new(shape: BrokerNodeInfo, location_name: "brokerNodeInfo"))
|
264
349
|
NodeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
|
@@ -282,6 +367,9 @@ module Aws::Kafka
|
|
282
367
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
|
283
368
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
284
369
|
|
370
|
+
Tls.add_member(:certificate_authority_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "certificateAuthorityArnList"))
|
371
|
+
Tls.struct_class = Types::Tls
|
372
|
+
|
285
373
|
TooManyRequestsException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
286
374
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
287
375
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
@@ -294,16 +382,41 @@ module Aws::Kafka
|
|
294
382
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
295
383
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
296
384
|
|
385
|
+
UpdateBrokerStorageRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
386
|
+
UpdateBrokerStorageRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
387
|
+
UpdateBrokerStorageRequest.add_member(:target_broker_ebs_volume_info, Shapes::ShapeRef.new(shape: __listOfBrokerEBSVolumeInfo, required: true, location_name: "targetBrokerEBSVolumeInfo"))
|
388
|
+
UpdateBrokerStorageRequest.struct_class = Types::UpdateBrokerStorageRequest
|
389
|
+
|
390
|
+
UpdateBrokerStorageResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
391
|
+
UpdateBrokerStorageResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
392
|
+
UpdateBrokerStorageResponse.struct_class = Types::UpdateBrokerStorageResponse
|
393
|
+
|
394
|
+
UpdateClusterConfigurationRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
395
|
+
UpdateClusterConfigurationRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, required: true, location_name: "configurationInfo"))
|
396
|
+
UpdateClusterConfigurationRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
397
|
+
UpdateClusterConfigurationRequest.struct_class = Types::UpdateClusterConfigurationRequest
|
398
|
+
|
399
|
+
UpdateClusterConfigurationResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
400
|
+
UpdateClusterConfigurationResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
401
|
+
UpdateClusterConfigurationResponse.struct_class = Types::UpdateClusterConfigurationResponse
|
402
|
+
|
297
403
|
ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
|
298
404
|
ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
|
405
|
+
ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
|
299
406
|
ZookeeperNodeInfo.add_member(:zookeeper_id, Shapes::ShapeRef.new(shape: __double, location_name: "zookeeperId"))
|
300
407
|
ZookeeperNodeInfo.add_member(:zookeeper_version, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperVersion"))
|
301
408
|
ZookeeperNodeInfo.struct_class = Types::ZookeeperNodeInfo
|
302
409
|
|
410
|
+
__listOfBrokerEBSVolumeInfo.member = Shapes::ShapeRef.new(shape: BrokerEBSVolumeInfo)
|
411
|
+
|
303
412
|
__listOfClusterInfo.member = Shapes::ShapeRef.new(shape: ClusterInfo)
|
304
413
|
|
414
|
+
__listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
|
415
|
+
|
305
416
|
__listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
|
306
417
|
|
418
|
+
__listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
|
419
|
+
|
307
420
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
308
421
|
|
309
422
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
@@ -385,6 +498,19 @@ module Aws::Kafka
|
|
385
498
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
386
499
|
end)
|
387
500
|
|
501
|
+
api.add_operation(:describe_cluster_operation, Seahorse::Model::Operation.new.tap do |o|
|
502
|
+
o.name = "DescribeClusterOperation"
|
503
|
+
o.http_method = "GET"
|
504
|
+
o.http_request_uri = "/v1/operations/{clusterOperationArn}"
|
505
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeClusterOperationRequest)
|
506
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeClusterOperationResponse)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
512
|
+
end)
|
513
|
+
|
388
514
|
api.add_operation(:describe_configuration, Seahorse::Model::Operation.new.tap do |o|
|
389
515
|
o.name = "DescribeConfiguration"
|
390
516
|
o.http_method = "GET"
|
@@ -426,6 +552,24 @@ module Aws::Kafka
|
|
426
552
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
427
553
|
end)
|
428
554
|
|
555
|
+
api.add_operation(:list_cluster_operations, Seahorse::Model::Operation.new.tap do |o|
|
556
|
+
o.name = "ListClusterOperations"
|
557
|
+
o.http_method = "GET"
|
558
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/operations"
|
559
|
+
o.input = Shapes::ShapeRef.new(shape: ListClusterOperationsRequest)
|
560
|
+
o.output = Shapes::ShapeRef.new(shape: ListClusterOperationsResponse)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
565
|
+
o[:pager] = Aws::Pager.new(
|
566
|
+
limit_key: "max_results",
|
567
|
+
tokens: {
|
568
|
+
"next_token" => "next_token"
|
569
|
+
}
|
570
|
+
)
|
571
|
+
end)
|
572
|
+
|
429
573
|
api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
|
430
574
|
o.name = "ListClusters"
|
431
575
|
o.http_method = "GET"
|
@@ -444,6 +588,26 @@ module Aws::Kafka
|
|
444
588
|
)
|
445
589
|
end)
|
446
590
|
|
591
|
+
api.add_operation(:list_configuration_revisions, Seahorse::Model::Operation.new.tap do |o|
|
592
|
+
o.name = "ListConfigurationRevisions"
|
593
|
+
o.http_method = "GET"
|
594
|
+
o.http_request_uri = "/v1/configurations/{arn}/revisions"
|
595
|
+
o.input = Shapes::ShapeRef.new(shape: ListConfigurationRevisionsRequest)
|
596
|
+
o.output = Shapes::ShapeRef.new(shape: ListConfigurationRevisionsResponse)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
603
|
+
o[:pager] = Aws::Pager.new(
|
604
|
+
limit_key: "max_results",
|
605
|
+
tokens: {
|
606
|
+
"next_token" => "next_token"
|
607
|
+
}
|
608
|
+
)
|
609
|
+
end)
|
610
|
+
|
447
611
|
api.add_operation(:list_configurations, Seahorse::Model::Operation.new.tap do |o|
|
448
612
|
o.name = "ListConfigurations"
|
449
613
|
o.http_method = "GET"
|
@@ -513,6 +677,33 @@ module Aws::Kafka
|
|
513
677
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
514
678
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
515
679
|
end)
|
680
|
+
|
681
|
+
api.add_operation(:update_broker_storage, Seahorse::Model::Operation.new.tap do |o|
|
682
|
+
o.name = "UpdateBrokerStorage"
|
683
|
+
o.http_method = "PUT"
|
684
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/nodes/storage"
|
685
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBrokerStorageRequest)
|
686
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBrokerStorageResponse)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
692
|
+
end)
|
693
|
+
|
694
|
+
api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
|
695
|
+
o.name = "UpdateClusterConfiguration"
|
696
|
+
o.http_method = "PUT"
|
697
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/configuration"
|
698
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateClusterConfigurationRequest)
|
699
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateClusterConfigurationResponse)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
706
|
+
end)
|
516
707
|
end
|
517
708
|
|
518
709
|
end
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -24,6 +24,34 @@ module Aws::Kafka
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
+
# Specifies the EBS volume upgrade information. The broker identifier
|
28
|
+
# must be set to the keyword ALL. This means the changes apply to all
|
29
|
+
# the brokers in the cluster.
|
30
|
+
#
|
31
|
+
# @note When making an API call, you may pass BrokerEBSVolumeInfo
|
32
|
+
# data as a hash:
|
33
|
+
#
|
34
|
+
# {
|
35
|
+
# kafka_broker_node_id: "__string", # required
|
36
|
+
# volume_size_gb: 1, # required
|
37
|
+
# }
|
38
|
+
#
|
39
|
+
# @!attribute [rw] kafka_broker_node_id
|
40
|
+
# The ID of the broker to update.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] volume_size_gb
|
44
|
+
# Size of the EBS volume to update.
|
45
|
+
# @return [Integer]
|
46
|
+
#
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerEBSVolumeInfo AWS API Documentation
|
48
|
+
#
|
49
|
+
class BrokerEBSVolumeInfo < Struct.new(
|
50
|
+
:kafka_broker_node_id,
|
51
|
+
:volume_size_gb)
|
52
|
+
include Aws::Structure
|
53
|
+
end
|
54
|
+
|
27
55
|
# Describes the setup to be used for Kafka broker nodes in the cluster.
|
28
56
|
#
|
29
57
|
# @note When making an API call, you may pass BrokerNodeGroupInfo
|
@@ -63,7 +91,8 @@ module Aws::Kafka
|
|
63
91
|
# @!attribute [rw] security_groups
|
64
92
|
# The AWS security groups to associate with the elastic network
|
65
93
|
# interfaces in order to specify who can connect to and communicate
|
66
|
-
# with the Amazon MSK cluster.
|
94
|
+
# with the Amazon MSK cluster. If you don't specify a security group,
|
95
|
+
# Amazon MSK uses the default security group associated with the VPC.
|
67
96
|
# @return [Array<String>]
|
68
97
|
#
|
69
98
|
# @!attribute [rw] storage_info
|
@@ -105,6 +134,10 @@ module Aws::Kafka
|
|
105
134
|
# Kafka brokers in the cluster.
|
106
135
|
# @return [Types::BrokerSoftwareInfo]
|
107
136
|
#
|
137
|
+
# @!attribute [rw] endpoints
|
138
|
+
# Endpoints for accessing the broker.
|
139
|
+
# @return [Array<String>]
|
140
|
+
#
|
108
141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BrokerNodeInfo AWS API Documentation
|
109
142
|
#
|
110
143
|
class BrokerNodeInfo < Struct.new(
|
@@ -112,7 +145,8 @@ module Aws::Kafka
|
|
112
145
|
:broker_id,
|
113
146
|
:client_subnet,
|
114
147
|
:client_vpc_ip_address,
|
115
|
-
:current_broker_software_info
|
148
|
+
:current_broker_software_info,
|
149
|
+
:endpoints)
|
116
150
|
include Aws::Structure
|
117
151
|
end
|
118
152
|
|
@@ -120,11 +154,12 @@ module Aws::Kafka
|
|
120
154
|
#
|
121
155
|
# @!attribute [rw] configuration_arn
|
122
156
|
# The Amazon Resource Name (ARN) of the configuration used for the
|
123
|
-
# cluster.
|
157
|
+
# cluster. This field isn't visible in this preview release.
|
124
158
|
# @return [String]
|
125
159
|
#
|
126
160
|
# @!attribute [rw] configuration_revision
|
127
|
-
# The revision of the configuration to use.
|
161
|
+
# The revision of the configuration to use. This field isn't visible
|
162
|
+
# in this preview release.
|
128
163
|
# @return [Integer]
|
129
164
|
#
|
130
165
|
# @!attribute [rw] kafka_version
|
@@ -140,12 +175,42 @@ module Aws::Kafka
|
|
140
175
|
include Aws::Structure
|
141
176
|
end
|
142
177
|
|
178
|
+
# Includes all client authentication information.
|
179
|
+
#
|
180
|
+
# @note When making an API call, you may pass ClientAuthentication
|
181
|
+
# data as a hash:
|
182
|
+
#
|
183
|
+
# {
|
184
|
+
# tls: {
|
185
|
+
# certificate_authority_arn_list: ["__string"],
|
186
|
+
# },
|
187
|
+
# }
|
188
|
+
#
|
189
|
+
# @!attribute [rw] tls
|
190
|
+
# Details for ClientAuthentication using TLS.
|
191
|
+
# @return [Types::Tls]
|
192
|
+
#
|
193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClientAuthentication AWS API Documentation
|
194
|
+
#
|
195
|
+
class ClientAuthentication < Struct.new(
|
196
|
+
:tls)
|
197
|
+
include Aws::Structure
|
198
|
+
end
|
199
|
+
|
143
200
|
# Returns information about a cluster.
|
144
201
|
#
|
202
|
+
# @!attribute [rw] active_operation_arn
|
203
|
+
# Arn of active cluster operation.
|
204
|
+
# @return [String]
|
205
|
+
#
|
145
206
|
# @!attribute [rw] broker_node_group_info
|
146
207
|
# Information about the broker nodes.
|
147
208
|
# @return [Types::BrokerNodeGroupInfo]
|
148
209
|
#
|
210
|
+
# @!attribute [rw] client_authentication
|
211
|
+
# Includes all client authentication information.
|
212
|
+
# @return [Types::ClientAuthentication]
|
213
|
+
#
|
149
214
|
# @!attribute [rw] cluster_arn
|
150
215
|
# The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
151
216
|
# @return [String]
|
@@ -174,11 +239,16 @@ module Aws::Kafka
|
|
174
239
|
# @!attribute [rw] enhanced_monitoring
|
175
240
|
# Specifies which metrics are gathered for the MSK cluster. This
|
176
241
|
# property has three possible values: DEFAULT, PER\_BROKER, and
|
177
|
-
# PER\_TOPIC\_PER\_BROKER.
|
242
|
+
# PER\_TOPIC\_PER\_BROKER. For a list of the metrics associated with
|
243
|
+
# each of these three levels of monitoring, see [Monitoring][1].
|
244
|
+
#
|
245
|
+
#
|
246
|
+
#
|
247
|
+
# [1]: https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html
|
178
248
|
# @return [String]
|
179
249
|
#
|
180
250
|
# @!attribute [rw] number_of_broker_nodes
|
181
|
-
# The number of
|
251
|
+
# The number of broker nodes in the cluster.
|
182
252
|
# @return [Integer]
|
183
253
|
#
|
184
254
|
# @!attribute [rw] state
|
@@ -186,6 +256,10 @@ module Aws::Kafka
|
|
186
256
|
# and FAILED.
|
187
257
|
# @return [String]
|
188
258
|
#
|
259
|
+
# @!attribute [rw] tags
|
260
|
+
# Tags attached to the cluster.
|
261
|
+
# @return [Hash<String,String>]
|
262
|
+
#
|
189
263
|
# @!attribute [rw] zookeeper_connect_string
|
190
264
|
# The connection string to use to connect to the Apache ZooKeeper
|
191
265
|
# cluster.
|
@@ -194,7 +268,9 @@ module Aws::Kafka
|
|
194
268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
|
195
269
|
#
|
196
270
|
class ClusterInfo < Struct.new(
|
271
|
+
:active_operation_arn,
|
197
272
|
:broker_node_group_info,
|
273
|
+
:client_authentication,
|
198
274
|
:cluster_arn,
|
199
275
|
:cluster_name,
|
200
276
|
:creation_time,
|
@@ -204,10 +280,69 @@ module Aws::Kafka
|
|
204
280
|
:enhanced_monitoring,
|
205
281
|
:number_of_broker_nodes,
|
206
282
|
:state,
|
283
|
+
:tags,
|
207
284
|
:zookeeper_connect_string)
|
208
285
|
include Aws::Structure
|
209
286
|
end
|
210
287
|
|
288
|
+
# Returns information about a cluster operation.
|
289
|
+
#
|
290
|
+
# @!attribute [rw] client_request_id
|
291
|
+
# The ID of the API request that triggered this operation.
|
292
|
+
# @return [String]
|
293
|
+
#
|
294
|
+
# @!attribute [rw] cluster_arn
|
295
|
+
# ARN of the cluster.
|
296
|
+
# @return [String]
|
297
|
+
#
|
298
|
+
# @!attribute [rw] creation_time
|
299
|
+
# The time at which operation was created.
|
300
|
+
# @return [Time]
|
301
|
+
#
|
302
|
+
# @!attribute [rw] end_time
|
303
|
+
# The time at which the operation finished.
|
304
|
+
# @return [Time]
|
305
|
+
#
|
306
|
+
# @!attribute [rw] error_info
|
307
|
+
# Describes the error if the operation fails.
|
308
|
+
# @return [Types::ErrorInfo]
|
309
|
+
#
|
310
|
+
# @!attribute [rw] operation_arn
|
311
|
+
# ARN of the cluster operation.
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
# @!attribute [rw] operation_state
|
315
|
+
# State of the cluster operation.
|
316
|
+
# @return [String]
|
317
|
+
#
|
318
|
+
# @!attribute [rw] operation_type
|
319
|
+
# Type of the cluster operation.
|
320
|
+
# @return [String]
|
321
|
+
#
|
322
|
+
# @!attribute [rw] source_cluster_info
|
323
|
+
# Information about cluster attributes before a cluster is updated.
|
324
|
+
# @return [Types::MutableClusterInfo]
|
325
|
+
#
|
326
|
+
# @!attribute [rw] target_cluster_info
|
327
|
+
# Information about cluster attributes after a cluster is updated.
|
328
|
+
# @return [Types::MutableClusterInfo]
|
329
|
+
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterOperationInfo AWS API Documentation
|
331
|
+
#
|
332
|
+
class ClusterOperationInfo < Struct.new(
|
333
|
+
:client_request_id,
|
334
|
+
:cluster_arn,
|
335
|
+
:creation_time,
|
336
|
+
:end_time,
|
337
|
+
:error_info,
|
338
|
+
:operation_arn,
|
339
|
+
:operation_state,
|
340
|
+
:operation_type,
|
341
|
+
:source_cluster_info,
|
342
|
+
:target_cluster_info)
|
343
|
+
include Aws::Structure
|
344
|
+
end
|
345
|
+
|
211
346
|
# Represents an MSK Configuration.
|
212
347
|
#
|
213
348
|
# @!attribute [rw] arn
|
@@ -222,10 +357,14 @@ module Aws::Kafka
|
|
222
357
|
# @return [String]
|
223
358
|
#
|
224
359
|
# @!attribute [rw] kafka_versions
|
360
|
+
# An array of the versions of Apache Kafka with which you can use this
|
361
|
+
# MSK configuration. You can use this configuration for an MSK cluster
|
362
|
+
# only if the Apache Kafka version specified for the cluster appears
|
363
|
+
# in this array.
|
225
364
|
# @return [Array<String>]
|
226
365
|
#
|
227
366
|
# @!attribute [rw] latest_revision
|
228
|
-
#
|
367
|
+
# Latest revision of the configuration.
|
229
368
|
# @return [Types::ConfigurationRevision]
|
230
369
|
#
|
231
370
|
# @!attribute [rw] name
|
@@ -244,7 +383,7 @@ module Aws::Kafka
|
|
244
383
|
include Aws::Structure
|
245
384
|
end
|
246
385
|
|
247
|
-
# Specifies the
|
386
|
+
# Specifies the configuration to use for the brokers.
|
248
387
|
#
|
249
388
|
# @note When making an API call, you may pass ConfigurationInfo
|
250
389
|
# data as a hash:
|
@@ -326,6 +465,11 @@ module Aws::Kafka
|
|
326
465
|
# },
|
327
466
|
# },
|
328
467
|
# },
|
468
|
+
# client_authentication: {
|
469
|
+
# tls: {
|
470
|
+
# certificate_authority_arn_list: ["__string"],
|
471
|
+
# },
|
472
|
+
# },
|
329
473
|
# cluster_name: "__stringMin1Max64", # required
|
330
474
|
# configuration_info: {
|
331
475
|
# arn: "__string", # required
|
@@ -335,23 +479,34 @@ module Aws::Kafka
|
|
335
479
|
# encryption_at_rest: {
|
336
480
|
# data_volume_kms_key_id: "__string", # required
|
337
481
|
# },
|
482
|
+
# encryption_in_transit: {
|
483
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
484
|
+
# in_cluster: false,
|
485
|
+
# },
|
338
486
|
# },
|
339
487
|
# enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
|
340
488
|
# kafka_version: "__stringMin1Max128", # required
|
341
489
|
# number_of_broker_nodes: 1, # required
|
490
|
+
# tags: {
|
491
|
+
# "__string" => "__string",
|
492
|
+
# },
|
342
493
|
# }
|
343
494
|
#
|
344
495
|
# @!attribute [rw] broker_node_group_info
|
345
496
|
# Information about the broker nodes in the cluster.
|
346
497
|
# @return [Types::BrokerNodeGroupInfo]
|
347
498
|
#
|
499
|
+
# @!attribute [rw] client_authentication
|
500
|
+
# Includes all client authentication related information.
|
501
|
+
# @return [Types::ClientAuthentication]
|
502
|
+
#
|
348
503
|
# @!attribute [rw] cluster_name
|
349
504
|
# The name of the cluster.
|
350
505
|
# @return [String]
|
351
506
|
#
|
352
507
|
# @!attribute [rw] configuration_info
|
353
|
-
#
|
354
|
-
# cluster.
|
508
|
+
# Represents the configuration that you want MSK to use for the
|
509
|
+
# brokers in a cluster.
|
355
510
|
# @return [Types::ConfigurationInfo]
|
356
511
|
#
|
357
512
|
# @!attribute [rw] encryption_info
|
@@ -371,16 +526,22 @@ module Aws::Kafka
|
|
371
526
|
# The number of Kafka broker nodes in the Amazon MSK cluster.
|
372
527
|
# @return [Integer]
|
373
528
|
#
|
529
|
+
# @!attribute [rw] tags
|
530
|
+
# Create tags when creating the cluster.
|
531
|
+
# @return [Hash<String,String>]
|
532
|
+
#
|
374
533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterRequest AWS API Documentation
|
375
534
|
#
|
376
535
|
class CreateClusterRequest < Struct.new(
|
377
536
|
:broker_node_group_info,
|
537
|
+
:client_authentication,
|
378
538
|
:cluster_name,
|
379
539
|
:configuration_info,
|
380
540
|
:encryption_info,
|
381
541
|
:enhanced_monitoring,
|
382
542
|
:kafka_version,
|
383
|
-
:number_of_broker_nodes
|
543
|
+
:number_of_broker_nodes,
|
544
|
+
:tags)
|
384
545
|
include Aws::Structure
|
385
546
|
end
|
386
547
|
|
@@ -434,10 +595,6 @@ module Aws::Kafka
|
|
434
595
|
# @return [String]
|
435
596
|
#
|
436
597
|
# @!attribute [rw] server_properties
|
437
|
-
# Contents of the server.properties file. When using the API, you must
|
438
|
-
# ensure that the contents of the file are base64 encoded. When using
|
439
|
-
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
440
|
-
# server.properties can be in plaintext.
|
441
598
|
# @return [String]
|
442
599
|
#
|
443
600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationRequest AWS API Documentation
|
@@ -519,6 +676,36 @@ module Aws::Kafka
|
|
519
676
|
include Aws::Structure
|
520
677
|
end
|
521
678
|
|
679
|
+
# @note When making an API call, you may pass DescribeClusterOperationRequest
|
680
|
+
# data as a hash:
|
681
|
+
#
|
682
|
+
# {
|
683
|
+
# cluster_operation_arn: "__string", # required
|
684
|
+
# }
|
685
|
+
#
|
686
|
+
# @!attribute [rw] cluster_operation_arn
|
687
|
+
# @return [String]
|
688
|
+
#
|
689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperationRequest AWS API Documentation
|
690
|
+
#
|
691
|
+
class DescribeClusterOperationRequest < Struct.new(
|
692
|
+
:cluster_operation_arn)
|
693
|
+
include Aws::Structure
|
694
|
+
end
|
695
|
+
|
696
|
+
# Information about a cluster operation.
|
697
|
+
#
|
698
|
+
# @!attribute [rw] cluster_operation_info
|
699
|
+
# Cluster operation information
|
700
|
+
# @return [Types::ClusterOperationInfo]
|
701
|
+
#
|
702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperationResponse AWS API Documentation
|
703
|
+
#
|
704
|
+
class DescribeClusterOperationResponse < Struct.new(
|
705
|
+
:cluster_operation_info)
|
706
|
+
include Aws::Structure
|
707
|
+
end
|
708
|
+
|
522
709
|
# @note When making an API call, you may pass DescribeClusterRequest
|
523
710
|
# data as a hash:
|
524
711
|
#
|
@@ -642,13 +829,10 @@ module Aws::Kafka
|
|
642
829
|
# @return [String]
|
643
830
|
#
|
644
831
|
# @!attribute [rw] revision
|
832
|
+
# The revision number.
|
645
833
|
# @return [Integer]
|
646
834
|
#
|
647
835
|
# @!attribute [rw] server_properties
|
648
|
-
# Contents of the server.properties file. When using the API, you must
|
649
|
-
# ensure that the contents of the file are base64 encoded. When using
|
650
|
-
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
651
|
-
# server.properties can be in plaintext.
|
652
836
|
# @return [String]
|
653
837
|
#
|
654
838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevisionResponse AWS API Documentation
|
@@ -684,7 +868,7 @@ module Aws::Kafka
|
|
684
868
|
include Aws::Structure
|
685
869
|
end
|
686
870
|
|
687
|
-
# The data
|
871
|
+
# The data-volume encryption details.
|
688
872
|
#
|
689
873
|
# @note When making an API call, you may pass EncryptionAtRest
|
690
874
|
# data as a hash:
|
@@ -694,7 +878,8 @@ module Aws::Kafka
|
|
694
878
|
# }
|
695
879
|
#
|
696
880
|
# @!attribute [rw] data_volume_kms_key_id
|
697
|
-
# The AWS KMS key
|
881
|
+
# The ARN of the AWS KMS key for encrypting data at rest. If you
|
882
|
+
# don't specify a KMS key, MSK creates one for you and uses it.
|
698
883
|
# @return [String]
|
699
884
|
#
|
700
885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EncryptionAtRest AWS API Documentation
|
@@ -704,8 +889,50 @@ module Aws::Kafka
|
|
704
889
|
include Aws::Structure
|
705
890
|
end
|
706
891
|
|
892
|
+
# The settings for encrypting data in transit.
|
893
|
+
#
|
894
|
+
# @note When making an API call, you may pass EncryptionInTransit
|
895
|
+
# data as a hash:
|
896
|
+
#
|
897
|
+
# {
|
898
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
899
|
+
# in_cluster: false,
|
900
|
+
# }
|
901
|
+
#
|
902
|
+
# @!attribute [rw] client_broker
|
903
|
+
# Indicates the encryption setting for data in transit between clients
|
904
|
+
# and brokers. The following are the possible values.
|
905
|
+
#
|
906
|
+
# TLS means that client-broker communication is enabled with TLS only.
|
907
|
+
#
|
908
|
+
# TLS\_PLAINTEXT means that client-broker communication is enabled for
|
909
|
+
# both TLS-encrypted, as well as plaintext data.
|
910
|
+
#
|
911
|
+
# PLAINTEXT means that client-broker communication is enabled in
|
912
|
+
# plaintext only.
|
913
|
+
#
|
914
|
+
# The default value is TLS\_PLAINTEXT.
|
915
|
+
# @return [String]
|
916
|
+
#
|
917
|
+
# @!attribute [rw] in_cluster
|
918
|
+
# When set to true, it indicates that data communication among the
|
919
|
+
# broker nodes of the cluster is encrypted. When set to false, the
|
920
|
+
# communication happens in plaintext.
|
921
|
+
#
|
922
|
+
# The default value is true.
|
923
|
+
# @return [Boolean]
|
924
|
+
#
|
925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EncryptionInTransit AWS API Documentation
|
926
|
+
#
|
927
|
+
class EncryptionInTransit < Struct.new(
|
928
|
+
:client_broker,
|
929
|
+
:in_cluster)
|
930
|
+
include Aws::Structure
|
931
|
+
end
|
932
|
+
|
707
933
|
# Includes encryption-related information, such as the AWS KMS key used
|
708
|
-
# for encrypting data at rest
|
934
|
+
# for encrypting data at rest and whether you want MSK to encrypt your
|
935
|
+
# data in transit.
|
709
936
|
#
|
710
937
|
# @note When making an API call, you may pass EncryptionInfo
|
711
938
|
# data as a hash:
|
@@ -714,16 +941,25 @@ module Aws::Kafka
|
|
714
941
|
# encryption_at_rest: {
|
715
942
|
# data_volume_kms_key_id: "__string", # required
|
716
943
|
# },
|
944
|
+
# encryption_in_transit: {
|
945
|
+
# client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
|
946
|
+
# in_cluster: false,
|
947
|
+
# },
|
717
948
|
# }
|
718
949
|
#
|
719
950
|
# @!attribute [rw] encryption_at_rest
|
720
|
-
# The data
|
951
|
+
# The data-volume encryption details.
|
721
952
|
# @return [Types::EncryptionAtRest]
|
722
953
|
#
|
954
|
+
# @!attribute [rw] encryption_in_transit
|
955
|
+
# The details for encryption in transit.
|
956
|
+
# @return [Types::EncryptionInTransit]
|
957
|
+
#
|
723
958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/EncryptionInfo AWS API Documentation
|
724
959
|
#
|
725
960
|
class EncryptionInfo < Struct.new(
|
726
|
-
:encryption_at_rest
|
961
|
+
:encryption_at_rest,
|
962
|
+
:encryption_in_transit)
|
727
963
|
include Aws::Structure
|
728
964
|
end
|
729
965
|
|
@@ -745,6 +981,24 @@ module Aws::Kafka
|
|
745
981
|
include Aws::Structure
|
746
982
|
end
|
747
983
|
|
984
|
+
# Returns information about an error state of the cluster.
|
985
|
+
#
|
986
|
+
# @!attribute [rw] error_code
|
987
|
+
# A number describing the error programmatically.
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] error_string
|
991
|
+
# An optional field to provide more details about the error.
|
992
|
+
# @return [String]
|
993
|
+
#
|
994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ErrorInfo AWS API Documentation
|
995
|
+
#
|
996
|
+
class ErrorInfo < Struct.new(
|
997
|
+
:error_code,
|
998
|
+
:error_string)
|
999
|
+
include Aws::Structure
|
1000
|
+
end
|
1001
|
+
|
748
1002
|
# Returns information about an error.
|
749
1003
|
#
|
750
1004
|
# @!attribute [rw] invalid_parameter
|
@@ -784,10 +1038,16 @@ module Aws::Kafka
|
|
784
1038
|
# A string containing one or more hostname:port pairs.
|
785
1039
|
# @return [String]
|
786
1040
|
#
|
1041
|
+
# @!attribute [rw] bootstrap_broker_string_tls
|
1042
|
+
# A string containing one or more DNS names (or IP) and TLS port
|
1043
|
+
# pairs.
|
1044
|
+
# @return [String]
|
1045
|
+
#
|
787
1046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
|
788
1047
|
#
|
789
1048
|
class GetBootstrapBrokersResponse < Struct.new(
|
790
|
-
:bootstrap_broker_string
|
1049
|
+
:bootstrap_broker_string,
|
1050
|
+
:bootstrap_broker_string_tls)
|
791
1051
|
include Aws::Structure
|
792
1052
|
end
|
793
1053
|
|
@@ -807,6 +1067,54 @@ module Aws::Kafka
|
|
807
1067
|
include Aws::Structure
|
808
1068
|
end
|
809
1069
|
|
1070
|
+
# @note When making an API call, you may pass ListClusterOperationsRequest
|
1071
|
+
# data as a hash:
|
1072
|
+
#
|
1073
|
+
# {
|
1074
|
+
# cluster_arn: "__string", # required
|
1075
|
+
# max_results: 1,
|
1076
|
+
# next_token: "__string",
|
1077
|
+
# }
|
1078
|
+
#
|
1079
|
+
# @!attribute [rw] cluster_arn
|
1080
|
+
# @return [String]
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] max_results
|
1083
|
+
# @return [Integer]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] next_token
|
1086
|
+
# @return [String]
|
1087
|
+
#
|
1088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperationsRequest AWS API Documentation
|
1089
|
+
#
|
1090
|
+
class ListClusterOperationsRequest < Struct.new(
|
1091
|
+
:cluster_arn,
|
1092
|
+
:max_results,
|
1093
|
+
:next_token)
|
1094
|
+
include Aws::Structure
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# The response contains an array containing cluster operation
|
1098
|
+
# information and a next token if the response is truncated.
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] cluster_operation_info_list
|
1101
|
+
# An array of cluster operation information objects.
|
1102
|
+
# @return [Array<Types::ClusterOperationInfo>]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] next_token
|
1105
|
+
# If the response of ListClusterOperations is truncated, it returns a
|
1106
|
+
# NextToken in the response. This Nexttoken should be sent in the
|
1107
|
+
# subsequent request to ListClusterOperations.
|
1108
|
+
# @return [String]
|
1109
|
+
#
|
1110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperationsResponse AWS API Documentation
|
1111
|
+
#
|
1112
|
+
class ListClusterOperationsResponse < Struct.new(
|
1113
|
+
:cluster_operation_info_list,
|
1114
|
+
:next_token)
|
1115
|
+
include Aws::Structure
|
1116
|
+
end
|
1117
|
+
|
810
1118
|
# @note When making an API call, you may pass ListClustersRequest
|
811
1119
|
# data as a hash:
|
812
1120
|
#
|
@@ -856,17 +1164,62 @@ module Aws::Kafka
|
|
856
1164
|
include Aws::Structure
|
857
1165
|
end
|
858
1166
|
|
859
|
-
# @note When making an API call, you may pass
|
1167
|
+
# @note When making an API call, you may pass ListConfigurationRevisionsRequest
|
860
1168
|
# data as a hash:
|
861
1169
|
#
|
862
1170
|
# {
|
863
|
-
#
|
1171
|
+
# arn: "__string", # required
|
1172
|
+
# max_results: 1,
|
864
1173
|
# next_token: "__string",
|
865
1174
|
# }
|
866
1175
|
#
|
1176
|
+
# @!attribute [rw] arn
|
1177
|
+
# @return [String]
|
1178
|
+
#
|
867
1179
|
# @!attribute [rw] max_results
|
1180
|
+
# @return [Integer]
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] next_token
|
868
1183
|
# @return [String]
|
869
1184
|
#
|
1185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsRequest AWS API Documentation
|
1186
|
+
#
|
1187
|
+
class ListConfigurationRevisionsRequest < Struct.new(
|
1188
|
+
:arn,
|
1189
|
+
:max_results,
|
1190
|
+
:next_token)
|
1191
|
+
include Aws::Structure
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
# Information about revisions of an MSK configuration.
|
1195
|
+
#
|
1196
|
+
# @!attribute [rw] next_token
|
1197
|
+
# Paginated results marker.
|
1198
|
+
# @return [String]
|
1199
|
+
#
|
1200
|
+
# @!attribute [rw] revisions
|
1201
|
+
# List of ConfigurationRevision objects.
|
1202
|
+
# @return [Array<Types::ConfigurationRevision>]
|
1203
|
+
#
|
1204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisionsResponse AWS API Documentation
|
1205
|
+
#
|
1206
|
+
class ListConfigurationRevisionsResponse < Struct.new(
|
1207
|
+
:next_token,
|
1208
|
+
:revisions)
|
1209
|
+
include Aws::Structure
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
# @note When making an API call, you may pass ListConfigurationsRequest
|
1213
|
+
# data as a hash:
|
1214
|
+
#
|
1215
|
+
# {
|
1216
|
+
# max_results: 1,
|
1217
|
+
# next_token: "__string",
|
1218
|
+
# }
|
1219
|
+
#
|
1220
|
+
# @!attribute [rw] max_results
|
1221
|
+
# @return [Integer]
|
1222
|
+
#
|
870
1223
|
# @!attribute [rw] next_token
|
871
1224
|
# @return [String]
|
872
1225
|
#
|
@@ -882,6 +1235,7 @@ module Aws::Kafka
|
|
882
1235
|
# the response is truncated.
|
883
1236
|
#
|
884
1237
|
# @!attribute [rw] configurations
|
1238
|
+
# An array of MSK configurations.
|
885
1239
|
# @return [Array<Types::Configuration>]
|
886
1240
|
#
|
887
1241
|
# @!attribute [rw] next_token
|
@@ -964,10 +1318,10 @@ module Aws::Kafka
|
|
964
1318
|
include Aws::Structure
|
965
1319
|
end
|
966
1320
|
|
967
|
-
#
|
1321
|
+
# Response of listing tags for a resource.
|
968
1322
|
#
|
969
1323
|
# @!attribute [rw] tags
|
970
|
-
# The
|
1324
|
+
# The key-value pair for the resource tag.
|
971
1325
|
# @return [Hash<String,String>]
|
972
1326
|
#
|
973
1327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTagsForResourceResponse AWS API Documentation
|
@@ -977,6 +1331,31 @@ module Aws::Kafka
|
|
977
1331
|
include Aws::Structure
|
978
1332
|
end
|
979
1333
|
|
1334
|
+
# Information about cluster attributes that can be updated via update
|
1335
|
+
# APIs.
|
1336
|
+
#
|
1337
|
+
# @!attribute [rw] broker_ebs_volume_info
|
1338
|
+
# Specifies the size of the EBS volume and the ID of the associated
|
1339
|
+
# broker.
|
1340
|
+
# @return [Array<Types::BrokerEBSVolumeInfo>]
|
1341
|
+
#
|
1342
|
+
# @!attribute [rw] configuration_info
|
1343
|
+
# Information about the changes in the configuration of the brokers.
|
1344
|
+
# @return [Types::ConfigurationInfo]
|
1345
|
+
#
|
1346
|
+
# @!attribute [rw] number_of_broker_nodes
|
1347
|
+
# The number of broker nodes in the cluster.
|
1348
|
+
# @return [Integer]
|
1349
|
+
#
|
1350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/MutableClusterInfo AWS API Documentation
|
1351
|
+
#
|
1352
|
+
class MutableClusterInfo < Struct.new(
|
1353
|
+
:broker_ebs_volume_info,
|
1354
|
+
:configuration_info,
|
1355
|
+
:number_of_broker_nodes)
|
1356
|
+
include Aws::Structure
|
1357
|
+
end
|
1358
|
+
|
980
1359
|
# The node information object.
|
981
1360
|
#
|
982
1361
|
# @!attribute [rw] added_to_cluster_time
|
@@ -1070,7 +1449,7 @@ module Aws::Kafka
|
|
1070
1449
|
include Aws::Structure
|
1071
1450
|
end
|
1072
1451
|
|
1073
|
-
#
|
1452
|
+
# Tag a resource.
|
1074
1453
|
#
|
1075
1454
|
# @note When making an API call, you may pass TagResourceRequest
|
1076
1455
|
# data as a hash:
|
@@ -1086,7 +1465,7 @@ module Aws::Kafka
|
|
1086
1465
|
# @return [String]
|
1087
1466
|
#
|
1088
1467
|
# @!attribute [rw] tags
|
1089
|
-
# The
|
1468
|
+
# The key-value pair for the resource tag.
|
1090
1469
|
# @return [Hash<String,String>]
|
1091
1470
|
#
|
1092
1471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TagResourceRequest AWS API Documentation
|
@@ -1097,6 +1476,26 @@ module Aws::Kafka
|
|
1097
1476
|
include Aws::Structure
|
1098
1477
|
end
|
1099
1478
|
|
1479
|
+
# Details for client authentication using TLS.
|
1480
|
+
#
|
1481
|
+
# @note When making an API call, you may pass Tls
|
1482
|
+
# data as a hash:
|
1483
|
+
#
|
1484
|
+
# {
|
1485
|
+
# certificate_authority_arn_list: ["__string"],
|
1486
|
+
# }
|
1487
|
+
#
|
1488
|
+
# @!attribute [rw] certificate_authority_arn_list
|
1489
|
+
# List of ACM Certificate Authority ARNs.
|
1490
|
+
# @return [Array<String>]
|
1491
|
+
#
|
1492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Tls AWS API Documentation
|
1493
|
+
#
|
1494
|
+
class Tls < Struct.new(
|
1495
|
+
:certificate_authority_arn_list)
|
1496
|
+
include Aws::Structure
|
1497
|
+
end
|
1498
|
+
|
1100
1499
|
# Returns information about an error.
|
1101
1500
|
#
|
1102
1501
|
# @!attribute [rw] invalid_parameter
|
@@ -1151,6 +1550,115 @@ module Aws::Kafka
|
|
1151
1550
|
include Aws::Structure
|
1152
1551
|
end
|
1153
1552
|
|
1553
|
+
# Request object for UpdateBrokerStorage.
|
1554
|
+
#
|
1555
|
+
# @note When making an API call, you may pass UpdateBrokerStorageRequest
|
1556
|
+
# data as a hash:
|
1557
|
+
#
|
1558
|
+
# {
|
1559
|
+
# cluster_arn: "__string", # required
|
1560
|
+
# current_version: "__string", # required
|
1561
|
+
# target_broker_ebs_volume_info: [ # required
|
1562
|
+
# {
|
1563
|
+
# kafka_broker_node_id: "__string", # required
|
1564
|
+
# volume_size_gb: 1, # required
|
1565
|
+
# },
|
1566
|
+
# ],
|
1567
|
+
# }
|
1568
|
+
#
|
1569
|
+
# @!attribute [rw] cluster_arn
|
1570
|
+
# @return [String]
|
1571
|
+
#
|
1572
|
+
# @!attribute [rw] current_version
|
1573
|
+
# The version of cluster to update from. A successful operation will
|
1574
|
+
# then generate a new version.
|
1575
|
+
# @return [String]
|
1576
|
+
#
|
1577
|
+
# @!attribute [rw] target_broker_ebs_volume_info
|
1578
|
+
# Describes the target volume size and the ID of the broker to apply
|
1579
|
+
# the update to.
|
1580
|
+
# @return [Array<Types::BrokerEBSVolumeInfo>]
|
1581
|
+
#
|
1582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorageRequest AWS API Documentation
|
1583
|
+
#
|
1584
|
+
class UpdateBrokerStorageRequest < Struct.new(
|
1585
|
+
:cluster_arn,
|
1586
|
+
:current_version,
|
1587
|
+
:target_broker_ebs_volume_info)
|
1588
|
+
include Aws::Structure
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
# Response body for UpdateBrokerStorage.
|
1592
|
+
#
|
1593
|
+
# @!attribute [rw] cluster_arn
|
1594
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1595
|
+
# @return [String]
|
1596
|
+
#
|
1597
|
+
# @!attribute [rw] cluster_operation_arn
|
1598
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
1599
|
+
# @return [String]
|
1600
|
+
#
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorageResponse AWS API Documentation
|
1602
|
+
#
|
1603
|
+
class UpdateBrokerStorageResponse < Struct.new(
|
1604
|
+
:cluster_arn,
|
1605
|
+
:cluster_operation_arn)
|
1606
|
+
include Aws::Structure
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# Request body for UpdateClusterConfiguration.
|
1610
|
+
#
|
1611
|
+
# @note When making an API call, you may pass UpdateClusterConfigurationRequest
|
1612
|
+
# data as a hash:
|
1613
|
+
#
|
1614
|
+
# {
|
1615
|
+
# cluster_arn: "__string", # required
|
1616
|
+
# configuration_info: { # required
|
1617
|
+
# arn: "__string", # required
|
1618
|
+
# revision: 1, # required
|
1619
|
+
# },
|
1620
|
+
# current_version: "__string", # required
|
1621
|
+
# }
|
1622
|
+
#
|
1623
|
+
# @!attribute [rw] cluster_arn
|
1624
|
+
# @return [String]
|
1625
|
+
#
|
1626
|
+
# @!attribute [rw] configuration_info
|
1627
|
+
# Represents the configuration that you want MSK to use for the
|
1628
|
+
# brokers in a cluster.
|
1629
|
+
# @return [Types::ConfigurationInfo]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] current_version
|
1632
|
+
# The version of the cluster that needs to be updated.
|
1633
|
+
# @return [String]
|
1634
|
+
#
|
1635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfigurationRequest AWS API Documentation
|
1636
|
+
#
|
1637
|
+
class UpdateClusterConfigurationRequest < Struct.new(
|
1638
|
+
:cluster_arn,
|
1639
|
+
:configuration_info,
|
1640
|
+
:current_version)
|
1641
|
+
include Aws::Structure
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# Response body for UpdateClusterConfiguration.
|
1645
|
+
#
|
1646
|
+
# @!attribute [rw] cluster_arn
|
1647
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1648
|
+
# @return [String]
|
1649
|
+
#
|
1650
|
+
# @!attribute [rw] cluster_operation_arn
|
1651
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
1652
|
+
# @return [String]
|
1653
|
+
#
|
1654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfigurationResponse AWS API Documentation
|
1655
|
+
#
|
1656
|
+
class UpdateClusterConfigurationResponse < Struct.new(
|
1657
|
+
:cluster_arn,
|
1658
|
+
:cluster_operation_arn)
|
1659
|
+
include Aws::Structure
|
1660
|
+
end
|
1661
|
+
|
1154
1662
|
# Zookeeper node information.
|
1155
1663
|
#
|
1156
1664
|
# @!attribute [rw] attached_eni_id
|
@@ -1161,6 +1669,10 @@ module Aws::Kafka
|
|
1161
1669
|
# The virtual private cloud (VPC) IP address of the client.
|
1162
1670
|
# @return [String]
|
1163
1671
|
#
|
1672
|
+
# @!attribute [rw] endpoints
|
1673
|
+
# Endpoints for accessing the ZooKeeper.
|
1674
|
+
# @return [Array<String>]
|
1675
|
+
#
|
1164
1676
|
# @!attribute [rw] zookeeper_id
|
1165
1677
|
# The role-specific ID for Zookeeper.
|
1166
1678
|
# @return [Float]
|
@@ -1174,6 +1686,7 @@ module Aws::Kafka
|
|
1174
1686
|
class ZookeeperNodeInfo < Struct.new(
|
1175
1687
|
:attached_eni_id,
|
1176
1688
|
:client_vpc_ip_address,
|
1689
|
+
:endpoints,
|
1177
1690
|
:zookeeper_id,
|
1178
1691
|
:zookeeper_version)
|
1179
1692
|
include Aws::Structure
|