@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSKafka
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSKafka
instead.
The operations for managing an Amazon MSK cluster.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateClusterResult |
createCluster(CreateClusterRequest createClusterRequest)
Creates a new MSK cluster.
|
CreateConfigurationResult |
createConfiguration(CreateConfigurationRequest createConfigurationRequest)
Creates a new MSK configuration.
|
DeleteClusterResult |
deleteCluster(DeleteClusterRequest deleteClusterRequest)
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
|
DescribeClusterResult |
describeCluster(DescribeClusterRequest describeClusterRequest)
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
|
DescribeConfigurationResult |
describeConfiguration(DescribeConfigurationRequest describeConfigurationRequest)
Returns a description of this MSK configuration.
|
DescribeConfigurationRevisionResult |
describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest)
Returns a description of this revision of the configuration.
|
GetBootstrapBrokersResult |
getBootstrapBrokers(GetBootstrapBrokersRequest getBootstrapBrokersRequest)
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 listClustersRequest)
Returns a list of clusters in an account.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Returns a list of all the MSK configurations in this Region for this account.
|
ListNodesResult |
listNodes(ListNodesRequest listNodesRequest)
Returns a list of the broker nodes in the cluster.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags attached to a resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Tag a resource with given tags.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags of a resource by given tag keys.
|
static final String ENDPOINT_PREFIX
CreateClusterResult createCluster(CreateClusterRequest createClusterRequest)
Creates a new MSK cluster.
createClusterRequest
- 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.CreateConfigurationResult createConfiguration(CreateConfigurationRequest createConfigurationRequest)
Creates a new MSK configuration.
createConfigurationRequest
- 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.DeleteClusterResult deleteCluster(DeleteClusterRequest deleteClusterRequest)
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterRequest
- 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.DescribeClusterResult describeCluster(DescribeClusterRequest describeClusterRequest)
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterRequest
- 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.DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest describeConfigurationRequest)
Returns a description of this MSK configuration.
describeConfigurationRequest
- 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 responseDescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest)
Returns a description of this revision of the configuration.
describeConfigurationRevisionRequest
- 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 responseGetBootstrapBrokersResult getBootstrapBrokers(GetBootstrapBrokersRequest getBootstrapBrokersRequest)
A list of brokers that a client application can use to bootstrap.
getBootstrapBrokersRequest
- 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.ListClustersResult listClusters(ListClustersRequest listClustersRequest)
Returns a list of clusters in an account.
listClustersRequest
- 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.ListConfigurationsResult listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Returns a list of all the MSK configurations in this Region for this account.
listConfigurationsRequest
- 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.ListNodesResult listNodes(ListNodesRequest listNodesRequest)
Returns a list of the broker nodes in the cluster.
listNodesRequest
- 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.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags attached to a resource.
listTagsForResourceRequest
- 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.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Tag a resource with given tags.
tagResourceRequest
- 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.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Remove tags of a resource by given tag keys.
untagResourceRequest
- 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.void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.