aws-sdk-kafka 1.24.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -94,6 +103,8 @@ module Aws::Kafka
94
103
  RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
95
104
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
96
105
  S3 = Shapes::StructureShape.new(name: 'S3')
106
+ Sasl = Shapes::StructureShape.new(name: 'Sasl')
107
+ Scram = Shapes::StructureShape.new(name: 'Scram')
97
108
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
98
109
  StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
99
110
  StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
@@ -101,6 +112,7 @@ module Aws::Kafka
101
112
  Tls = Shapes::StructureShape.new(name: 'Tls')
102
113
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
103
114
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
115
+ UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
104
116
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
105
117
  UpdateBrokerCountRequest = Shapes::StructureShape.new(name: 'UpdateBrokerCountRequest')
106
118
  UpdateBrokerCountResponse = Shapes::StructureShape.new(name: 'UpdateBrokerCountResponse')
@@ -110,6 +122,8 @@ module Aws::Kafka
110
122
  UpdateClusterConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateClusterConfigurationResponse')
111
123
  UpdateClusterKafkaVersionRequest = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionRequest')
112
124
  UpdateClusterKafkaVersionResponse = Shapes::StructureShape.new(name: 'UpdateClusterKafkaVersionResponse')
125
+ UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
126
+ UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
113
127
  UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
114
128
  UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
115
129
  ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
@@ -128,6 +142,7 @@ module Aws::Kafka
128
142
  __listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
129
143
  __listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
130
144
  __listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
145
+ __listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
131
146
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
132
147
  __long = Shapes::IntegerShape.new(name: '__long')
133
148
  __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
@@ -141,6 +156,22 @@ module Aws::Kafka
141
156
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
142
157
  BadRequestException.struct_class = Types::BadRequestException
143
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
+
144
175
  BrokerEBSVolumeInfo.add_member(:kafka_broker_node_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kafkaBrokerNodeId"))
145
176
  BrokerEBSVolumeInfo.add_member(:volume_size_gb, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "volumeSizeGB"))
146
177
  BrokerEBSVolumeInfo.struct_class = Types::BrokerEBSVolumeInfo
@@ -170,6 +201,7 @@ module Aws::Kafka
170
201
  BrokerSoftwareInfo.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaVersion"))
171
202
  BrokerSoftwareInfo.struct_class = Types::BrokerSoftwareInfo
172
203
 
204
+ ClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: Sasl, location_name: "sasl"))
173
205
  ClientAuthentication.add_member(:tls, Shapes::ShapeRef.new(shape: Tls, location_name: "tls"))
174
206
  ClientAuthentication.struct_class = Types::ClientAuthentication
175
207
 
@@ -193,6 +225,7 @@ module Aws::Kafka
193
225
  ClusterInfo.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
194
226
  ClusterInfo.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
195
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"))
196
229
  ClusterInfo.struct_class = Types::ClusterInfo
197
230
 
198
231
  ClusterOperationInfo.add_member(:client_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestId"))
@@ -225,6 +258,7 @@ module Aws::Kafka
225
258
  Configuration.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "kafkaVersions"))
226
259
  Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, required: true, location_name: "latestRevision"))
227
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"))
228
262
  Configuration.struct_class = Types::Configuration
229
263
 
230
264
  ConfigurationInfo.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
@@ -268,6 +302,7 @@ module Aws::Kafka
268
302
  CreateConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
269
303
  CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
270
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"))
271
306
  CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
272
307
 
273
308
  DeleteClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
@@ -278,6 +313,13 @@ module Aws::Kafka
278
313
  DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
279
314
  DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
280
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
+
281
323
  DescribeClusterOperationRequest.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterOperationArn"))
282
324
  DescribeClusterOperationRequest.struct_class = Types::DescribeClusterOperationRequest
283
325
 
@@ -299,6 +341,7 @@ module Aws::Kafka
299
341
  DescribeConfigurationResponse.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
300
342
  DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
