AWS SDK for C++  0.14.3
AWS SDK for C++
EMRClient.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
35 #include <aws/core/NoResult.h>
38 #include <future>
39 #include <functional>
40 
41 namespace Aws
42 {
43 
44 namespace Http
45 {
46  class HttpClient;
47  class HttpClientFactory;
48 } // namespace Http
49 
50 namespace Utils
51 {
52  template< typename R, typename E> class Outcome;
53 
54 namespace Threading
55 {
56  class Executor;
57 } // namespace Threading
58 
59 namespace Json
60 {
61  class JsonValue;
62 } // namespace Json
63 } // namespace Utils
64 
65 namespace Auth
66 {
67  class AWSCredentials;
68  class AWSCredentialsProvider;
69 } // namespace Auth
70 
71 namespace Client
72 {
73  class RetryStrategy;
74 } // namespace Client
75 
76 namespace EMR
77 {
78 
79 namespace Model
80 {
83  class AddTagsRequest;
85  class DescribeStepRequest;
87  class ListClustersRequest;
90  class ListStepsRequest;
92  class RemoveTagsRequest;
93  class RunJobFlowRequest;
97 
114 
115  typedef std::future<AddInstanceGroupsOutcome> AddInstanceGroupsOutcomeCallable;
116  typedef std::future<AddJobFlowStepsOutcome> AddJobFlowStepsOutcomeCallable;
117  typedef std::future<AddTagsOutcome> AddTagsOutcomeCallable;
118  typedef std::future<DescribeClusterOutcome> DescribeClusterOutcomeCallable;
119  typedef std::future<DescribeStepOutcome> DescribeStepOutcomeCallable;
120  typedef std::future<ListBootstrapActionsOutcome> ListBootstrapActionsOutcomeCallable;
121  typedef std::future<ListClustersOutcome> ListClustersOutcomeCallable;
122  typedef std::future<ListInstanceGroupsOutcome> ListInstanceGroupsOutcomeCallable;
123  typedef std::future<ListInstancesOutcome> ListInstancesOutcomeCallable;
124  typedef std::future<ListStepsOutcome> ListStepsOutcomeCallable;
125  typedef std::future<ModifyInstanceGroupsOutcome> ModifyInstanceGroupsOutcomeCallable;
126  typedef std::future<RemoveTagsOutcome> RemoveTagsOutcomeCallable;
127  typedef std::future<RunJobFlowOutcome> RunJobFlowOutcomeCallable;
128  typedef std::future<SetTerminationProtectionOutcome> SetTerminationProtectionOutcomeCallable;
129  typedef std::future<SetVisibleToAllUsersOutcome> SetVisibleToAllUsersOutcomeCallable;
130  typedef std::future<TerminateJobFlowsOutcome> TerminateJobFlowsOutcomeCallable;
131 } // namespace Model
132 
133  class EMRClient;
134 
135  typedef std::function<void(const EMRClient*, const Model::AddInstanceGroupsRequest&, const Model::AddInstanceGroupsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddInstanceGroupsResponseReceivedHandler;
136  typedef std::function<void(const EMRClient*, const Model::AddJobFlowStepsRequest&, const Model::AddJobFlowStepsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddJobFlowStepsResponseReceivedHandler;
137  typedef std::function<void(const EMRClient*, const Model::AddTagsRequest&, const Model::AddTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddTagsResponseReceivedHandler;
138  typedef std::function<void(const EMRClient*, const Model::DescribeClusterRequest&, const Model::DescribeClusterOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeClusterResponseReceivedHandler;
139  typedef std::function<void(const EMRClient*, const Model::DescribeStepRequest&, const Model::DescribeStepOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeStepResponseReceivedHandler;
140  typedef std::function<void(const EMRClient*, const Model::ListBootstrapActionsRequest&, const Model::ListBootstrapActionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListBootstrapActionsResponseReceivedHandler;
141  typedef std::function<void(const EMRClient*, const Model::ListClustersRequest&, const Model::ListClustersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListClustersResponseReceivedHandler;
142  typedef std::function<void(const EMRClient*, const Model::ListInstanceGroupsRequest&, const Model::ListInstanceGroupsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInstanceGroupsResponseReceivedHandler;
143  typedef std::function<void(const EMRClient*, const Model::ListInstancesRequest&, const Model::ListInstancesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInstancesResponseReceivedHandler;
144  typedef std::function<void(const EMRClient*, const Model::ListStepsRequest&, const Model::ListStepsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListStepsResponseReceivedHandler;
145  typedef std::function<void(const EMRClient*, const Model::ModifyInstanceGroupsRequest&, const Model::ModifyInstanceGroupsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceGroupsResponseReceivedHandler;
146  typedef std::function<void(const EMRClient*, const Model::RemoveTagsRequest&, const Model::RemoveTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveTagsResponseReceivedHandler;
147  typedef std::function<void(const EMRClient*, const Model::RunJobFlowRequest&, const Model::RunJobFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RunJobFlowResponseReceivedHandler;
148  typedef std::function<void(const EMRClient*, const Model::SetTerminationProtectionRequest&, const Model::SetTerminationProtectionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetTerminationProtectionResponseReceivedHandler;
149  typedef std::function<void(const EMRClient*, const Model::SetVisibleToAllUsersRequest&, const Model::SetVisibleToAllUsersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetVisibleToAllUsersResponseReceivedHandler;
150  typedef std::function<void(const EMRClient*, const Model::TerminateJobFlowsRequest&, const Model::TerminateJobFlowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TerminateJobFlowsResponseReceivedHandler;
151 
160  {
161  public:
163 
168  EMRClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
169 
174  EMRClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
175 
180  EMRClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
181  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
182 
183  virtual ~EMRClient();
184 
188  virtual Model::AddInstanceGroupsOutcome AddInstanceGroups(const Model::AddInstanceGroupsRequest& request) const;
189 
195  virtual Model::AddInstanceGroupsOutcomeCallable AddInstanceGroupsCallable(const Model::AddInstanceGroupsRequest& request) const;
196 
202  virtual void AddInstanceGroupsAsync(const Model::AddInstanceGroupsRequest& request, const AddInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
203 
225  virtual Model::AddJobFlowStepsOutcome AddJobFlowSteps(const Model::AddJobFlowStepsRequest& request) const;
226 
250  virtual Model::AddJobFlowStepsOutcomeCallable AddJobFlowStepsCallable(const Model::AddJobFlowStepsRequest& request) const;
251 
275  virtual void AddJobFlowStepsAsync(const Model::AddJobFlowStepsRequest& request, const AddJobFlowStepsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
276 
284  virtual Model::AddTagsOutcome AddTags(const Model::AddTagsRequest& request) const;
285 
295  virtual Model::AddTagsOutcomeCallable AddTagsCallable(const Model::AddTagsRequest& request) const;
296 
306  virtual void AddTagsAsync(const Model::AddTagsRequest& request, const AddTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
307 
313  virtual Model::DescribeClusterOutcome DescribeCluster(const Model::DescribeClusterRequest& request) const;
314 
322  virtual Model::DescribeClusterOutcomeCallable DescribeClusterCallable(const Model::DescribeClusterRequest& request) const;
323 
331  virtual void DescribeClusterAsync(const Model::DescribeClusterRequest& request, const DescribeClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
332 
336  virtual Model::DescribeStepOutcome DescribeStep(const Model::DescribeStepRequest& request) const;
337 
343  virtual Model::DescribeStepOutcomeCallable DescribeStepCallable(const Model::DescribeStepRequest& request) const;
344 
350  virtual void DescribeStepAsync(const Model::DescribeStepRequest& request, const DescribeStepResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
351 
356  virtual Model::ListBootstrapActionsOutcome ListBootstrapActions(const Model::ListBootstrapActionsRequest& request) const;
357 
364  virtual Model::ListBootstrapActionsOutcomeCallable ListBootstrapActionsCallable(const Model::ListBootstrapActionsRequest& request) const;
365 
372  virtual void ListBootstrapActionsAsync(const Model::ListBootstrapActionsRequest& request, const ListBootstrapActionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
373 
381  virtual Model::ListClustersOutcome ListClusters(const Model::ListClustersRequest& request) const;
382 
392  virtual Model::ListClustersOutcomeCallable ListClustersCallable(const Model::ListClustersRequest& request) const;
393 
403  virtual void ListClustersAsync(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
404 
408  virtual Model::ListInstanceGroupsOutcome ListInstanceGroups(const Model::ListInstanceGroupsRequest& request) const;
409 
415  virtual Model::ListInstanceGroupsOutcomeCallable ListInstanceGroupsCallable(const Model::ListInstanceGroupsRequest& request) const;
416 
422  virtual void ListInstanceGroupsAsync(const Model::ListInstanceGroupsRequest& request, const ListInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
423 
431  virtual Model::ListInstancesOutcome ListInstances(const Model::ListInstancesRequest& request) const;
432 
442  virtual Model::ListInstancesOutcomeCallable ListInstancesCallable(const Model::ListInstancesRequest& request) const;
443 
453  virtual void ListInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
454 
458  virtual Model::ListStepsOutcome ListSteps(const Model::ListStepsRequest& request) const;
459 
465  virtual Model::ListStepsOutcomeCallable ListStepsCallable(const Model::ListStepsRequest& request) const;
466 
472  virtual void ListStepsAsync(const Model::ListStepsRequest& request, const ListStepsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
473 
480  virtual Model::ModifyInstanceGroupsOutcome ModifyInstanceGroups(const Model::ModifyInstanceGroupsRequest& request) const;
481 
490  virtual Model::ModifyInstanceGroupsOutcomeCallable ModifyInstanceGroupsCallable(const Model::ModifyInstanceGroupsRequest& request) const;
491 
500  virtual void ModifyInstanceGroupsAsync(const Model::ModifyInstanceGroupsRequest& request, const ModifyInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
501 
510  virtual Model::RemoveTagsOutcome RemoveTags(const Model::RemoveTagsRequest& request) const;
511 
522  virtual Model::RemoveTagsOutcomeCallable RemoveTagsCallable(const Model::RemoveTagsRequest& request) const;
523 
534  virtual void RemoveTagsAsync(const Model::RemoveTagsRequest& request, const RemoveTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
535 
558  virtual Model::RunJobFlowOutcome RunJobFlow(const Model::RunJobFlowRequest& request) const;
559 
584  virtual Model::RunJobFlowOutcomeCallable RunJobFlowCallable(const Model::RunJobFlowRequest& request) const;
585 
610  virtual void RunJobFlowAsync(const Model::RunJobFlowRequest& request, const RunJobFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
611 
629  virtual Model::SetTerminationProtectionOutcome SetTerminationProtection(const Model::SetTerminationProtectionRequest& request) const;
630 
650  virtual Model::SetTerminationProtectionOutcomeCallable SetTerminationProtectionCallable(const Model::SetTerminationProtectionRequest& request) const;
651 
671  virtual void SetTerminationProtectionAsync(const Model::SetTerminationProtectionRequest& request, const SetTerminationProtectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
672 
681  virtual Model::SetVisibleToAllUsersOutcome SetVisibleToAllUsers(const Model::SetVisibleToAllUsersRequest& request) const;
682 
693  virtual Model::SetVisibleToAllUsersOutcomeCallable SetVisibleToAllUsersCallable(const Model::SetVisibleToAllUsersRequest& request) const;
694 
705  virtual void SetVisibleToAllUsersAsync(const Model::SetVisibleToAllUsersRequest& request, const SetVisibleToAllUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
706 
717  virtual Model::TerminateJobFlowsOutcome TerminateJobFlows(const Model::TerminateJobFlowsRequest& request) const;
718 
731  virtual Model::TerminateJobFlowsOutcomeCallable TerminateJobFlowsCallable(const Model::TerminateJobFlowsRequest& request) const;
732 
745  virtual void TerminateJobFlowsAsync(const Model::TerminateJobFlowsRequest& request, const TerminateJobFlowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
746 
747 
748  private:
749  void init(const Client::ClientConfiguration& clientConfiguration);
750 
752  void AddInstanceGroupsAsyncHelper(const Model::AddInstanceGroupsRequest& request, const AddInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
753  void AddJobFlowStepsAsyncHelper(const Model::AddJobFlowStepsRequest& request, const AddJobFlowStepsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
754  void AddTagsAsyncHelper(const Model::AddTagsRequest& request, const AddTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
755  void DescribeClusterAsyncHelper(const Model::DescribeClusterRequest& request, const DescribeClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
756  void DescribeStepAsyncHelper(const Model::DescribeStepRequest& request, const DescribeStepResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
757  void ListBootstrapActionsAsyncHelper(const Model::ListBootstrapActionsRequest& request, const ListBootstrapActionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
758  void ListClustersAsyncHelper(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
759  void ListInstanceGroupsAsyncHelper(const Model::ListInstanceGroupsRequest& request, const ListInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
760  void ListInstancesAsyncHelper(const Model::ListInstancesRequest& request, const ListInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
761  void ListStepsAsyncHelper(const Model::ListStepsRequest& request, const ListStepsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
762  void ModifyInstanceGroupsAsyncHelper(const Model::ModifyInstanceGroupsRequest& request, const ModifyInstanceGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
763  void RemoveTagsAsyncHelper(const Model::RemoveTagsRequest& request, const RemoveTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
764  void RunJobFlowAsyncHelper(const Model::RunJobFlowRequest& request, const RunJobFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
765  void SetTerminationProtectionAsyncHelper(const Model::SetTerminationProtectionRequest& request, const SetTerminationProtectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
766  void SetVisibleToAllUsersAsyncHelper(const Model::SetVisibleToAllUsersRequest& request, const SetVisibleToAllUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
767  void TerminateJobFlowsAsyncHelper(const Model::TerminateJobFlowsRequest& request, const TerminateJobFlowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
768 
769  Aws::String m_uri;
770  std::shared_ptr<Utils::Threading::Executor> m_executor;
771  };
772 
773 } // namespace EMR
774 } // namespace Aws
std::function< void(const EMRClient *, const Model::TerminateJobFlowsRequest &, const Model::TerminateJobFlowsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TerminateJobFlowsResponseReceivedHandler
Definition: EMRClient.h:150
Aws::Utils::Outcome< AddJobFlowStepsResult, Aws::Client::AWSError< EMRErrors > > AddJobFlowStepsOutcome
Definition: EMRClient.h:99
Aws::Utils::Outcome< DescribeClusterResult, Aws::Client::AWSError< EMRErrors > > DescribeClusterOutcome
Definition: EMRClient.h:101
Aws::Utils::Outcome< ListInstanceGroupsResult, Aws::Client::AWSError< EMRErrors > > ListInstanceGroupsOutcome
Definition: EMRClient.h:105
Aws::Client::AWSJsonClient BASECLASS
Definition: EMRClient.h:162
std::future< ModifyInstanceGroupsOutcome > ModifyInstanceGroupsOutcomeCallable
Definition: EMRClient.h:125
std::future< RunJobFlowOutcome > RunJobFlowOutcomeCallable
Definition: EMRClient.h:127
Aws::Utils::Outcome< DescribeStepResult, Aws::Client::AWSError< EMRErrors > > DescribeStepOutcome
Definition: EMRClient.h:102
std::function< void(const EMRClient *, const Model::ModifyInstanceGroupsRequest &, const Model::ModifyInstanceGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ModifyInstanceGroupsResponseReceivedHandler
Definition: EMRClient.h:145
Aws::Utils::Outcome< RunJobFlowResult, Aws::Client::AWSError< EMRErrors > > RunJobFlowOutcome
Definition: EMRClient.h:110
std::function< void(const EMRClient *, const Model::RunJobFlowRequest &, const Model::RunJobFlowOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RunJobFlowResponseReceivedHandler
Definition: EMRClient.h:147
std::function< void(const EMRClient *, const Model::DescribeClusterRequest &, const Model::DescribeClusterOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeClusterResponseReceivedHandler
Definition: EMRClient.h:138
std::future< DescribeClusterOutcome > DescribeClusterOutcomeCallable
Definition: EMRClient.h:118
Aws::Utils::Outcome< ListStepsResult, Aws::Client::AWSError< EMRErrors > > ListStepsOutcome
Definition: EMRClient.h:107
std::function< void(const EMRClient *, const Model::ListBootstrapActionsRequest &, const Model::ListBootstrapActionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListBootstrapActionsResponseReceivedHandler
Definition: EMRClient.h:140
Aws::Utils::Outcome< RemoveTagsResult, Aws::Client::AWSError< EMRErrors > > RemoveTagsOutcome
Definition: EMRClient.h:109
Aws::Utils::Outcome< AddInstanceGroupsResult, Aws::Client::AWSError< EMRErrors > > AddInstanceGroupsOutcome
Definition: EMRClient.h:96
std::function< void(const EMRClient *, const Model::AddInstanceGroupsRequest &, const Model::AddInstanceGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddInstanceGroupsResponseReceivedHandler
Definition: EMRClient.h:133
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< EMRErrors > > TerminateJobFlowsOutcome
Definition: EMRClient.h:113
std::function< void(const EMRClient *, const Model::AddJobFlowStepsRequest &, const Model::AddJobFlowStepsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddJobFlowStepsResponseReceivedHandler
Definition: EMRClient.h:136
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< EMRErrors > > SetTerminationProtectionOutcome
Definition: EMRClient.h:111
std::future< DescribeStepOutcome > DescribeStepOutcomeCallable
Definition: EMRClient.h:119
std::function< void(const EMRClient *, const Model::ListClustersRequest &, const Model::ListClustersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListClustersResponseReceivedHandler
Definition: EMRClient.h:141
std::function< void(const EMRClient *, const Model::ListInstanceGroupsRequest &, const Model::ListInstanceGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListInstanceGroupsResponseReceivedHandler
Definition: EMRClient.h:142
std::function< void(const EMRClient *, const Model::RemoveTagsRequest &, const Model::RemoveTagsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemoveTagsResponseReceivedHandler
Definition: EMRClient.h:146
std::function< void(const EMRClient *, const Model::ListStepsRequest &, const Model::ListStepsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListStepsResponseReceivedHandler
Definition: EMRClient.h:144
std::future< TerminateJobFlowsOutcome > TerminateJobFlowsOutcomeCallable
Definition: EMRClient.h:130
std::future< RemoveTagsOutcome > RemoveTagsOutcomeCallable
Definition: EMRClient.h:126
Aws::Utils::Outcome< ListBootstrapActionsResult, Aws::Client::AWSError< EMRErrors > > ListBootstrapActionsOutcome
Definition: EMRClient.h:103
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< EMRErrors > > ModifyInstanceGroupsOutcome
Definition: EMRClient.h:108
std::function< void(const EMRClient *, const Model::SetTerminationProtectionRequest &, const Model::SetTerminationProtectionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetTerminationProtectionResponseReceivedHandler
Definition: EMRClient.h:148
std::function< void(const EMRClient *, const Model::ListInstancesRequest &, const Model::ListInstancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListInstancesResponseReceivedHandler
Definition: EMRClient.h:143
std::future< AddInstanceGroupsOutcome > AddInstanceGroupsOutcomeCallable
Definition: EMRClient.h:115
std::function< void(const EMRClient *, const Model::DescribeStepRequest &, const Model::DescribeStepOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeStepResponseReceivedHandler
Definition: EMRClient.h:139
std::function< void(const EMRClient *, const Model::AddTagsRequest &, const Model::AddTagsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddTagsResponseReceivedHandler
Definition: EMRClient.h:137
std::future< SetVisibleToAllUsersOutcome > SetVisibleToAllUsersOutcomeCallable
Definition: EMRClient.h:129
std::function< void(const EMRClient *, const Model::SetVisibleToAllUsersRequest &, const Model::SetVisibleToAllUsersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetVisibleToAllUsersResponseReceivedHandler
Definition: EMRClient.h:149
Aws::Utils::Outcome< AddTagsResult, Aws::Client::AWSError< EMRErrors > > AddTagsOutcome
Definition: EMRClient.h:100
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Utils::Outcome< ListInstancesResult, Aws::Client::AWSError< EMRErrors > > ListInstancesOutcome
Definition: EMRClient.h:106
std::future< ListInstanceGroupsOutcome > ListInstanceGroupsOutcomeCallable
Definition: EMRClient.h:122
std::future< ListClustersOutcome > ListClustersOutcomeCallable
Definition: EMRClient.h:121
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< EMRErrors > > SetVisibleToAllUsersOutcome
Definition: EMRClient.h:112
std::future< ListBootstrapActionsOutcome > ListBootstrapActionsOutcomeCallable
Definition: EMRClient.h:120
Aws::Utils::Outcome< ListClustersResult, Aws::Client::AWSError< EMRErrors > > ListClustersOutcome
Definition: EMRClient.h:104
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:37
std::future< AddJobFlowStepsOutcome > AddJobFlowStepsOutcomeCallable
Definition: EMRClient.h:116
std::future< SetTerminationProtectionOutcome > SetTerminationProtectionOutcomeCallable
Definition: EMRClient.h:128
std::future< AddTagsOutcome > AddTagsOutcomeCallable
Definition: EMRClient.h:117
JSON (JavaScript Object Notation).
std::future< ListInstancesOutcome > ListInstancesOutcomeCallable
Definition: EMRClient.h:123
std::future< ListStepsOutcome > ListStepsOutcomeCallable
Definition: EMRClient.h:124