aws-sdk-kafka 1.23.0 → 1.29.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 +4 -3
- data/lib/aws-sdk-kafka/client.rb +255 -9
- data/lib/aws-sdk-kafka/client_api.rb +176 -0
- data/lib/aws-sdk-kafka/types.rb +381 -5
- metadata +4 -4
@@ -14,6 +14,10 @@ module Aws::Kafka
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
17
|
+
BatchAssociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretRequest')
|
18
|
+
BatchAssociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretResponse')
|
19
|
+
BatchDisassociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretRequest')
|
20
|
+
BatchDisassociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchDisassociateScramSecretResponse')
|
17
21
|
BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
|
18
22
|
BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
|
19
23
|
BrokerLogs = Shapes::StructureShape.new(name: 'BrokerLogs')
|
@@ -32,6 +36,7 @@ module Aws::Kafka
|
|
32
36
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
33
37
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
34
38
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
39
|
+
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
35
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
36
41
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
37
42
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
@@ -39,6 +44,8 @@ module Aws::Kafka
|
|
39
44
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
40
45
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
41
46
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
47
|
+
DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
|
48
|
+
DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
|
42
49
|
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
43
50
|
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
44
51
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
@@ -77,6 +84,8 @@ module Aws::Kafka
|
|
77
84
|
ListKafkaVersionsResponse = Shapes::StructureShape.new(name: 'ListKafkaVersionsResponse')
|
78
85
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
79
86
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
87
|
+
ListScramSecretsRequest = Shapes::StructureShape.new(name: 'ListScramSecretsRequest')
|
88
|
+
ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
|
80
89
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
81
90
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
82
91
|
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
@@ -91,7 +100,11 @@ module Aws::Kafka
|
|
91
100
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
92
101
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
93
102
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
103
|
+
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
104
|
+
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
94
105
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
106
|
+
Sasl = Shapes::StructureShape.new(name: 'Sasl')
|
107
|
+
Scram = Shapes::StructureShape.new(name: 'Scram')
|
95
108
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
96
109
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
97
110
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -99,6 +112,7 @@ module Aws::Kafka
|
|
99
112
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
100
113
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
101
114
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
115
|
+
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
102
116
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
103
117
|
UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
|
104
118
|
UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
|
@@ -108,6 +122,8 @@ module Aws::Kafka
|
|
108
122
|
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
109
123
|
UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
|
110
124
|
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
125
|
+
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
126
|
+
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
111
127
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
112
128
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
113
129
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
@@ -126,6 +142,7 @@ module Aws::Kafka
|
|
126
142
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
127
143
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
128
144
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
145
|
+
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
129
146
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
130
147
|
__long = Shapes::IntegerShape.new(name: '__long')
|
131
148
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
@@ -139,6 +156,22 @@ module Aws::Kafka
|
|
139
156
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
140
157
|
BadRequestException.struct_class = Types::BadRequestException
|
141
158
|
|
159
|
+
BatchAssociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
160
|
+
BatchAssociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
|
161
|
+
BatchAssociateScramSecretRequest.struct_class = Types::BatchAssociateScramSecretRequest
|
162
|
+
|
163
|
+
BatchAssociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
164
|
+
BatchAssociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
|
165
|
+
BatchAssociateScramSecretResponse.struct_class = Types::BatchAssociateScramSecretResponse
|
166
|
+
|
167
|
+
BatchDisassociateScramSecretRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
168
|
+
BatchDisassociateScramSecretRequest.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "secretArnList"))
|
169
|
+
BatchDisassociateScramSecretRequest.struct_class = Types::BatchDisassociateScramSecretRequest
|
170
|
+
|
171
|
+
BatchDisassociateScramSecretResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
172
|
+
BatchDisassociateScramSecretResponse.add_member(:unprocessed_scram_secrets, Shapes::ShapeRef.new(shape: __listOfUnprocessedScramSecret, location_name: "unprocessedScramSecrets"))
|
173
|
+
BatchDisassociateScramSecretResponse.struct_class = Types::BatchDisassociateScramSecretResponse
|
174
|
+
|
142
175
|
BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
|
143
176
|
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
144
177
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
@@ -168,6 +201,7 @@ module Aws::Kafka
|
|
168
201
|
BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
169
202
|
BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
|
170
203
|
|
204
|
+
ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
|
171
205
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
172
206
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
173
207
|
|
@@ -191,6 +225,7 @@ module Aws::Kafka
|
|
191
225
|
ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
192
226
|
ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
193
227
|
ClusterInfo.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
|
228
|
+
ClusterInfo.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
|
194
229
|
ClusterInfo.struct_class = Types::ClusterInfo
|
195
230
|
|
196
231
|
ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
|
@@ -223,6 +258,7 @@ module Aws::Kafka
|
|
223
258
|
Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
224
259
|
Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
|
225
260
|
Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
261
|
+
Configuration.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
|
226
262
|
Configuration.struct_class = Types::Configuration
|
227
263
|
|
228
264
|
ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
@@ -266,6 +302,7 @@ module Aws::Kafka
|
|
266
302
|
CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
267
303
|
CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
268
304
|
CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
305
|
+
CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
269
306
|
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
270
307
|
|
271
308
|
DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
@@ -276,6 +313,13 @@ module Aws::Kafka
|
|
276
313
|
DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
277
314
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
278
315
|
|
316
|
+
DeleteConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
317
|
+
DeleteConfigurationRequest.struct_class = Types::DeleteConfigurationRequest
|
318
|
+
|
319
|
+
DeleteConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
320
|
+
DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
321
|
+
DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
|
322
|
+
|
279
323
|
DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
|
280
324
|
DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
|
281
325
|
|
@@ -297,6 +341,7 @@ module Aws::Kafka
|
|
297
341
|
DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
298
342
|
DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
299
343
|
DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
344
|
+
DescribeConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
300
345
|
DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
|
301
346
|
|
302
347
|
DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
@@ -345,6 +390,7 @@ module Aws::Kafka
|
|
345
390
|
|
346
391
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
|
347
392
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
393
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslScram"))
|
348
394
|
GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
|
349
395
|
|
350
396
|
GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
|
@@ -419,6 +465,15 @@ module Aws::Kafka
|
|
419
465
|
ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
|
420
466
|
ListNodesResponse.struct_class = Types::ListNodesResponse
|
421
467
|
|
468
|
+
ListScramSecretsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
469
|
+
ListScramSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
470
|
+
ListScramSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
471
|
+
ListScramSecretsRequest.struct_class = Types::ListScramSecretsRequest
|
472
|
+
|
473
|
+
ListScramSecretsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
474
|
+
ListScramSecretsResponse.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "secretArnList"))
|
475
|
+
ListScramSecretsResponse.struct_class = Types::ListScramSecretsResponse
|
476
|
+
|
422
477
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
423
478
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
424
479
|
|
@@ -469,11 +524,25 @@ module Aws::Kafka
|
|
469
524
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
470
525
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
471
526
|
|
527
|
+
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
528
|
+
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
529
|
+
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
530
|
+
|
531
|
+
RebootBrokerResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
532
|
+
RebootBrokerResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
533
|
+
RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
|
534
|
+
|
472
535
|
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
473
536
|
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
474
537
|
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
475
538
|
S3.struct_class = Types::S3
|
476
539
|
|
540
|
+
Sasl.add_member(:scram, Shapes::ShapeRef.new(shape: Scram, location_name: "scram"))
|
541
|
+
Sasl.struct_class = Types::Sasl
|
542
|
+
|
543
|
+
Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
544
|
+
Scram.struct_class = Types::Scram
|
545
|
+
|
477
546
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
478
547
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
479
548
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -500,6 +569,11 @@ module Aws::Kafka
|
|
500
569
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
501
570
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
502
571
|
|
572
|
+
UnprocessedScramSecret.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
573
|
+
UnprocessedScramSecret.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
574
|
+
UnprocessedScramSecret.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "secretArn"))
|
575
|
+
UnprocessedScramSecret.struct_class = Types::UnprocessedScramSecret
|
576
|
+
|
503
577
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
504
578
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
505
579
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -541,6 +615,15 @@ module Aws::Kafka
|
|
541
615
|
UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
542
616
|
UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
|
543
617
|
|
618
|
+
UpdateConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
619
|
+
UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
620
|
+
UpdateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
621
|
+
UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
|
622
|
+
|
623
|
+
UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
624
|
+
UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
625
|
+
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
626
|
+
|
544
627
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
545
628
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
546
629
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -577,6 +660,8 @@ module Aws::Kafka
|
|
577
660
|
|
578
661
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
579
662
|
|
663
|
+
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
664
|
+
|
580
665
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
581
666
|
|
582
667
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -601,6 +686,21 @@ module Aws::Kafka
|
|
601
686
|
"uid" => "kafka-2018-11-14",
|
602
687
|
}
|
603
688
|
|
689
|
+
api.add_operation(:batch_associate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
690
|
+
o.name = "BatchAssociateScramSecret"
|
691
|
+
o.http_method = "POST"
|
692
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
693
|
+
o.input = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretRequest)
|
694
|
+
o.output = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretResponse)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
702
|
+
end)
|
703
|
+
|
604
704
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
605
705
|
o.name = "CreateCluster"
|
606
706
|
o.http_method = "POST"
|
@@ -643,6 +743,18 @@ module Aws::Kafka
|
|
643
743
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
644
744
|
end)
|
645
745
|
|
746
|
+
api.add_operation(:delete_configuration, Seahorse::Model::Operation.new.tap do |o|
|
747
|
+
o.name = "DeleteConfiguration"
|
748
|
+
o.http_method = "DELETE"
|
749
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
750
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationRequest)
|
751
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationResponse)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
756
|
+
end)
|
757
|
+
|
646
758
|
api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
|
647
759
|
o.name = "DescribeCluster"
|
648
760
|
o.http_method = "GET"
|
@@ -697,6 +809,21 @@ module Aws::Kafka
|
|
697
809
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
698
810
|
end)
|
699
811
|
|
812
|
+
api.add_operation(:batch_disassociate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
813
|
+
o.name = "BatchDisassociateScramSecret"
|
814
|
+
o.http_method = "PATCH"
|
815
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
816
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretRequest)
|
817
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretResponse)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
825
|
+
end)
|
826
|
+
|
700
827
|
api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
|
701
828
|
o.name = "GetBootstrapBrokers"
|
702
829
|
o.http_method = "GET"
|
@@ -836,6 +963,27 @@ module Aws::Kafka
|
|
836
963
|
)
|
837
964
|
end)
|
838
965
|
|
966
|
+
api.add_operation(:list_scram_secrets, Seahorse::Model::Operation.new.tap do |o|
|
967
|
+
o.name = "ListScramSecrets"
|
968
|
+
o.http_method = "GET"
|
969
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
970
|
+
o.input = Shapes::ShapeRef.new(shape: ListScramSecretsRequest)
|
971
|
+
o.output = Shapes::ShapeRef.new(shape: ListScramSecretsResponse)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
979
|
+
o[:pager] = Aws::Pager.new(
|
980
|
+
limit_key: "max_results",
|
981
|
+
tokens: {
|
982
|
+
"next_token" => "next_token"
|
983
|
+
}
|
984
|
+
)
|
985
|
+
end)
|
986
|
+
|
839
987
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
840
988
|
o.name = "ListTagsForResource"
|
841
989
|
o.http_method = "GET"
|
@@ -847,6 +995,21 @@ module Aws::Kafka
|
|
847
995
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
848
996
|
end)
|
849
997
|
|
998
|
+
api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
|
999
|
+
o.name = "RebootBroker"
|
1000
|
+
o.http_method = "PUT"
|
1001
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/reboot-broker"
|
1002
|
+
o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
|
1003
|
+
o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1011
|
+
end)
|
1012
|
+
|
850
1013
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
851
1014
|
o.name = "TagResource"
|
852
1015
|
o.http_method = "POST"
|
@@ -895,6 +1058,19 @@ module Aws::Kafka
|
|
895
1058
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
896
1059
|
end)
|
897
1060
|
|
1061
|
+
api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1062
|
+
o.name = "UpdateConfiguration"
|
1063
|
+
o.http_method = "PUT"
|
1064
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
1065
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
|
1066
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1072
|
+
end)
|
1073
|
+
|
898
1074
|
api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
|
899
1075
|
o.name = "UpdateClusterConfiguration"
|
900
1076
|
o.http_method = "PUT"
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -10,6 +10,51 @@
|
|
10
10
|
module Aws::Kafka
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Request body for BatchAssociateScramSecret.
|
14
|
+
#
|
15
|
+
# @note When making an API call, you may pass BatchAssociateScramSecretRequest
|
16
|
+
# data as a hash:
|
17
|
+
#
|
18
|
+
# {
|
19
|
+
# cluster_arn: "__string", # required
|
20
|
+
# secret_arn_list: ["__string"], # required
|
21
|
+
# }
|
22
|
+
#
|
23
|
+
# @!attribute [rw] cluster_arn
|
24
|
+
# @return [String]
|
25
|
+
#
|
26
|
+
# @!attribute [rw] secret_arn_list
|
27
|
+
# List of AWS Secrets Manager secret ARNs.
|
28
|
+
# @return [Array<String>]
|
29
|
+
#
|
30
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecretRequest AWS API Documentation
|
31
|
+
#
|
32
|
+
class BatchAssociateScramSecretRequest < Struct.new(
|
33
|
+
:cluster_arn,
|
34
|
+
:secret_arn_list)
|
35
|
+
SENSITIVE = []
|
36
|
+
include Aws::Structure
|
37
|
+
end
|
38
|
+
|
39
|
+
# Response body for BatchAssociateScramSecret.
|
40
|
+
#
|
41
|
+
# @!attribute [rw] cluster_arn
|
42
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] unprocessed_scram_secrets
|
46
|
+
# List of errors when associating secrets to cluster.
|
47
|
+
# @return [Array<Types::UnprocessedScramSecret>]
|
48
|
+
#
|
49
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecretResponse AWS API Documentation
|
50
|
+
#
|
51
|
+
class BatchAssociateScramSecretResponse < Struct.new(
|
52
|
+
:cluster_arn,
|
53
|
+
:unprocessed_scram_secrets)
|
54
|
+
SENSITIVE = []
|
55
|
+
include Aws::Structure
|
56
|
+
end
|
57
|
+
|
13
58
|
# Returns information about an error.
|
14
59
|
#
|
15
60
|
# @!attribute [rw] invalid_parameter
|
@@ -235,11 +280,19 @@ module Aws::Kafka
|
|
235
280
|
# data as a hash:
|
236
281
|
#
|
237
282
|
# {
|
283
|
+
# sasl: {
|
284
|
+
# scram: {
|
285
|
+
# enabled: false,
|
286
|
+
# },
|
287
|
+
# },
|
238
288
|
# tls: {
|
239
289
|
# certificate_authority_arn_list: ["__string"],
|
240
290
|
# },
|
241
291
|
# }
|
242
292
|
#
|
293
|
+
# @!attribute [rw] sasl
|
294
|
+
# @return [Types::Sasl]
|
295
|
+
#
|
243
296
|
# @!attribute [rw] tls
|
244
297
|
# Details for ClientAuthentication using TLS.
|
245
298
|
# @return [Types::Tls]
|
@@ -247,6 +300,7 @@ module Aws::Kafka
|
|
247
300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClientAuthentication AWS API Documentation
|
248
301
|
#
|
249
302
|
class ClientAuthentication < Struct.new(
|
303
|
+
:sasl,
|
250
304
|
:tls)
|
251
305
|
SENSITIVE = []
|
252
306
|
include Aws::Structure
|
@@ -360,6 +414,11 @@ module Aws::Kafka
|
|
360
414
|
# cluster.
|
361
415
|
# @return [String]
|
362
416
|
#
|
417
|
+
# @!attribute [rw] zookeeper_connect_string_tls
|
418
|
+
# The connection string to use to connect to zookeeper cluster on Tls
|
419
|
+
# port.
|
420
|
+
# @return [String]
|
421
|
+
#
|
363
422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
|
364
423
|
#
|
365
424
|
class ClusterInfo < Struct.new(
|
@@ -378,7 +437,8 @@ module Aws::Kafka
|
|
378
437
|
:open_monitoring,
|
379
438
|
:state,
|
380
439
|
:tags,
|
381
|
-
:zookeeper_connect_string
|
440
|
+
:zookeeper_connect_string,
|
441
|
+
:zookeeper_connect_string_tls)
|
382
442
|
SENSITIVE = []
|
383
443
|
include Aws::Structure
|
384
444
|
end
|
@@ -526,6 +586,10 @@ module Aws::Kafka
|
|
526
586
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
527
587
|
# @return [String]
|
528
588
|
#
|
589
|
+
# @!attribute [rw] state
|
590
|
+
# The state of a configuration.
|
591
|
+
# @return [String]
|
592
|
+
#
|
529
593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
|
530
594
|
#
|
531
595
|
class Configuration < Struct.new(
|
@@ -534,7 +598,8 @@ module Aws::Kafka
|
|
534
598
|
:description,
|
535
599
|
:kafka_versions,
|
536
600
|
:latest_revision,
|
537
|
-
:name
|
601
|
+
:name,
|
602
|
+
:state)
|
538
603
|
SENSITIVE = []
|
539
604
|
include Aws::Structure
|
540
605
|
end
|
@@ -625,6 +690,11 @@ module Aws::Kafka
|
|
625
690
|
# },
|
626
691
|
# },
|
627
692
|
# client_authentication: {
|
693
|
+
# sasl: {
|
694
|
+
# scram: {
|
695
|
+
# enabled: false,
|
696
|
+
# },
|
697
|
+
# },
|
628
698
|
# tls: {
|
629
699
|
# certificate_authority_arn_list: ["__string"],
|
630
700
|
# },
|
@@ -826,13 +896,19 @@ module Aws::Kafka
|
|
826
896
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
827
897
|
# @return [String]
|
828
898
|
#
|
899
|
+
# @!attribute [rw] state
|
900
|
+
# The state of the configuration. The possible states are ACTIVE,
|
901
|
+
# DELETING and DELETE\_FAILED.
|
902
|
+
# @return [String]
|
903
|
+
#
|
829
904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
|
830
905
|
#
|
831
906
|
class CreateConfigurationResponse < Struct.new(
|
832
907
|
:arn,
|
833
908
|
:creation_time,
|
834
909
|
:latest_revision,
|
835
|
-
:name
|
910
|
+
:name,
|
911
|
+
:state)
|
836
912
|
SENSITIVE = []
|
837
913
|
include Aws::Structure
|
838
914
|
end
|
@@ -880,6 +956,47 @@ module Aws::Kafka
|
|
880
956
|
include Aws::Structure
|
881
957
|
end
|
882
958
|
|
959
|
+
# Request body for DeleteConfiguration.
|
960
|
+
#
|
961
|
+
# @note When making an API call, you may pass DeleteConfigurationRequest
|
962
|
+
# data as a hash:
|
963
|
+
#
|
964
|
+
# {
|
965
|
+
# arn: "__string", # required
|
966
|
+
# }
|
967
|
+
#
|
968
|
+
# @!attribute [rw] arn
|
969
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
970
|
+
# @return [String]
|
971
|
+
#
|
972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationRequest AWS API Documentation
|
973
|
+
#
|
974
|
+
class DeleteConfigurationRequest < Struct.new(
|
975
|
+
:arn)
|
976
|
+
SENSITIVE = []
|
977
|
+
include Aws::Structure
|
978
|
+
end
|
979
|
+
|
980
|
+
# Response body for DeleteConfiguration.
|
981
|
+
#
|
982
|
+
# @!attribute [rw] arn
|
983
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @!attribute [rw] state
|
987
|
+
# The state of the configuration. The possible states are ACTIVE,
|
988
|
+
# DELETING and DELETE\_FAILED.
|
989
|
+
# @return [String]
|
990
|
+
#
|
991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationResponse AWS API Documentation
|
992
|
+
#
|
993
|
+
class DeleteConfigurationResponse < Struct.new(
|
994
|
+
:arn,
|
995
|
+
:state)
|
996
|
+
SENSITIVE = []
|
997
|
+
include Aws::Structure
|
998
|
+
end
|
999
|
+
|
883
1000
|
# @note When making an API call, you may pass DescribeClusterOperationRequest
|
884
1001
|
# data as a hash:
|
885
1002
|
#
|
@@ -990,6 +1107,11 @@ module Aws::Kafka
|
|
990
1107
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
991
1108
|
# @return [String]
|
992
1109
|
#
|
1110
|
+
# @!attribute [rw] state
|
1111
|
+
# The state of the configuration. The possible states are ACTIVE,
|
1112
|
+
# DELETING and DELETE\_FAILED.
|
1113
|
+
# @return [String]
|
1114
|
+
#
|
993
1115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
|
994
1116
|
#
|
995
1117
|
class DescribeConfigurationResponse < Struct.new(
|
@@ -998,7 +1120,8 @@ module Aws::Kafka
|
|
998
1120
|
:description,
|
999
1121
|
:kafka_versions,
|
1000
1122
|
:latest_revision,
|
1001
|
-
:name
|
1123
|
+
:name,
|
1124
|
+
:state)
|
1002
1125
|
SENSITIVE = []
|
1003
1126
|
include Aws::Structure
|
1004
1127
|
end
|
@@ -1059,6 +1182,51 @@ module Aws::Kafka
|
|
1059
1182
|
include Aws::Structure
|
1060
1183
|
end
|
1061
1184
|
|
1185
|
+
# Request body for BatchDisassociateScramSecret.
|
1186
|
+
#
|
1187
|
+
# @note When making an API call, you may pass BatchDisassociateScramSecretRequest
|
1188
|
+
# data as a hash:
|
1189
|
+
#
|
1190
|
+
# {
|
1191
|
+
# cluster_arn: "__string", # required
|
1192
|
+
# secret_arn_list: ["__string"], # required
|
1193
|
+
# }
|
1194
|
+
#
|
1195
|
+
# @!attribute [rw] cluster_arn
|
1196
|
+
# @return [String]
|
1197
|
+
#
|
1198
|
+
# @!attribute [rw] secret_arn_list
|
1199
|
+
# List of AWS Secrets Manager secret ARNs.
|
1200
|
+
# @return [Array<String>]
|
1201
|
+
#
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretRequest AWS API Documentation
|
1203
|
+
#
|
1204
|
+
class BatchDisassociateScramSecretRequest < Struct.new(
|
1205
|
+
:cluster_arn,
|
1206
|
+
:secret_arn_list)
|
1207
|
+
SENSITIVE = []
|
1208
|
+
include Aws::Structure
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Response body for BatchDisassociateScramSecret.
|
1212
|
+
#
|
1213
|
+
# @!attribute [rw] cluster_arn
|
1214
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1215
|
+
# @return [String]
|
1216
|
+
#
|
1217
|
+
# @!attribute [rw] unprocessed_scram_secrets
|
1218
|
+
# List of errors when disassociating secrets to cluster.
|
1219
|
+
# @return [Array<Types::UnprocessedScramSecret>]
|
1220
|
+
#
|
1221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretResponse AWS API Documentation
|
1222
|
+
#
|
1223
|
+
class BatchDisassociateScramSecretResponse < Struct.new(
|
1224
|
+
:cluster_arn,
|
1225
|
+
:unprocessed_scram_secrets)
|
1226
|
+
SENSITIVE = []
|
1227
|
+
include Aws::Structure
|
1228
|
+
end
|
1229
|
+
|
1062
1230
|
# Contains information about the EBS storage volumes attached to Kafka
|
1063
1231
|
# broker nodes.
|
1064
1232
|
#
|
@@ -1295,11 +1463,19 @@ module Aws::Kafka
|
|
1295
1463
|
# <programlisting>\{ "BootstrapBrokerStringTls": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094" \}</programlisting>
|
1296
1464
|
# @return [String]
|
1297
1465
|
#
|
1466
|
+
# @!attribute [rw] bootstrap_broker_string_sasl_scram
|
1467
|
+
# A string containing one or more DNS names (or IP) and SASL SCRAM
|
1468
|
+
# port pairs. The following is an example.
|
1469
|
+
#
|
1470
|
+
# <programlisting>\{ "BootstrapBrokerStringSaslScram": "b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096" \}</programlisting>
|
1471
|
+
# @return [String]
|
1472
|
+
#
|
1298
1473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
|
1299
1474
|
#
|
1300
1475
|
class GetBootstrapBrokersResponse < Struct.new(
|
1301
1476
|
:bootstrap_broker_string,
|
1302
|
-
:bootstrap_broker_string_tls
|
1477
|
+
:bootstrap_broker_string_tls,
|
1478
|
+
:bootstrap_broker_string_sasl_scram)
|
1303
1479
|
SENSITIVE = []
|
1304
1480
|
include Aws::Structure
|
1305
1481
|
end
|
@@ -1658,6 +1834,53 @@ module Aws::Kafka
|
|
1658
1834
|
include Aws::Structure
|
1659
1835
|
end
|
1660
1836
|
|
1837
|
+
# @note When making an API call, you may pass ListScramSecretsRequest
|
1838
|
+
# data as a hash:
|
1839
|
+
#
|
1840
|
+
# {
|
1841
|
+
# cluster_arn: "__string", # required
|
1842
|
+
# max_results: 1,
|
1843
|
+
# next_token: "__string",
|
1844
|
+
# }
|
1845
|
+
#
|
1846
|
+
# @!attribute [rw] cluster_arn
|
1847
|
+
# @return [String]
|
1848
|
+
#
|
1849
|
+
# @!attribute [rw] max_results
|
1850
|
+
# @return [Integer]
|
1851
|
+
#
|
1852
|
+
# @!attribute [rw] next_token
|
1853
|
+
# @return [String]
|
1854
|
+
#
|
1855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsRequest AWS API Documentation
|
1856
|
+
#
|
1857
|
+
class ListScramSecretsRequest < Struct.new(
|
1858
|
+
:cluster_arn,
|
1859
|
+
:max_results,
|
1860
|
+
:next_token)
|
1861
|
+
SENSITIVE = []
|
1862
|
+
include Aws::Structure
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Information about scram secrets associated to the cluster.
|
1866
|
+
#
|
1867
|
+
# @!attribute [rw] next_token
|
1868
|
+
# Paginated results marker.
|
1869
|
+
# @return [String]
|
1870
|
+
#
|
1871
|
+
# @!attribute [rw] secret_arn_list
|
1872
|
+
# The list of scram secrets associated with the cluster.
|
1873
|
+
# @return [Array<String>]
|
1874
|
+
#
|
1875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsResponse AWS API Documentation
|
1876
|
+
#
|
1877
|
+
class ListScramSecretsResponse < Struct.new(
|
1878
|
+
:next_token,
|
1879
|
+
:secret_arn_list)
|
1880
|
+
SENSITIVE = []
|
1881
|
+
include Aws::Structure
|
1882
|
+
end
|
1883
|
+
|
1661
1884
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1662
1885
|
# data as a hash:
|
1663
1886
|
#
|
@@ -1831,6 +2054,44 @@ module Aws::Kafka
|
|
1831
2054
|
include Aws::Structure
|
1832
2055
|
end
|
1833
2056
|
|
2057
|
+
# @note When making an API call, you may pass Sasl
|
2058
|
+
# data as a hash:
|
2059
|
+
#
|
2060
|
+
# {
|
2061
|
+
# scram: {
|
2062
|
+
# enabled: false,
|
2063
|
+
# },
|
2064
|
+
# }
|
2065
|
+
#
|
2066
|
+
# @!attribute [rw] scram
|
2067
|
+
# @return [Types::Scram]
|
2068
|
+
#
|
2069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Sasl AWS API Documentation
|
2070
|
+
#
|
2071
|
+
class Sasl < Struct.new(
|
2072
|
+
:scram)
|
2073
|
+
SENSITIVE = []
|
2074
|
+
include Aws::Structure
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
# @note When making an API call, you may pass Scram
|
2078
|
+
# data as a hash:
|
2079
|
+
#
|
2080
|
+
# {
|
2081
|
+
# enabled: false,
|
2082
|
+
# }
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] enabled
|
2085
|
+
# @return [Boolean]
|
2086
|
+
#
|
2087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
|
2088
|
+
#
|
2089
|
+
class Scram < Struct.new(
|
2090
|
+
:enabled)
|
2091
|
+
SENSITIVE = []
|
2092
|
+
include Aws::Structure
|
2093
|
+
end
|
2094
|
+
|
1834
2095
|
# Returns information about an error.
|
1835
2096
|
#
|
1836
2097
|
# @!attribute [rw] invalid_parameter
|
@@ -1976,6 +2237,25 @@ module Aws::Kafka
|
|
1976
2237
|
include Aws::Structure
|
1977
2238
|
end
|
1978
2239
|
|
2240
|
+
# @!attribute [rw] error_code
|
2241
|
+
# @return [String]
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] error_message
|
2244
|
+
# @return [String]
|
2245
|
+
#
|
2246
|
+
# @!attribute [rw] secret_arn
|
2247
|
+
# @return [String]
|
2248
|
+
#
|
2249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UnprocessedScramSecret AWS API Documentation
|
2250
|
+
#
|
2251
|
+
class UnprocessedScramSecret < Struct.new(
|
2252
|
+
:error_code,
|
2253
|
+
:error_message,
|
2254
|
+
:secret_arn)
|
2255
|
+
SENSITIVE = []
|
2256
|
+
include Aws::Structure
|
2257
|
+
end
|
2258
|
+
|
1979
2259
|
# @note When making an API call, you may pass UntagResourceRequest
|
1980
2260
|
# data as a hash:
|
1981
2261
|
#
|
@@ -2230,6 +2510,57 @@ module Aws::Kafka
|
|
2230
2510
|
include Aws::Structure
|
2231
2511
|
end
|
2232
2512
|
|
2513
|
+
# Request body for UpdateConfiguration.
|
2514
|
+
#
|
2515
|
+
# @note When making an API call, you may pass UpdateConfigurationRequest
|
2516
|
+
# data as a hash:
|
2517
|
+
#
|
2518
|
+
# {
|
2519
|
+
# arn: "__string", # required
|
2520
|
+
# description: "__string",
|
2521
|
+
# server_properties: "data", # required
|
2522
|
+
# }
|
2523
|
+
#
|
2524
|
+
# @!attribute [rw] arn
|
2525
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2526
|
+
# @return [String]
|
2527
|
+
#
|
2528
|
+
# @!attribute [rw] description
|
2529
|
+
# The description of the configuration.
|
2530
|
+
# @return [String]
|
2531
|
+
#
|
2532
|
+
# @!attribute [rw] server_properties
|
2533
|
+
# @return [String]
|
2534
|
+
#
|
2535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationRequest AWS API Documentation
|
2536
|
+
#
|
2537
|
+
class UpdateConfigurationRequest < Struct.new(
|
2538
|
+
:arn,
|
2539
|
+
:description,
|
2540
|
+
:server_properties)
|
2541
|
+
SENSITIVE = []
|
2542
|
+
include Aws::Structure
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
# Response body for UpdateConfiguration.
|
2546
|
+
#
|
2547
|
+
# @!attribute [rw] arn
|
2548
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2549
|
+
# @return [String]
|
2550
|
+
#
|
2551
|
+
# @!attribute [rw] latest_revision
|
2552
|
+
# Latest revision of the configuration.
|
2553
|
+
# @return [Types::ConfigurationRevision]
|
2554
|
+
#
|
2555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationResponse AWS API Documentation
|
2556
|
+
#
|
2557
|
+
class UpdateConfigurationResponse < Struct.new(
|
2558
|
+
:arn,
|
2559
|
+
:latest_revision)
|
2560
|
+
SENSITIVE = []
|
2561
|
+
include Aws::Structure
|
2562
|
+
end
|
2563
|
+
|
2233
2564
|
# Request body for UpdateMonitoring.
|
2234
2565
|
#
|
2235
2566
|
# @note When making an API call, you may pass UpdateMonitoringRequest
|
@@ -2446,6 +2777,51 @@ module Aws::Kafka
|
|
2446
2777
|
include Aws::Structure
|
2447
2778
|
end
|
2448
2779
|
|
2780
|
+
# Request body for RebootBrokerNode action.
|
2781
|
+
#
|
2782
|
+
# @note When making an API call, you may pass RebootBrokerRequest
|
2783
|
+
# data as a hash:
|
2784
|
+
#
|
2785
|
+
# {
|
2786
|
+
# broker_ids: ["__string"], # required
|
2787
|
+
# cluster_arn: "__string", # required
|
2788
|
+
# }
|
2789
|
+
#
|
2790
|
+
# @!attribute [rw] broker_ids
|
2791
|
+
# The list of broker ids to be rebooted.
|
2792
|
+
# @return [Array<String>]
|
2793
|
+
#
|
2794
|
+
# @!attribute [rw] cluster_arn
|
2795
|
+
# @return [String]
|
2796
|
+
#
|
2797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerRequest AWS API Documentation
|
2798
|
+
#
|
2799
|
+
class RebootBrokerRequest < Struct.new(
|
2800
|
+
:broker_ids,
|
2801
|
+
:cluster_arn)
|
2802
|
+
SENSITIVE = []
|
2803
|
+
include Aws::Structure
|
2804
|
+
end
|
2805
|
+
|
2806
|
+
# Response body for RebootBrokers action.
|
2807
|
+
#
|
2808
|
+
# @!attribute [rw] cluster_arn
|
2809
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2810
|
+
# @return [String]
|
2811
|
+
#
|
2812
|
+
# @!attribute [rw] cluster_operation_arn
|
2813
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2814
|
+
# @return [String]
|
2815
|
+
#
|
2816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerResponse AWS API Documentation
|
2817
|
+
#
|
2818
|
+
class RebootBrokerResponse < Struct.new(
|
2819
|
+
:cluster_arn,
|
2820
|
+
:cluster_operation_arn)
|
2821
|
+
SENSITIVE = []
|
2822
|
+
include Aws::Structure
|
2823
|
+
end
|
2824
|
+
|
2449
2825
|
# The details of the Amazon S3 destination for broker logs.
|
2450
2826
|
#
|
2451
2827
|
# @note When making an API call, you may pass S3
|