create_cluster_v2
async
¶
create_cluster_v2(
*,
config_overrides: Optional[AsyncKafkaClientConfig] = None,
cluster_name: Optional[__stringMin1Max64] = None,
tags: Optional[__mapOf__string] = None,
provisioned: Optional[ProvisionedRequest] = None,
serverless: Optional[ServerlessRequest] = None,
) -> CreateClusterV2Response
Creates a new MSK cluster.
Parameters:
-
cluster_name(Optional[__stringMin1Max64], default:None) –The name of the cluster.
-
tags(Optional[__mapOf__string], default:None) –A map of tags that you want the cluster to have.
-
provisioned(Optional[ProvisionedRequest], default:None) –Information about the provisioned cluster.
-
serverless(Optional[ServerlessRequest], default:None) –Information about the serverless cluster.
Raises:
-
BadRequestException–Returns information about an error.
-
ConflictException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
ServiceUnavailableException–Returns information about an error.
-
TooManyRequestsException–Returns information about an error.
-
UnauthorizedException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.