aws-sdk-kafka 1.44.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,11 +27,13 @@ module Aws::Kafka
27
27
  ClientAuthentication = Shapes::StructureShape.new(name: 'ClientAuthentication')
28
28
  ClientBroker = Shapes::StringShape.new(name: 'ClientBroker')
29
29
  CloudWatchLogs = Shapes::StructureShape.new(name: 'CloudWatchLogs')
30
+ Cluster = Shapes::StructureShape.new(name: 'Cluster')
30
31
  ClusterInfo = Shapes::StructureShape.new(name: 'ClusterInfo')
31
32
  ClusterOperationInfo = Shapes::StructureShape.new(name: 'ClusterOperationInfo')
32
33
  ClusterOperationStep = Shapes::StructureShape.new(name: 'ClusterOperationStep')
33
34
  ClusterOperationStepInfo = Shapes::StructureShape.new(name: 'ClusterOperationStepInfo')
34
35
  ClusterState = Shapes::StringShape.new(name: 'ClusterState')
36
+ ClusterType = Shapes::StringShape.new(name: 'ClusterType')
35
37
  CompatibleKafkaVersion = Shapes::StructureShape.new(name: 'CompatibleKafkaVersion')
36
38
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
37
39
  ConfigurationInfo = Shapes::StructureShape.new(name: 'ConfigurationInfo')
@@ -41,6 +43,8 @@ module Aws::Kafka
41
43
  ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
42
44
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
43
45
  CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
46
+ CreateClusterV2Request = Shapes::StructureShape.new(name: 'CreateClusterV2Request')
47
+ CreateClusterV2Response = Shapes::StructureShape.new(name: 'CreateClusterV2Response')
44
48
  CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
45
49
  CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
46
50
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
@@ -51,6 +55,8 @@ module Aws::Kafka
51
55
  DescribeClusterOperationResponse = Shapes::StructureShape.new(name: 'DescribeClusterOperationResponse')
52
56
  DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
53
57
  DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
58
+ DescribeClusterV2Request = Shapes::StructureShape.new(name: 'DescribeClusterV2Request')
59
+ DescribeClusterV2Response = Shapes::StructureShape.new(name: 'DescribeClusterV2Response')
54
60
  DescribeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRequest')
55
61
  DescribeConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationResponse')
56
62
  DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
@@ -78,6 +84,8 @@ module Aws::Kafka
78
84
  ListClusterOperationsResponse = Shapes::StructureShape.new(name: 'ListClusterOperationsResponse')
79
85
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
80
86
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
87
+ ListClustersV2Request = Shapes::StructureShape.new(name: 'ListClustersV2Request')
88
+ ListClustersV2Response = Shapes::StructureShape.new(name: 'ListClustersV2Response')
81
89
  ListConfigurationRevisionsRequest = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsRequest')
82
90
  ListConfigurationRevisionsResponse = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsResponse')
83
91
  ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
@@ -102,12 +110,18 @@ module Aws::Kafka
102
110
  OpenMonitoringInfo = Shapes::StructureShape.new(name: 'OpenMonitoringInfo')
103
111
  Prometheus = Shapes::StructureShape.new(name: 'Prometheus')
104
112
  PrometheusInfo = Shapes::StructureShape.new(name: 'PrometheusInfo')
113
+ Provisioned = Shapes::StructureShape.new(name: 'Provisioned')
114
+ ProvisionedRequest = Shapes::StructureShape.new(name: 'ProvisionedRequest')
105
115
  PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
106
116
  RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
107
117
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
108
118
  S3 = Shapes::StructureShape.new(name: 'S3')
109
119
  Sasl = Shapes::StructureShape.new(name: 'Sasl')
110
120
  Scram = Shapes::StructureShape.new(name: 'Scram')
121
+ Serverless = Shapes::StructureShape.new(name: 'Serverless')
122
+ ServerlessClientAuthentication = Shapes::StructureShape.new(name: 'ServerlessClientAuthentication')
123
+ ServerlessRequest = Shapes::StructureShape.new(name: 'ServerlessRequest')
124
+ ServerlessSasl = Shapes::StructureShape.new(name: 'ServerlessSasl')
111
125
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
112
126
  StateInfo = Shapes::StructureShape.new(name: 'StateInfo')
113
127
  StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
@@ -136,6 +150,7 @@ module Aws::Kafka
136
150
  UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
137
151
  UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
138
152
  UpdateSecurityResponse = Shapes::StructureShape.new(name: 'UpdateSecurityResponse')
