/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Http
{
class HttpClient;
class HttpClientFactory;
} // namespace Http
namespace Utils
{
template< typename R, typename E> class Outcome;
namespace Threading
{
class Executor;
} // namespace Threading
} // namespace Utils
namespace Auth
{
class AWSCredentials;
class AWSCredentialsProvider;
} // namespace Auth
namespace Client
{
class RetryStrategy;
} // namespace Client
namespace Kafka
{
namespace Model
{
class CreateClusterRequest;
class CreateConfigurationRequest;
class DeleteClusterRequest;
class DeleteConfigurationRequest;
class DescribeClusterRequest;
class DescribeClusterOperationRequest;
class DescribeConfigurationRequest;
class DescribeConfigurationRevisionRequest;
class GetBootstrapBrokersRequest;
class GetCompatibleKafkaVersionsRequest;
class ListClusterOperationsRequest;
class ListClustersRequest;
class ListConfigurationRevisionsRequest;
class ListConfigurationsRequest;
class ListKafkaVersionsRequest;
class ListNodesRequest;
class ListTagsForResourceRequest;
class RebootBrokerRequest;
class TagResourceRequest;
class UntagResourceRequest;
class UpdateBrokerCountRequest;
class UpdateBrokerStorageRequest;
class UpdateConfigurationRequest;
class UpdateClusterConfigurationRequest;
class UpdateClusterKafkaVersionRequest;
class UpdateMonitoringRequest;
typedef Aws::Utils::Outcome CreateClusterOutcome;
typedef Aws::Utils::Outcome CreateConfigurationOutcome;
typedef Aws::Utils::Outcome DeleteClusterOutcome;
typedef Aws::Utils::Outcome DeleteConfigurationOutcome;
typedef Aws::Utils::Outcome DescribeClusterOutcome;
typedef Aws::Utils::Outcome DescribeClusterOperationOutcome;
typedef Aws::Utils::Outcome DescribeConfigurationOutcome;
typedef Aws::Utils::Outcome DescribeConfigurationRevisionOutcome;
typedef Aws::Utils::Outcome GetBootstrapBrokersOutcome;
typedef Aws::Utils::Outcome GetCompatibleKafkaVersionsOutcome;
typedef Aws::Utils::Outcome ListClusterOperationsOutcome;
typedef Aws::Utils::Outcome ListClustersOutcome;
typedef Aws::Utils::Outcome ListConfigurationRevisionsOutcome;
typedef Aws::Utils::Outcome ListConfigurationsOutcome;
typedef Aws::Utils::Outcome ListKafkaVersionsOutcome;
typedef Aws::Utils::Outcome ListNodesOutcome;
typedef Aws::Utils::Outcome ListTagsForResourceOutcome;
typedef Aws::Utils::Outcome RebootBrokerOutcome;
typedef Aws::Utils::Outcome TagResourceOutcome;
typedef Aws::Utils::Outcome UntagResourceOutcome;
typedef Aws::Utils::Outcome UpdateBrokerCountOutcome;
typedef Aws::Utils::Outcome UpdateBrokerStorageOutcome;
typedef Aws::Utils::Outcome UpdateConfigurationOutcome;
typedef Aws::Utils::Outcome UpdateClusterConfigurationOutcome;
typedef Aws::Utils::Outcome UpdateClusterKafkaVersionOutcome;
typedef Aws::Utils::Outcome UpdateMonitoringOutcome;
typedef std::future CreateClusterOutcomeCallable;
typedef std::future CreateConfigurationOutcomeCallable;
typedef std::future DeleteClusterOutcomeCallable;
typedef std::future DeleteConfigurationOutcomeCallable;
typedef std::future DescribeClusterOutcomeCallable;
typedef std::future DescribeClusterOperationOutcomeCallable;
typedef std::future DescribeConfigurationOutcomeCallable;
typedef std::future DescribeConfigurationRevisionOutcomeCallable;
typedef std::future GetBootstrapBrokersOutcomeCallable;
typedef std::future GetCompatibleKafkaVersionsOutcomeCallable;
typedef std::future ListClusterOperationsOutcomeCallable;
typedef std::future ListClustersOutcomeCallable;
typedef std::future ListConfigurationRevisionsOutcomeCallable;
typedef std::future ListConfigurationsOutcomeCallable;
typedef std::future ListKafkaVersionsOutcomeCallable;
typedef std::future ListNodesOutcomeCallable;
typedef std::future ListTagsForResourceOutcomeCallable;
typedef std::future RebootBrokerOutcomeCallable;
typedef std::future TagResourceOutcomeCallable;
typedef std::future UntagResourceOutcomeCallable;
typedef std::future UpdateBrokerCountOutcomeCallable;
typedef std::future UpdateBrokerStorageOutcomeCallable;
typedef std::future UpdateConfigurationOutcomeCallable;
typedef std::future UpdateClusterConfigurationOutcomeCallable;
typedef std::future UpdateClusterKafkaVersionOutcomeCallable;
typedef std::future UpdateMonitoringOutcomeCallable;
} // namespace Model
class KafkaClient;
typedef std::function&) > CreateClusterResponseReceivedHandler;
typedef std::function&) > CreateConfigurationResponseReceivedHandler;
typedef std::function&) > DeleteClusterResponseReceivedHandler;
typedef std::function&) > DeleteConfigurationResponseReceivedHandler;
typedef std::function&) > DescribeClusterResponseReceivedHandler;
typedef std::function&) > DescribeClusterOperationResponseReceivedHandler;
typedef std::function&) > DescribeConfigurationResponseReceivedHandler;
typedef std::function&) > DescribeConfigurationRevisionResponseReceivedHandler;
typedef std::function&) > GetBootstrapBrokersResponseReceivedHandler;
typedef std::function&) > GetCompatibleKafkaVersionsResponseReceivedHandler;
typedef std::function&) > ListClusterOperationsResponseReceivedHandler;
typedef std::function&) > ListClustersResponseReceivedHandler;
typedef std::function&) > ListConfigurationRevisionsResponseReceivedHandler;
typedef std::function&) > ListConfigurationsResponseReceivedHandler;
typedef std::function&) > ListKafkaVersionsResponseReceivedHandler;
typedef std::function&) > ListNodesResponseReceivedHandler;
typedef std::function&) > ListTagsForResourceResponseReceivedHandler;
typedef std::function&) > RebootBrokerResponseReceivedHandler;
typedef std::function&) > TagResourceResponseReceivedHandler;
typedef std::function&) > UntagResourceResponseReceivedHandler;
typedef std::function&) > UpdateBrokerCountResponseReceivedHandler;
typedef std::function&) > UpdateBrokerStorageResponseReceivedHandler;
typedef std::function&) > UpdateConfigurationResponseReceivedHandler;
typedef std::function&) > UpdateClusterConfigurationResponseReceivedHandler;
typedef std::function&) > UpdateClusterKafkaVersionResponseReceivedHandler;
typedef std::function&) > UpdateMonitoringResponseReceivedHandler;
/**
*
The operations for managing an Amazon MSK cluster.
*
*/
class AWS_KAFKA_API KafkaClient : public Aws::Client::AWSJsonClient
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
KafkaClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
KafkaClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
KafkaClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
virtual ~KafkaClient();
/**
*
Creates a new MSK cluster.
See Also:
* AWS
* API Reference
*/
virtual Model::CreateClusterOutcome CreateCluster(const Model::CreateClusterRequest& request) const;
/**
*
Creates a new MSK cluster.
See Also:
* AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::CreateClusterOutcomeCallable CreateClusterCallable(const Model::CreateClusterRequest& request) const;
/**
*
Creates a new MSK cluster.
See Also:
* AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void CreateClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Creates a new MSK configuration.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreateConfigurationOutcome CreateConfiguration(const Model::CreateConfigurationRequest& request) const;
/**
*
Creates a new MSK configuration.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::CreateConfigurationOutcomeCallable CreateConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
/**
*
Creates a new MSK configuration.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void CreateConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Deletes the MSK cluster specified by the Amazon Resource Name
* (ARN) in the request.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteClusterOutcome DeleteCluster(const Model::DeleteClusterRequest& request) const;
/**
*
Deletes the MSK cluster specified by the Amazon Resource Name
* (ARN) in the request.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeleteClusterOutcomeCallable DeleteClusterCallable(const Model::DeleteClusterRequest& request) const;
/**
*
Deletes the MSK cluster specified by the Amazon Resource Name
* (ARN) in the request.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Deletes an MSK Configuration.
See Also:
* AWS
* API Reference
*/
virtual Model::DeleteConfigurationOutcome DeleteConfiguration(const Model::DeleteConfigurationRequest& request) const;
/**
*
Deletes an MSK Configuration.
See Also:
* AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeleteConfigurationOutcomeCallable DeleteConfigurationCallable(const Model::DeleteConfigurationRequest& request) const;
/**
*
Deletes an MSK Configuration.
See Also:
* AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeleteConfigurationAsync(const Model::DeleteConfigurationRequest& request, const DeleteConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a description of the MSK cluster whose Amazon Resource
* Name (ARN) is specified in the request.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeClusterOutcome DescribeCluster(const Model::DescribeClusterRequest& request) const;
/**
*
Returns a description of the MSK cluster whose Amazon Resource
* Name (ARN) is specified in the request.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DescribeClusterOutcomeCallable DescribeClusterCallable(const Model::DescribeClusterRequest& request) const;
/**
*
Returns a description of the MSK cluster whose Amazon Resource
* Name (ARN) is specified in the request.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DescribeClusterAsync(const Model::DescribeClusterRequest& request, const DescribeClusterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a description of the cluster operation specified by the
* ARN.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeClusterOperationOutcome DescribeClusterOperation(const Model::DescribeClusterOperationRequest& request) const;
/**
*
Returns a description of the cluster operation specified by the
* ARN.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DescribeClusterOperationOutcomeCallable DescribeClusterOperationCallable(const Model::DescribeClusterOperationRequest& request) const;
/**
*
Returns a description of the cluster operation specified by the
* ARN.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DescribeClusterOperationAsync(const Model::DescribeClusterOperationRequest& request, const DescribeClusterOperationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a description of this MSK configuration.
* See Also:
AWS
* API Reference
*/
virtual Model::DescribeConfigurationOutcome DescribeConfiguration(const Model::DescribeConfigurationRequest& request) const;
/**
*
Returns a description of this MSK configuration.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DescribeConfigurationOutcomeCallable DescribeConfigurationCallable(const Model::DescribeConfigurationRequest& request) const;
/**
*
Returns a description of this MSK configuration.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DescribeConfigurationAsync(const Model::DescribeConfigurationRequest& request, const DescribeConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a description of this revision of the
* configuration.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeConfigurationRevisionOutcome DescribeConfigurationRevision(const Model::DescribeConfigurationRevisionRequest& request) const;
/**
*
Returns a description of this revision of the
* configuration.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DescribeConfigurationRevisionOutcomeCallable DescribeConfigurationRevisionCallable(const Model::DescribeConfigurationRevisionRequest& request) const;
/**
*
Returns a description of this revision of the
* configuration.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DescribeConfigurationRevisionAsync(const Model::DescribeConfigurationRevisionRequest& request, const DescribeConfigurationRevisionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
A list of brokers that a client application can use to
* bootstrap.
See Also:
AWS
* API Reference
*/
virtual Model::GetBootstrapBrokersOutcome GetBootstrapBrokers(const Model::GetBootstrapBrokersRequest& request) const;
/**
*
A list of brokers that a client application can use to
* bootstrap.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetBootstrapBrokersOutcomeCallable GetBootstrapBrokersCallable(const Model::GetBootstrapBrokersRequest& request) const;
/**
*
A list of brokers that a client application can use to
* bootstrap.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetBootstrapBrokersAsync(const Model::GetBootstrapBrokersRequest& request, const GetBootstrapBrokersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Gets the Apache Kafka versions to which you can update the MSK
* cluster.
See Also:
AWS
* API Reference
*/
virtual Model::GetCompatibleKafkaVersionsOutcome GetCompatibleKafkaVersions(const Model::GetCompatibleKafkaVersionsRequest& request) const;
/**
*
Gets the Apache Kafka versions to which you can update the MSK
* cluster.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetCompatibleKafkaVersionsOutcomeCallable GetCompatibleKafkaVersionsCallable(const Model::GetCompatibleKafkaVersionsRequest& request) const;
/**
*
Gets the Apache Kafka versions to which you can update the MSK
* cluster.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetCompatibleKafkaVersionsAsync(const Model::GetCompatibleKafkaVersionsRequest& request, const GetCompatibleKafkaVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of all the operations that have been performed on
* the specified MSK cluster.
See Also:
AWS
* API Reference
*/
virtual Model::ListClusterOperationsOutcome ListClusterOperations(const Model::ListClusterOperationsRequest& request) const;
/**
*
Returns a list of all the operations that have been performed on
* the specified MSK cluster.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListClusterOperationsOutcomeCallable ListClusterOperationsCallable(const Model::ListClusterOperationsRequest& request) const;
/**
*
Returns a list of all the operations that have been performed on
* the specified MSK cluster.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListClusterOperationsAsync(const Model::ListClusterOperationsRequest& request, const ListClusterOperationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of all the MSK clusters in the current
* Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListClustersOutcome ListClusters(const Model::ListClustersRequest& request) const;
/**
*
Returns a list of all the MSK clusters in the current
* Region.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListClustersOutcomeCallable ListClustersCallable(const Model::ListClustersRequest& request) const;
/**
*
Returns a list of all the MSK clusters in the current
* Region.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListClustersAsync(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListConfigurationRevisionsOutcome ListConfigurationRevisions(const Model::ListConfigurationRevisionsRequest& request) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListConfigurationRevisionsOutcomeCallable ListConfigurationRevisionsCallable(const Model::ListConfigurationRevisionsRequest& request) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListConfigurationRevisionsAsync(const Model::ListConfigurationRevisionsRequest& request, const ListConfigurationRevisionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListConfigurationsOutcome ListConfigurations(const Model::ListConfigurationsRequest& request) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListConfigurationsOutcomeCallable ListConfigurationsCallable(const Model::ListConfigurationsRequest& request) const;
/**
*
Returns a list of all the MSK configurations in this
* Region.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListConfigurationsAsync(const Model::ListConfigurationsRequest& request, const ListConfigurationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of Kafka versions.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListKafkaVersionsOutcome ListKafkaVersions(const Model::ListKafkaVersionsRequest& request) const;
/**
*
Returns a list of Kafka versions.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListKafkaVersionsOutcomeCallable ListKafkaVersionsCallable(const Model::ListKafkaVersionsRequest& request) const;
/**
*
Returns a list of Kafka versions.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListKafkaVersionsAsync(const Model::ListKafkaVersionsRequest& request, const ListKafkaVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of the broker nodes in the cluster.
* See Also:
AWS API
* Reference
*/
virtual Model::ListNodesOutcome ListNodes(const Model::ListNodesRequest& request) const;
/**
*
Returns a list of the broker nodes in the cluster.
* See Also:
AWS API
* Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListNodesOutcomeCallable ListNodesCallable(const Model::ListNodesRequest& request) const;
/**
*
Returns a list of the broker nodes in the cluster.
* See Also:
AWS API
* Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListNodesAsync(const Model::ListNodesRequest& request, const ListNodesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Returns a list of the tags associated with the specified
* resource.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
*
Returns a list of the tags associated with the specified
* resource.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
/**
*
Returns a list of the tags associated with the specified
* resource.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Reboots brokers.See Also:
AWS
* API Reference
*/
virtual Model::RebootBrokerOutcome RebootBroker(const Model::RebootBrokerRequest& request) const;
/**
* Reboots brokers.See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RebootBrokerOutcomeCallable RebootBrokerCallable(const Model::RebootBrokerRequest& request) const;
/**
* Reboots brokers.See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RebootBrokerAsync(const Model::RebootBrokerRequest& request, const RebootBrokerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Adds tags to the specified MSK resource.
See
* Also:
AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
*
Adds tags to the specified MSK resource.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const;
/**
*
Adds tags to the specified MSK resource.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Removes the tags associated with the keys that are provided in
* the query.
See Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
*
Removes the tags associated with the keys that are provided in
* the query.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const;
/**
*
Removes the tags associated with the keys that are provided in
* the query.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates the number of broker nodes in the cluster.
* See Also:
AWS
* API Reference
*/
virtual Model::UpdateBrokerCountOutcome UpdateBrokerCount(const Model::UpdateBrokerCountRequest& request) const;
/**
*
Updates the number of broker nodes in the cluster.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateBrokerCountOutcomeCallable UpdateBrokerCountCallable(const Model::UpdateBrokerCountRequest& request) const;
/**
*
Updates the number of broker nodes in the cluster.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateBrokerCountAsync(const Model::UpdateBrokerCountRequest& request, const UpdateBrokerCountResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates the EBS storage associated with MSK brokers.
* See Also:
AWS
* API Reference
*/
virtual Model::UpdateBrokerStorageOutcome UpdateBrokerStorage(const Model::UpdateBrokerStorageRequest& request) const;
/**
*
Updates the EBS storage associated with MSK brokers.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateBrokerStorageOutcomeCallable UpdateBrokerStorageCallable(const Model::UpdateBrokerStorageRequest& request) const;
/**
*
Updates the EBS storage associated with MSK brokers.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateBrokerStorageAsync(const Model::UpdateBrokerStorageRequest& request, const UpdateBrokerStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates an MSK configuration.
See Also:
* AWS
* API Reference
*/
virtual Model::UpdateConfigurationOutcome UpdateConfiguration(const Model::UpdateConfigurationRequest& request) const;
/**
*
Updates an MSK configuration.
See Also:
* AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateConfigurationOutcomeCallable UpdateConfigurationCallable(const Model::UpdateConfigurationRequest& request) const;
/**
*
Updates an MSK configuration.
See Also:
* AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateConfigurationAsync(const Model::UpdateConfigurationRequest& request, const UpdateConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates the cluster with the configuration that is specified in
* the request body.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateClusterConfigurationOutcome UpdateClusterConfiguration(const Model::UpdateClusterConfigurationRequest& request) const;
/**
*
Updates the cluster with the configuration that is specified in
* the request body.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateClusterConfigurationOutcomeCallable UpdateClusterConfigurationCallable(const Model::UpdateClusterConfigurationRequest& request) const;
/**
*
Updates the cluster with the configuration that is specified in
* the request body.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateClusterConfigurationAsync(const Model::UpdateClusterConfigurationRequest& request, const UpdateClusterConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates the Apache Kafka version for the cluster.
* See Also:
AWS
* API Reference
*/
virtual Model::UpdateClusterKafkaVersionOutcome UpdateClusterKafkaVersion(const Model::UpdateClusterKafkaVersionRequest& request) const;
/**
*
Updates the Apache Kafka version for the cluster.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateClusterKafkaVersionOutcomeCallable UpdateClusterKafkaVersionCallable(const Model::UpdateClusterKafkaVersionRequest& request) const;
/**
*
Updates the Apache Kafka version for the cluster.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateClusterKafkaVersionAsync(const Model::UpdateClusterKafkaVersionRequest& request, const UpdateClusterKafkaVersionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
*
Updates the monitoring settings for the cluster. You can use
* this operation to specify which Apache Kafka metrics you want Amazon MSK to send
* to Amazon CloudWatch. You can also specify settings for open monitoring with
* Prometheus.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateMonitoringOutcome UpdateMonitoring(const Model::UpdateMonitoringRequest& request) const;
/**
*
Updates the monitoring settings for the cluster. You can use
* this operation to specify which Apache Kafka metrics you want Amazon MSK to send
* to Amazon CloudWatch. You can also specify settings for open monitoring with
* Prometheus.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateMonitoringOutcomeCallable UpdateMonitoringCallable(const Model::UpdateMonitoringRequest& request) const;
/**
*
Updates the monitoring settings for the cluster. You can use
* this operation to specify which Apache Kafka metrics you want Amazon MSK to send
* to Amazon CloudWatch. You can also specify settings for open monitoring with
* Prometheus.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateMonitoringAsync(const Model::UpdateMonitoringRequest& request, const UpdateMonitoringResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
void OverrideEndpoint(const Aws::String& endpoint);
private:
void init(const Aws::Client::ClientConfiguration& clientConfiguration);
void CreateClusterAsyncHelper(const Model::CreateClusterRequest& request, const CreateClusterResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void CreateConfigurationAsyncHelper(const Model::CreateConfigurationRequest& request, const CreateConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeleteClusterAsyncHelper(const Model::DeleteClusterRequest& request, const DeleteClusterResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeleteConfigurationAsyncHelper(const Model::DeleteConfigurationRequest& request, const DeleteConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DescribeClusterAsyncHelper(const Model::DescribeClusterRequest& request, const DescribeClusterResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DescribeClusterOperationAsyncHelper(const Model::DescribeClusterOperationRequest& request, const DescribeClusterOperationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DescribeConfigurationAsyncHelper(const Model::DescribeConfigurationRequest& request, const DescribeConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DescribeConfigurationRevisionAsyncHelper(const Model::DescribeConfigurationRevisionRequest& request, const DescribeConfigurationRevisionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetBootstrapBrokersAsyncHelper(const Model::GetBootstrapBrokersRequest& request, const GetBootstrapBrokersResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetCompatibleKafkaVersionsAsyncHelper(const Model::GetCompatibleKafkaVersionsRequest& request, const GetCompatibleKafkaVersionsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListClusterOperationsAsyncHelper(const Model::ListClusterOperationsRequest& request, const ListClusterOperationsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListClustersAsyncHelper(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListConfigurationRevisionsAsyncHelper(const Model::ListConfigurationRevisionsRequest& request, const ListConfigurationRevisionsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListConfigurationsAsyncHelper(const Model::ListConfigurationsRequest& request, const ListConfigurationsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListKafkaVersionsAsyncHelper(const Model::ListKafkaVersionsRequest& request, const ListKafkaVersionsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListNodesAsyncHelper(const Model::ListNodesRequest& request, const ListNodesResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void RebootBrokerAsyncHelper(const Model::RebootBrokerRequest& request, const RebootBrokerResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateBrokerCountAsyncHelper(const Model::UpdateBrokerCountRequest& request, const UpdateBrokerCountResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateBrokerStorageAsyncHelper(const Model::UpdateBrokerStorageRequest& request, const UpdateBrokerStorageResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateConfigurationAsyncHelper(const Model::UpdateConfigurationRequest& request, const UpdateConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateClusterConfigurationAsyncHelper(const Model::UpdateClusterConfigurationRequest& request, const UpdateClusterConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateClusterKafkaVersionAsyncHelper(const Model::UpdateClusterKafkaVersionRequest& request, const UpdateClusterKafkaVersionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdateMonitoringAsyncHelper(const Model::UpdateMonitoringRequest& request, const UpdateMonitoringResponseReceivedHandler& handler, const std::shared_ptr& context) const;
Aws::String m_uri;
Aws::String m_configScheme;
std::shared_ptr m_executor;
};
} // namespace Kafka
} // namespace Aws