aws-sdk-kafka 1.21.0 → 1.27.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 +6 -3
- data/lib/aws-sdk-kafka/client.rb +258 -10
- data/lib/aws-sdk-kafka/client_api.rb +177 -0
- data/lib/aws-sdk-kafka/errors.rb +2 -0
- data/lib/aws-sdk-kafka/resource.rb +2 -0
- data/lib/aws-sdk-kafka/types.rb +467 -4
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -12,6 +14,10 @@ module Aws::Kafka
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
14
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')
|
15
21
|
BrokerAZDistribution = Shapes::StringShape.new(name: 'BrokerAZDistribution')
|
16
22
|
BrokerEBSVolumeInfo = Shapes::StructureShape.new(name: 'BrokerEBSVolumeInfo')
|
17
23
|
BrokerLogs = Shapes::StructureShape.new(name: 'BrokerLogs')
|
@@ -30,6 +36,7 @@ module Aws::Kafka
|
|
30
36
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
31
37
|
ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
|
32
38
|
ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
|
39
|
+
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
33
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
41
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
35
42
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
@@ -37,6 +44,8 @@ module Aws::Kafka
|
|
37
44
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
38
45
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
39
46
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
47
|
+
DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
|
48
|
+
DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
|
40
49
|
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
41
50
|
DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
|
42
51
|
DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
|
@@ -75,6 +84,8 @@ module Aws::Kafka
|
|
75
84
|
ListKafkaVersionsResponse = Shapes::StructureShape.new(name: 'ListKafkaVersionsResponse')
|
76
85
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
77
86
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
87
|
+
ListScramSecretsRequest = Shapes::StructureShape.new(name: 'ListScramSecretsRequest')
|
88
|
+
ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
|
78
89
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
79
90
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
80
91
|
LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
|
@@ -89,7 +100,11 @@ module Aws::Kafka
|
|
89
100
|
OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
|
90
101
|
Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
|
91
102
|
PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
|
103
|
+
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
104
|
+
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
92
105
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
106
|
+
Sasl = Shapes::StructureShape.new(name: 'Sasl')
|
107
|
+
Scram = Shapes::StructureShape.new(name: 'Scram')
|
93
108
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
94
109
|
StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
|
95
110
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
@@ -97,6 +112,7 @@ module Aws::Kafka
|
|
97
112
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
98
113
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
99
114
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
115
|
+
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
100
116
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
101
117
|
UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
|
102
118
|
UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
|
@@ -106,6 +122,8 @@ module Aws::Kafka
|
|
106
122
|
UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
|
107
123
|
UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
|
108
124
|
UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
|
125
|
+
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
126
|
+
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
109
127
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
110
128
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
111
129
|
ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
|
@@ -124,6 +142,7 @@ module Aws::Kafka
|
|
124
142
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
125
143
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
126
144
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
145
|
+
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
127
146
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
128
147
|
__long = Shapes::IntegerShape.new(name: '__long')
|
129
148
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
@@ -137,6 +156,22 @@ module Aws::Kafka
|
|
137
156
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
138
157
|
BadRequestException.struct_class = Types::BadRequestException
|
139
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
|
+
|
140
175
|
BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
|
141
176
|
BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
|
142
177
|
BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
|
@@ -166,6 +201,7 @@ module Aws::Kafka
|
|
166
201
|
BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
|
167
202
|
BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
|
168
203
|
|
204
|
+
ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
|
169
205
|
ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
|
170
206
|
ClientAuthentication.struct_class = Types::ClientAuthentication
|
171
207
|
|
@@ -221,6 +257,7 @@ module Aws::Kafka
|
|
221
257
|
Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
|
222
258
|
Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
|
223
259
|
Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
260
|
+
Configuration.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
|
224
261
|
Configuration.struct_class = Types::Configuration
|
225
262
|
|
226
263
|
ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
@@ -264,6 +301,7 @@ module Aws::Kafka
|
|
264
301
|
CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
265
302
|
CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
266
303
|
CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
304
|
+
CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
267
305
|
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
268
306
|
|
269
307
|
DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
@@ -274,6 +312,13 @@ module Aws::Kafka
|
|
274
312
|
DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
|
275
313
|
DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
|
276
314
|
|
315
|
+
DeleteConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
316
|
+
DeleteConfigurationRequest.struct_class = Types::DeleteConfigurationRequest
|
317
|
+
|
318
|
+
DeleteConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
319
|
+
DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
320
|
+
DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
|
321
|
+
|
277
322
|
DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
|
278
323
|
DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
|
279
324
|
|
@@ -295,6 +340,7 @@ module Aws::Kafka
|
|
295
340
|
DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
|
296
341
|
DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
297
342
|
DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
343
|
+
DescribeConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
298
344
|
DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
|
299
345
|
|
300
346
|
DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
@@ -343,6 +389,7 @@ module Aws::Kafka
|
|
343
389
|
|
344
390
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
|
345
391
|
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringTls"))
|
392
|
+
GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string_sasl_scram, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerStringSaslScram"))
|
346
393
|
GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
|
347
394
|
|
348
395
|
GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
|
@@ -417,6 +464,15 @@ module Aws::Kafka
|
|
417
464
|
ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
|
418
465
|
ListNodesResponse.struct_class = Types::ListNodesResponse
|
419
466
|
|
467
|
+
ListScramSecretsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
468
|
+
ListScramSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
469
|
+
ListScramSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
470
|
+
ListScramSecretsRequest.struct_class = Types::ListScramSecretsRequest
|
471
|
+
|
472
|
+
ListScramSecretsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
473
|
+
ListScramSecretsResponse.add_member(:secret_arn_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "secretArnList"))
|
474
|
+
ListScramSecretsResponse.struct_class = Types::ListScramSecretsResponse
|
475
|
+
|
420
476
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
421
477
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
422
478
|
|
@@ -467,11 +523,25 @@ module Aws::Kafka
|
|
467
523
|
PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
|
468
524
|
PrometheusInfo.struct_class = Types::PrometheusInfo
|
469
525
|
|
526
|
+
RebootBrokerRequest.add_member(:broker_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "brokerIds"))
|
527
|
+
RebootBrokerRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
528
|
+
RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
|
529
|
+
|
530
|
+
RebootBrokerResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
|
531
|
+
RebootBrokerResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
532
|
+
RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
|
533
|
+
|
470
534
|
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
471
535
|
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
472
536
|
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
473
537
|
S3.struct_class = Types::S3
|
474
538
|
|
539
|
+
Sasl.add_member(:scram, Shapes::ShapeRef.new(shape: Scram, location_name: "scram"))
|
540
|
+
Sasl.struct_class = Types::Sasl
|
541
|
+
|
542
|
+
Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
543
|
+
Scram.struct_class = Types::Scram
|
544
|
+
|
475
545
|
ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
476
546
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
477
547
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
@@ -498,6 +568,11 @@ module Aws::Kafka
|
|
498
568
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
499
569
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
500
570
|
|
571
|
+
UnprocessedScramSecret.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
572
|
+
UnprocessedScramSecret.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
573
|
+
UnprocessedScramSecret.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "secretArn"))
|
574
|
+
UnprocessedScramSecret.struct_class = Types::UnprocessedScramSecret
|
575
|
+
|
501
576
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
502
577
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
503
578
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -539,6 +614,15 @@ module Aws::Kafka
|
|
539
614
|
UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
540
615
|
UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
|
541
616
|
|
617
|
+
UpdateConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
618
|
+
UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
619
|
+
UpdateConfigurationRequest.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, required: true, location_name: "serverProperties"))
|
620
|
+
UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
|
621
|
+
|
622
|
+
UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
623
|
+
UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
|
624
|
+
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
625
|
+
|
542
626
|
UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
543
627
|
UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
544
628
|
UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
|
@@ -575,6 +659,8 @@ module Aws::Kafka
|
|
575
659
|
|
576
660
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
577
661
|
|
662
|
+
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
663
|
+
|
578
664
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
579
665
|
|
580
666
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -599,6 +685,21 @@ module Aws::Kafka
|
|
599
685
|
"uid" => "kafka-2018-11-14",
|
600
686
|
}
|
601
687
|
|
688
|
+
api.add_operation(:batch_associate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
689
|
+
o.name = "BatchAssociateScramSecret"
|
690
|
+
o.http_method = "POST"
|
691
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
692
|
+
o.input = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretRequest)
|
693
|
+
o.output = Shapes::ShapeRef.new(shape: BatchAssociateScramSecretResponse)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
701
|
+
end)
|
702
|
+
|
602
703
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
603
704
|
o.name = "CreateCluster"
|
604
705
|
o.http_method = "POST"
|
@@ -641,6 +742,18 @@ module Aws::Kafka
|
|
641
742
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
642
743
|
end)
|
643
744
|
|
745
|
+
api.add_operation(:delete_configuration, Seahorse::Model::Operation.new.tap do |o|
|
746
|
+
o.name = "DeleteConfiguration"
|
747
|
+
o.http_method = "DELETE"
|
748
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
749
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationRequest)
|
750
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConfigurationResponse)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
755
|
+
end)
|
756
|
+
|
644
757
|
api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
|
645
758
|
o.name = "DescribeCluster"
|
646
759
|
o.http_method = "GET"
|
@@ -695,6 +808,21 @@ module Aws::Kafka
|
|
695
808
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
696
809
|
end)
|
697
810
|
|
811
|
+
api.add_operation(:batch_disassociate_scram_secret, Seahorse::Model::Operation.new.tap do |o|
|
812
|
+
o.name = "BatchDisassociateScramSecret"
|
813
|
+
o.http_method = "PATCH"
|
814
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
815
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretRequest)
|
816
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDisassociateScramSecretResponse)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
824
|
+
end)
|
825
|
+
|
698
826
|
api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
|
699
827
|
o.name = "GetBootstrapBrokers"
|
700
828
|
o.http_method = "GET"
|
@@ -834,6 +962,27 @@ module Aws::Kafka
|
|
834
962
|
)
|
835
963
|
end)
|
836
964
|
|
965
|
+
api.add_operation(:list_scram_secrets, Seahorse::Model::Operation.new.tap do |o|
|
966
|
+
o.name = "ListScramSecrets"
|
967
|
+
o.http_method = "GET"
|
968
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/scram-secrets"
|
969
|
+
o.input = Shapes::ShapeRef.new(shape: ListScramSecretsRequest)
|
970
|
+
o.output = Shapes::ShapeRef.new(shape: ListScramSecretsResponse)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
978
|
+
o[:pager] = Aws::Pager.new(
|
979
|
+
limit_key: "max_results",
|
980
|
+
tokens: {
|
981
|
+
"next_token" => "next_token"
|
982
|
+
}
|
983
|
+
)
|
984
|
+
end)
|
985
|
+
|
837
986
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
838
987
|
o.name = "ListTagsForResource"
|
839
988
|
o.http_method = "GET"
|
@@ -845,6 +994,21 @@ module Aws::Kafka
|
|
845
994
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
846
995
|
end)
|
847
996
|
|
997
|
+
api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
|
998
|
+
o.name = "RebootBroker"
|
999
|
+
o.http_method = "PUT"
|
1000
|
+
o.http_request_uri = "/v1/clusters/{clusterArn}/reboot-broker"
|
1001
|
+
o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
|
1002
|
+
o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1010
|
+
end)
|
1011
|
+
|
848
1012
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
849
1013
|
o.name = "TagResource"
|
850
1014
|
o.http_method = "POST"
|
@@ -893,6 +1057,19 @@ module Aws::Kafka
|
|
893
1057
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
894
1058
|
end)
|
895
1059
|
|
1060
|
+
api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1061
|
+
o.name = "UpdateConfiguration"
|
1062
|
+
o.http_method = "PUT"
|
1063
|
+
o.http_request_uri = "/v1/configurations/{arn}"
|
1064
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
|
1065
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1071
|
+
end)
|
1072
|
+
|
896
1073
|
api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
|
897
1074
|
o.name = "UpdateClusterConfiguration"
|
898
1075
|
o.http_method = "PUT"
|
data/lib/aws-sdk-kafka/errors.rb
CHANGED
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,51 @@
|
|
8
10
|
module Aws::Kafka
|
9
11
|
module Types
|
10
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
|
+
|
11
58
|
# Returns information about an error.
|
12
59
|
#
|
13
60
|
# @!attribute [rw] invalid_parameter
|
@@ -21,6 +68,7 @@ module Aws::Kafka
|
|
21
68
|
class BadRequestException < Struct.new(
|
22
69
|
:invalid_parameter,
|
23
70
|
:message)
|
71
|
+
SENSITIVE = []
|
24
72
|
include Aws::Structure
|
25
73
|
end
|
26
74
|
|
@@ -49,6 +97,7 @@ module Aws::Kafka
|
|
49
97
|
class BrokerEBSVolumeInfo < Struct.new(
|
50
98
|
:kafka_broker_node_id,
|
51
99
|
:volume_size_gb)
|
100
|
+
SENSITIVE = []
|
52
101
|
include Aws::Structure
|
53
102
|
end
|
54
103
|
|
@@ -92,6 +141,7 @@ module Aws::Kafka
|
|
92
141
|
:cloud_watch_logs,
|
93
142
|
:firehose,
|
94
143
|
:s3)
|
144
|
+
SENSITIVE = []
|
95
145
|
include Aws::Structure
|
96
146
|
end
|
97
147
|
|
@@ -154,6 +204,7 @@ module Aws::Kafka
|
|
154
204
|
:instance_type,
|
155
205
|
:security_groups,
|
156
206
|
:storage_info)
|
207
|
+
SENSITIVE = []
|
157
208
|
include Aws::Structure
|
158
209
|
end
|
159
210
|
|
@@ -193,6 +244,7 @@ module Aws::Kafka
|
|
193
244
|
:client_vpc_ip_address,
|
194
245
|
:current_broker_software_info,
|
195
246
|
:endpoints)
|
247
|
+
SENSITIVE = []
|
196
248
|
include Aws::Structure
|
197
249
|
end
|
198
250
|
|
@@ -218,6 +270,7 @@ module Aws::Kafka
|
|
218
270
|
:configuration_arn,
|
219
271
|
:configuration_revision,
|
220
272
|
:kafka_version)
|
273
|
+
SENSITIVE = []
|
221
274
|
include Aws::Structure
|
222
275
|
end
|
223
276
|
|
@@ -227,11 +280,19 @@ module Aws::Kafka
|
|
227
280
|
# data as a hash:
|
228
281
|
#
|
229
282
|
# {
|
283
|
+
# sasl: {
|
284
|
+
# scram: {
|
285
|
+
# enabled: false,
|
286
|
+
# },
|
287
|
+
# },
|
230
288
|
# tls: {
|
231
289
|
# certificate_authority_arn_list: ["__string"],
|
232
290
|
# },
|
233
291
|
# }
|
234
292
|
#
|
293
|
+
# @!attribute [rw] sasl
|
294
|
+
# @return [Types::Sasl]
|
295
|
+
#
|
235
296
|
# @!attribute [rw] tls
|
236
297
|
# Details for ClientAuthentication using TLS.
|
237
298
|
# @return [Types::Tls]
|
@@ -239,7 +300,9 @@ module Aws::Kafka
|
|
239
300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClientAuthentication AWS API Documentation
|
240
301
|
#
|
241
302
|
class ClientAuthentication < Struct.new(
|
303
|
+
:sasl,
|
242
304
|
:tls)
|
305
|
+
SENSITIVE = []
|
243
306
|
include Aws::Structure
|
244
307
|
end
|
245
308
|
|
@@ -267,6 +330,7 @@ module Aws::Kafka
|
|
267
330
|
class CloudWatchLogs < Struct.new(
|
268
331
|
:enabled,
|
269
332
|
:log_group)
|
333
|
+
SENSITIVE = []
|
270
334
|
include Aws::Structure
|
271
335
|
end
|
272
336
|
|
@@ -369,6 +433,7 @@ module Aws::Kafka
|
|
369
433
|
:state,
|
370
434
|
:tags,
|
371
435
|
:zookeeper_connect_string)
|
436
|
+
SENSITIVE = []
|
372
437
|
include Aws::Structure
|
373
438
|
end
|
374
439
|
|
@@ -432,6 +497,7 @@ module Aws::Kafka
|
|
432
497
|
:operation_type,
|
433
498
|
:source_cluster_info,
|
434
499
|
:target_cluster_info)
|
500
|
+
SENSITIVE = []
|
435
501
|
include Aws::Structure
|
436
502
|
end
|
437
503
|
|
@@ -450,6 +516,7 @@ module Aws::Kafka
|
|
450
516
|
class ClusterOperationStep < Struct.new(
|
451
517
|
:step_info,
|
452
518
|
:step_name)
|
519
|
+
SENSITIVE = []
|
453
520
|
include Aws::Structure
|
454
521
|
end
|
455
522
|
|
@@ -463,6 +530,7 @@ module Aws::Kafka
|
|
463
530
|
#
|
464
531
|
class ClusterOperationStepInfo < Struct.new(
|
465
532
|
:step_status)
|
533
|
+
SENSITIVE = []
|
466
534
|
include Aws::Structure
|
467
535
|
end
|
468
536
|
|
@@ -479,6 +547,7 @@ module Aws::Kafka
|
|
479
547
|
class CompatibleKafkaVersion < Struct.new(
|
480
548
|
:source_version,
|
481
549
|
:target_versions)
|
550
|
+
SENSITIVE = []
|
482
551
|
include Aws::Structure
|
483
552
|
end
|
484
553
|
|
@@ -511,6 +580,10 @@ module Aws::Kafka
|
|
511
580
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
512
581
|
# @return [String]
|
513
582
|
#
|
583
|
+
# @!attribute [rw] state
|
584
|
+
# The state of a configuration.
|
585
|
+
# @return [String]
|
586
|
+
#
|
514
587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
|
515
588
|
#
|
516
589
|
class Configuration < Struct.new(
|
@@ -519,7 +592,9 @@ module Aws::Kafka
|
|
519
592
|
:description,
|
520
593
|
:kafka_versions,
|
521
594
|
:latest_revision,
|
522
|
-
:name
|
595
|
+
:name,
|
596
|
+
:state)
|
597
|
+
SENSITIVE = []
|
523
598
|
include Aws::Structure
|
524
599
|
end
|
525
600
|
|
@@ -546,6 +621,7 @@ module Aws::Kafka
|
|
546
621
|
class ConfigurationInfo < Struct.new(
|
547
622
|
:arn,
|
548
623
|
:revision)
|
624
|
+
SENSITIVE = []
|
549
625
|
include Aws::Structure
|
550
626
|
end
|
551
627
|
|
@@ -569,6 +645,7 @@ module Aws::Kafka
|
|
569
645
|
:creation_time,
|
570
646
|
:description,
|
571
647
|
:revision)
|
648
|
+
SENSITIVE = []
|
572
649
|
include Aws::Structure
|
573
650
|
end
|
574
651
|
|
@@ -585,6 +662,7 @@ module Aws::Kafka
|
|
585
662
|
class ConflictException < Struct.new(
|
586
663
|
:invalid_parameter,
|
587
664
|
:message)
|
665
|
+
SENSITIVE = []
|
588
666
|
include Aws::Structure
|
589
667
|
end
|
590
668
|
|
@@ -606,6 +684,11 @@ module Aws::Kafka
|
|
606
684
|
# },
|
607
685
|
# },
|
608
686
|
# client_authentication: {
|
687
|
+
# sasl: {
|
688
|
+
# scram: {
|
689
|
+
# enabled: false,
|
690
|
+
# },
|
691
|
+
# },
|
609
692
|
# tls: {
|
610
693
|
# certificate_authority_arn_list: ["__string"],
|
611
694
|
# },
|
@@ -719,6 +802,7 @@ module Aws::Kafka
|
|
719
802
|
:number_of_broker_nodes,
|
720
803
|
:open_monitoring,
|
721
804
|
:tags)
|
805
|
+
SENSITIVE = []
|
722
806
|
include Aws::Structure
|
723
807
|
end
|
724
808
|
|
@@ -743,6 +827,7 @@ module Aws::Kafka
|
|
743
827
|
:cluster_arn,
|
744
828
|
:cluster_name,
|
745
829
|
:state)
|
830
|
+
SENSITIVE = []
|
746
831
|
include Aws::Structure
|
747
832
|
end
|
748
833
|
|
@@ -782,6 +867,7 @@ module Aws::Kafka
|
|
782
867
|
:kafka_versions,
|
783
868
|
:name,
|
784
869
|
:server_properties)
|
870
|
+
SENSITIVE = []
|
785
871
|
include Aws::Structure
|
786
872
|
end
|
787
873
|
|
@@ -804,13 +890,20 @@ module Aws::Kafka
|
|
804
890
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
805
891
|
# @return [String]
|
806
892
|
#
|
893
|
+
# @!attribute [rw] state
|
894
|
+
# The state of the configuration. The possible states are ACTIVE,
|
895
|
+
# DELETING and DELETE\_FAILED.
|
896
|
+
# @return [String]
|
897
|
+
#
|
807
898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
|
808
899
|
#
|
809
900
|
class CreateConfigurationResponse < Struct.new(
|
810
901
|
:arn,
|
811
902
|
:creation_time,
|
812
903
|
:latest_revision,
|
813
|
-
:name
|
904
|
+
:name,
|
905
|
+
:state)
|
906
|
+
SENSITIVE = []
|
814
907
|
include Aws::Structure
|
815
908
|
end
|
816
909
|
|
@@ -833,6 +926,7 @@ module Aws::Kafka
|
|
833
926
|
class DeleteClusterRequest < Struct.new(
|
834
927
|
:cluster_arn,
|
835
928
|
:current_version)
|
929
|
+
SENSITIVE = []
|
836
930
|
include Aws::Structure
|
837
931
|
end
|
838
932
|
|
@@ -852,6 +946,48 @@ module Aws::Kafka
|
|
852
946
|
class DeleteClusterResponse < Struct.new(
|
853
947
|
:cluster_arn,
|
854
948
|
:state)
|
949
|
+
SENSITIVE = []
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# Request body for DeleteConfiguration.
|
954
|
+
#
|
955
|
+
# @note When making an API call, you may pass DeleteConfigurationRequest
|
956
|
+
# data as a hash:
|
957
|
+
#
|
958
|
+
# {
|
959
|
+
# arn: "__string", # required
|
960
|
+
# }
|
961
|
+
#
|
962
|
+
# @!attribute [rw] arn
|
963
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
964
|
+
# @return [String]
|
965
|
+
#
|
966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationRequest AWS API Documentation
|
967
|
+
#
|
968
|
+
class DeleteConfigurationRequest < Struct.new(
|
969
|
+
:arn)
|
970
|
+
SENSITIVE = []
|
971
|
+
include Aws::Structure
|
972
|
+
end
|
973
|
+
|
974
|
+
# Response body for DeleteConfiguration.
|
975
|
+
#
|
976
|
+
# @!attribute [rw] arn
|
977
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
978
|
+
# @return [String]
|
979
|
+
#
|
980
|
+
# @!attribute [rw] state
|
981
|
+
# The state of the configuration. The possible states are ACTIVE,
|
982
|
+
# DELETING and DELETE\_FAILED.
|
983
|
+
# @return [String]
|
984
|
+
#
|
985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationResponse AWS API Documentation
|
986
|
+
#
|
987
|
+
class DeleteConfigurationResponse < Struct.new(
|
988
|
+
:arn,
|
989
|
+
:state)
|
990
|
+
SENSITIVE = []
|
855
991
|
include Aws::Structure
|
856
992
|
end
|
857
993
|
|
@@ -869,6 +1005,7 @@ module Aws::Kafka
|
|
869
1005
|
#
|
870
1006
|
class DescribeClusterOperationRequest < Struct.new(
|
871
1007
|
:cluster_operation_arn)
|
1008
|
+
SENSITIVE = []
|
872
1009
|
include Aws::Structure
|
873
1010
|
end
|
874
1011
|
|
@@ -882,6 +1019,7 @@ module Aws::Kafka
|
|
882
1019
|
#
|
883
1020
|
class DescribeClusterOperationResponse < Struct.new(
|
884
1021
|
:cluster_operation_info)
|
1022
|
+
SENSITIVE = []
|
885
1023
|
include Aws::Structure
|
886
1024
|
end
|
887
1025
|
|
@@ -899,6 +1037,7 @@ module Aws::Kafka
|
|
899
1037
|
#
|
900
1038
|
class DescribeClusterRequest < Struct.new(
|
901
1039
|
:cluster_arn)
|
1040
|
+
SENSITIVE = []
|
902
1041
|
include Aws::Structure
|
903
1042
|
end
|
904
1043
|
|
@@ -912,6 +1051,7 @@ module Aws::Kafka
|
|
912
1051
|
#
|
913
1052
|
class DescribeClusterResponse < Struct.new(
|
914
1053
|
:cluster_info)
|
1054
|
+
SENSITIVE = []
|
915
1055
|
include Aws::Structure
|
916
1056
|
end
|
917
1057
|
|
@@ -929,6 +1069,7 @@ module Aws::Kafka
|
|
929
1069
|
#
|
930
1070
|
class DescribeConfigurationRequest < Struct.new(
|
931
1071
|
:arn)
|
1072
|
+
SENSITIVE = []
|
932
1073
|
include Aws::Structure
|
933
1074
|
end
|
934
1075
|
|
@@ -960,6 +1101,11 @@ module Aws::Kafka
|
|
960
1101
|
# match the regex "^\[0-9A-Za-z-\]+$".
|
961
1102
|
# @return [String]
|
962
1103
|
#
|
1104
|
+
# @!attribute [rw] state
|
1105
|
+
# The state of the configuration. The possible states are ACTIVE,
|
1106
|
+
# DELETING and DELETE\_FAILED.
|
1107
|
+
# @return [String]
|
1108
|
+
#
|
963
1109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
|
964
1110
|
#
|
965
1111
|
class DescribeConfigurationResponse < Struct.new(
|
@@ -968,7 +1114,9 @@ module Aws::Kafka
|
|
968
1114
|
:description,
|
969
1115
|
:kafka_versions,
|
970
1116
|
:latest_revision,
|
971
|
-
:name
|
1117
|
+
:name,
|
1118
|
+
:state)
|
1119
|
+
SENSITIVE = []
|
972
1120
|
include Aws::Structure
|
973
1121
|
end
|
974
1122
|
|
@@ -991,6 +1139,7 @@ module Aws::Kafka
|
|
991
1139
|
class DescribeConfigurationRevisionRequest < Struct.new(
|
992
1140
|
:arn,
|
993
1141
|
:revision)
|
1142
|
+
SENSITIVE = []
|
994
1143
|
include Aws::Structure
|
995
1144
|
end
|
996
1145
|
|
@@ -1023,6 +1172,52 @@ module Aws::Kafka
|
|
1023
1172
|
:description,
|
1024
1173
|
:revision,
|
1025
1174
|
:server_properties)
|
1175
|
+
SENSITIVE = []
|
1176
|
+
include Aws::Structure
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# Request body for BatchDisassociateScramSecret.
|
1180
|
+
#
|
1181
|
+
# @note When making an API call, you may pass BatchDisassociateScramSecretRequest
|
1182
|
+
# data as a hash:
|
1183
|
+
#
|
1184
|
+
# {
|
1185
|
+
# cluster_arn: "__string", # required
|
1186
|
+
# secret_arn_list: ["__string"], # required
|
1187
|
+
# }
|
1188
|
+
#
|
1189
|
+
# @!attribute [rw] cluster_arn
|
1190
|
+
# @return [String]
|
1191
|
+
#
|
1192
|
+
# @!attribute [rw] secret_arn_list
|
1193
|
+
# List of AWS Secrets Manager secret ARNs.
|
1194
|
+
# @return [Array<String>]
|
1195
|
+
#
|
1196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretRequest AWS API Documentation
|
1197
|
+
#
|
1198
|
+
class BatchDisassociateScramSecretRequest < Struct.new(
|
1199
|
+
:cluster_arn,
|
1200
|
+
:secret_arn_list)
|
1201
|
+
SENSITIVE = []
|
1202
|
+
include Aws::Structure
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# Response body for BatchDisassociateScramSecret.
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] cluster_arn
|
1208
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
1209
|
+
# @return [String]
|
1210
|
+
#
|
1211
|
+
# @!attribute [rw] unprocessed_scram_secrets
|
1212
|
+
# List of errors when disassociating secrets to cluster.
|
1213
|
+
# @return [Array<Types::UnprocessedScramSecret>]
|
1214
|
+
#
|
1215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretResponse AWS API Documentation
|
1216
|
+
#
|
1217
|
+
class BatchDisassociateScramSecretResponse < Struct.new(
|
1218
|
+
:cluster_arn,
|
1219
|
+
:unprocessed_scram_secrets)
|
1220
|
+
SENSITIVE = []
|
1026
1221
|
include Aws::Structure
|
1027
1222
|
end
|
1028
1223
|
|
@@ -1045,6 +1240,7 @@ module Aws::Kafka
|
|
1045
1240
|
#
|
1046
1241
|
class EBSStorageInfo < Struct.new(
|
1047
1242
|
:volume_size)
|
1243
|
+
SENSITIVE = []
|
1048
1244
|
include Aws::Structure
|
1049
1245
|
end
|
1050
1246
|
|
@@ -1066,6 +1262,7 @@ module Aws::Kafka
|
|
1066
1262
|
#
|
1067
1263
|
class EncryptionAtRest < Struct.new(
|
1068
1264
|
:data_volume_kms_key_id)
|
1265
|
+
SENSITIVE = []
|
1069
1266
|
include Aws::Structure
|
1070
1267
|
end
|
1071
1268
|
|
@@ -1107,6 +1304,7 @@ module Aws::Kafka
|
|
1107
1304
|
class EncryptionInTransit < Struct.new(
|
1108
1305
|
:client_broker,
|
1109
1306
|
:in_cluster)
|
1307
|
+
SENSITIVE = []
|
1110
1308
|
include Aws::Structure
|
1111
1309
|
end
|
1112
1310
|
|
@@ -1140,6 +1338,7 @@ module Aws::Kafka
|
|
1140
1338
|
class EncryptionInfo < Struct.new(
|
1141
1339
|
:encryption_at_rest,
|
1142
1340
|
:encryption_in_transit)
|
1341
|
+
SENSITIVE = []
|
1143
1342
|
include Aws::Structure
|
1144
1343
|
end
|
1145
1344
|
|
@@ -1158,6 +1357,7 @@ module Aws::Kafka
|
|
1158
1357
|
class Error < Struct.new(
|
1159
1358
|
:invalid_parameter,
|
1160
1359
|
:message)
|
1360
|
+
SENSITIVE = []
|
1161
1361
|
include Aws::Structure
|
1162
1362
|
end
|
1163
1363
|
|
@@ -1186,6 +1386,7 @@ module Aws::Kafka
|
|
1186
1386
|
class Firehose < Struct.new(
|
1187
1387
|
:delivery_stream,
|
1188
1388
|
:enabled)
|
1389
|
+
SENSITIVE = []
|
1189
1390
|
include Aws::Structure
|
1190
1391
|
end
|
1191
1392
|
|
@@ -1204,6 +1405,7 @@ module Aws::Kafka
|
|
1204
1405
|
class ErrorInfo < Struct.new(
|
1205
1406
|
:error_code,
|
1206
1407
|
:error_string)
|
1408
|
+
SENSITIVE = []
|
1207
1409
|
include Aws::Structure
|
1208
1410
|
end
|
1209
1411
|
|
@@ -1220,6 +1422,7 @@ module Aws::Kafka
|
|
1220
1422
|
class ForbiddenException < Struct.new(
|
1221
1423
|
:invalid_parameter,
|
1222
1424
|
:message)
|
1425
|
+
SENSITIVE = []
|
1223
1426
|
include Aws::Structure
|
1224
1427
|
end
|
1225
1428
|
|
@@ -1237,6 +1440,7 @@ module Aws::Kafka
|
|
1237
1440
|
#
|
1238
1441
|
class GetBootstrapBrokersRequest < Struct.new(
|
1239
1442
|
:cluster_arn)
|
1443
|
+
SENSITIVE = []
|
1240
1444
|
include Aws::Structure
|
1241
1445
|
end
|
1242
1446
|
|
@@ -1253,11 +1457,20 @@ module Aws::Kafka
|
|
1253
1457
|
# <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>
|
1254
1458
|
# @return [String]
|
1255
1459
|
#
|
1460
|
+
# @!attribute [rw] bootstrap_broker_string_sasl_scram
|
1461
|
+
# A string containing one or more DNS names (or IP) and SASL SCRAM
|
1462
|
+
# port pairs. The following is an example.
|
1463
|
+
#
|
1464
|
+
# <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>
|
1465
|
+
# @return [String]
|
1466
|
+
#
|
1256
1467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
|
1257
1468
|
#
|
1258
1469
|
class GetBootstrapBrokersResponse < Struct.new(
|
1259
1470
|
:bootstrap_broker_string,
|
1260
|
-
:bootstrap_broker_string_tls
|
1471
|
+
:bootstrap_broker_string_tls,
|
1472
|
+
:bootstrap_broker_string_sasl_scram)
|
1473
|
+
SENSITIVE = []
|
1261
1474
|
include Aws::Structure
|
1262
1475
|
end
|
1263
1476
|
|
@@ -1275,6 +1488,7 @@ module Aws::Kafka
|
|
1275
1488
|
#
|
1276
1489
|
class GetCompatibleKafkaVersionsRequest < Struct.new(
|
1277
1490
|
:cluster_arn)
|
1491
|
+
SENSITIVE = []
|
1278
1492
|
include Aws::Structure
|
1279
1493
|
end
|
1280
1494
|
|
@@ -1288,6 +1502,7 @@ module Aws::Kafka
|
|
1288
1502
|
#
|
1289
1503
|
class GetCompatibleKafkaVersionsResponse < Struct.new(
|
1290
1504
|
:compatible_kafka_versions)
|
1505
|
+
SENSITIVE = []
|
1291
1506
|
include Aws::Structure
|
1292
1507
|
end
|
1293
1508
|
|
@@ -1304,6 +1519,7 @@ module Aws::Kafka
|
|
1304
1519
|
class InternalServerErrorException < Struct.new(
|
1305
1520
|
:invalid_parameter,
|
1306
1521
|
:message)
|
1522
|
+
SENSITIVE = []
|
1307
1523
|
include Aws::Structure
|
1308
1524
|
end
|
1309
1525
|
|
@@ -1322,6 +1538,7 @@ module Aws::Kafka
|
|
1322
1538
|
class KafkaVersion < Struct.new(
|
1323
1539
|
:version,
|
1324
1540
|
:status)
|
1541
|
+
SENSITIVE = []
|
1325
1542
|
include Aws::Structure
|
1326
1543
|
end
|
1327
1544
|
|
@@ -1349,6 +1566,7 @@ module Aws::Kafka
|
|
1349
1566
|
:cluster_arn,
|
1350
1567
|
:max_results,
|
1351
1568
|
:next_token)
|
1569
|
+
SENSITIVE = []
|
1352
1570
|
include Aws::Structure
|
1353
1571
|
end
|
1354
1572
|
|
@@ -1370,6 +1588,7 @@ module Aws::Kafka
|
|
1370
1588
|
class ListClusterOperationsResponse < Struct.new(
|
1371
1589
|
:cluster_operation_info_list,
|
1372
1590
|
:next_token)
|
1591
|
+
SENSITIVE = []
|
1373
1592
|
include Aws::Structure
|
1374
1593
|
end
|
1375
1594
|
|
@@ -1397,6 +1616,7 @@ module Aws::Kafka
|
|
1397
1616
|
:cluster_name_filter,
|
1398
1617
|
:max_results,
|
1399
1618
|
:next_token)
|
1619
|
+
SENSITIVE = []
|
1400
1620
|
include Aws::Structure
|
1401
1621
|
end
|
1402
1622
|
|
@@ -1419,6 +1639,7 @@ module Aws::Kafka
|
|
1419
1639
|
class ListClustersResponse < Struct.new(
|
1420
1640
|
:cluster_info_list,
|
1421
1641
|
:next_token)
|
1642
|
+
SENSITIVE = []
|
1422
1643
|
include Aws::Structure
|
1423
1644
|
end
|
1424
1645
|
|
@@ -1446,6 +1667,7 @@ module Aws::Kafka
|
|
1446
1667
|
:arn,
|
1447
1668
|
:max_results,
|
1448
1669
|
:next_token)
|
1670
|
+
SENSITIVE = []
|
1449
1671
|
include Aws::Structure
|
1450
1672
|
end
|
1451
1673
|
|
@@ -1464,6 +1686,7 @@ module Aws::Kafka
|
|
1464
1686
|
class ListConfigurationRevisionsResponse < Struct.new(
|
1465
1687
|
:next_token,
|
1466
1688
|
:revisions)
|
1689
|
+
SENSITIVE = []
|
1467
1690
|
include Aws::Structure
|
1468
1691
|
end
|
1469
1692
|
|
@@ -1486,6 +1709,7 @@ module Aws::Kafka
|
|
1486
1709
|
class ListConfigurationsRequest < Struct.new(
|
1487
1710
|
:max_results,
|
1488
1711
|
:next_token)
|
1712
|
+
SENSITIVE = []
|
1489
1713
|
include Aws::Structure
|
1490
1714
|
end
|
1491
1715
|
|
@@ -1508,6 +1732,7 @@ module Aws::Kafka
|
|
1508
1732
|
class ListConfigurationsResponse < Struct.new(
|
1509
1733
|
:configurations,
|
1510
1734
|
:next_token)
|
1735
|
+
SENSITIVE = []
|
1511
1736
|
include Aws::Structure
|
1512
1737
|
end
|
1513
1738
|
|
@@ -1530,6 +1755,7 @@ module Aws::Kafka
|
|
1530
1755
|
class ListKafkaVersionsRequest < Struct.new(
|
1531
1756
|
:max_results,
|
1532
1757
|
:next_token)
|
1758
|
+
SENSITIVE = []
|
1533
1759
|
include Aws::Structure
|
1534
1760
|
end
|
1535
1761
|
|
@@ -1548,6 +1774,7 @@ module Aws::Kafka
|
|
1548
1774
|
class ListKafkaVersionsResponse < Struct.new(
|
1549
1775
|
:kafka_versions,
|
1550
1776
|
:next_token)
|
1777
|
+
SENSITIVE = []
|
1551
1778
|
include Aws::Structure
|
1552
1779
|
end
|
1553
1780
|
|
@@ -1575,6 +1802,7 @@ module Aws::Kafka
|
|
1575
1802
|
:cluster_arn,
|
1576
1803
|
:max_results,
|
1577
1804
|
:next_token)
|
1805
|
+
SENSITIVE = []
|
1578
1806
|
include Aws::Structure
|
1579
1807
|
end
|
1580
1808
|
|
@@ -1596,6 +1824,54 @@ module Aws::Kafka
|
|
1596
1824
|
class ListNodesResponse < Struct.new(
|
1597
1825
|
:next_token,
|
1598
1826
|
:node_info_list)
|
1827
|
+
SENSITIVE = []
|
1828
|
+
include Aws::Structure
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# @note When making an API call, you may pass ListScramSecretsRequest
|
1832
|
+
# data as a hash:
|
1833
|
+
#
|
1834
|
+
# {
|
1835
|
+
# cluster_arn: "__string", # required
|
1836
|
+
# max_results: 1,
|
1837
|
+
# next_token: "__string",
|
1838
|
+
# }
|
1839
|
+
#
|
1840
|
+
# @!attribute [rw] cluster_arn
|
1841
|
+
# @return [String]
|
1842
|
+
#
|
1843
|
+
# @!attribute [rw] max_results
|
1844
|
+
# @return [Integer]
|
1845
|
+
#
|
1846
|
+
# @!attribute [rw] next_token
|
1847
|
+
# @return [String]
|
1848
|
+
#
|
1849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsRequest AWS API Documentation
|
1850
|
+
#
|
1851
|
+
class ListScramSecretsRequest < Struct.new(
|
1852
|
+
:cluster_arn,
|
1853
|
+
:max_results,
|
1854
|
+
:next_token)
|
1855
|
+
SENSITIVE = []
|
1856
|
+
include Aws::Structure
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Information about scram secrets associated to the cluster.
|
1860
|
+
#
|
1861
|
+
# @!attribute [rw] next_token
|
1862
|
+
# Paginated results marker.
|
1863
|
+
# @return [String]
|
1864
|
+
#
|
1865
|
+
# @!attribute [rw] secret_arn_list
|
1866
|
+
# The list of scram secrets associated with the cluster.
|
1867
|
+
# @return [Array<String>]
|
1868
|
+
#
|
1869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsResponse AWS API Documentation
|
1870
|
+
#
|
1871
|
+
class ListScramSecretsResponse < Struct.new(
|
1872
|
+
:next_token,
|
1873
|
+
:secret_arn_list)
|
1874
|
+
SENSITIVE = []
|
1599
1875
|
include Aws::Structure
|
1600
1876
|
end
|
1601
1877
|
|
@@ -1613,6 +1889,7 @@ module Aws::Kafka
|
|
1613
1889
|
#
|
1614
1890
|
class ListTagsForResourceRequest < Struct.new(
|
1615
1891
|
:resource_arn)
|
1892
|
+
SENSITIVE = []
|
1616
1893
|
include Aws::Structure
|
1617
1894
|
end
|
1618
1895
|
|
@@ -1626,6 +1903,7 @@ module Aws::Kafka
|
|
1626
1903
|
#
|
1627
1904
|
class ListTagsForResourceResponse < Struct.new(
|
1628
1905
|
:tags)
|
1906
|
+
SENSITIVE = []
|
1629
1907
|
include Aws::Structure
|
1630
1908
|
end
|
1631
1909
|
|
@@ -1664,6 +1942,7 @@ module Aws::Kafka
|
|
1664
1942
|
#
|
1665
1943
|
class LoggingInfo < Struct.new(
|
1666
1944
|
:broker_logs)
|
1945
|
+
SENSITIVE = []
|
1667
1946
|
include Aws::Structure
|
1668
1947
|
end
|
1669
1948
|
|
@@ -1709,6 +1988,7 @@ module Aws::Kafka
|
|
1709
1988
|
:enhanced_monitoring,
|
1710
1989
|
:kafka_version,
|
1711
1990
|
:logging_info)
|
1991
|
+
SENSITIVE = []
|
1712
1992
|
include Aws::Structure
|
1713
1993
|
end
|
1714
1994
|
|
@@ -1747,6 +2027,7 @@ module Aws::Kafka
|
|
1747
2027
|
:node_arn,
|
1748
2028
|
:node_type,
|
1749
2029
|
:zookeeper_node_info)
|
2030
|
+
SENSITIVE = []
|
1750
2031
|
include Aws::Structure
|
1751
2032
|
end
|
1752
2033
|
|
@@ -1763,6 +2044,45 @@ module Aws::Kafka
|
|
1763
2044
|
class NotFoundException < Struct.new(
|
1764
2045
|
:invalid_parameter,
|
1765
2046
|
:message)
|
2047
|
+
SENSITIVE = []
|
2048
|
+
include Aws::Structure
|
2049
|
+
end
|
2050
|
+
|
2051
|
+
# @note When making an API call, you may pass Sasl
|
2052
|
+
# data as a hash:
|
2053
|
+
#
|
2054
|
+
# {
|
2055
|
+
# scram: {
|
2056
|
+
# enabled: false,
|
2057
|
+
# },
|
2058
|
+
# }
|
2059
|
+
#
|
2060
|
+
# @!attribute [rw] scram
|
2061
|
+
# @return [Types::Scram]
|
2062
|
+
#
|
2063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Sasl AWS API Documentation
|
2064
|
+
#
|
2065
|
+
class Sasl < Struct.new(
|
2066
|
+
:scram)
|
2067
|
+
SENSITIVE = []
|
2068
|
+
include Aws::Structure
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
# @note When making an API call, you may pass Scram
|
2072
|
+
# data as a hash:
|
2073
|
+
#
|
2074
|
+
# {
|
2075
|
+
# enabled: false,
|
2076
|
+
# }
|
2077
|
+
#
|
2078
|
+
# @!attribute [rw] enabled
|
2079
|
+
# @return [Boolean]
|
2080
|
+
#
|
2081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
|
2082
|
+
#
|
2083
|
+
class Scram < Struct.new(
|
2084
|
+
:enabled)
|
2085
|
+
SENSITIVE = []
|
1766
2086
|
include Aws::Structure
|
1767
2087
|
end
|
1768
2088
|
|
@@ -1779,6 +2099,7 @@ module Aws::Kafka
|
|
1779
2099
|
class ServiceUnavailableException < Struct.new(
|
1780
2100
|
:invalid_parameter,
|
1781
2101
|
:message)
|
2102
|
+
SENSITIVE = []
|
1782
2103
|
include Aws::Structure
|
1783
2104
|
end
|
1784
2105
|
|
@@ -1799,6 +2120,7 @@ module Aws::Kafka
|
|
1799
2120
|
class StateInfo < Struct.new(
|
1800
2121
|
:code,
|
1801
2122
|
:message)
|
2123
|
+
SENSITIVE = []
|
1802
2124
|
include Aws::Structure
|
1803
2125
|
end
|
1804
2126
|
|
@@ -1822,6 +2144,7 @@ module Aws::Kafka
|
|
1822
2144
|
#
|
1823
2145
|
class StorageInfo < Struct.new(
|
1824
2146
|
:ebs_storage_info)
|
2147
|
+
SENSITIVE = []
|
1825
2148
|
include Aws::Structure
|
1826
2149
|
end
|
1827
2150
|
|
@@ -1849,6 +2172,7 @@ module Aws::Kafka
|
|
1849
2172
|
class TagResourceRequest < Struct.new(
|
1850
2173
|
:resource_arn,
|
1851
2174
|
:tags)
|
2175
|
+
SENSITIVE = []
|
1852
2176
|
include Aws::Structure
|
1853
2177
|
end
|
1854
2178
|
|
@@ -1869,6 +2193,7 @@ module Aws::Kafka
|
|
1869
2193
|
#
|
1870
2194
|
class Tls < Struct.new(
|
1871
2195
|
:certificate_authority_arn_list)
|
2196
|
+
SENSITIVE = []
|
1872
2197
|
include Aws::Structure
|
1873
2198
|
end
|
1874
2199
|
|
@@ -1885,6 +2210,7 @@ module Aws::Kafka
|
|
1885
2210
|
class TooManyRequestsException < Struct.new(
|
1886
2211
|
:invalid_parameter,
|
1887
2212
|
:message)
|
2213
|
+
SENSITIVE = []
|
1888
2214
|
include Aws::Structure
|
1889
2215
|
end
|
1890
2216
|
|
@@ -1901,6 +2227,26 @@ module Aws::Kafka
|
|
1901
2227
|
class UnauthorizedException < Struct.new(
|
1902
2228
|
:invalid_parameter,
|
1903
2229
|
:message)
|
2230
|
+
SENSITIVE = []
|
2231
|
+
include Aws::Structure
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# @!attribute [rw] error_code
|
2235
|
+
# @return [String]
|
2236
|
+
#
|
2237
|
+
# @!attribute [rw] error_message
|
2238
|
+
# @return [String]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] secret_arn
|
2241
|
+
# @return [String]
|
2242
|
+
#
|
2243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UnprocessedScramSecret AWS API Documentation
|
2244
|
+
#
|
2245
|
+
class UnprocessedScramSecret < Struct.new(
|
2246
|
+
:error_code,
|
2247
|
+
:error_message,
|
2248
|
+
:secret_arn)
|
2249
|
+
SENSITIVE = []
|
1904
2250
|
include Aws::Structure
|
1905
2251
|
end
|
1906
2252
|
|
@@ -1923,6 +2269,7 @@ module Aws::Kafka
|
|
1923
2269
|
class UntagResourceRequest < Struct.new(
|
1924
2270
|
:resource_arn,
|
1925
2271
|
:tag_keys)
|
2272
|
+
SENSITIVE = []
|
1926
2273
|
include Aws::Structure
|
1927
2274
|
end
|
1928
2275
|
|
@@ -1955,6 +2302,7 @@ module Aws::Kafka
|
|
1955
2302
|
:cluster_arn,
|
1956
2303
|
:current_version,
|
1957
2304
|
:target_number_of_broker_nodes)
|
2305
|
+
SENSITIVE = []
|
1958
2306
|
include Aws::Structure
|
1959
2307
|
end
|
1960
2308
|
|
@@ -1973,6 +2321,7 @@ module Aws::Kafka
|
|
1973
2321
|
class UpdateBrokerCountResponse < Struct.new(
|
1974
2322
|
:cluster_arn,
|
1975
2323
|
:cluster_operation_arn)
|
2324
|
+
SENSITIVE = []
|
1976
2325
|
include Aws::Structure
|
1977
2326
|
end
|
1978
2327
|
|
@@ -2017,6 +2366,7 @@ module Aws::Kafka
|
|
2017
2366
|
:cluster_arn,
|
2018
2367
|
:current_version,
|
2019
2368
|
:target_broker_ebs_volume_info)
|
2369
|
+
SENSITIVE = []
|
2020
2370
|
include Aws::Structure
|
2021
2371
|
end
|
2022
2372
|
|
@@ -2035,6 +2385,7 @@ module Aws::Kafka
|
|
2035
2385
|
class UpdateBrokerStorageResponse < Struct.new(
|
2036
2386
|
:cluster_arn,
|
2037
2387
|
:cluster_operation_arn)
|
2388
|
+
SENSITIVE = []
|
2038
2389
|
include Aws::Structure
|
2039
2390
|
end
|
2040
2391
|
|
@@ -2070,6 +2421,7 @@ module Aws::Kafka
|
|
2070
2421
|
:cluster_arn,
|
2071
2422
|
:configuration_info,
|
2072
2423
|
:current_version)
|
2424
|
+
SENSITIVE = []
|
2073
2425
|
include Aws::Structure
|
2074
2426
|
end
|
2075
2427
|
|
@@ -2088,6 +2440,7 @@ module Aws::Kafka
|
|
2088
2440
|
class UpdateClusterConfigurationResponse < Struct.new(
|
2089
2441
|
:cluster_arn,
|
2090
2442
|
:cluster_operation_arn)
|
2443
|
+
SENSITIVE = []
|
2091
2444
|
include Aws::Structure
|
2092
2445
|
end
|
2093
2446
|
|
@@ -2128,6 +2481,7 @@ module Aws::Kafka
|
|
2128
2481
|
:configuration_info,
|
2129
2482
|
:current_version,
|
2130
2483
|
:target_kafka_version)
|
2484
|
+
SENSITIVE = []
|
2131
2485
|
include Aws::Structure
|
2132
2486
|
end
|
2133
2487
|
|
@@ -2146,6 +2500,58 @@ module Aws::Kafka
|
|
2146
2500
|
class UpdateClusterKafkaVersionResponse < Struct.new(
|
2147
2501
|
:cluster_arn,
|
2148
2502
|
:cluster_operation_arn)
|
2503
|
+
SENSITIVE = []
|
2504
|
+
include Aws::Structure
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
# Request body for UpdateConfiguration.
|
2508
|
+
#
|
2509
|
+
# @note When making an API call, you may pass UpdateConfigurationRequest
|
2510
|
+
# data as a hash:
|
2511
|
+
#
|
2512
|
+
# {
|
2513
|
+
# arn: "__string", # required
|
2514
|
+
# description: "__string",
|
2515
|
+
# server_properties: "data", # required
|
2516
|
+
# }
|
2517
|
+
#
|
2518
|
+
# @!attribute [rw] arn
|
2519
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2520
|
+
# @return [String]
|
2521
|
+
#
|
2522
|
+
# @!attribute [rw] description
|
2523
|
+
# The description of the configuration.
|
2524
|
+
# @return [String]
|
2525
|
+
#
|
2526
|
+
# @!attribute [rw] server_properties
|
2527
|
+
# @return [String]
|
2528
|
+
#
|
2529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationRequest AWS API Documentation
|
2530
|
+
#
|
2531
|
+
class UpdateConfigurationRequest < Struct.new(
|
2532
|
+
:arn,
|
2533
|
+
:description,
|
2534
|
+
:server_properties)
|
2535
|
+
SENSITIVE = []
|
2536
|
+
include Aws::Structure
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
# Response body for UpdateConfiguration.
|
2540
|
+
#
|
2541
|
+
# @!attribute [rw] arn
|
2542
|
+
# The Amazon Resource Name (ARN) of the configuration.
|
2543
|
+
# @return [String]
|
2544
|
+
#
|
2545
|
+
# @!attribute [rw] latest_revision
|
2546
|
+
# Latest revision of the configuration.
|
2547
|
+
# @return [Types::ConfigurationRevision]
|
2548
|
+
#
|
2549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationResponse AWS API Documentation
|
2550
|
+
#
|
2551
|
+
class UpdateConfigurationResponse < Struct.new(
|
2552
|
+
:arn,
|
2553
|
+
:latest_revision)
|
2554
|
+
SENSITIVE = []
|
2149
2555
|
include Aws::Structure
|
2150
2556
|
end
|
2151
2557
|
|
@@ -2216,6 +2622,7 @@ module Aws::Kafka
|
|
2216
2622
|
:enhanced_monitoring,
|
2217
2623
|
:open_monitoring,
|
2218
2624
|
:logging_info)
|
2625
|
+
SENSITIVE = []
|
2219
2626
|
include Aws::Structure
|
2220
2627
|
end
|
2221
2628
|
|
@@ -2234,6 +2641,7 @@ module Aws::Kafka
|
|
2234
2641
|
class UpdateMonitoringResponse < Struct.new(
|
2235
2642
|
:cluster_arn,
|
2236
2643
|
:cluster_operation_arn)
|
2644
|
+
SENSITIVE = []
|
2237
2645
|
include Aws::Structure
|
2238
2646
|
end
|
2239
2647
|
|
@@ -2267,6 +2675,7 @@ module Aws::Kafka
|
|
2267
2675
|
:endpoints,
|
2268
2676
|
:zookeeper_id,
|
2269
2677
|
:zookeeper_version)
|
2678
|
+
SENSITIVE = []
|
2270
2679
|
include Aws::Structure
|
2271
2680
|
end
|
2272
2681
|
|
@@ -2280,6 +2689,7 @@ module Aws::Kafka
|
|
2280
2689
|
#
|
2281
2690
|
class OpenMonitoring < Struct.new(
|
2282
2691
|
:prometheus)
|
2692
|
+
SENSITIVE = []
|
2283
2693
|
include Aws::Structure
|
2284
2694
|
end
|
2285
2695
|
|
@@ -2307,6 +2717,7 @@ module Aws::Kafka
|
|
2307
2717
|
#
|
2308
2718
|
class OpenMonitoringInfo < Struct.new(
|
2309
2719
|
:prometheus)
|
2720
|
+
SENSITIVE = []
|
2310
2721
|
include Aws::Structure
|
2311
2722
|
end
|
2312
2723
|
|
@@ -2325,6 +2736,7 @@ module Aws::Kafka
|
|
2325
2736
|
class Prometheus < Struct.new(
|
2326
2737
|
:jmx_exporter,
|
2327
2738
|
:node_exporter)
|
2739
|
+
SENSITIVE = []
|
2328
2740
|
include Aws::Structure
|
2329
2741
|
end
|
2330
2742
|
|
@@ -2355,6 +2767,52 @@ module Aws::Kafka
|
|
2355
2767
|
class PrometheusInfo < Struct.new(
|
2356
2768
|
:jmx_exporter,
|
2357
2769
|
:node_exporter)
|
2770
|
+
SENSITIVE = []
|
2771
|
+
include Aws::Structure
|
2772
|
+
end
|
2773
|
+
|
2774
|
+
# Request body for RebootBrokerNode action.
|
2775
|
+
#
|
2776
|
+
# @note When making an API call, you may pass RebootBrokerRequest
|
2777
|
+
# data as a hash:
|
2778
|
+
#
|
2779
|
+
# {
|
2780
|
+
# broker_ids: ["__string"], # required
|
2781
|
+
# cluster_arn: "__string", # required
|
2782
|
+
# }
|
2783
|
+
#
|
2784
|
+
# @!attribute [rw] broker_ids
|
2785
|
+
# The list of broker ids to be rebooted.
|
2786
|
+
# @return [Array<String>]
|
2787
|
+
#
|
2788
|
+
# @!attribute [rw] cluster_arn
|
2789
|
+
# @return [String]
|
2790
|
+
#
|
2791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerRequest AWS API Documentation
|
2792
|
+
#
|
2793
|
+
class RebootBrokerRequest < Struct.new(
|
2794
|
+
:broker_ids,
|
2795
|
+
:cluster_arn)
|
2796
|
+
SENSITIVE = []
|
2797
|
+
include Aws::Structure
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
# Response body for RebootBrokers action.
|
2801
|
+
#
|
2802
|
+
# @!attribute [rw] cluster_arn
|
2803
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
2804
|
+
# @return [String]
|
2805
|
+
#
|
2806
|
+
# @!attribute [rw] cluster_operation_arn
|
2807
|
+
# The Amazon Resource Name (ARN) of the cluster operation.
|
2808
|
+
# @return [String]
|
2809
|
+
#
|
2810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBrokerResponse AWS API Documentation
|
2811
|
+
#
|
2812
|
+
class RebootBrokerResponse < Struct.new(
|
2813
|
+
:cluster_arn,
|
2814
|
+
:cluster_operation_arn)
|
2815
|
+
SENSITIVE = []
|
2358
2816
|
include Aws::Structure
|
2359
2817
|
end
|
2360
2818
|
|
@@ -2388,6 +2846,7 @@ module Aws::Kafka
|
|
2388
2846
|
:bucket,
|
2389
2847
|
:enabled,
|
2390
2848
|
:prefix)
|
2849
|
+
SENSITIVE = []
|
2391
2850
|
include Aws::Structure
|
2392
2851
|
end
|
2393
2852
|
|
@@ -2401,6 +2860,7 @@ module Aws::Kafka
|
|
2401
2860
|
#
|
2402
2861
|
class JmxExporter < Struct.new(
|
2403
2862
|
:enabled_in_broker)
|
2863
|
+
SENSITIVE = []
|
2404
2864
|
include Aws::Structure
|
2405
2865
|
end
|
2406
2866
|
|
@@ -2421,6 +2881,7 @@ module Aws::Kafka
|
|
2421
2881
|
#
|
2422
2882
|
class JmxExporterInfo < Struct.new(
|
2423
2883
|
:enabled_in_broker)
|
2884
|
+
SENSITIVE = []
|
2424
2885
|
include Aws::Structure
|
2425
2886
|
end
|
2426
2887
|
|
@@ -2434,6 +2895,7 @@ module Aws::Kafka
|
|
2434
2895
|
#
|
2435
2896
|
class NodeExporter < Struct.new(
|
2436
2897
|
:enabled_in_broker)
|
2898
|
+
SENSITIVE = []
|
2437
2899
|
include Aws::Structure
|
2438
2900
|
end
|
2439
2901
|
|
@@ -2454,6 +2916,7 @@ module Aws::Kafka
|
|
2454
2916
|
#
|
2455
2917
|
class NodeExporterInfo < Struct.new(
|
2456
2918
|
:enabled_in_broker)
|
2919
|
+
SENSITIVE = []
|
2457
2920
|
include Aws::Structure
|
2458
2921
|
end
|
2459
2922
|
|