aws-sdk-kafka 1.6.0 → 1.7.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- data/lib/aws-sdk-kafka/client.rb +184 -4
- data/lib/aws-sdk-kafka/client_api.rb +150 -1
- data/lib/aws-sdk-kafka/types.rb +322 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2611d79c0822e778a6ebbb7b515bc2439f9456b2
|
4
|
+
data.tar.gz: dfa1cbec309080c875470716294ae04a77e17031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 991068e9e85d6b0da637ab7fc7b839d0d3285737331d10dff1e9a57fc5d7b40fbccc1c7b0c9e033dfb559fb3ff09e37d9d02f756ab1cd6b8dc8cd20960dec5d5
|
7
|
+
data.tar.gz: cce536c371278b5b129813a3da58e85f4e86ecc0bbb66710215cf8ba3ca8189efaedd384c3a80f9c53c485411868d399fb9538e7e137e422bda727008fd0b4a6
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -258,6 +258,10 @@ module Aws::Kafka
|
|
258
258
|
# @option params [required, String] :cluster_name
|
259
259
|
# The name of the cluster.
|
260
260
|
#
|
261
|
+
# @option params [Types::ConfigurationInfo] :configuration_info
|
262
|
+
# Comprises of the Configuration to be used on Kafka brokers in a
|
263
|
+
# cluster.
|
264
|
+
#
|
261
265
|
# @option params [Types::EncryptionInfo] :encryption_info
|
262
266
|
# Includes all encryption-related information.
|
263
267
|
#
|
@@ -292,6 +296,10 @@ module Aws::Kafka
|
|
292
296
|
# },
|
293
297
|
# },
|
294
298
|
# cluster_name: "__stringMin1Max64", # required
|
299
|
+
# configuration_info: {
|
300
|
+
# arn: "__string", # required
|
301
|
+
# revision: 1, # required
|
302
|
+
# },
|
295
303
|
# encryption_info: {
|
296
304
|
# encryption_at_rest: {
|
297
305
|
# data_volume_kms_key_id: "__string", # required
|
@@ -317,6 +325,58 @@ module Aws::Kafka
|
|
317
325
|
req.send_request(options)
|
318
326
|
end
|
319
327
|
|
328
|
+
# Creates a new MSK configuration.
|
329
|
+
#
|
330
|
+
# @option params [String] :description
|
331
|
+
# The description of the configuration.
|
332
|
+
#
|
333
|
+
# @option params [required, Array<String>] :kafka_versions
|
334
|
+
# The versions of Apache Kafka with which you can use this MSK
|
335
|
+
# configuration.
|
336
|
+
#
|
337
|
+
# @option params [required, String] :name
|
338
|
+
# The name of the configuration.
|
339
|
+
#
|
340
|
+
# @option params [required, String, IO] :server_properties
|
341
|
+
# Contents of the server.properties file. When using the API, you must
|
342
|
+
# ensure that the contents of the file are base64 encoded. When using
|
343
|
+
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
344
|
+
# server.properties can be in plaintext.
|
345
|
+
#
|
346
|
+
# @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
|
+
#
|
348
|
+
# * {Types::CreateConfigurationResponse#arn #arn} => String
|
349
|
+
# * {Types::CreateConfigurationResponse#creation_time #creation_time} => Time
|
350
|
+
# * {Types::CreateConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
351
|
+
# * {Types::CreateConfigurationResponse#name #name} => String
|
352
|
+
#
|
353
|
+
# @example Request syntax with placeholder values
|
354
|
+
#
|
355
|
+
# resp = client.create_configuration({
|
356
|
+
# description: "__string",
|
357
|
+
# kafka_versions: ["__string"], # required
|
358
|
+
# name: "__string", # required
|
359
|
+
# server_properties: "data", # required
|
360
|
+
# })
|
361
|
+
#
|
362
|
+
# @example Response structure
|
363
|
+
#
|
364
|
+
# resp.arn #=> String
|
365
|
+
# resp.creation_time #=> Time
|
366
|
+
# resp.latest_revision.creation_time #=> Time
|
367
|
+
# resp.latest_revision.description #=> String
|
368
|
+
# resp.latest_revision.revision #=> Integer
|
369
|
+
# resp.name #=> String
|
370
|
+
#
|
371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration AWS API Documentation
|
372
|
+
#
|
373
|
+
# @overload create_configuration(params = {})
|
374
|
+
# @param [Hash] params ({})
|
375
|
+
def create_configuration(params = {}, options = {})
|
376
|
+
req = build_request(:create_configuration, params)
|
377
|
+
req.send_request(options)
|
378
|
+
end
|
379
|
+
|
320
380
|
# Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in
|
321
381
|
# the request.
|
322
382
|
#
|
@@ -378,7 +438,7 @@ module Aws::Kafka
|
|
378
438
|
# resp.cluster_info.cluster_name #=> String
|
379
439
|
# resp.cluster_info.creation_time #=> Time
|
380
440
|
# resp.cluster_info.current_broker_software_info.configuration_arn #=> String
|
381
|
-
# resp.cluster_info.current_broker_software_info.configuration_revision #=>
|
441
|
+
# resp.cluster_info.current_broker_software_info.configuration_revision #=> Integer
|
382
442
|
# resp.cluster_info.current_broker_software_info.kafka_version #=> String
|
383
443
|
# resp.cluster_info.current_version #=> String
|
384
444
|
# resp.cluster_info.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
@@ -396,6 +456,84 @@ module Aws::Kafka
|
|
396
456
|
req.send_request(options)
|
397
457
|
end
|
398
458
|
|
459
|
+
# Returns a description of this MSK configuration.
|
460
|
+
#
|
461
|
+
# @option params [required, String] :arn
|
462
|
+
#
|
463
|
+
# @return [Types::DescribeConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
464
|
+
#
|
465
|
+
# * {Types::DescribeConfigurationResponse#arn #arn} => String
|
466
|
+
# * {Types::DescribeConfigurationResponse#creation_time #creation_time} => Time
|
467
|
+
# * {Types::DescribeConfigurationResponse#description #description} => String
|
468
|
+
# * {Types::DescribeConfigurationResponse#kafka_versions #kafka_versions} => Array<String>
|
469
|
+
# * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
|
470
|
+
# * {Types::DescribeConfigurationResponse#name #name} => String
|
471
|
+
#
|
472
|
+
# @example Request syntax with placeholder values
|
473
|
+
#
|
474
|
+
# resp = client.describe_configuration({
|
475
|
+
# arn: "__string", # required
|
476
|
+
# })
|
477
|
+
#
|
478
|
+
# @example Response structure
|
479
|
+
#
|
480
|
+
# resp.arn #=> String
|
481
|
+
# resp.creation_time #=> Time
|
482
|
+
# resp.description #=> String
|
483
|
+
# resp.kafka_versions #=> Array
|
484
|
+
# resp.kafka_versions[0] #=> String
|
485
|
+
# resp.latest_revision.creation_time #=> Time
|
486
|
+
# resp.latest_revision.description #=> String
|
487
|
+
# resp.latest_revision.revision #=> Integer
|
488
|
+
# resp.name #=> String
|
489
|
+
#
|
490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration AWS API Documentation
|
491
|
+
#
|
492
|
+
# @overload describe_configuration(params = {})
|
493
|
+
# @param [Hash] params ({})
|
494
|
+
def describe_configuration(params = {}, options = {})
|
495
|
+
req = build_request(:describe_configuration, params)
|
496
|
+
req.send_request(options)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Returns a description of this revision of the configuration.
|
500
|
+
#
|
501
|
+
# @option params [required, String] :arn
|
502
|
+
#
|
503
|
+
# @option params [required, Integer] :revision
|
504
|
+
#
|
505
|
+
# @return [Types::DescribeConfigurationRevisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
506
|
+
#
|
507
|
+
# * {Types::DescribeConfigurationRevisionResponse#arn #arn} => String
|
508
|
+
# * {Types::DescribeConfigurationRevisionResponse#creation_time #creation_time} => Time
|
509
|
+
# * {Types::DescribeConfigurationRevisionResponse#description #description} => String
|
510
|
+
# * {Types::DescribeConfigurationRevisionResponse#revision #revision} => Integer
|
511
|
+
# * {Types::DescribeConfigurationRevisionResponse#server_properties #server_properties} => String
|
512
|
+
#
|
513
|
+
# @example Request syntax with placeholder values
|
514
|
+
#
|
515
|
+
# resp = client.describe_configuration_revision({
|
516
|
+
# arn: "__string", # required
|
517
|
+
# revision: 1, # required
|
518
|
+
# })
|
519
|
+
#
|
520
|
+
# @example Response structure
|
521
|
+
#
|
522
|
+
# resp.arn #=> String
|
523
|
+
# resp.creation_time #=> Time
|
524
|
+
# resp.description #=> String
|
525
|
+
# resp.revision #=> Integer
|
526
|
+
# resp.server_properties #=> String
|
527
|
+
#
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevision AWS API Documentation
|
529
|
+
#
|
530
|
+
# @overload describe_configuration_revision(params = {})
|
531
|
+
# @param [Hash] params ({})
|
532
|
+
def describe_configuration_revision(params = {}, options = {})
|
533
|
+
req = build_request(:describe_configuration_revision, params)
|
534
|
+
req.send_request(options)
|
535
|
+
end
|
536
|
+
|
399
537
|
# A list of brokers that a client application can use to bootstrap.
|
400
538
|
#
|
401
539
|
# @option params [required, String] :cluster_arn
|
@@ -458,7 +596,7 @@ module Aws::Kafka
|
|
458
596
|
# resp.cluster_info_list[0].cluster_name #=> String
|
459
597
|
# resp.cluster_info_list[0].creation_time #=> Time
|
460
598
|
# resp.cluster_info_list[0].current_broker_software_info.configuration_arn #=> String
|
461
|
-
# resp.cluster_info_list[0].current_broker_software_info.configuration_revision #=>
|
599
|
+
# resp.cluster_info_list[0].current_broker_software_info.configuration_revision #=> Integer
|
462
600
|
# resp.cluster_info_list[0].current_broker_software_info.kafka_version #=> String
|
463
601
|
# resp.cluster_info_list[0].current_version #=> String
|
464
602
|
# resp.cluster_info_list[0].encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
|
@@ -477,6 +615,48 @@ module Aws::Kafka
|
|
477
615
|
req.send_request(options)
|
478
616
|
end
|
479
617
|
|
618
|
+
# Returns a list of all the MSK configurations in this Region for this
|
619
|
+
# account.
|
620
|
+
#
|
621
|
+
# @option params [String] :max_results
|
622
|
+
#
|
623
|
+
# @option params [String] :next_token
|
624
|
+
#
|
625
|
+
# @return [Types::ListConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
626
|
+
#
|
627
|
+
# * {Types::ListConfigurationsResponse#configurations #configurations} => Array<Types::Configuration>
|
628
|
+
# * {Types::ListConfigurationsResponse#next_token #next_token} => String
|
629
|
+
#
|
630
|
+
# @example Request syntax with placeholder values
|
631
|
+
#
|
632
|
+
# resp = client.list_configurations({
|
633
|
+
# max_results: "__string",
|
634
|
+
# next_token: "__string",
|
635
|
+
# })
|
636
|
+
#
|
637
|
+
# @example Response structure
|
638
|
+
#
|
639
|
+
# resp.configurations #=> Array
|
640
|
+
# resp.configurations[0].arn #=> String
|
641
|
+
# resp.configurations[0].creation_time #=> Time
|
642
|
+
# resp.configurations[0].description #=> String
|
643
|
+
# resp.configurations[0].kafka_versions #=> Array
|
644
|
+
# resp.configurations[0].kafka_versions[0] #=> String
|
645
|
+
# resp.configurations[0].latest_revision.creation_time #=> Time
|
646
|
+
# resp.configurations[0].latest_revision.description #=> String
|
647
|
+
# resp.configurations[0].latest_revision.revision #=> Integer
|
648
|
+
# resp.configurations[0].name #=> String
|
649
|
+
# resp.next_token #=> String
|
650
|
+
#
|
651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations AWS API Documentation
|
652
|
+
#
|
653
|
+
# @overload list_configurations(params = {})
|
654
|
+
# @param [Hash] params ({})
|
655
|
+
def list_configurations(params = {}, options = {})
|
656
|
+
req = build_request(:list_configurations, params)
|
657
|
+
req.send_request(options)
|
658
|
+
end
|
659
|
+
|
480
660
|
# Returns a list of the broker nodes in the cluster.
|
481
661
|
#
|
482
662
|
# @option params [required, String] :cluster_arn
|
@@ -508,7 +688,7 @@ module Aws::Kafka
|
|
508
688
|
# resp.node_info_list[0].broker_node_info.client_subnet #=> String
|
509
689
|
# resp.node_info_list[0].broker_node_info.client_vpc_ip_address #=> String
|
510
690
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_arn #=> String
|
511
|
-
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_revision #=>
|
691
|
+
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_revision #=> Integer
|
512
692
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.kafka_version #=> String
|
513
693
|
# resp.node_info_list[0].instance_type #=> String
|
514
694
|
# resp.node_info_list[0].node_arn #=> String
|
@@ -619,7 +799,7 @@ module Aws::Kafka
|
|
619
799
|
params: params,
|
620
800
|
config: config)
|
621
801
|
context[:gem_name] = 'aws-sdk-kafka'
|
622
|
-
context[:gem_version] = '1.
|
802
|
+
context[:gem_version] = '1.7.0'
|
623
803
|
Seahorse::Client::Request.new(handlers, context)
|
624
804
|
end
|
625
805
|
|
@@ -18,13 +18,22 @@ module Aws::Kafka
|
|
18
18
|
BrokerSoftwareInfo = Shapes::StructureShape.new(name: 'BrokerSoftwareInfo')
|
19
19
|
ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
|
20
20
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
21
|
+
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
22
|
+
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
23
|
+
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
21
24
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
25
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
23
26
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
27
|
+
CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
|
28
|
+
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
24
29
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
25
30
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
26
31
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
27
32
|
DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
|
33
|
+
DescribeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRequest')
|
34
|
+
DescribeConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationResponse')
|
35
|
+
DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
|
36
|
+
DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
|
28
37
|
EBSStorageInfo = Shapes::StructureShape.new(name: 'EBSStorageInfo')
|
29
38
|
EncryptionAtRest = Shapes::StructureShape.new(name: 'EncryptionAtRest')
|
30
39
|
EncryptionInfo = Shapes::StructureShape.new(name: 'EncryptionInfo')
|
@@ -36,6 +45,8 @@ module Aws::Kafka
|
|
36
45
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
37
46
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
38
47
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
48
|
+
ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
|
49
|
+
ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
|
39
50
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
40
51
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
41
52
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -51,12 +62,14 @@ module Aws::Kafka
|
|
51
62
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
52
63
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
53
64
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
65
|
+
__blob = Shapes::BlobShape.new(name: '__blob')
|
54
66
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
55
67
|
__double = Shapes::FloatShape.new(name: '__double')
|
56
68
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
57
69
|
__integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
|
58
70
|
__integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
|
59
71
|
__listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
|
72
|
+
__listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
|
60
73
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
61
74
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
62
75
|
__long = Shapes::IntegerShape.new(name: '__long')
|
@@ -83,7 +96,7 @@ module Aws::Kafka
|
|
83
96
|
BrokerNodeInfo.struct_class = Types::BrokerNodeInfo
|
84
97
|
|
85
98
|
BrokerSoftwareInfo.add_member(:configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "configurationArn"))
|
86
|
-
BrokerSoftwareInfo.add_member(:configuration_revision, Shapes::ShapeRef.new(shape:
|
99
|
+
BrokerSoftwareInfo.add_member(:configuration_revision, Shapes::ShapeRef.new(shape: __long, location_name: "configurationRevision"))
|
87
100
|
BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
88
101
|
BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
|
89
102
|
|
@@ -100,8 +113,26 @@ module Aws::Kafka
|
|
100
113
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
101
114
|
ClusterInfo.struct_class = Types::ClusterInfo
|
102
115
|
|
116
|
+
Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
117
|
+
Configuration.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
|
118
|
+
Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
|
119
|
+
Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
120
|
+
Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
|
121
|
+
Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
122
|
+
Configuration.struct_class = Types::Configuration
|
123
|
+
|
124
|
+
ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
125
|
+
ConfigurationInfo.add_member(:revision, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "revision"))
|
126
|
+
ConfigurationInfo.struct_class = Types::ConfigurationInfo
|
127
|
+
|
128
|
+
ConfigurationRevision.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "creationTime"))
|
129
|
+
ConfigurationRevision.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
130
|
+
ConfigurationRevision.add_member(:revision, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "revision"))
|
131
|
+
ConfigurationRevision.struct_class = Types::ConfigurationRevision
|
132
|
+
|
103
133
|
CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
104
134
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
|
135
|
+
CreateClusterRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
|
105
136
|
CreateClusterRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
|
106
137
|
CreateClusterRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
107
138
|
CreateClusterRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
|
@@ -113,6 +144,18 @@ module Aws::Kafka
|
|
113
144
|
CreateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
114
145
|
CreateClusterResponse.struct_class = Types::CreateClusterResponse
|
115
146
|
|
147
|
+
CreateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
148
|
+
CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
149
|
+
CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
150
|
+
CreateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
151
|
+
CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
|
152
|
+
|
153
|
+
CreateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
154
|
+
CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
155
|
+
CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
156
|
+
CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
157
|
+
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
158
|
+
|
116
159
|
DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
117
160
|
DeleteClusterRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "currentVersion"))
|
118
161
|
DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
|
@@ -127,6 +170,28 @@ module Aws::Kafka
|
|
127
170
|
DescribeClusterResponse.add_member(:cluster_info, Shapes::ShapeRef.new(shape: ClusterInfo, location_name: "clusterInfo"))
|
128
171
|
DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
|
129
172
|
|
173
|
+
DescribeConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
174
|
+
DescribeConfigurationRequest.struct_class = Types::DescribeConfigurationRequest
|
175
|
+
|
176
|
+
DescribeConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
177
|
+
DescribeConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
178
|
+
DescribeConfigurationResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
179
|
+
DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
180
|
+
DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
181
|
+
DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
182
|
+
DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
|
183
|
+
|
184
|
+
DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
185
|
+
DescribeConfigurationRevisionRequest.add_member(:revision, Shapes::ShapeRef.new(shape: __long, required: true, location: "uri", location_name: "revision"))
|
186
|
+
DescribeConfigurationRevisionRequest.struct_class = Types::DescribeConfigurationRevisionRequest
|
187
|
+
|
188
|
+
DescribeConfigurationRevisionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
189
|
+
DescribeConfigurationRevisionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
190
|
+
DescribeConfigurationRevisionResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
191
|
+
DescribeConfigurationRevisionResponse.add_member(:revision, Shapes::ShapeRef.new(shape: __long, location_name: "revision"))
|
192
|
+
DescribeConfigurationRevisionResponse.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, location_name: "serverProperties"))
|
193
|
+
DescribeConfigurationRevisionResponse.struct_class = Types::DescribeConfigurationRevisionResponse
|
194
|
+
|
130
195
|
EBSStorageInfo.add_member(:volume_size, Shapes::ShapeRef.new(shape: __integerMin1Max16384, location_name: "volumeSize"))
|
131
196
|
EBSStorageInfo.struct_class = Types::EBSStorageInfo
|
132
197
|
|
@@ -155,6 +220,14 @@ module Aws::Kafka
|
|
155
220
|
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
156
221
|
ListClustersResponse.struct_class = Types::ListClustersResponse
|
157
222
|
|
223
|
+
ListConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maxResults"))
|
224
|
+
ListConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
225
|
+
ListConfigurationsRequest.struct_class = Types::ListConfigurationsRequest
|
226
|
+
|
227
|
+
ListConfigurationsResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: __listOfConfiguration, location_name: "configurations"))
|
228
|
+
ListConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
229
|
+
ListConfigurationsResponse.struct_class = Types::ListConfigurationsResponse
|
230
|
+
|
158
231
|
ListNodesRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
159
232
|
ListNodesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
160
233
|
ListNodesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -197,6 +270,8 @@ module Aws::Kafka
|
|
197
270
|
|
198
271
|
__listOfClusterInfo.member = Shapes::ShapeRef.new(shape: ClusterInfo)
|
199
272
|
|
273
|
+
__listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
|
274
|
+
|
200
275
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
201
276
|
|
202
277
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
@@ -238,6 +313,21 @@ module Aws::Kafka
|
|
238
313
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
239
314
|
end)
|
240
315
|
|
316
|
+
api.add_operation(:create_configuration, Seahorse::Model::Operation.new.tap do |o|
|
317
|
+
o.name = "CreateConfiguration"
|
318
|
+
o.http_method = "POST"
|
319
|
+
o.http_request_uri = "/v1/configurations"
|
320
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConfigurationRequest)
|
321
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConfigurationResponse)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
329
|
+
end)
|
330
|
+
|
241
331
|
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
242
332
|
o.name = "DeleteCluster"
|
243
333
|
o.http_method = "DELETE"
|
@@ -263,6 +353,34 @@ module Aws::Kafka
|
|
263
353
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
264
354
|
end)
|
265
355
|
|
356
|
+
api.add_operation(:describe_configuration, Seahorse::Model::Operation.new.tap do |o|
|
357
|
+
o.name = "DescribeConfiguration"
|
358
|
+
o.http_method = "GET"
|
359
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
360
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationRequest)
|
361
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationResponse)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
368
|
+
end)
|
369
|
+
|
370
|
+
api.add_operation(:describe_configuration_revision, Seahorse::Model::Operation.new.tap do |o|
|
371
|
+
o.name = "DescribeConfigurationRevision"
|
372
|
+
o.http_method = "GET"
|
373
|
+
o.http_request_uri = "/v1/configurations/{arn}/revisions/{revision}"
|
374
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationRevisionRequest)
|
375
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationRevisionResponse)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
382
|
+
end)
|
383
|
+
|
266
384
|
api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
|
267
385
|
o.name = "GetBootstrapBrokers"
|
268
386
|
o.http_method = "GET"
|
@@ -286,6 +404,31 @@ module Aws::Kafka
|
|
286
404
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
287
405
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
288
406
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
407
|
+
o[:pager] = Aws::Pager.new(
|
408
|
+
limit_key: "max_results",
|
409
|
+
tokens: {
|
410
|
+
"next_token" => "next_token"
|
411
|
+
}
|
412
|
+
)
|
413
|
+
end)
|
414
|
+
|
415
|
+
api.add_operation(:list_configurations, Seahorse::Model::Operation.new.tap do |o|
|
416
|
+
o.name = "ListConfigurations"
|
417
|
+
o.http_method = "GET"
|
418
|
+
o.http_request_uri = "/v1/configurations"
|
419
|
+
o.input = Shapes::ShapeRef.new(shape: ListConfigurationsRequest)
|
420
|
+
o.output = Shapes::ShapeRef.new(shape: ListConfigurationsResponse)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
426
|
+
o[:pager] = Aws::Pager.new(
|
427
|
+
limit_key: "max_results",
|
428
|
+
tokens: {
|
429
|
+
"next_token" => "next_token"
|
430
|
+
}
|
431
|
+
)
|
289
432
|
end)
|
290
433
|
|
291
434
|
api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -298,6 +441,12 @@ module Aws::Kafka
|
|
298
441
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
299
442
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
300
443
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
444
|
+
o[:pager] = Aws::Pager.new(
|
445
|
+
limit_key: "max_results",
|
446
|
+
tokens: {
|
447
|
+
"next_token" => "next_token"
|
448
|
+
}
|
449
|
+
)
|
301
450
|
end)
|
302
451
|
|
303
452
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -109,7 +109,7 @@ module Aws::Kafka
|
|
109
109
|
#
|
110
110
|
# @!attribute [rw] configuration_revision
|
111
111
|
# The revision of the configuration to use.
|
112
|
-
# @return [
|
112
|
+
# @return [Integer]
|
113
113
|
#
|
114
114
|
# @!attribute [rw] kafka_version
|
115
115
|
# The version of Apache Kafka.
|
@@ -192,6 +192,91 @@ module Aws::Kafka
|
|
192
192
|
include Aws::Structure
|
193
193
|
end
|
194
194
|
|
195
|
+
# Represents an MSK Configuration.
|
196
|
+
#
|
197
|
+
# @!attribute [rw] arn
|
198
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
199
|
+
# @return [String]
|
200
|
+
#
|
201
|
+
# @!attribute [rw] creation_time
|
202
|
+
# @return [Time]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] description
|
205
|
+
# The description of the configuration.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] kafka_versions
|
209
|
+
# @return [Array<String>]
|
210
|
+
#
|
211
|
+
# @!attribute [rw] latest_revision
|
212
|
+
# Describes a configuration revision.
|
213
|
+
# @return [Types::ConfigurationRevision]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] name
|
216
|
+
# The name of the configuration.
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
|
220
|
+
#
|
221
|
+
class Configuration < Struct.new(
|
222
|
+
:arn,
|
223
|
+
:creation_time,
|
224
|
+
:description,
|
225
|
+
:kafka_versions,
|
226
|
+
:latest_revision,
|
227
|
+
:name)
|
228
|
+
include Aws::Structure
|
229
|
+
end
|
230
|
+
|
231
|
+
# Specifies the Kafka configuration to use for the brokers.
|
232
|
+
#
|
233
|
+
# @note When making an API call, you may pass ConfigurationInfo
|
234
|
+
# data as a hash:
|
235
|
+
#
|
236
|
+
# {
|
237
|
+
# arn: "__string", # required
|
238
|
+
# revision: 1, # required
|
239
|
+
# }
|
240
|
+
#
|
241
|
+
# @!attribute [rw] arn
|
242
|
+
# ARN of the configuration to use.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @!attribute [rw] revision
|
246
|
+
# The revision of the configuration to use.
|
247
|
+
# @return [Integer]
|
248
|
+
#
|
249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConfigurationInfo AWS API Documentation
|
250
|
+
#
|
251
|
+
class ConfigurationInfo < Struct.new(
|
252
|
+
:arn,
|
253
|
+
:revision)
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
256
|
+
|
257
|
+
# Describes a configuration revision.
|
258
|
+
#
|
259
|
+
# @!attribute [rw] creation_time
|
260
|
+
# The time when the configuration revision was created.
|
261
|
+
# @return [Time]
|
262
|
+
#
|
263
|
+
# @!attribute [rw] description
|
264
|
+
# The description of the configuration revision.
|
265
|
+
# @return [String]
|
266
|
+
#
|
267
|
+
# @!attribute [rw] revision
|
268
|
+
# The revision number.
|
269
|
+
# @return [Integer]
|
270
|
+
#
|
271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConfigurationRevision AWS API Documentation
|
272
|
+
#
|
273
|
+
class ConfigurationRevision < Struct.new(
|
274
|
+
:creation_time,
|
275
|
+
:description,
|
276
|
+
:revision)
|
277
|
+
include Aws::Structure
|
278
|
+
end
|
279
|
+
|
195
280
|
# Creates a cluster.
|
196
281
|
#
|
197
282
|
# @note When making an API call, you may pass CreateClusterRequest
|
@@ -210,6 +295,10 @@ module Aws::Kafka
|
|
210
295
|
# },
|
211
296
|
# },
|
212
297
|
# cluster_name: "__stringMin1Max64", # required
|
298
|
+
# configuration_info: {
|
299
|
+
# arn: "__string", # required
|
300
|
+
# revision: 1, # required
|
301
|
+
# },
|
213
302
|
# encryption_info: {
|
214
303
|
# encryption_at_rest: {
|
215
304
|
# data_volume_kms_key_id: "__string", # required
|
@@ -228,6 +317,11 @@ module Aws::Kafka
|
|
228
317
|
# The name of the cluster.
|
229
318
|
# @return [String]
|
230
319
|
#
|
320
|
+
# @!attribute [rw] configuration_info
|
321
|
+
# Comprises of the Configuration to be used on Kafka brokers in a
|
322
|
+
# cluster.
|
323
|
+
# @return [Types::ConfigurationInfo]
|
324
|
+
#
|
231
325
|
# @!attribute [rw] encryption_info
|
232
326
|
# Includes all encryption-related information.
|
233
327
|
# @return [Types::EncryptionInfo]
|
@@ -250,6 +344,7 @@ module Aws::Kafka
|
|
250
344
|
class CreateClusterRequest < Struct.new(
|
251
345
|
:broker_node_group_info,
|
252
346
|
:cluster_name,
|
347
|
+
:configuration_info,
|
253
348
|
:encryption_info,
|
254
349
|
:enhanced_monitoring,
|
255
350
|
:kafka_version,
|
@@ -281,6 +376,76 @@ module Aws::Kafka
|
|
281
376
|
include Aws::Structure
|
282
377
|
end
|
283
378
|
|
379
|
+
# Request body for CreateConfiguration.
|
380
|
+
#
|
381
|
+
# @note When making an API call, you may pass CreateConfigurationRequest
|
382
|
+
# data as a hash:
|
383
|
+
#
|
384
|
+
# {
|
385
|
+
# description: "__string",
|
386
|
+
# kafka_versions: ["__string"], # required
|
387
|
+
# name: "__string", # required
|
388
|
+
# server_properties: "data", # required
|
389
|
+
# }
|
390
|
+
#
|
391
|
+
# @!attribute [rw] description
|
392
|
+
# The description of the configuration.
|
393
|
+
# @return [String]
|
394
|
+
#
|
395
|
+
# @!attribute [rw] kafka_versions
|
396
|
+
# The versions of Apache Kafka with which you can use this MSK
|
397
|
+
# configuration.
|
398
|
+
# @return [Array<String>]
|
399
|
+
#
|
400
|
+
# @!attribute [rw] name
|
401
|
+
# The name of the configuration.
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] server_properties
|
405
|
+
# Contents of the server.properties file. When using the API, you must
|
406
|
+
# ensure that the contents of the file are base64 encoded. When using
|
407
|
+
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
408
|
+
# server.properties can be in plaintext.
|
409
|
+
# @return [String]
|
410
|
+
#
|
411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationRequest AWS API Documentation
|
412
|
+
#
|
413
|
+
class CreateConfigurationRequest < Struct.new(
|
414
|
+
:description,
|
415
|
+
:kafka_versions,
|
416
|
+
:name,
|
417
|
+
:server_properties)
|
418
|
+
include Aws::Structure
|
419
|
+
end
|
420
|
+
|
421
|
+
# Response body for CreateConfiguration
|
422
|
+
#
|
423
|
+
# @!attribute [rw] arn
|
424
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] creation_time
|
428
|
+
# The time when the configuration was created.
|
429
|
+
# @return [Time]
|
430
|
+
#
|
431
|
+
# @!attribute [rw] latest_revision
|
432
|
+
# Latest revision of the configuration.
|
433
|
+
# @return [Types::ConfigurationRevision]
|
434
|
+
#
|
435
|
+
# @!attribute [rw] name
|
436
|
+
# The name of the configuration.
|
437
|
+
# @return [String]
|
438
|
+
#
|
439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
|
440
|
+
#
|
441
|
+
class CreateConfigurationResponse < Struct.new(
|
442
|
+
:arn,
|
443
|
+
:creation_time,
|
444
|
+
:latest_revision,
|
445
|
+
:name)
|
446
|
+
include Aws::Structure
|
447
|
+
end
|
448
|
+
|
284
449
|
# @note When making an API call, you may pass DeleteClusterRequest
|
285
450
|
# data as a hash:
|
286
451
|
#
|
@@ -352,6 +517,119 @@ module Aws::Kafka
|
|
352
517
|
include Aws::Structure
|
353
518
|
end
|
354
519
|
|
520
|
+
# @note When making an API call, you may pass DescribeConfigurationRequest
|
521
|
+
# data as a hash:
|
522
|
+
#
|
523
|
+
# {
|
524
|
+
# arn: "__string", # required
|
525
|
+
# }
|
526
|
+
#
|
527
|
+
# @!attribute [rw] arn
|
528
|
+
# @return [String]
|
529
|
+
#
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRequest AWS API Documentation
|
531
|
+
#
|
532
|
+
class DescribeConfigurationRequest < Struct.new(
|
533
|
+
:arn)
|
534
|
+
include Aws::Structure
|
535
|
+
end
|
536
|
+
|
537
|
+
# Response body for DescribeConfiguration.
|
538
|
+
#
|
539
|
+
# @!attribute [rw] arn
|
540
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
541
|
+
# @return [String]
|
542
|
+
#
|
543
|
+
# @!attribute [rw] creation_time
|
544
|
+
# The time when the configuration was created.
|
545
|
+
# @return [Time]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] description
|
548
|
+
# The description of the configuration.
|
549
|
+
# @return [String]
|
550
|
+
#
|
551
|
+
# @!attribute [rw] kafka_versions
|
552
|
+
# The versions of Apache Kafka with which you can use this MSK
|
553
|
+
# configuration.
|
554
|
+
# @return [Array<String>]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] latest_revision
|
557
|
+
# Latest revision of the configuration.
|
558
|
+
# @return [Types::ConfigurationRevision]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] name
|
561
|
+
# The name of the configuration.
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
|
565
|
+
#
|
566
|
+
class DescribeConfigurationResponse < Struct.new(
|
567
|
+
:arn,
|
568
|
+
:creation_time,
|
569
|
+
:description,
|
570
|
+
:kafka_versions,
|
571
|
+
:latest_revision,
|
572
|
+
:name)
|
573
|
+
include Aws::Structure
|
574
|
+
end
|
575
|
+
|
576
|
+
# @note When making an API call, you may pass DescribeConfigurationRevisionRequest
|
577
|
+
# data as a hash:
|
578
|
+
#
|
579
|
+
# {
|
580
|
+
# arn: "__string", # required
|
581
|
+
# revision: 1, # required
|
582
|
+
# }
|
583
|
+
#
|
584
|
+
# @!attribute [rw] arn
|
585
|
+
# @return [String]
|
586
|
+
#
|
587
|
+
# @!attribute [rw] revision
|
588
|
+
# @return [Integer]
|
589
|
+
#
|
590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevisionRequest AWS API Documentation
|
591
|
+
#
|
592
|
+
class DescribeConfigurationRevisionRequest < Struct.new(
|
593
|
+
:arn,
|
594
|
+
:revision)
|
595
|
+
include Aws::Structure
|
596
|
+
end
|
597
|
+
|
598
|
+
# Response body for DescribeConfigurationRevision.
|
599
|
+
#
|
600
|
+
# @!attribute [rw] arn
|
601
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] creation_time
|
605
|
+
# The time when the configuration was created.
|
606
|
+
# @return [Time]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] description
|
609
|
+
# The description of the configuration.
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @!attribute [rw] revision
|
613
|
+
# @return [Integer]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] server_properties
|
616
|
+
# Contents of the server.properties file. When using the API, you must
|
617
|
+
# ensure that the contents of the file are base64 encoded. When using
|
618
|
+
# the AWS Management Console, the SDK, or the AWS CLI, the contents of
|
619
|
+
# server.properties can be in plaintext.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevisionResponse AWS API Documentation
|
623
|
+
#
|
624
|
+
class DescribeConfigurationRevisionResponse < Struct.new(
|
625
|
+
:arn,
|
626
|
+
:creation_time,
|
627
|
+
:description,
|
628
|
+
:revision,
|
629
|
+
:server_properties)
|
630
|
+
include Aws::Structure
|
631
|
+
end
|
632
|
+
|
355
633
|
# Contains information about the EBS storage volumes attached to Kafka
|
356
634
|
# broker nodes.
|
357
635
|
#
|
@@ -514,6 +792,49 @@ module Aws::Kafka
|
|
514
792
|
include Aws::Structure
|
515
793
|
end
|
516
794
|
|
795
|
+
# @note When making an API call, you may pass ListConfigurationsRequest
|
796
|
+
# data as a hash:
|
797
|
+
#
|
798
|
+
# {
|
799
|
+
# max_results: "__string",
|
800
|
+
# next_token: "__string",
|
801
|
+
# }
|
802
|
+
#
|
803
|
+
# @!attribute [rw] max_results
|
804
|
+
# @return [String]
|
805
|
+
#
|
806
|
+
# @!attribute [rw] next_token
|
807
|
+
# @return [String]
|
808
|
+
#
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsRequest AWS API Documentation
|
810
|
+
#
|
811
|
+
class ListConfigurationsRequest < Struct.new(
|
812
|
+
:max_results,
|
813
|
+
:next_token)
|
814
|
+
include Aws::Structure
|
815
|
+
end
|
816
|
+
|
817
|
+
# The response contains an array of Configuration and a next token if
|
818
|
+
# the response is truncated.
|
819
|
+
#
|
820
|
+
# @!attribute [rw] configurations
|
821
|
+
# @return [Array<Types::Configuration>]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] next_token
|
824
|
+
# The paginated results marker. When the result of a
|
825
|
+
# ListConfigurations operation is truncated, the call returns
|
826
|
+
# NextToken in the response. To get another batch of configurations,
|
827
|
+
# provide this token in your next request.
|
828
|
+
# @return [String]
|
829
|
+
#
|
830
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationsResponse AWS API Documentation
|
831
|
+
#
|
832
|
+
class ListConfigurationsResponse < Struct.new(
|
833
|
+
:configurations,
|
834
|
+
:next_token)
|
835
|
+
include Aws::Structure
|
836
|
+
end
|
837
|
+
|
517
838
|
# @note When making an API call, you may pass ListNodesRequest
|
518
839
|
# data as a hash:
|
519
840
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|