301
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"))
302
345
  DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
303
346
 
304
347
  DescribeConfigurationRevisionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
@@ -347,6 +390,7 @@ module Aws::Kafka
347
390
 
348
391
  GetBootstrapBrokersResponse.add_member(:bootstrap_broker_string, Shapes::ShapeRef.new(shape: __string, location_name: "bootstrapBrokerString"))
349
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"))
350
394
  GetBootstrapBrokersResponse.struct_class = Types::GetBootstrapBrokersResponse
351
395
 
352
396
  GetCompatibleKafkaVersionsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterArn"))
@@ -421,6 +465,15 @@ module Aws::Kafka
421
465
  ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
422
466
  ListNodesResponse.struct_class = Types::ListNodesResponse
423
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
+
424
477
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
425
478
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
426
479
 
@@ -484,6 +537,12 @@ module Aws::Kafka
484
537
  S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
485
538
  S3.struct_class = Types::S3
486
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
+
487
546
  ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
488
547
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
489
548
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
@@ -510,6 +569,11 @@ module Aws::Kafka
510
569
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
511
570
  UnauthorizedException.struct_class = Types::UnauthorizedException
512
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
+
513
577
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
514
578
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
515
579
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -551,6 +615,15 @@ module Aws::Kafka
551
615
  UpdateClusterKafkaVersionResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
552
616
  UpdateClusterKafkaVersionResponse.struct_class = Types::UpdateClusterKafkaVersionResponse
553
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
+
554
627
  UpdateMonitoringRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
555
628
  UpdateMonitoringRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
556
629
  UpdateMonitoringRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
@@ -587,6 +660,8 @@ module Aws::Kafka
587
660
 
588
661
  __listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
589
662
 
663
+ __listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
664
+
590
665
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
591
666
 
592
667
  __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
@@ -611,6 +686,21 @@ module Aws::Kafka
611
686
  "uid" => "kafka-2018-11-14",
612
687
  }
613
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
+
614
704
  api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
615
705
  o.name = "CreateCluster"
616
706
  o.http_method = "POST"
@@ -653,6 +743,18 @@ module Aws::Kafka
653
743
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
654
744
  end)
655
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
+
656
758
  api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
657
759
  o.name = "DescribeCluster"
658
760
  o.http_method = "GET"
@@ -707,6 +809,21 @@ module Aws::Kafka
707
809
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
708
810
  end)
709
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
+
710
827
  api.add_operation(:get_bootstrap_brokers, Seahorse::Model::Operation.new.tap do |o|
711
828
  o.name = "GetBootstrapBrokers"
712
829
  o.http_method = "GET"
@@ -846,6 +963,27 @@ module Aws::Kafka
846
963
  )
847
964
  end)
848
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
+
849
987
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
850
988
  o.name = "ListTagsForResource"
851
989
  o.http_method = "GET"
@@ -920,6 +1058,19 @@ module Aws::Kafka
920
1058
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
921
1059
  end)
922
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
+
923
1074
  api.add_operation(:update_cluster_configuration, Seahorse::Model::Operation.new.tap do |o|
924
1075
  o.name = "UpdateClusterConfiguration"
925
1076
  o.http_method = "PUT"
@@ -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
@@ -329,9 +383,10 @@ module Aws::Kafka
329
383
  #
330
384
  # @!attribute [rw] enhanced_monitoring
331
385
  # Specifies which metrics are gathered for the MSK cluster. This
332
- # property has three possible values: DEFAULT, PER\_BROKER, and
333
- # PER\_TOPIC\_PER\_BROKER. For a list of the metrics associated with
334
- # each of these three levels of monitoring, see [Monitoring][1].
386
+ # property has the following possible values: DEFAULT, PER\_BROKER,
387
+ # PER\_TOPIC\_PER\_BROKER, and PER\_TOPIC\_PER\_PARTITION. For a list
388
+ # of the metrics associated with each of these levels of monitoring,
389
+ # see [Monitoring][1].
335
390
  #
336
391
  #
337
392
  #
@@ -360,6 +415,11 @@ module Aws::Kafka
360
415
  # cluster.
361
416
  # @return [String]
362
417
  #
418
+ # @!attribute [rw] zookeeper_connect_string_tls
419
+ # The connection string to use to connect to zookeeper cluster on Tls
420
+ # port.
421
+ # @return [String]
422
+ #
363
423
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ClusterInfo AWS API Documentation
364
424
  #
365
425
  class ClusterInfo < Struct.new(
@@ -378,7 +438,8 @@ module Aws::Kafka
378
438
  :open_monitoring,
379
439
  :state,
380
440
  :tags,
381
- :zookeeper_connect_string)
441
+ :zookeeper_connect_string,
442
+ :zookeeper_connect_string_tls)
382
443
  SENSITIVE = []