153
+ VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
139
154
  ZookeeperNodeInfo = Shapes::StructureShape.new(name: 'ZookeeperNodeInfo')
140
155
  __blob = Shapes::BlobShape.new(name: '__blob')
141
156
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
@@ -144,6 +159,7 @@ module Aws::Kafka
144
159
  __integerMin1Max15 = Shapes::IntegerShape.new(name: '__integerMin1Max15')
145
160
  __integerMin1Max16384 = Shapes::IntegerShape.new(name: '__integerMin1Max16384')
146
161
  __listOfBrokerEBSVolumeInfo = Shapes::ListShape.new(name: '__listOfBrokerEBSVolumeInfo')
162
+ __listOfCluster = Shapes::ListShape.new(name: '__listOfCluster')
147
163
  __listOfClusterInfo = Shapes::ListShape.new(name: '__listOfClusterInfo')
148
164
  __listOfClusterOperationInfo = Shapes::ListShape.new(name: '__listOfClusterOperationInfo')
149
165
  __listOfClusterOperationStep = Shapes::ListShape.new(name: '__listOfClusterOperationStep')
@@ -153,6 +169,7 @@ module Aws::Kafka
153
169
  __listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
154
170
  __listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
155
171
  __listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
172
+ __listOfVpcConfig = Shapes::ListShape.new(name: '__listOfVpcConfig')
156
173
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
157
174
  __long = Shapes::IntegerShape.new(name: '__long')
158
175
  __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
@@ -221,6 +238,19 @@ module Aws::Kafka
221
238
  CloudWatchLogs.add_member(:log_group, Shapes::ShapeRef.new(shape: __string, location_name: "logGroup"))
222
239
  CloudWatchLogs.struct_class = Types::CloudWatchLogs
223
240
 
241
+ Cluster.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
242
+ Cluster.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
243
+ Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
244
+ Cluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
245
+ Cluster.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
246
+ Cluster.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
247
+ Cluster.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
248
+ Cluster.add_member(:state_info, Shapes::ShapeRef.new(shape: StateInfo, location_name: "stateInfo"))
249
+ Cluster.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
250
+ Cluster.add_member(:provisioned, Shapes::ShapeRef.new(shape: Provisioned, location_name: "provisioned"))
251
+ Cluster.add_member(:serverless, Shapes::ShapeRef.new(shape: Serverless, location_name: "serverless"))
252
+ Cluster.struct_class = Types::Cluster
253
+
224
254
  ClusterInfo.add_member(:active_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "activeOperationArn"))
225
255
  ClusterInfo.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, location_name: "brokerNodeGroupInfo"))
226
256
  ClusterInfo.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
@@ -308,6 +338,18 @@ module Aws::Kafka
308
338
  CreateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
309
339
  CreateClusterResponse.struct_class = Types::CreateClusterResponse
310
340
 
341
+ CreateClusterV2Request.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
342
+ CreateClusterV2Request.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
343
+ CreateClusterV2Request.add_member(:provisioned, Shapes::ShapeRef.new(shape: ProvisionedRequest, location_name: "provisioned"))
344
+ CreateClusterV2Request.add_member(:serverless, Shapes::ShapeRef.new(shape: ServerlessRequest, location_name: "serverless"))
345
+ CreateClusterV2Request.struct_class = Types::CreateClusterV2Request
346
+
347
+ CreateClusterV2Response.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterArn"))
348
+ CreateClusterV2Response.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __string, location_name: "clusterName"))
349
+ CreateClusterV2Response.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
350
+ CreateClusterV2Response.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
351
+ CreateClusterV2Response.struct_class = Types::CreateClusterV2Response
352
+
311
353
  CreateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
312
354
  CreateConfigurationRequest.add_member(:kafka_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "kafkaVersions"))
313
355
  CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
@@ -348,6 +390,12 @@ module Aws::Kafka
348
390
  DescribeClusterResponse.add_member(:cluster_info, Shapes::ShapeRef.new(shape: ClusterInfo, location_name: "clusterInfo"))
349
391
  DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
350
392
 
393
+ DescribeClusterV2Request.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
394
+ DescribeClusterV2Request.struct_class = Types::DescribeClusterV2Request
395
+
396
+ DescribeClusterV2Response.add_member(:cluster_info, Shapes::ShapeRef.new(shape: Cluster, location_name: "clusterInfo"))
397
+ DescribeClusterV2Response.struct_class = Types::DescribeClusterV2Response
398
+
351
399
  DescribeConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
