@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSKafkaClient extends AmazonWebServiceClient implements AWSKafka
The operations for managing an Amazon MSK cluster.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description | 
|---|---|
static AWSKafkaClientBuilder | 
builder()  | 
CreateClusterResult | 
createCluster(CreateClusterRequest request)
 Creates a new MSK cluster. 
 | 
CreateConfigurationResult | 
createConfiguration(CreateConfigurationRequest request)
 Creates a new MSK configuration. 
 | 
DeleteClusterResult | 
deleteCluster(DeleteClusterRequest request)
 Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request. 
 | 
DescribeClusterResult | 
describeCluster(DescribeClusterRequest request)
 Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request. 
 | 
DescribeConfigurationResult | 
describeConfiguration(DescribeConfigurationRequest request)
 Returns a description of this MSK configuration. 
 | 
DescribeConfigurationRevisionResult | 
describeConfigurationRevision(DescribeConfigurationRevisionRequest request)
 Returns a description of this revision of the configuration. 
 | 
GetBootstrapBrokersResult | 
getBootstrapBrokers(GetBootstrapBrokersRequest request)
 A list of brokers that a client application can use to bootstrap. 
 | 
ResponseMetadata | 
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
 where a service isn't acting as expected. 
 | 
ListClustersResult | 
listClusters(ListClustersRequest request)
 Returns a list of clusters in an account. 
 | 
ListConfigurationsResult | 
listConfigurations(ListConfigurationsRequest request)
 Returns a list of all the MSK configurations in this Region for this account. 
 | 
ListNodesResult | 
listNodes(ListNodesRequest request)
 Returns a list of the broker nodes in the cluster. 
 | 
ListTagsForResourceResult | 
listTagsForResource(ListTagsForResourceRequest request)
 Returns a list of tags attached to a resource. 
 | 
TagResourceResult | 
tagResource(TagResourceRequest request)
 Tag a resource with given tags. 
 | 
UntagResourceResult | 
untagResource(UntagResourceRequest request)
 Remove tags of a resource by given tag keys. 
 | 
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSKafkaClientBuilder builder()
public CreateClusterResult createCluster(CreateClusterRequest request)
Creates a new MSK cluster.
createCluster in interface AWSKafkacreateClusterRequest - BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.ForbiddenException - Access forbidden. Check your credentials and then retry your request.ServiceUnavailableException - 503 responseTooManyRequestsException - 429 responseConflictException - This cluster name already exists. Retry your request using another name.public CreateConfigurationResult createConfiguration(CreateConfigurationRequest request)
Creates a new MSK configuration.
createConfiguration in interface AWSKafkacreateConfigurationRequest - BadRequestException - Because of incorrect input, the request isn't valid. Correct the input, then retry the request.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.ForbiddenException - Access forbidden. Check your credentials and then retry your request.ServiceUnavailableException - 503 responseTooManyRequestsException - 429 responseConflictException - This configuration name already exists. Retry your request using another name.public DeleteClusterResult deleteCluster(DeleteClusterRequest request)
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteCluster in interface AWSKafkadeleteClusterRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public DescribeClusterResult describeCluster(DescribeClusterRequest request)
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeCluster in interface AWSKafkadescribeClusterRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request)
Returns a description of this MSK configuration.
describeConfiguration in interface AWSKafkadescribeConfigurationRequest - BadRequestException - Because of incorrect input, the request isn't valid. Correct the input, then retry the request.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.NotFoundException - The resource could not be found due to incorrect input. Correct the input, then retry the request.ServiceUnavailableException - 503 responsepublic DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest request)
Returns a description of this revision of the configuration.
describeConfigurationRevision in interface AWSKafkadescribeConfigurationRevisionRequest - BadRequestException - Because of incorrect input, the request isn't valid. Correct the input, then retry the request.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.NotFoundException - The resource could not be found due to incorrect input. Correct the input, then retry the request.ServiceUnavailableException - 503 responsepublic GetBootstrapBrokersResult getBootstrapBrokers(GetBootstrapBrokersRequest request)
A list of brokers that a client application can use to bootstrap.
getBootstrapBrokers in interface AWSKafkagetBootstrapBrokersRequest - BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ConflictException - This cluster name already exists. Retry your request using another name.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public ListClustersResult listClusters(ListClustersRequest request)
Returns a list of clusters in an account.
listClusters in interface AWSKafkalistClustersRequest - BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
Returns a list of all the MSK configurations in this Region for this account.
listConfigurations in interface AWSKafkalistConfigurationsRequest - ServiceUnavailableException - 503 responseBadRequestException - Because of incorrect input, the request isn't valid. Correct the input, then retry the request.UnauthorizedException - The request is not authorized. The provided credentials couldn't be validated.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public ListNodesResult listNodes(ListNodesRequest request)
Returns a list of the broker nodes in the cluster.
listNodes in interface AWSKafkalistNodesRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException - Access forbidden. Check your credentials and then retry your request.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns a list of tags attached to a resource.
listTagsForResource in interface AWSKafkalistTagsForResourceRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.public TagResourceResult tagResource(TagResourceRequest request)
Tag a resource with given tags.
tagResource in interface AWSKafkatagResourceRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.public UntagResourceResult untagResource(UntagResourceRequest request)
Remove tags of a resource by given tag keys.
untagResource in interface AWSKafkauntagResourceRequest - NotFoundException - The resource could not be found due to incorrect input. Correct your request and then retry it.BadRequestException - Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException - There was an unexpected internal server error. Retrying your request might resolve the issue.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSKafkarequest - The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.