383
444
  include Aws::Structure
384
445
  end
@@ -526,6 +587,10 @@ module Aws::Kafka
526
587
  # match the regex "^\[0-9A-Za-z-\]+$".
527
588
  # @return [String]
528
589
  #
590
+ # @!attribute [rw] state
591
+ # The state of a configuration.
592
+ # @return [String]
593
+ #
529
594
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Configuration AWS API Documentation
530
595
  #
531
596
  class Configuration < Struct.new(
@@ -534,7 +599,8 @@ module Aws::Kafka
534
599
  :description,
535
600
  :kafka_versions,
536
601
  :latest_revision,
537
- :name)
602
+ :name,
603
+ :state)
538
604
  SENSITIVE = []
539
605
  include Aws::Structure
540
606
  end
@@ -625,6 +691,11 @@ module Aws::Kafka
625
691
  # },
626
692
  # },
627
693
  # client_authentication: {
694
+ # sasl: {
695
+ # scram: {
696
+ # enabled: false,
697
+ # },
698
+ # },
628
699
  # tls: {
629
700
  # certificate_authority_arn_list: ["__string"],
630
701
  # },
@@ -643,7 +714,7 @@ module Aws::Kafka
643
714
  # in_cluster: false,
644
715
  # },
645
716
  # },
646
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
717
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
647
718
  # kafka_version: "__stringMin1Max128", # required
648
719
  # logging_info: {
649
720
  # broker_logs: { # required
@@ -701,7 +772,8 @@ module Aws::Kafka
701
772
  #
702
773
  # @!attribute [rw] enhanced_monitoring
703
774
  # Specifies the level of monitoring for the MSK cluster. The possible
704
- # values are DEFAULT, PER\_BROKER, and PER\_TOPIC\_PER\_BROKER.
775
+ # values are DEFAULT, PER\_BROKER, PER\_TOPIC\_PER\_BROKER, and
776
+ # PER\_TOPIC\_PER\_PARTITION.
705
777
  # @return [String]
706
778
  #
707
779
  # @!attribute [rw] kafka_version
@@ -826,13 +898,19 @@ module Aws::Kafka
826
898
  # match the regex "^\[0-9A-Za-z-\]+$".
827
899
  # @return [String]
828
900
  #
901
+ # @!attribute [rw] state
902
+ # The state of the configuration. The possible states are ACTIVE,
903
+ # DELETING and DELETE\_FAILED.
904
+ # @return [String]
905
+ #
829
906
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfigurationResponse AWS API Documentation
830
907
  #
831
908
  class CreateConfigurationResponse < Struct.new(
832
909
  :arn,
833
910
  :creation_time,
834
911
  :latest_revision,
835
- :name)
912
+ :name,
913
+ :state)
836
914
  SENSITIVE = []
837
915
  include Aws::Structure
838
916
  end
@@ -880,6 +958,47 @@ module Aws::Kafka
880
958
  include Aws::Structure
881
959
  end
882
960
 
