All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mq.AmazonMQAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AmazonMQ module holds the client classes that are used for communicating with AmazonMQ Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.mq;

import javax.annotation.Generated;

import com.amazonaws.services.mq.model.*;

/**
 * Interface for accessing AmazonMQ asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.mq.AbstractAmazonMQAsync} 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. */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonMQAsync extends AmazonMQ { /** * Creates a broker. Note: This API is asynchronous. * * @param createBrokerRequest * Creates a broker using the specified properties. * @return A Java Future containing the result of the CreateBroker operation returned by the service. * @sample AmazonMQAsync.CreateBroker * @see AWS API * Documentation */ java.util.concurrent.Future createBrokerAsync(CreateBrokerRequest createBrokerRequest); /** * Creates a broker. Note: This API is asynchronous. * * @param createBrokerRequest * Creates a broker using the specified properties. * @param 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. * @return A Java Future containing the result of the CreateBroker operation returned by the service. * @sample AmazonMQAsyncHandler.CreateBroker * @see AWS API * Documentation */ java.util.concurrent.Future createBrokerAsync(CreateBrokerRequest createBrokerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the * engine type and version). * * @param createConfigurationRequest * Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration * (the engine type and version). * @return A Java Future containing the result of the CreateConfiguration operation returned by the service. * @sample AmazonMQAsync.CreateConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest createConfigurationRequest); /** * Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the * engine type and version). * * @param createConfigurationRequest * Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration * (the engine type and version). * @param 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. * @return A Java Future containing the result of the CreateConfiguration operation returned by the service. * @sample AmazonMQAsyncHandler.CreateConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest createConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Add a tag to a resource. * * @param createTagsRequest * A map of the key-value pairs for the resource tag. * @return A Java Future containing the result of the CreateTags operation returned by the service. * @sample AmazonMQAsync.CreateTags * @see AWS API * Documentation */ java.util.concurrent.Future createTagsAsync(CreateTagsRequest createTagsRequest); /** * Add a tag to a resource. * * @param createTagsRequest * A map of the key-value pairs for the resource tag. * @param 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. * @return A Java Future containing the result of the CreateTags operation returned by the service. * @sample AmazonMQAsyncHandler.CreateTags * @see AWS API * Documentation */ java.util.concurrent.Future createTagsAsync(CreateTagsRequest createTagsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Creates an ActiveMQ user. * * @param createUserRequest * Creates a new ActiveMQ user. * @return A Java Future containing the result of the CreateUser operation returned by the service. * @sample AmazonMQAsync.CreateUser * @see AWS API * Documentation */ java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest); /** * Creates an ActiveMQ user. * * @param createUserRequest * Creates a new ActiveMQ user. * @param 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. * @return A Java Future containing the result of the CreateUser operation returned by the service. * @sample AmazonMQAsyncHandler.CreateUser * @see AWS API * Documentation */ java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Deletes a broker. Note: This API is asynchronous. * * @param deleteBrokerRequest * @return A Java Future containing the result of the DeleteBroker operation returned by the service. * @sample AmazonMQAsync.DeleteBroker * @see AWS API * Documentation */ java.util.concurrent.Future deleteBrokerAsync(DeleteBrokerRequest deleteBrokerRequest); /** * Deletes a broker. Note: This API is asynchronous. * * @param deleteBrokerRequest * @param 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. * @return A Java Future containing the result of the DeleteBroker operation returned by the service. * @sample AmazonMQAsyncHandler.DeleteBroker * @see AWS API * Documentation */ java.util.concurrent.Future deleteBrokerAsync(DeleteBrokerRequest deleteBrokerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Removes a tag from a resource. * * @param deleteTagsRequest * @return A Java Future containing the result of the DeleteTags operation returned by the service. * @sample AmazonMQAsync.DeleteTags * @see AWS API * Documentation */ java.util.concurrent.Future deleteTagsAsync(DeleteTagsRequest deleteTagsRequest); /** * Removes a tag from a resource. * * @param deleteTagsRequest * @param 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. * @return A Java Future containing the result of the DeleteTags operation returned by the service. * @sample AmazonMQAsyncHandler.DeleteTags * @see AWS API * Documentation */ java.util.concurrent.Future deleteTagsAsync(DeleteTagsRequest deleteTagsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Deletes an ActiveMQ user. * * @param deleteUserRequest * @return A Java Future containing the result of the DeleteUser operation returned by the service. * @sample AmazonMQAsync.DeleteUser * @see AWS API * Documentation */ java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest); /** * Deletes an ActiveMQ user. * * @param deleteUserRequest * @param 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. * @return A Java Future containing the result of the DeleteUser operation returned by the service. * @sample AmazonMQAsyncHandler.DeleteUser * @see AWS API * Documentation */ java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns information about the specified broker. * * @param describeBrokerRequest * @return A Java Future containing the result of the DescribeBroker operation returned by the service. * @sample AmazonMQAsync.DescribeBroker * @see AWS API * Documentation */ java.util.concurrent.Future describeBrokerAsync(DescribeBrokerRequest describeBrokerRequest); /** * Returns information about the specified broker. * * @param describeBrokerRequest * @param 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. * @return A Java Future containing the result of the DescribeBroker operation returned by the service. * @sample AmazonMQAsyncHandler.DescribeBroker * @see AWS API * Documentation */ java.util.concurrent.Future describeBrokerAsync(DescribeBrokerRequest describeBrokerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Describe available engine types and versions. * * @param describeBrokerEngineTypesRequest * @return A Java Future containing the result of the DescribeBrokerEngineTypes operation returned by the service. * @sample AmazonMQAsync.DescribeBrokerEngineTypes * @see AWS * API Documentation */ java.util.concurrent.Future describeBrokerEngineTypesAsync( DescribeBrokerEngineTypesRequest describeBrokerEngineTypesRequest); /** * Describe available engine types and versions. * * @param describeBrokerEngineTypesRequest * @param 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. * @return A Java Future containing the result of the DescribeBrokerEngineTypes operation returned by the service. * @sample AmazonMQAsyncHandler.DescribeBrokerEngineTypes * @see AWS * API Documentation */ java.util.concurrent.Future describeBrokerEngineTypesAsync( DescribeBrokerEngineTypesRequest describeBrokerEngineTypesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Describe available broker instance options. * * @param describeBrokerInstanceOptionsRequest * @return A Java Future containing the result of the DescribeBrokerInstanceOptions operation returned by the * service. * @sample AmazonMQAsync.DescribeBrokerInstanceOptions * @see AWS API Documentation */ java.util.concurrent.Future describeBrokerInstanceOptionsAsync( DescribeBrokerInstanceOptionsRequest describeBrokerInstanceOptionsRequest); /** * Describe available broker instance options. * * @param describeBrokerInstanceOptionsRequest * @param 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. * @return A Java Future containing the result of the DescribeBrokerInstanceOptions operation returned by the * service. * @sample AmazonMQAsyncHandler.DescribeBrokerInstanceOptions * @see AWS API Documentation */ java.util.concurrent.Future describeBrokerInstanceOptionsAsync( DescribeBrokerInstanceOptionsRequest describeBrokerInstanceOptionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns information about the specified configuration. * * @param describeConfigurationRequest * @return A Java Future containing the result of the DescribeConfiguration operation returned by the service. * @sample AmazonMQAsync.DescribeConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest describeConfigurationRequest); /** * Returns information about the specified configuration. * * @param describeConfigurationRequest * @param 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. * @return A Java Future containing the result of the DescribeConfiguration operation returned by the service. * @sample AmazonMQAsyncHandler.DescribeConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest describeConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns the specified configuration revision for the specified configuration. * * @param describeConfigurationRevisionRequest * @return A Java Future containing the result of the DescribeConfigurationRevision operation returned by the * service. * @sample AmazonMQAsync.DescribeConfigurationRevision * @see AWS API Documentation */ java.util.concurrent.Future describeConfigurationRevisionAsync( DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest); /** * Returns the specified configuration revision for the specified configuration. * * @param describeConfigurationRevisionRequest * @param 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. * @return A Java Future containing the result of the DescribeConfigurationRevision operation returned by the * service. * @sample AmazonMQAsyncHandler.DescribeConfigurationRevision * @see AWS API Documentation */ java.util.concurrent.Future describeConfigurationRevisionAsync( DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns information about an ActiveMQ user. * * @param describeUserRequest * @return A Java Future containing the result of the DescribeUser operation returned by the service. * @sample AmazonMQAsync.DescribeUser * @see AWS API * Documentation */ java.util.concurrent.Future describeUserAsync(DescribeUserRequest describeUserRequest); /** * Returns information about an ActiveMQ user. * * @param describeUserRequest * @param 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. * @return A Java Future containing the result of the DescribeUser operation returned by the service. * @sample AmazonMQAsyncHandler.DescribeUser * @see AWS API * Documentation */ java.util.concurrent.Future describeUserAsync(DescribeUserRequest describeUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns a list of all brokers. * * @param listBrokersRequest * @return A Java Future containing the result of the ListBrokers operation returned by the service. * @sample AmazonMQAsync.ListBrokers * @see AWS API * Documentation */ java.util.concurrent.Future listBrokersAsync(ListBrokersRequest listBrokersRequest); /** * Returns a list of all brokers. * * @param listBrokersRequest * @param 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. * @return A Java Future containing the result of the ListBrokers operation returned by the service. * @sample AmazonMQAsyncHandler.ListBrokers * @see AWS API * Documentation */ java.util.concurrent.Future listBrokersAsync(ListBrokersRequest listBrokersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns a list of all revisions for the specified configuration. * * @param listConfigurationRevisionsRequest * @return A Java Future containing the result of the ListConfigurationRevisions operation returned by the service. * @sample AmazonMQAsync.ListConfigurationRevisions * @see AWS * API Documentation */ java.util.concurrent.Future listConfigurationRevisionsAsync( ListConfigurationRevisionsRequest listConfigurationRevisionsRequest); /** * Returns a list of all revisions for the specified configuration. * * @param listConfigurationRevisionsRequest * @param 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. * @return A Java Future containing the result of the ListConfigurationRevisions operation returned by the service. * @sample AmazonMQAsyncHandler.ListConfigurationRevisions * @see AWS * API Documentation */ java.util.concurrent.Future listConfigurationRevisionsAsync( ListConfigurationRevisionsRequest listConfigurationRevisionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns a list of all configurations. * * @param listConfigurationsRequest * @return A Java Future containing the result of the ListConfigurations operation returned by the service. * @sample AmazonMQAsync.ListConfigurations * @see AWS API * Documentation */ java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest listConfigurationsRequest); /** * Returns a list of all configurations. * * @param listConfigurationsRequest * @param 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. * @return A Java Future containing the result of the ListConfigurations operation returned by the service. * @sample AmazonMQAsyncHandler.ListConfigurations * @see AWS API * Documentation */ java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest listConfigurationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Lists tags for a resource. * * @param listTagsRequest * @return A Java Future containing the result of the ListTags operation returned by the service. * @sample AmazonMQAsync.ListTags * @see AWS API * Documentation */ java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest); /** * Lists tags for a resource. * * @param listTagsRequest * @param 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. * @return A Java Future containing the result of the ListTags operation returned by the service. * @sample AmazonMQAsyncHandler.ListTags * @see AWS API * Documentation */ java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Returns a list of all ActiveMQ users. * * @param listUsersRequest * @return A Java Future containing the result of the ListUsers operation returned by the service. * @sample AmazonMQAsync.ListUsers * @see AWS API * Documentation */ java.util.concurrent.Future listUsersAsync(ListUsersRequest listUsersRequest); /** * Returns a list of all ActiveMQ users. * * @param listUsersRequest * @param 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. * @return A Java Future containing the result of the ListUsers operation returned by the service. * @sample AmazonMQAsyncHandler.ListUsers * @see AWS API * Documentation */ java.util.concurrent.Future listUsersAsync(ListUsersRequest listUsersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Reboots a broker. Note: This API is asynchronous. * * @param rebootBrokerRequest * @return A Java Future containing the result of the RebootBroker operation returned by the service. * @sample AmazonMQAsync.RebootBroker * @see AWS API * Documentation */ java.util.concurrent.Future rebootBrokerAsync(RebootBrokerRequest rebootBrokerRequest); /** * Reboots a broker. Note: This API is asynchronous. * * @param rebootBrokerRequest * @param 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. * @return A Java Future containing the result of the RebootBroker operation returned by the service. * @sample AmazonMQAsyncHandler.RebootBroker * @see AWS API * Documentation */ java.util.concurrent.Future rebootBrokerAsync(RebootBrokerRequest rebootBrokerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Adds a pending configuration change to a broker. * * @param updateBrokerRequest * Updates the broker using the specified properties. * @return A Java Future containing the result of the UpdateBroker operation returned by the service. * @sample AmazonMQAsync.UpdateBroker * @see AWS API * Documentation */ java.util.concurrent.Future updateBrokerAsync(UpdateBrokerRequest updateBrokerRequest); /** * Adds a pending configuration change to a broker. * * @param updateBrokerRequest * Updates the broker using the specified properties. * @param 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. * @return A Java Future containing the result of the UpdateBroker operation returned by the service. * @sample AmazonMQAsyncHandler.UpdateBroker * @see AWS API * Documentation */ java.util.concurrent.Future updateBrokerAsync(UpdateBrokerRequest updateBrokerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Updates the specified configuration. * * @param updateConfigurationRequest * Updates the specified configuration. * @return A Java Future containing the result of the UpdateConfiguration operation returned by the service. * @sample AmazonMQAsync.UpdateConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future updateConfigurationAsync(UpdateConfigurationRequest updateConfigurationRequest); /** * Updates the specified configuration. * * @param updateConfigurationRequest * Updates the specified configuration. * @param 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. * @return A Java Future containing the result of the UpdateConfiguration operation returned by the service. * @sample AmazonMQAsyncHandler.UpdateConfiguration * @see AWS API * Documentation */ java.util.concurrent.Future updateConfigurationAsync(UpdateConfigurationRequest updateConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Updates the information for an ActiveMQ user. * * @param updateUserRequest * Updates the information for an ActiveMQ user. * @return A Java Future containing the result of the UpdateUser operation returned by the service. * @sample AmazonMQAsync.UpdateUser * @see AWS API * Documentation */ java.util.concurrent.Future updateUserAsync(UpdateUserRequest updateUserRequest); /** * Updates the information for an ActiveMQ user. * * @param updateUserRequest * Updates the information for an ActiveMQ user. * @param 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. * @return A Java Future containing the result of the UpdateUser operation returned by the service. * @sample AmazonMQAsyncHandler.UpdateUser * @see AWS API * Documentation */ java.util.concurrent.Future updateUserAsync(UpdateUserRequest updateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy