@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMQClient extends AmazonWebServiceClient implements AmazonMQ
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonMQClientBuilder |
builder() |
CreateBrokerResult |
createBroker(CreateBrokerRequest request)
Creates a broker.
|
CreateConfigurationResult |
createConfiguration(CreateConfigurationRequest request)
Creates a new configuration for the specified configuration name.
|
CreateUserResult |
createUser(CreateUserRequest request)
Creates an ActiveMQ user.
|
DeleteBrokerResult |
deleteBroker(DeleteBrokerRequest request)
Deletes a broker.
|
DeleteUserResult |
deleteUser(DeleteUserRequest request)
Deletes an ActiveMQ user.
|
DescribeBrokerResult |
describeBroker(DescribeBrokerRequest request)
Returns information about the specified broker.
|
DescribeConfigurationResult |
describeConfiguration(DescribeConfigurationRequest request)
Returns information about the specified configuration.
|
DescribeConfigurationRevisionResult |
describeConfigurationRevision(DescribeConfigurationRevisionRequest request)
Returns the specified configuration revision for the specified configuration.
|
DescribeUserResult |
describeUser(DescribeUserRequest request)
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 request)
Returns a list of all brokers.
|
ListConfigurationRevisionsResult |
listConfigurationRevisions(ListConfigurationRevisionsRequest request)
Returns a list of all revisions for the specified configuration.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest request)
Returns a list of all configurations.
|
ListUsersResult |
listUsers(ListUsersRequest request)
Returns a list of all ActiveMQ users.
|
RebootBrokerResult |
rebootBroker(RebootBrokerRequest request)
Reboots a broker.
|
UpdateBrokerResult |
updateBroker(UpdateBrokerRequest request)
Adds a pending configuration change to a broker.
|
UpdateConfigurationResult |
updateConfiguration(UpdateConfigurationRequest request)
Updates the specified configuration.
|
UpdateUserResult |
updateUser(UpdateUserRequest request)
Updates the information for an ActiveMQ user.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonMQClientBuilder builder()
public CreateBrokerResult createBroker(CreateBrokerRequest request)
createBroker
in interface AmazonMQ
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.InternalServerErrorException
- HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.UnauthorizedException
- HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.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.public CreateConfigurationResult createConfiguration(CreateConfigurationRequest request)
createConfiguration
in interface AmazonMQ
createConfigurationRequest
- Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a
configuration.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.public CreateUserResult createUser(CreateUserRequest request)
createUser
in interface AmazonMQ
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. Retry your request.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.public DeleteBrokerResult deleteBroker(DeleteBrokerRequest request)
deleteBroker
in interface AmazonMQ
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.public DeleteUserResult deleteUser(DeleteUserRequest request)
deleteUser
in interface AmazonMQ
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.public DescribeBrokerResult describeBroker(DescribeBrokerRequest request)
describeBroker
in interface AmazonMQ
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.public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request)
describeConfiguration
in interface AmazonMQ
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.public DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest request)
describeConfigurationRevision
in interface AmazonMQ
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.public DescribeUserResult describeUser(DescribeUserRequest request)
describeUser
in interface AmazonMQ
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.public ListBrokersResult listBrokers(ListBrokersRequest request)
listBrokers
in interface AmazonMQ
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.public ListConfigurationRevisionsResult listConfigurationRevisions(ListConfigurationRevisionsRequest request)
listConfigurationRevisions
in interface AmazonMQ
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.public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
listConfigurations
in interface AmazonMQ
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.public ListUsersResult listUsers(ListUsersRequest request)
listUsers
in interface AmazonMQ
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.public RebootBrokerResult rebootBroker(RebootBrokerRequest request)
rebootBroker
in interface AmazonMQ
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.public UpdateBrokerResult updateBroker(UpdateBrokerRequest request)
updateBroker
in interface AmazonMQ
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.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.public UpdateConfigurationResult updateConfiguration(UpdateConfigurationRequest request)
updateConfiguration
in interface AmazonMQ
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. 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.public UpdateUserResult updateUser(UpdateUserRequest request)
updateUser
in interface AmazonMQ
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. Retry your request.ForbiddenException
- HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.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 AmazonMQ
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.