961
+ # Request body for DeleteConfiguration.
962
+ #
963
+ # @note When making an API call, you may pass DeleteConfigurationRequest
964
+ # data as a hash:
965
+ #
966
+ # {
967
+ # arn: "__string", # required
968
+ # }
969
+ #
970
+ # @!attribute [rw] arn
971
+ # The Amazon Resource Name (ARN) of the configuration.
972
+ # @return [String]
973
+ #
974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationRequest AWS API Documentation
975
+ #
976
+ class DeleteConfigurationRequest < Struct.new(
977
+ :arn)
978
+ SENSITIVE = []
979
+ include Aws::Structure
980
+ end
981
+
982
+ # Response body for DeleteConfiguration.
983
+ #
984
+ # @!attribute [rw] arn
985
+ # The Amazon Resource Name (ARN) of the configuration.
986
+ # @return [String]
987
+ #
988
+ # @!attribute [rw] state
989
+ # The state of the configuration. The possible states are ACTIVE,
990
+ # DELETING and DELETE\_FAILED.
991
+ # @return [String]
992
+ #
993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfigurationResponse AWS API Documentation
994
+ #
995
+ class DeleteConfigurationResponse < Struct.new(
996
+ :arn,
997
+ :state)
998
+ SENSITIVE = []
999
+ include Aws::Structure
1000
+ end
1001
+
883
1002
  # @note When making an API call, you may pass DescribeClusterOperationRequest
884
1003
  # data as a hash:
885
1004
  #
@@ -990,6 +1109,11 @@ module Aws::Kafka
990
1109
  # match the regex "^\[0-9A-Za-z-\]+$".
991
1110
  # @return [String]
992
1111
  #
1112
+ # @!attribute [rw] state
1113
+ # The state of the configuration. The possible states are ACTIVE,
1114
+ # DELETING and DELETE\_FAILED.
1115
+ # @return [String]
1116
+ #
993
1117
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationResponse AWS API Documentation
994
1118
  #
995
1119
  class DescribeConfigurationResponse < Struct.new(
@@ -998,7 +1122,8 @@ module Aws::Kafka
998
1122
  :description,
999
1123
  :kafka_versions,
1000
1124
  :latest_revision,
1001
- :name)
1125
+ :name,
1126
+ :state)
1002
1127
  SENSITIVE = []
1003
1128
  include Aws::Structure
1004
1129
  end
@@ -1059,6 +1184,51 @@ module Aws::Kafka
1059
1184
  include Aws::Structure
1060
1185
  end
1061
1186
 
1187
+ # Request body for BatchDisassociateScramSecret.
1188
+ #
1189
+ # @note When making an API call, you may pass BatchDisassociateScramSecretRequest
1190
+ # data as a hash:
1191
+ #
1192
+ # {
1193
+ # cluster_arn: "__string", # required
1194
+ # secret_arn_list: ["__string"], # required
1195
+ # }
1196
+ #
1197
+ # @!attribute [rw] cluster_arn
1198
+ # @return [String]
1199
+ #
1200
+ # @!attribute [rw] secret_arn_list
1201
+ # List of AWS Secrets Manager secret ARNs.
1202
+ # @return [Array<String>]
1203
+ #
1204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretRequest AWS API Documentation
1205
+ #
1206
+ class BatchDisassociateScramSecretRequest < Struct.new(
1207
+ :cluster_arn,
1208
+ :secret_arn_list)
1209
+ SENSITIVE = []
1210
+ include Aws::Structure
1211
+ end
1212
+
1213
+ # Response body for BatchDisassociateScramSecret.
1214
+ #
1215
+ # @!attribute [rw] cluster_arn
1216
+ # The Amazon Resource Name (ARN) of the cluster.
1217
+ # @return [String]
1218
+ #
1219
+ # @!attribute [rw] unprocessed_scram_secrets
1220
+ # List of errors when disassociating secrets to cluster.
1221
+ # @return [Array<Types::UnprocessedScramSecret>]
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecretResponse AWS API Documentation
1224
+ #
1225
+ class BatchDisassociateScramSecretResponse < Struct.new(
1226
+ :cluster_arn,
1227
+ :unprocessed_scram_secrets)
1228
+ SENSITIVE = []
1229
+ include Aws::Structure
1230
+ end
1231
+
1062
1232
  # Contains information about the EBS storage volumes attached to Kafka