352
400
  DescribeConfigurationRequest.struct_class = Types::DescribeConfigurationRequest
353
401
 
@@ -454,6 +502,16 @@ module Aws::Kafka
454
502
  ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
455
503
  ListClustersResponse.struct_class = Types::ListClustersResponse
456
504
 
505
+ ListClustersV2Request.add_member(:cluster_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterNameFilter"))
506
+ ListClustersV2Request.add_member(:cluster_type_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "clusterTypeFilter"))
507
+ ListClustersV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
508
+ ListClustersV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
509
+ ListClustersV2Request.struct_class = Types::ListClustersV2Request
510
+
511
+ ListClustersV2Response.add_member(:cluster_info_list, Shapes::ShapeRef.new(shape: __listOfCluster, location_name: "clusterInfoList"))
512
+ ListClustersV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
513
+ ListClustersV2Response.struct_class = Types::ListClustersV2Response
514
+
457
515
  ListConfigurationRevisionsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
458
516
  ListConfigurationRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
459
517
  ListConfigurationRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -551,6 +609,29 @@ module Aws::Kafka
551
609
  PrometheusInfo.add_member(:node_exporter, Shapes::ShapeRef.new(shape: NodeExporterInfo, location_name: "nodeExporter"))
552
610
  PrometheusInfo.struct_class = Types::PrometheusInfo
553
611
 
612
+ Provisioned.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
613
+ Provisioned.add_member(:current_broker_software_info, Shapes::ShapeRef.new(shape: BrokerSoftwareInfo, location_name: "currentBrokerSoftwareInfo"))
614
+ Provisioned.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
615
+ Provisioned.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
616
+ Provisioned.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
617
+ Provisioned.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
618
+ Provisioned.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
619
+ Provisioned.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
620
+ Provisioned.add_member(:zookeeper_connect_string, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectString"))
621
+ Provisioned.add_member(:zookeeper_connect_string_tls, Shapes::ShapeRef.new(shape: __string, location_name: "zookeeperConnectStringTls"))
622
+ Provisioned.struct_class = Types::Provisioned
623
+
624
+ ProvisionedRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
625
+ ProvisionedRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
626
+ ProvisionedRequest.add_member(:configuration_info, Shapes::ShapeRef.new(shape: ConfigurationInfo, location_name: "configurationInfo"))
627
+ ProvisionedRequest.add_member(:encryption_info, Shapes::ShapeRef.new(shape: EncryptionInfo, location_name: "encryptionInfo"))
628
+ ProvisionedRequest.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoring, location_name: "enhancedMonitoring"))
629
+ ProvisionedRequest.add_member(:open_monitoring, Shapes::ShapeRef.new(shape: OpenMonitoringInfo, location_name: "openMonitoring"))
630
+ ProvisionedRequest.add_member(:kafka_version, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "kafkaVersion"))
631
+ ProvisionedRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "loggingInfo"))
632
+ ProvisionedRequest.add_member(:number_of_broker_nodes, Shapes::ShapeRef.new(shape: __integerMin1Max15, required: true, location_name: "numberOfBrokerNodes"))
633
+ ProvisionedRequest.struct_class = Types::ProvisionedRequest
634
+
554
635
  PublicAccess.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
555
636
  PublicAccess.struct_class = Types::PublicAccess
556
637
 
@@ -574,6 +655,20 @@ module Aws::Kafka
574
655
  Scram.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
575
656
  Scram.struct_class = Types::Scram
576
657
 
658
+ Serverless.add_member(:vpc_configs, Shapes::ShapeRef.new(shape: __listOfVpcConfig, required: true, location_name: "vpcConfigs"))
659
+ Serverless.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ServerlessClientAuthentication, location_name: "clientAuthentication"))
660
+ Serverless.struct_class = Types::Serverless
661
+
662
+ ServerlessClientAuthentication.add_member(:sasl, Shapes::ShapeRef.new(shape: ServerlessSasl, location_name: "sasl"))
663
+ ServerlessClientAuthentication.struct_class = Types::ServerlessClientAuthentication
664
+
665
+ ServerlessRequest.add_member(:vpc_configs, Shapes::ShapeRef.new(shape: __listOfVpcConfig, required: true, location_name: "vpcConfigs"))
666
+ ServerlessRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ServerlessClientAuthentication, location_name: "clientAuthentication"))
667
+ ServerlessRequest.struct_class = Types::ServerlessRequest
668
+
669
+ ServerlessSasl.add_member(:iam, Shapes::ShapeRef.new(shape: Iam, location_name: "iam"))
670
+ ServerlessSasl.struct_class = Types::ServerlessSasl
671
+
577
672
  ServiceUnavailableException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
