@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.
|
DescribeClusterOperationResult |
describeClusterOperation(DescribeClusterOperationRequest describeClusterOperationRequest)
Returns a description of the cluster operation specified by the ARN.
|
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.
|
ListClusterOperationsResult |
listClusterOperations(ListClusterOperationsRequest listClusterOperationsRequest)
Returns a list of all the operations that have been performed on the specified MSK cluster.
|
ListClustersResult |
listClusters(ListClustersRequest listClustersRequest)
Returns a list of all the MSK clusters in the current Region.
|
ListConfigurationRevisionsResult |
listConfigurationRevisions(ListConfigurationRevisionsRequest listConfigurationRevisionsRequest)
Returns a list of all the MSK configurations in this Region.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Returns a list of all the MSK configurations in this Region.
|
ListNodesResult |
listNodes(ListNodesRequest listNodesRequest)
Returns a list of the broker nodes in the cluster.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags associated with the specified resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified MSK resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the tags associated with the keys that are provided in the query.
|
UpdateBrokerStorageResult |
updateBrokerStorage(UpdateBrokerStorageRequest updateBrokerStorageRequest)
Updates the EBS storage associated with MSK brokers.
|
UpdateClusterConfigurationResult |
updateClusterConfiguration(UpdateClusterConfigurationRequest updateClusterConfigurationRequest)
Updates the cluster with the configuration that is specified in the request body.
|
static final String ENDPOINT_PREFIX
CreateClusterResult createCluster(CreateClusterRequest createClusterRequest)
Creates a new MSK cluster.
createClusterRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
TooManyRequestsException
- 429 response
ConflictException
- This cluster name already exists. Retry your request using another name.
CreateConfigurationResult createConfiguration(CreateConfigurationRequest createConfigurationRequest)
Creates a new MSK configuration.
createConfigurationRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
TooManyRequestsException
- 429 response
ConflictException
- This cluster 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 the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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.
DescribeClusterOperationResult describeClusterOperation(DescribeClusterOperationRequest describeClusterOperationRequest)
Returns a description of the cluster operation specified by the ARN.
describeClusterOperationRequest
- NotFoundException
- The resource could not be found due to incorrect input. Correct the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest)
Returns a description of this revision of the configuration.
describeConfigurationRevisionRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
GetBootstrapBrokersResult getBootstrapBrokers(GetBootstrapBrokersRequest getBootstrapBrokersRequest)
A list of brokers that a client application can use to bootstrap.
getBootstrapBrokersRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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.
ListClusterOperationsResult listClusterOperations(ListClusterOperationsRequest listClusterOperationsRequest)
Returns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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.
ListClustersResult listClusters(ListClustersRequest listClustersRequest)
Returns a list of all the MSK clusters in the current Region.
listClustersRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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.
ListConfigurationRevisionsResult listConfigurationRevisions(ListConfigurationRevisionsRequest listConfigurationRevisionsRequest)
Returns a list of all the MSK configurations in this Region.
listConfigurationRevisionsRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
ListConfigurationsResult listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Returns a list of all the MSK configurations in this Region.
listConfigurationsRequest
- ServiceUnavailableException
- 503 response
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 the tags associated with the specified resource.
listTagsForResourceRequest
- NotFoundException
- The resource could not be found due to incorrect input. Correct the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
InternalServerErrorException
- There was an unexpected internal server error. Retrying your request might resolve the issue.
TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified MSK resource.
tagResourceRequest
- NotFoundException
- The resource could not be found due to incorrect input. Correct the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
InternalServerErrorException
- There was an unexpected internal server error. Retrying your request might resolve the issue.
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the tags associated with the keys that are provided in the query.
untagResourceRequest
- NotFoundException
- The resource could not be found due to incorrect input. Correct the input, then retry the request.
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
InternalServerErrorException
- There was an unexpected internal server error. Retrying your request might resolve the issue.
UpdateBrokerStorageResult updateBrokerStorage(UpdateBrokerStorageRequest updateBrokerStorageRequest)
Updates the EBS storage associated with MSK brokers.
updateBrokerStorageRequest
- ServiceUnavailableException
- 503 response
BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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.
UpdateClusterConfigurationResult updateClusterConfiguration(UpdateClusterConfigurationRequest updateClusterConfigurationRequest)
Updates the cluster with the configuration that is specified in the request body.
updateClusterConfigurationRequest
- BadRequestException
- The request isn't valid because the input is incorrect. Correct your input and then submit it again.
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 response
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.