1063
1233
  # broker nodes.
1064
1234
  #
@@ -1295,11 +1465,19 @@ module Aws::Kafka
1295
1465
  # <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
1466
  # @return [String]
1297
1467
  #
1468
+ # @!attribute [rw] bootstrap_broker_string_sasl_scram
1469
+ # A string containing one or more DNS names (or IP) and SASL SCRAM
1470
+ # port pairs. The following is an example.
1471
+ #
1472
+ # <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>
1473
+ # @return [String]
1474
+ #
1298
1475
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokersResponse AWS API Documentation
1299
1476
  #
1300
1477
  class GetBootstrapBrokersResponse < Struct.new(
1301
1478
  :bootstrap_broker_string,
1302
- :bootstrap_broker_string_tls)
1479
+ :bootstrap_broker_string_tls,
1480
+ :bootstrap_broker_string_sasl_scram)
1303
1481
  SENSITIVE = []
1304
1482
  include Aws::Structure
1305
1483
  end
@@ -1658,6 +1836,53 @@ module Aws::Kafka
1658
1836
  include Aws::Structure
1659
1837
  end
1660
1838
 
1839
+ # @note When making an API call, you may pass ListScramSecretsRequest
1840
+ # data as a hash:
1841
+ #
1842
+ # {
1843
+ # cluster_arn: "__string", # required
1844
+ # max_results: 1,
1845
+ # next_token: "__string",
1846
+ # }
1847
+ #
1848
+ # @!attribute [rw] cluster_arn
1849
+ # @return [String]
1850
+ #
1851
+ # @!attribute [rw] max_results
1852
+ # @return [Integer]
1853
+ #
1854
+ # @!attribute [rw] next_token
1855
+ # @return [String]
1856
+ #
1857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsRequest AWS API Documentation
1858
+ #
1859
+ class ListScramSecretsRequest < Struct.new(
1860
+ :cluster_arn,
1861
+ :max_results,
1862
+ :next_token)
1863
+ SENSITIVE = []
1864
+ include Aws::Structure
1865
+ end
1866
+
1867
+ # Information about scram secrets associated to the cluster.
1868
+ #
1869
+ # @!attribute [rw] next_token
1870
+ # Paginated results marker.
1871
+ # @return [String]
1872
+ #
1873
+ # @!attribute [rw] secret_arn_list
1874
+ # The list of scram secrets associated with the cluster.
1875
+ # @return [Array<String>]
1876
+ #
1877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecretsResponse AWS API Documentation
1878
+ #
1879
+ class ListScramSecretsResponse < Struct.new(
1880
+ :next_token,
1881
+ :secret_arn_list)
1882
+ SENSITIVE = []
1883
+ include Aws::Structure
1884
+ end
1885
+
1661
1886
  # @note When making an API call, you may pass ListTagsForResourceRequest
1662
1887
  # data as a hash:
1663
1888
  #
@@ -1831,6 +2056,44 @@ module Aws::Kafka
1831
2056
  include Aws::Structure
1832
2057
  end
1833
2058
 
2059
+ # @note When making an API call, you may pass Sasl
2060
+ # data as a hash:
2061
+ #
2062
+ # {
2063
+ # scram: {
2064
+ # enabled: false,
2065
+ # },
2066
+ # }
2067
+ #
2068
+ # @!attribute [rw] scram
2069
+ # @return [Types::Scram]
2070
+ #
2071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Sasl AWS API Documentation
2072
+ #
2073
+ class Sasl < Struct.new(
2074
+ :scram)
2075
+ SENSITIVE = []
2076
+ include Aws::Structure
2077
+ end
2078
+
2079
+ # @note When making an API call, you may pass Scram
2080
+ # data as a hash:
2081
+ #
2082
+ # {
2083
+ # enabled: false,
2084
+ # }
2085
+ #
2086
+ # @!attribute [rw] enabled
2087
+ # @return [Boolean]
2088
+ #
2089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Scram AWS API Documentation
2090
+ #
2091
+ class Scram < Struct.new(
2092
+ :enabled)
2093
+ SENSITIVE = []
2094
+ include Aws::Structure
2095
+ end
2096
+
1834
2097
  # Returns information about an error.
