@@ -310,6 +310,191 @@ class SaslHandShakeRequest_v1(Request):
310
310
SaslHandShakeRequest = [SaslHandShakeRequest_v0 , SaslHandShakeRequest_v1 ]
311
311
SaslHandShakeResponse = [SaslHandShakeResponse_v0 , SaslHandShakeResponse_v1 ]
312
312
313
+
314
+ class DescribeAclsResponse_v0 (Response ):
315
+ API_KEY = 29
316
+ API_VERSION = 0
317
+ SCHEMA = Schema (
318
+ ('throttle_time_ms' , Int32 ),
319
+ ('error_code' , Int16 ),
320
+ ('error_message' , String ('utf-8' )),
321
+ ('resources' , Array (
322
+ ('resource_type' , Int8 ),
323
+ ('resource_name' , String ('utf-8' )),
324
+ ('acls' , Array (
325
+ ('principal' , String ('utf-8' )),
326
+ ('host' , String ('utf-8' )),
327
+ ('operation' , Int8 ),
328
+ ('permission_type' , Int8 )))))
329
+ )
330
+
331
+
332
+ class DescribeAclsResponse_v1 (Response ):
333
+ API_KEY = 29
334
+ API_VERSION = 1
335
+ SCHEMA = Schema (
336
+ ('throttle_time_ms' , Int32 ),
337
+ ('error_code' , Int16 ),
338
+ ('error_message' , String ('utf-8' )),
339
+ ('resources' , Array (
340
+ ('resource_type' , Int8 ),
341
+ ('resource_name' , String ('utf-8' )),
342
+ ('resource_pattern_type' , Int8 ),
343
+ ('acls' , Array (
344
+ ('principal' , String ('utf-8' )),
345
+ ('host' , String ('utf-8' )),
346
+ ('operation' , Int8 ),
347
+ ('permission_type' , Int8 )))))
348
+ )
349
+
350
+ class DescribeAclsRequest_v0 (Request ):
351
+ API_KEY = 29
352
+ API_VERSION = 0
353
+ RESPONSE_TYPE = DescribeAclsResponse_v0
354
+ SCHEMA = Schema (
355
+ ('resource_type' , Int8 ),
356
+ ('resource_name' , String ('utf-8' )),
357
+ ('principal' , String ('utf-8' )),
358
+ ('host' , String ('utf-8' )),
359
+ ('operation' , Int8 ),
360
+ ('permission_type' , Int8 )
361
+ )
362
+
363
+ class DescribeAclsRequest_v1 (Request ):
364
+ API_KEY = 29
365
+ API_VERSION = 1
366
+ RESPONSE_TYPE = DescribeAclsResponse_v1
367
+ SCHEMA = Schema (
368
+ ('resource_type' , Int8 ),
369
+ ('resource_name' , String ('utf-8' )),
370
+ ('resource_pattern_type_filter' , Int8 ),
371
+ ('principal' , String ('utf-8' )),
372
+ ('host' , String ('utf-8' )),
373
+ ('operation' , Int8 ),
374
+ ('permission_type' , Int8 )
375
+ )
376
+
377
+ DescribeAclsRequest = [DescribeAclsRequest_v0 , DescribeAclsRequest_v1 ]
378
+ DescribeAclsResponse = [DescribeAclsResponse_v0 , DescribeAclsResponse_v1 ]
379
+
380
+ class CreateAclsResponse_v0 (Response ):
381
+ API_KEY = 30
382
+ API_VERSION = 0
383
+ SCHEMA = Schema (
384
+ ('throttle_time_ms' , Int32 ),
385
+ ('creation_responses' , Array (
386
+ ('error_code' , Int16 ),
387
+ ('error_message' , String ('utf-8' ))))
388
+ )
389
+
390
+ class CreateAclsResponse_v1 (Response ):
391
+ API_KEY = 30
392
+ API_VERSION = 1
393
+ SCHEMA = CreateAclsResponse_v0 .SCHEMA
394
+
395
+ class CreateAclsRequest_v0 (Request ):
396
+ API_KEY = 30
397
+ API_VERSION = 0
398
+ RESPONSE_TYPE = CreateAclsResponse_v0
399
+ SCHEMA = Schema (
400
+ ('creations' , Array (
401
+ ('resource_type' , Int8 ),
402
+ ('resource_name' , String ('utf-8' )),
403
+ ('principal' , String ('utf-8' )),
404
+ ('host' , String ('utf-8' )),
405
+ ('operation' , Int8 ),
406
+ ('permission_type' , Int8 )))
407
+ )
408
+
409
+ class CreateAclsRequest_v1 (Request ):
410
+ API_KEY = 30
411
+ API_VERSION = 1
412
+ RESPONSE_TYPE = CreateAclsResponse_v1
413
+ SCHEMA = Schema (
414
+ ('creations' , Array (
415
+ ('resource_type' , Int8 ),
416
+ ('resource_name' , String ('utf-8' )),
417
+ ('resource_pattern_type' , Int8 ),
418
+ ('principal' , String ('utf-8' )),
419
+ ('host' , String ('utf-8' )),
420
+ ('operation' , Int8 ),
421
+ ('permission_type' , Int8 )))
422
+ )
423
+
424
+ CreateAclsRequest = [CreateAclsRequest_v0 , CreateAclsRequest_v1 ]
425
+ CreateAclsResponse = [CreateAclsResponse_v0 , CreateAclsResponse_v1 ]
426
+
427
+ class DeleteAclsResponse_v0 (Response ):
428
+ API_KEY = 31
429
+ API_VERSION = 0
430
+ SCHEMA = Schema (
431
+ ('throttle_time_ms' , Int32 ),
432
+ ('filter_responses' , Array (
433
+ ('error_code' , Int16 ),
434
+ ('error_message' , String ('utf-8' )),
435
+ ('matching_acls' , Array (
436
+ ('error_code' , Int16 ),
437
+ ('error_message' , String ('utf-8' )),
438
+ ('resource_type' , Int8 ),
439
+ ('resource_name' , String ('utf-8' )),
440
+ ('principal' , String ('utf-8' )),
441
+ ('host' , String ('utf-8' )),
442
+ ('operation' , Int8 ),
443
+ ('permission_type' , Int8 )))))
444
+ )
445
+
446
+ class DeleteAclsResponse_v1 (Response ):
447
+ API_KEY = 31
448
+ API_VERSION = 1
449
+ SCHEMA = Schema (
450
+ ('throttle_time_ms' , Int32 ),
451
+ ('filter_responses' , Array (
452
+ ('error_code' , Int16 ),
453
+ ('error_message' , String ('utf-8' )),
454
+ ('matching_acls' , Array (
455
+ ('error_code' , Int16 ),
456
+ ('error_message' , String ('utf-8' )),
457
+ ('resource_type' , Int8 ),
458
+ ('resource_name' , String ('utf-8' )),
459
+ ('resource_pattern_type' , Int8 ),
460
+ ('principal' , String ('utf-8' )),
461
+ ('host' , String ('utf-8' )),
462
+ ('operation' , Int8 ),
463
+ ('permission_type' , Int8 )))))
464
+ )
465
+
466
+ class DeleteAclsRequest_v0 (Request ):
467
+ API_KEY = 31
468
+ API_VERSION = 0
469
+ RESPONSE_TYPE = DeleteAclsResponse_v0
470
+ SCHEMA = Schema (
471
+ ('filters' , Array (
472
+ ('resource_type' , Int8 ),
473
+ ('resource_name' , String ('utf-8' )),
474
+ ('principal' , String ('utf-8' )),
475
+ ('host' , String ('utf-8' )),
476
+ ('operation' , Int8 ),
477
+ ('permission_type' , Int8 )))
478
+ )
479
+
480
+ class DeleteAclsRequest_v1 (Request ):
481
+ API_KEY = 31
482
+ API_VERSION = 1
483
+ RESPONSE_TYPE = DeleteAclsResponse_v1
484
+ SCHEMA = Schema (
485
+ ('filters' , Array (
486
+ ('resource_type' , Int8 ),
487
+ ('resource_name' , String ('utf-8' )),
488
+ ('resource_pattern_type_filter' , Int8 ),
489
+ ('principal' , String ('utf-8' )),
490
+ ('host' , String ('utf-8' )),
491
+ ('operation' , Int8 ),
492
+ ('permission_type' , Int8 )))
493
+ )
494
+
495
+ DeleteAclsRequest = [DeleteAclsRequest_v0 , DeleteAclsRequest_v1 ]
496
+ DeleteAclsResponse = [DeleteAclsResponse_v0 , DeleteAclsResponse_v1 ]
497
+
313
498
class AlterConfigsResponse_v0 (Response ):
314
499
API_KEY = 33
315
500
API_VERSION = 0
0 commit comments