@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonMQAsync extends AbstractAmazonMQ implements AmazonMQAsync
AmazonMQAsync. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.ENDPOINT_PREFIXcreateBroker, createConfiguration, createTags, createUser, deleteBroker, deleteTags, deleteUser, describeBroker, describeBrokerEngineTypes, describeBrokerInstanceOptions, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listTags, listUsers, promote, rebootBroker, shutdown, updateBroker, updateConfiguration, updateUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBroker, createConfiguration, createTags, createUser, deleteBroker, deleteTags, deleteUser, describeBroker, describeBrokerEngineTypes, describeBrokerInstanceOptions, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listTags, listUsers, promote, rebootBroker, shutdown, updateBroker, updateConfiguration, updateUserpublic Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request)
AmazonMQAsyncCreates 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.
createBrokerAsync in interface AmazonMQAsyncrequest - Creates a broker using the specified properties.public Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request, AsyncHandler<CreateBrokerRequest,CreateBrokerResult> asyncHandler)
AmazonMQAsyncCreates 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.
createBrokerAsync in interface AmazonMQAsyncrequest - Creates a broker using the specified properties.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request)
AmazonMQAsyncCreates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
createConfigurationAsync in interface AmazonMQAsyncrequest - Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AmazonMQAsyncCreates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
createConfigurationAsync in interface AmazonMQAsyncrequest - Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request)
AmazonMQAsyncAdd a tag to a resource.
createTagsAsync in interface AmazonMQAsyncrequest - A map of the key-value pairs for the resource tag.public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest,CreateTagsResult> asyncHandler)
AmazonMQAsyncAdd a tag to a resource.
createTagsAsync in interface AmazonMQAsyncrequest - A map of the key-value pairs for the resource tag.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonMQAsyncCreates 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.
createUserAsync in interface AmazonMQAsyncrequest - Creates a new ActiveMQ user.public Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonMQAsyncCreates 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.
createUserAsync in interface AmazonMQAsyncrequest - Creates a new ActiveMQ user.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBrokerResult> deleteBrokerAsync(DeleteBrokerRequest request)
AmazonMQAsyncDeletes a broker. Note: This API is asynchronous.
deleteBrokerAsync in interface AmazonMQAsyncpublic Future<DeleteBrokerResult> deleteBrokerAsync(DeleteBrokerRequest request, AsyncHandler<DeleteBrokerRequest,DeleteBrokerResult> asyncHandler)
AmazonMQAsyncDeletes a broker. Note: This API is asynchronous.
deleteBrokerAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
AmazonMQAsyncRemoves a tag from a resource.
deleteTagsAsync in interface AmazonMQAsyncpublic Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
AmazonMQAsyncRemoves a tag from a resource.
deleteTagsAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonMQAsyncDeletes an ActiveMQ user.
deleteUserAsync in interface AmazonMQAsyncpublic Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonMQAsyncDeletes an ActiveMQ user.
deleteUserAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request)
AmazonMQAsyncReturns information about the specified broker.
describeBrokerAsync in interface AmazonMQAsyncpublic Future<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request, AsyncHandler<DescribeBrokerRequest,DescribeBrokerResult> asyncHandler)
AmazonMQAsyncReturns information about the specified broker.
describeBrokerAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBrokerEngineTypesResult> describeBrokerEngineTypesAsync(DescribeBrokerEngineTypesRequest request)
AmazonMQAsyncDescribe available engine types and versions.
describeBrokerEngineTypesAsync in interface AmazonMQAsyncpublic Future<DescribeBrokerEngineTypesResult> describeBrokerEngineTypesAsync(DescribeBrokerEngineTypesRequest request, AsyncHandler<DescribeBrokerEngineTypesRequest,DescribeBrokerEngineTypesResult> asyncHandler)
AmazonMQAsyncDescribe available engine types and versions.
describeBrokerEngineTypesAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBrokerInstanceOptionsResult> describeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request)
AmazonMQAsyncDescribe available broker instance options.
describeBrokerInstanceOptionsAsync in interface AmazonMQAsyncpublic Future<DescribeBrokerInstanceOptionsResult> describeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request, AsyncHandler<DescribeBrokerInstanceOptionsRequest,DescribeBrokerInstanceOptionsResult> asyncHandler)
AmazonMQAsyncDescribe available broker instance options.
describeBrokerInstanceOptionsAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request)
AmazonMQAsyncReturns information about the specified configuration.
describeConfigurationAsync in interface AmazonMQAsyncpublic Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AmazonMQAsyncReturns information about the specified configuration.
describeConfigurationAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request)
AmazonMQAsyncReturns the specified configuration revision for the specified configuration.
describeConfigurationRevisionAsync in interface AmazonMQAsyncpublic Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AmazonMQAsyncReturns the specified configuration revision for the specified configuration.
describeConfigurationRevisionAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request)
AmazonMQAsyncReturns information about an ActiveMQ user.
describeUserAsync in interface AmazonMQAsyncpublic Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonMQAsyncReturns information about an ActiveMQ user.
describeUserAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBrokersResult> listBrokersAsync(ListBrokersRequest request)
AmazonMQAsyncReturns a list of all brokers.
listBrokersAsync in interface AmazonMQAsyncpublic Future<ListBrokersResult> listBrokersAsync(ListBrokersRequest request, AsyncHandler<ListBrokersRequest,ListBrokersResult> asyncHandler)
AmazonMQAsyncReturns a list of all brokers.
listBrokersAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request)
AmazonMQAsyncReturns a list of all revisions for the specified configuration.
listConfigurationRevisionsAsync in interface AmazonMQAsyncpublic Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, AsyncHandler<ListConfigurationRevisionsRequest,ListConfigurationRevisionsResult> asyncHandler)
AmazonMQAsyncReturns a list of all revisions for the specified configuration.
listConfigurationRevisionsAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request)
AmazonMQAsyncReturns a list of all configurations.
listConfigurationsAsync in interface AmazonMQAsyncpublic Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AmazonMQAsyncReturns a list of all configurations.
listConfigurationsAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonMQAsyncLists tags for a resource.
listTagsAsync in interface AmazonMQAsyncpublic Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonMQAsyncLists tags for a resource.
listTagsAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUsersResult> listUsersAsync(ListUsersRequest request)
AmazonMQAsyncReturns a list of all ActiveMQ users.
listUsersAsync in interface AmazonMQAsyncpublic Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonMQAsyncReturns a list of all ActiveMQ users.
listUsersAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PromoteResult> promoteAsync(PromoteRequest request)
AmazonMQAsyncPromotes a data replication replica broker to the primary broker role.
promoteAsync in interface AmazonMQAsyncrequest - Promotes a data replication replica broker to the primary broker role.public Future<PromoteResult> promoteAsync(PromoteRequest request, AsyncHandler<PromoteRequest,PromoteResult> asyncHandler)
AmazonMQAsyncPromotes a data replication replica broker to the primary broker role.
promoteAsync in interface AmazonMQAsyncrequest - Promotes a data replication replica broker to the primary broker role.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request)
AmazonMQAsyncReboots a broker. Note: This API is asynchronous.
rebootBrokerAsync in interface AmazonMQAsyncpublic Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request, AsyncHandler<RebootBrokerRequest,RebootBrokerResult> asyncHandler)
AmazonMQAsyncReboots a broker. Note: This API is asynchronous.
rebootBrokerAsync in interface AmazonMQAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request)
AmazonMQAsyncAdds a pending configuration change to a broker.
updateBrokerAsync in interface AmazonMQAsyncrequest - Updates the broker using the specified properties.public Future<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request, AsyncHandler<UpdateBrokerRequest,UpdateBrokerResult> asyncHandler)
AmazonMQAsyncAdds a pending configuration change to a broker.
updateBrokerAsync in interface AmazonMQAsyncrequest - Updates the broker using the specified properties.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request)
AmazonMQAsyncUpdates the specified configuration.
updateConfigurationAsync in interface AmazonMQAsyncrequest - Updates the specified configuration.public Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResult> asyncHandler)
AmazonMQAsyncUpdates the specified configuration.
updateConfigurationAsync in interface AmazonMQAsyncrequest - Updates the specified configuration.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request)
AmazonMQAsyncUpdates the information for an ActiveMQ user.
updateUserAsync in interface AmazonMQAsyncrequest - Updates the information for an ActiveMQ user.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonMQAsyncUpdates the information for an ActiveMQ user.
updateUserAsync in interface AmazonMQAsyncrequest - Updates the information for an ActiveMQ user.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.