1835
2098
  #
1836
2099
  # @!attribute [rw] invalid_parameter
@@ -1976,6 +2239,25 @@ module Aws::Kafka
1976
2239
  include Aws::Structure
1977
2240
  end
1978
2241
 
2242
+ # @!attribute [rw] error_code
2243
+ # @return [String]
2244
+ #
2245
+ # @!attribute [rw] error_message
2246
+ # @return [String]
2247
+ #
2248
+ # @!attribute [rw] secret_arn
2249
+ # @return [String]
2250
+ #
2251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UnprocessedScramSecret AWS API Documentation
2252
+ #
2253
+ class UnprocessedScramSecret < Struct.new(
2254
+ :error_code,
2255
+ :error_message,
2256
+ :secret_arn)
2257
+ SENSITIVE = []
2258
+ include Aws::Structure
2259
+ end
2260
+
1979
2261
  # @note When making an API call, you may pass UntagResourceRequest
1980
2262
  # data as a hash:
1981
2263
  #
@@ -2230,6 +2512,57 @@ module Aws::Kafka
2230
2512
  include Aws::Structure
2231
2513
  end
2232
2514
 
2515
+ # Request body for UpdateConfiguration.
2516
+ #
2517
+ # @note When making an API call, you may pass UpdateConfigurationRequest
2518
+ # data as a hash:
2519
+ #
2520
+ # {
2521
+ # arn: "__string", # required
2522
+ # description: "__string",
2523
+ # server_properties: "data", # required
2524
+ # }
2525
+ #
2526
+ # @!attribute [rw] arn
2527
+ # The Amazon Resource Name (ARN) of the configuration.
2528
+ # @return [String]
2529
+ #
2530
+ # @!attribute [rw] description
2531
+ # The description of the configuration.
2532
+ # @return [String]
2533
+ #
2534
+ # @!attribute [rw] server_properties
2535
+ # @return [String]
2536
+ #
2537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationRequest AWS API Documentation
2538
+ #
2539
+ class UpdateConfigurationRequest < Struct.new(
2540
+ :arn,
2541
+ :description,
2542
+ :server_properties)
2543
+ SENSITIVE = []
2544
+ include Aws::Structure
2545
+ end
2546
+
2547
+ # Response body for UpdateConfiguration.
2548
+ #
2549
+ # @!attribute [rw] arn
2550
+ # The Amazon Resource Name (ARN) of the configuration.
2551
+ # @return [String]
2552
+ #
2553
+ # @!attribute [rw] latest_revision
2554
+ # Latest revision of the configuration.
2555
+ # @return [Types::ConfigurationRevision]
2556
+ #
2557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfigurationResponse AWS API Documentation
2558
+ #
2559
+ class UpdateConfigurationResponse < Struct.new(
2560
+ :arn,
2561
+ :latest_revision)
2562
+ SENSITIVE = []
2563
+ include Aws::Structure
2564
+ end
2565
+
2233
2566
  # Request body for UpdateMonitoring.
2234
2567
  #
2235
2568
  # @note When making an API call, you may pass UpdateMonitoringRequest
@@ -2238,7 +2571,7 @@ module Aws::Kafka
2238
2571
  # {
2239
2572
  # cluster_arn: "__string", # required
2240
2573
  # current_version: "__string", # required
2241
- # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
2574
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
2242
2575
  # open_monitoring: {
2243
2576
  # prometheus: { # required
2244
2577
  # jmx_exporter: {