578
673
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
579
674
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
@@ -698,6 +793,10 @@ module Aws::Kafka
698
793
  UpdateSecurityResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
699
794
  UpdateSecurityResponse.struct_class = Types::UpdateSecurityResponse
700
795
 
796
+ VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subnetIds"))
797
+ VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroupIds"))
798
+ VpcConfig.struct_class = Types::VpcConfig
799
+
701
800
  ZookeeperNodeInfo.add_member(:attached_eni_id, Shapes::ShapeRef.new(shape: __string, location_name: "attachedENIId"))
702
801
  ZookeeperNodeInfo.add_member(:client_vpc_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "clientVpcIpAddress"))
703
802
  ZookeeperNodeInfo.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
@@ -707,6 +806,8 @@ module Aws::Kafka
707
806
 
708
807
  __listOfBrokerEBSVolumeInfo.member = Shapes::ShapeRef.new(shape: BrokerEBSVolumeInfo)
709
808
 
809
+ __listOfCluster.member = Shapes::ShapeRef.new(shape: Cluster)
810
+
710
811
  __listOfClusterInfo.member = Shapes::ShapeRef.new(shape: ClusterInfo)
711
812
 
712
813
  __listOfClusterOperationInfo.member = Shapes::ShapeRef.new(shape: ClusterOperationInfo)
@@ -725,6 +826,8 @@ module Aws::Kafka
725
826
 
726
827
  __listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
727
828
 
829
+ __listOfVpcConfig.member = Shapes::ShapeRef.new(shape: VpcConfig)
830
+
728
831
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
729
832
 
730
833
  __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
@@ -779,6 +882,21 @@ module Aws::Kafka
779
882
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
780
883
  end)
781
884
 
885
+ api.add_operation(:create_cluster_v2, Seahorse::Model::Operation.new.tap do |o|
886
+ o.name = "CreateClusterV2"
887
+ o.http_method = "POST"
888
+ o.http_request_uri = "/api/v2/clusters"
889
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterV2Request)
890
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterV2Response)
891
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
892
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
893
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
894
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
896
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
898
+ end)
899
+
782
900
  api.add_operation(:create_configuration, Seahorse::Model::Operation.new.tap do |o|
783
901
  o.name = "CreateConfiguration"
784
902
  o.http_method = "POST"
@@ -831,6 +949,19 @@ module Aws::Kafka
831
949
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
832
950
  end)
833
951
 
952
+ api.add_operation(:describe_cluster_v2, Seahorse::Model::Operation.new.tap do |o|
953
+ o.name = "DescribeClusterV2"
954
+ o.http_method = "GET"
955
+ o.http_request_uri = "/api/v2/clusters/{clusterArn}"
956
+ o.input = Shapes::ShapeRef.new(shape: DescribeClusterV2Request)
957
+ o.output = Shapes::ShapeRef.new(shape: DescribeClusterV2Response)
958
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
959
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
960
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
961
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
962
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
963
+ end)
964
+
834
965
  api.add_operation(:describe_cluster_operation, Seahorse::Model::Operation.new.tap do |o|
835
966
  o.name = "DescribeClusterOperation"
836
967
  o.http_method = "GET"
@@ -951,6 +1082,24 @@ module Aws::Kafka
951
1082
  )
952
1083
  end)
953
1084
 
1085
+ api.add_operation(:list_clusters_v2, Seahorse::Model::Operation.new.tap do |o|
1086
+ o.name = "ListClustersV2"
1087
+ o.http_method = "GET"
1088
+ o.http_request_uri = "/api/v2/clusters"
1089
+ o.input = Shapes::ShapeRef.new(shape: ListClustersV2Request)
1090
+ o.output = Shapes::ShapeRef.new(shape: ListClustersV2Response)
1091
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1095
+ o[:pager] = Aws::Pager.new(
1096
+ limit_key: "max_results",
1097
+ tokens: {
1098
+ "next_token" => "next_token"
1099
+ }
1100
+ )
1101
+ end)
1102
+
954
1103
  api.add_operation(:list_configuration_revisions, Seahorse::Model::Operation.new.tap do |o|
955
1104
  o.name = "ListConfigurationRevisions"
956
1105
  o.http_method = "GET"