@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonMQ
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonMQ
instead.
Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.
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 |
---|---|
CreateBrokerResult |
createBroker(CreateBrokerRequest createBrokerRequest)
Creates a broker.
|
CreateConfigurationResult |
createConfiguration(CreateConfigurationRequest createConfigurationRequest)
Creates a new configuration for the specified configuration name.
|
CreateTagsResult |
createTags(CreateTagsRequest createTagsRequest)
Add a tag to a resource.
|
CreateUserResult |
createUser(CreateUserRequest createUserRequest)
Creates an ActiveMQ user.
|
DeleteBrokerResult |
deleteBroker(DeleteBrokerRequest deleteBrokerRequest)
Deletes a broker.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest deleteTagsRequest)
Removes a tag from a resource.
|
DeleteUserResult |
deleteUser(DeleteUserRequest deleteUserRequest)
Deletes an ActiveMQ user.
|
DescribeBrokerResult |
describeBroker(DescribeBrokerRequest describeBrokerRequest)
Returns information about the specified broker.
|
DescribeBrokerEngineTypesResult |
describeBrokerEngineTypes(DescribeBrokerEngineTypesRequest describeBrokerEngineTypesRequest)
Describe available engine types and versions.
|
DescribeBrokerInstanceOptionsResult |
describeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest describeBrokerInstanceOptionsRequest)
Describe available broker instance options.
|
DescribeConfigurationResult |
describeConfiguration(DescribeConfigurationRequest describeConfigurationRequest)
Returns information about the specified configuration.
|
DescribeConfigurationRevisionResult |
describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest)
Returns the specified configuration revision for the specified configuration.
|
DescribeUserResult |
describeUser(DescribeUserRequest describeUserRequest)
Returns information about an ActiveMQ user.
|
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.
|
ListBrokersResult |
listBrokers(ListBrokersRequest listBrokersRequest)
Returns a list of all brokers.
|
ListConfigurationRevisionsResult |
listConfigurationRevisions(ListConfigurationRevisionsRequest listConfigurationRevisionsRequest)
Returns a list of all revisions for the specified configuration.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Returns a list of all configurations.
|
ListTagsResult |
listTags(ListTagsRequest listTagsRequest)
Lists tags for a resource.
|
ListUsersResult |
listUsers(ListUsersRequest listUsersRequest)
Returns a list of all ActiveMQ users.
|
RebootBrokerResult |
rebootBroker(RebootBrokerRequest rebootBrokerRequest)
Reboots a broker.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateBrokerResult |
updateBroker(UpdateBrokerRequest updateBrokerRequest)
Adds a pending configuration change to a broker.
|
UpdateConfigurationResult |
updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest)
Updates the specified configuration.
|
UpdateUserResult |
updateUser(UpdateUserRequest updateUserRequest)
Updates the information for an ActiveMQ user.
|
static final String ENDPOINT_PREFIX
CreateBrokerResult createBroker(CreateBrokerRequest createBrokerRequest)
createBrokerRequest
- Creates a broker using the specified properties.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.UnauthorizedException
- HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. This broker name already exists. Retry your request with another name.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.CreateConfigurationResult createConfiguration(CreateConfigurationRequest createConfigurationRequest)
createConfigurationRequest
- Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. This configuration name already exists. Retry your request with another
configuration name.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your input and then retry your request.CreateTagsResult createTags(CreateTagsRequest createTagsRequest)
createTagsRequest
- A map of the key-value pairs for the resource tag.NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.CreateUserResult createUser(CreateUserRequest createUserRequest)
createUserRequest
- Creates a new ActiveMQ user.NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DeleteBrokerResult deleteBroker(DeleteBrokerRequest deleteBrokerRequest)
deleteBrokerRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DeleteTagsResult deleteTags(DeleteTagsRequest deleteTagsRequest)
deleteTagsRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DeleteUserResult deleteUser(DeleteUserRequest deleteUserRequest)
deleteUserRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeBrokerResult describeBroker(DescribeBrokerRequest describeBrokerRequest)
describeBrokerRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeBrokerEngineTypesResult describeBrokerEngineTypes(DescribeBrokerEngineTypesRequest describeBrokerEngineTypesRequest)
describeBrokerEngineTypesRequest
- BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeBrokerInstanceOptionsResult describeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest describeBrokerInstanceOptionsRequest)
describeBrokerInstanceOptionsRequest
- BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest describeConfigurationRequest)
describeConfigurationRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest)
describeConfigurationRevisionRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.DescribeUserResult describeUser(DescribeUserRequest describeUserRequest)
describeUserRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.ListBrokersResult listBrokers(ListBrokersRequest listBrokersRequest)
listBrokersRequest
- BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.ListConfigurationRevisionsResult listConfigurationRevisions(ListConfigurationRevisionsRequest listConfigurationRevisionsRequest)
listConfigurationRevisionsRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.ListConfigurationsResult listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
listConfigurationsRequest
- BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.ListTagsResult listTags(ListTagsRequest listTagsRequest)
listTagsRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.ListUsersResult listUsers(ListUsersRequest listUsersRequest)
listUsersRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.RebootBrokerResult rebootBroker(RebootBrokerRequest rebootBrokerRequest)
rebootBrokerRequest
- NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.UpdateBrokerResult updateBroker(UpdateBrokerRequest updateBrokerRequest)
updateBrokerRequest
- Updates the broker using the specified properties.NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. Concurrent broker update detected. Retrying your request might resolve
the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.UpdateConfigurationResult updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest)
updateConfigurationRequest
- Updates the specified configuration.NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. Concurrent update to configuration. Retry to create a new revision.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your input and then retry your request.UpdateUserResult updateUser(UpdateUserRequest updateUserRequest)
updateUserRequest
- Updates the information for an ActiveMQ user.NotFoundException
- HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.BadRequestException
- HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.ConflictException
- HTTP Status Code 409: Conflict. Retrying your request might resolve the issue.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.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.