/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the mq-2017-11-27.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.MQ.Model; namespace Amazon.MQ { /// /// Interface for accessing MQ /// /// Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ 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. /// public partial interface IAmazonMQ : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IMQPaginatorFactory Paginators { get; } #endif #region CreateBroker /// /// 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. /// /// /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateBroker service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBroker service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for CreateBroker Operation Task CreateBrokerAsync(CreateBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateConfiguration /// /// Creates a new configuration for the specified configuration name. Amazon MQ uses the /// default configuration (the engine type and version). /// /// Container for the necessary parameters to execute the CreateConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConfiguration service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for CreateConfiguration Operation Task CreateConfigurationAsync(CreateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateTags /// /// Add a tag to a resource. /// /// Container for the necessary parameters to execute the CreateTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTags service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for CreateTags Operation Task CreateTagsAsync(CreateTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUser /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUser service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for CreateUser Operation Task CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBroker /// /// Deletes a broker. Note: This API is asynchronous. /// /// Container for the necessary parameters to execute the DeleteBroker service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBroker service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DeleteBroker Operation Task DeleteBrokerAsync(DeleteBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteTags /// /// Removes a tag from a resource. /// /// Container for the necessary parameters to execute the DeleteTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTags service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DeleteTags Operation Task DeleteTagsAsync(DeleteTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUser /// /// Deletes an ActiveMQ user. /// /// Container for the necessary parameters to execute the DeleteUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUser service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DeleteUser Operation Task DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeBroker /// /// Returns information about the specified broker. /// /// Container for the necessary parameters to execute the DescribeBroker service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBroker service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeBroker Operation Task DescribeBrokerAsync(DescribeBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeBrokerEngineTypes /// /// Describe available engine types and versions. /// /// Container for the necessary parameters to execute the DescribeBrokerEngineTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBrokerEngineTypes service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeBrokerEngineTypes Operation Task DescribeBrokerEngineTypesAsync(DescribeBrokerEngineTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeBrokerInstanceOptions /// /// Describe available broker instance options. /// /// Container for the necessary parameters to execute the DescribeBrokerInstanceOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBrokerInstanceOptions service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeBrokerInstanceOptions Operation Task DescribeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeConfiguration /// /// Returns information about the specified configuration. /// /// Container for the necessary parameters to execute the DescribeConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConfiguration service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeConfiguration Operation Task DescribeConfigurationAsync(DescribeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeConfigurationRevision /// /// Returns the specified configuration revision for the specified configuration. /// /// Container for the necessary parameters to execute the DescribeConfigurationRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConfigurationRevision service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeConfigurationRevision Operation Task DescribeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUser /// /// Returns information about an ActiveMQ user. /// /// Container for the necessary parameters to execute the DescribeUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUser service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for DescribeUser Operation Task DescribeUserAsync(DescribeUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBrokers /// /// Returns a list of all brokers. /// /// Container for the necessary parameters to execute the ListBrokers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBrokers service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for ListBrokers Operation Task ListBrokersAsync(ListBrokersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurationRevisions /// /// Returns a list of all revisions for the specified configuration. /// /// Container for the necessary parameters to execute the ListConfigurationRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConfigurationRevisions service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for ListConfigurationRevisions Operation Task ListConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurations /// /// Returns a list of all configurations. /// /// Container for the necessary parameters to execute the ListConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConfigurations service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for ListConfigurations Operation Task ListConfigurationsAsync(ListConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTags /// /// Lists tags for a resource. /// /// Container for the necessary parameters to execute the ListTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTags service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for ListTags Operation Task ListTagsAsync(ListTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListUsers /// /// Returns a list of all ActiveMQ users. /// /// Container for the necessary parameters to execute the ListUsers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUsers service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for ListUsers Operation Task ListUsersAsync(ListUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region Promote /// /// Promotes a data replication replica broker to the primary broker role. /// /// Container for the necessary parameters to execute the Promote service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the Promote service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for Promote Operation Task PromoteAsync(PromoteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RebootBroker /// /// Reboots a broker. Note: This API is asynchronous. /// /// Container for the necessary parameters to execute the RebootBroker service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RebootBroker service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for RebootBroker Operation Task RebootBrokerAsync(RebootBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBroker /// /// Adds a pending configuration change to a broker. /// /// Container for the necessary parameters to execute the UpdateBroker service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateBroker service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for UpdateBroker Operation Task UpdateBrokerAsync(UpdateBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateConfiguration /// /// Updates the specified configuration. /// /// Container for the necessary parameters to execute the UpdateConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConfiguration service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for UpdateConfiguration Operation Task UpdateConfigurationAsync(UpdateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateUser /// /// Updates the information for an ActiveMQ user. /// /// Container for the necessary parameters to execute the UpdateUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUser service method, as returned by MQ. /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// /// Returns information about an error. /// /// REST API Reference for UpdateUser Operation Task UpdateUserAsync(UpdateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }