@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonMQ extends Object implements AmazonMQ
AmazonMQ
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateBrokerResult |
createBroker(CreateBrokerRequest request)
Creates a broker.
|
CreateConfigurationResult |
createConfiguration(CreateConfigurationRequest request)
Creates a new configuration for the specified configuration name.
|
CreateTagsResult |
createTags(CreateTagsRequest request)
Add a tag to a resource.
|
CreateUserResult |
createUser(CreateUserRequest request)
Creates an ActiveMQ user.
|
DeleteBrokerResult |
deleteBroker(DeleteBrokerRequest request)
Deletes a broker.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest request)
Removes a tag from a resource.
|
DeleteUserResult |
deleteUser(DeleteUserRequest request)
Deletes an ActiveMQ user.
|
DescribeBrokerResult |
describeBroker(DescribeBrokerRequest request)
Returns information about the specified broker.
|
DescribeBrokerEngineTypesResult |
describeBrokerEngineTypes(DescribeBrokerEngineTypesRequest request)
Describe available engine types and versions.
|
DescribeBrokerInstanceOptionsResult |
describeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest request)
Describe available broker instance options.
|
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.
|
ListTagsResult |
listTags(ListTagsRequest request)
Lists tags for a resource.
|
ListUsersResult |
listUsers(ListUsersRequest request)
Returns a list of all ActiveMQ users.
|
PromoteResult |
promote(PromoteRequest request)
Promotes a data replication replica broker to the primary broker role.
|
RebootBrokerResult |
rebootBroker(RebootBrokerRequest request)
Reboots a broker.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
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.
|
public CreateBrokerResult createBroker(CreateBrokerRequest request)
AmazonMQ
Creates a broker. Note: This API is asynchronous.
To create a broker, you must either use the AmazonMQFullAccess IAM policy or include the following EC2 permissions in your IAM policy.
ec2:CreateNetworkInterface
This permission is required to allow Amazon MQ to create an elastic network interface (ENI) on behalf of your account.
ec2:CreateNetworkInterfacePermission
This permission is required to attach the ENI to the broker instance.
ec2:DeleteNetworkInterface
ec2:DeleteNetworkInterfacePermission
ec2:DetachNetworkInterface
ec2:DescribeInternetGateways
ec2:DescribeNetworkInterfaces
ec2:DescribeNetworkInterfacePermissions
ec2:DescribeRouteTables
ec2:DescribeSecurityGroups
ec2:DescribeSubnets
ec2:DescribeVpcs
For more information, see Create an IAM User and Get Your Amazon Web Services Credentials and Never Modify or Delete the Amazon MQ Elastic Network Interface in the Amazon MQ Developer Guide.
createBroker
in interface AmazonMQ
request
- Creates a broker using the specified properties.public CreateConfigurationResult createConfiguration(CreateConfigurationRequest request)
AmazonMQ
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
createConfiguration
in interface AmazonMQ
request
- Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).public CreateTagsResult createTags(CreateTagsRequest request)
AmazonMQ
Add a tag to a resource.
createTags
in interface AmazonMQ
request
- A map of the key-value pairs for the resource tag.public CreateUserResult createUser(CreateUserRequest request)
AmazonMQ
Creates an ActiveMQ user.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.
createUser
in interface AmazonMQ
request
- Creates a new ActiveMQ user.public DeleteBrokerResult deleteBroker(DeleteBrokerRequest request)
AmazonMQ
Deletes a broker. Note: This API is asynchronous.
deleteBroker
in interface AmazonMQ
public DeleteTagsResult deleteTags(DeleteTagsRequest request)
AmazonMQ
Removes a tag from a resource.
deleteTags
in interface AmazonMQ
public DeleteUserResult deleteUser(DeleteUserRequest request)
AmazonMQ
Deletes an ActiveMQ user.
deleteUser
in interface AmazonMQ
public DescribeBrokerResult describeBroker(DescribeBrokerRequest request)
AmazonMQ
Returns information about the specified broker.
describeBroker
in interface AmazonMQ
public DescribeBrokerEngineTypesResult describeBrokerEngineTypes(DescribeBrokerEngineTypesRequest request)
AmazonMQ
Describe available engine types and versions.
describeBrokerEngineTypes
in interface AmazonMQ
public DescribeBrokerInstanceOptionsResult describeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest request)
AmazonMQ
Describe available broker instance options.
describeBrokerInstanceOptions
in interface AmazonMQ
public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request)
AmazonMQ
Returns information about the specified configuration.
describeConfiguration
in interface AmazonMQ
public DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest request)
AmazonMQ
Returns the specified configuration revision for the specified configuration.
describeConfigurationRevision
in interface AmazonMQ
public DescribeUserResult describeUser(DescribeUserRequest request)
AmazonMQ
Returns information about an ActiveMQ user.
describeUser
in interface AmazonMQ
public ListBrokersResult listBrokers(ListBrokersRequest request)
AmazonMQ
Returns a list of all brokers.
listBrokers
in interface AmazonMQ
public ListConfigurationRevisionsResult listConfigurationRevisions(ListConfigurationRevisionsRequest request)
AmazonMQ
Returns a list of all revisions for the specified configuration.
listConfigurationRevisions
in interface AmazonMQ
public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
AmazonMQ
Returns a list of all configurations.
listConfigurations
in interface AmazonMQ
public ListTagsResult listTags(ListTagsRequest request)
AmazonMQ
Lists tags for a resource.
listTags
in interface AmazonMQ
public ListUsersResult listUsers(ListUsersRequest request)
AmazonMQ
Returns a list of all ActiveMQ users.
listUsers
in interface AmazonMQ
public PromoteResult promote(PromoteRequest request)
AmazonMQ
Promotes a data replication replica broker to the primary broker role.
promote
in interface AmazonMQ
request
- Promotes a data replication replica broker to the primary broker role.public RebootBrokerResult rebootBroker(RebootBrokerRequest request)
AmazonMQ
Reboots a broker. Note: This API is asynchronous.
rebootBroker
in interface AmazonMQ
public UpdateBrokerResult updateBroker(UpdateBrokerRequest request)
AmazonMQ
Adds a pending configuration change to a broker.
updateBroker
in interface AmazonMQ
request
- Updates the broker using the specified properties.public UpdateConfigurationResult updateConfiguration(UpdateConfigurationRequest request)
AmazonMQ
Updates the specified configuration.
updateConfiguration
in interface AmazonMQ
request
- Updates the specified configuration.public UpdateUserResult updateUser(UpdateUserRequest request)
AmazonMQ
Updates the information for an ActiveMQ user.
updateUser
in interface AmazonMQ
request
- Updates the information for an ActiveMQ user.public void shutdown()
AmazonMQ
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonMQ
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.
getCachedResponseMetadata
in interface AmazonMQ
request
- The originally executed request.