AWS SDK for C++  0.12.9
AWS SDK for C++
ConfigServiceClient.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
39 #include <aws/core/NoResult.h>
42 #include <future>
43 #include <functional>
44 
45 namespace Aws
46 {
47 
48 namespace Http
49 {
50  class HttpClient;
51  class HttpClientFactory;
52 } // namespace Http
53 
54 namespace Utils
55 {
56  template< typename R, typename E> class Outcome;
57 
58 namespace Threading
59 {
60  class Executor;
61 } // namespace Threading
62 
63 namespace Json
64 {
65  class JsonValue;
66 } // namespace Json
67 } // namespace Utils
68 
69 namespace Auth
70 {
71  class AWSCredentials;
72  class AWSCredentialsProvider;
73 } // namespace Auth
74 
75 namespace Client
76 {
77  class RetryStrategy;
78 } // namespace Client
79 
80 namespace ConfigService
81 {
82 
83 namespace Model
84 {
101  class PutConfigRuleRequest;
104  class PutEvaluationsRequest;
107 
131 
132  typedef std::future<DeleteConfigRuleOutcome> DeleteConfigRuleOutcomeCallable;
133  typedef std::future<DeleteDeliveryChannelOutcome> DeleteDeliveryChannelOutcomeCallable;
134  typedef std::future<DeliverConfigSnapshotOutcome> DeliverConfigSnapshotOutcomeCallable;
135  typedef std::future<DescribeComplianceByConfigRuleOutcome> DescribeComplianceByConfigRuleOutcomeCallable;
136  typedef std::future<DescribeComplianceByResourceOutcome> DescribeComplianceByResourceOutcomeCallable;
137  typedef std::future<DescribeConfigRuleEvaluationStatusOutcome> DescribeConfigRuleEvaluationStatusOutcomeCallable;
138  typedef std::future<DescribeConfigRulesOutcome> DescribeConfigRulesOutcomeCallable;
139  typedef std::future<DescribeConfigurationRecorderStatusOutcome> DescribeConfigurationRecorderStatusOutcomeCallable;
140  typedef std::future<DescribeConfigurationRecordersOutcome> DescribeConfigurationRecordersOutcomeCallable;
141  typedef std::future<DescribeDeliveryChannelStatusOutcome> DescribeDeliveryChannelStatusOutcomeCallable;
142  typedef std::future<DescribeDeliveryChannelsOutcome> DescribeDeliveryChannelsOutcomeCallable;
143  typedef std::future<GetComplianceDetailsByConfigRuleOutcome> GetComplianceDetailsByConfigRuleOutcomeCallable;
144  typedef std::future<GetComplianceDetailsByResourceOutcome> GetComplianceDetailsByResourceOutcomeCallable;
145  typedef std::future<GetComplianceSummaryByConfigRuleOutcome> GetComplianceSummaryByConfigRuleOutcomeCallable;
146  typedef std::future<GetComplianceSummaryByResourceTypeOutcome> GetComplianceSummaryByResourceTypeOutcomeCallable;
147  typedef std::future<GetResourceConfigHistoryOutcome> GetResourceConfigHistoryOutcomeCallable;
148  typedef std::future<ListDiscoveredResourcesOutcome> ListDiscoveredResourcesOutcomeCallable;
149  typedef std::future<PutConfigRuleOutcome> PutConfigRuleOutcomeCallable;
150  typedef std::future<PutConfigurationRecorderOutcome> PutConfigurationRecorderOutcomeCallable;
151  typedef std::future<PutDeliveryChannelOutcome> PutDeliveryChannelOutcomeCallable;
152  typedef std::future<PutEvaluationsOutcome> PutEvaluationsOutcomeCallable;
153  typedef std::future<StartConfigurationRecorderOutcome> StartConfigurationRecorderOutcomeCallable;
154  typedef std::future<StopConfigurationRecorderOutcome> StopConfigurationRecorderOutcomeCallable;
155 } // namespace Model
156 
158 
159  typedef std::function<void(const ConfigServiceClient*, const Model::DeleteConfigRuleRequest&, const Model::DeleteConfigRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteConfigRuleResponseReceivedHandler;
160  typedef std::function<void(const ConfigServiceClient*, const Model::DeleteDeliveryChannelRequest&, const Model::DeleteDeliveryChannelOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDeliveryChannelResponseReceivedHandler;
161  typedef std::function<void(const ConfigServiceClient*, const Model::DeliverConfigSnapshotRequest&, const Model::DeliverConfigSnapshotOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeliverConfigSnapshotResponseReceivedHandler;
162  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeComplianceByConfigRuleRequest&, const Model::DescribeComplianceByConfigRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeComplianceByConfigRuleResponseReceivedHandler;
163  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeComplianceByResourceRequest&, const Model::DescribeComplianceByResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeComplianceByResourceResponseReceivedHandler;
164  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeConfigRuleEvaluationStatusRequest&, const Model::DescribeConfigRuleEvaluationStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeConfigRuleEvaluationStatusResponseReceivedHandler;
165  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeConfigRulesRequest&, const Model::DescribeConfigRulesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeConfigRulesResponseReceivedHandler;
166  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeConfigurationRecorderStatusRequest&, const Model::DescribeConfigurationRecorderStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeConfigurationRecorderStatusResponseReceivedHandler;
167  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeConfigurationRecordersRequest&, const Model::DescribeConfigurationRecordersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeConfigurationRecordersResponseReceivedHandler;
168  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeDeliveryChannelStatusRequest&, const Model::DescribeDeliveryChannelStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDeliveryChannelStatusResponseReceivedHandler;
169  typedef std::function<void(const ConfigServiceClient*, const Model::DescribeDeliveryChannelsRequest&, const Model::DescribeDeliveryChannelsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDeliveryChannelsResponseReceivedHandler;
170  typedef std::function<void(const ConfigServiceClient*, const Model::GetComplianceDetailsByConfigRuleRequest&, const Model::GetComplianceDetailsByConfigRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetComplianceDetailsByConfigRuleResponseReceivedHandler;
171  typedef std::function<void(const ConfigServiceClient*, const Model::GetComplianceDetailsByResourceRequest&, const Model::GetComplianceDetailsByResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetComplianceDetailsByResourceResponseReceivedHandler;
172  typedef std::function<void(const ConfigServiceClient*, const Model::GetComplianceSummaryByConfigRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetComplianceSummaryByConfigRuleResponseReceivedHandler;
173  typedef std::function<void(const ConfigServiceClient*, const Model::GetComplianceSummaryByResourceTypeRequest&, const Model::GetComplianceSummaryByResourceTypeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetComplianceSummaryByResourceTypeResponseReceivedHandler;
174  typedef std::function<void(const ConfigServiceClient*, const Model::GetResourceConfigHistoryRequest&, const Model::GetResourceConfigHistoryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetResourceConfigHistoryResponseReceivedHandler;
175  typedef std::function<void(const ConfigServiceClient*, const Model::ListDiscoveredResourcesRequest&, const Model::ListDiscoveredResourcesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListDiscoveredResourcesResponseReceivedHandler;
176  typedef std::function<void(const ConfigServiceClient*, const Model::PutConfigRuleRequest&, const Model::PutConfigRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutConfigRuleResponseReceivedHandler;
177  typedef std::function<void(const ConfigServiceClient*, const Model::PutConfigurationRecorderRequest&, const Model::PutConfigurationRecorderOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutConfigurationRecorderResponseReceivedHandler;
178  typedef std::function<void(const ConfigServiceClient*, const Model::PutDeliveryChannelRequest&, const Model::PutDeliveryChannelOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutDeliveryChannelResponseReceivedHandler;
179  typedef std::function<void(const ConfigServiceClient*, const Model::PutEvaluationsRequest&, const Model::PutEvaluationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutEvaluationsResponseReceivedHandler;
180  typedef std::function<void(const ConfigServiceClient*, const Model::StartConfigurationRecorderRequest&, const Model::StartConfigurationRecorderOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartConfigurationRecorderResponseReceivedHandler;
181  typedef std::function<void(const ConfigServiceClient*, const Model::StopConfigurationRecorderRequest&, const Model::StopConfigurationRecorderOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopConfigurationRecorderResponseReceivedHandler;
182 
208  {
209  public:
211 
217 
222  ConfigServiceClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
223 
228  ConfigServiceClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
229  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
230 
231  virtual ~ConfigServiceClient();
232 
242  virtual Model::DeleteConfigRuleOutcome DeleteConfigRule(const Model::DeleteConfigRuleRequest& request) const;
243 
255  virtual Model::DeleteConfigRuleOutcomeCallable DeleteConfigRuleCallable(const Model::DeleteConfigRuleRequest& request) const;
256 
268  virtual void DeleteConfigRuleAsync(const Model::DeleteConfigRuleRequest& request, const DeleteConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
269 
276  virtual Model::DeleteDeliveryChannelOutcome DeleteDeliveryChannel(const Model::DeleteDeliveryChannelRequest& request) const;
277 
286  virtual Model::DeleteDeliveryChannelOutcomeCallable DeleteDeliveryChannelCallable(const Model::DeleteDeliveryChannelRequest& request) const;
287 
296  virtual void DeleteDeliveryChannelAsync(const Model::DeleteDeliveryChannelRequest& request, const DeleteDeliveryChannelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
297 
307  virtual Model::DeliverConfigSnapshotOutcome DeliverConfigSnapshot(const Model::DeliverConfigSnapshotRequest& request) const;
308 
320  virtual Model::DeliverConfigSnapshotOutcomeCallable DeliverConfigSnapshotCallable(const Model::DeliverConfigSnapshotRequest& request) const;
321 
333  virtual void DeliverConfigSnapshotAsync(const Model::DeliverConfigSnapshotRequest& request, const DeliverConfigSnapshotResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
334 
355  virtual Model::DescribeComplianceByConfigRuleOutcome DescribeComplianceByConfigRule(const Model::DescribeComplianceByConfigRuleRequest& request) const;
356 
379  virtual Model::DescribeComplianceByConfigRuleOutcomeCallable DescribeComplianceByConfigRuleCallable(const Model::DescribeComplianceByConfigRuleRequest& request) const;
380 
403  virtual void DescribeComplianceByConfigRuleAsync(const Model::DescribeComplianceByConfigRuleRequest& request, const DescribeComplianceByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
404 
427  virtual Model::DescribeComplianceByResourceOutcome DescribeComplianceByResource(const Model::DescribeComplianceByResourceRequest& request) const;
428 
453  virtual Model::DescribeComplianceByResourceOutcomeCallable DescribeComplianceByResourceCallable(const Model::DescribeComplianceByResourceRequest& request) const;
454 
479  virtual void DescribeComplianceByResourceAsync(const Model::DescribeComplianceByResourceRequest& request, const DescribeComplianceByResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
480 
487  virtual Model::DescribeConfigRuleEvaluationStatusOutcome DescribeConfigRuleEvaluationStatus(const Model::DescribeConfigRuleEvaluationStatusRequest& request) const;
488 
497  virtual Model::DescribeConfigRuleEvaluationStatusOutcomeCallable DescribeConfigRuleEvaluationStatusCallable(const Model::DescribeConfigRuleEvaluationStatusRequest& request) const;
498 
507  virtual void DescribeConfigRuleEvaluationStatusAsync(const Model::DescribeConfigRuleEvaluationStatusRequest& request, const DescribeConfigRuleEvaluationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
508 
512  virtual Model::DescribeConfigRulesOutcome DescribeConfigRules(const Model::DescribeConfigRulesRequest& request) const;
513 
519  virtual Model::DescribeConfigRulesOutcomeCallable DescribeConfigRulesCallable(const Model::DescribeConfigRulesRequest& request) const;
520 
526  virtual void DescribeConfigRulesAsync(const Model::DescribeConfigRulesRequest& request, const DescribeConfigRulesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
527 
534  virtual Model::DescribeConfigurationRecorderStatusOutcome DescribeConfigurationRecorderStatus(const Model::DescribeConfigurationRecorderStatusRequest& request) const;
535 
544  virtual Model::DescribeConfigurationRecorderStatusOutcomeCallable DescribeConfigurationRecorderStatusCallable(const Model::DescribeConfigurationRecorderStatusRequest& request) const;
545 
554  virtual void DescribeConfigurationRecorderStatusAsync(const Model::DescribeConfigurationRecorderStatusRequest& request, const DescribeConfigurationRecorderStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
555 
562  virtual Model::DescribeConfigurationRecordersOutcome DescribeConfigurationRecorders(const Model::DescribeConfigurationRecordersRequest& request) const;
563 
572  virtual Model::DescribeConfigurationRecordersOutcomeCallable DescribeConfigurationRecordersCallable(const Model::DescribeConfigurationRecordersRequest& request) const;
573 
582  virtual void DescribeConfigurationRecordersAsync(const Model::DescribeConfigurationRecordersRequest& request, const DescribeConfigurationRecordersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
583 
590  virtual Model::DescribeDeliveryChannelStatusOutcome DescribeDeliveryChannelStatus(const Model::DescribeDeliveryChannelStatusRequest& request) const;
591 
600  virtual Model::DescribeDeliveryChannelStatusOutcomeCallable DescribeDeliveryChannelStatusCallable(const Model::DescribeDeliveryChannelStatusRequest& request) const;
601 
610  virtual void DescribeDeliveryChannelStatusAsync(const Model::DescribeDeliveryChannelStatusRequest& request, const DescribeDeliveryChannelStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
611 
618  virtual Model::DescribeDeliveryChannelsOutcome DescribeDeliveryChannels(const Model::DescribeDeliveryChannelsRequest& request) const;
619 
628  virtual Model::DescribeDeliveryChannelsOutcomeCallable DescribeDeliveryChannelsCallable(const Model::DescribeDeliveryChannelsRequest& request) const;
629 
638  virtual void DescribeDeliveryChannelsAsync(const Model::DescribeDeliveryChannelsRequest& request, const DescribeDeliveryChannelsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
639 
645  virtual Model::GetComplianceDetailsByConfigRuleOutcome GetComplianceDetailsByConfigRule(const Model::GetComplianceDetailsByConfigRuleRequest& request) const;
646 
654  virtual Model::GetComplianceDetailsByConfigRuleOutcomeCallable GetComplianceDetailsByConfigRuleCallable(const Model::GetComplianceDetailsByConfigRuleRequest& request) const;
655 
663  virtual void GetComplianceDetailsByConfigRuleAsync(const Model::GetComplianceDetailsByConfigRuleRequest& request, const GetComplianceDetailsByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
664 
670  virtual Model::GetComplianceDetailsByResourceOutcome GetComplianceDetailsByResource(const Model::GetComplianceDetailsByResourceRequest& request) const;
671 
679  virtual Model::GetComplianceDetailsByResourceOutcomeCallable GetComplianceDetailsByResourceCallable(const Model::GetComplianceDetailsByResourceRequest& request) const;
680 
688  virtual void GetComplianceDetailsByResourceAsync(const Model::GetComplianceDetailsByResourceRequest& request, const GetComplianceDetailsByResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
689 
694  virtual Model::GetComplianceSummaryByConfigRuleOutcome GetComplianceSummaryByConfigRule() const;
695 
702  virtual Model::GetComplianceSummaryByConfigRuleOutcomeCallable GetComplianceSummaryByConfigRuleCallable() const;
703 
710  virtual void GetComplianceSummaryByConfigRuleAsync(const GetComplianceSummaryByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
716  virtual Model::GetComplianceSummaryByResourceTypeOutcome GetComplianceSummaryByResourceType(const Model::GetComplianceSummaryByResourceTypeRequest& request) const;
717 
725  virtual Model::GetComplianceSummaryByResourceTypeOutcomeCallable GetComplianceSummaryByResourceTypeCallable(const Model::GetComplianceSummaryByResourceTypeRequest& request) const;
726 
734  virtual void GetComplianceSummaryByResourceTypeAsync(const Model::GetComplianceSummaryByResourceTypeRequest& request, const GetComplianceSummaryByResourceTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
735 
749  virtual Model::GetResourceConfigHistoryOutcome GetResourceConfigHistory(const Model::GetResourceConfigHistoryRequest& request) const;
750 
766  virtual Model::GetResourceConfigHistoryOutcomeCallable GetResourceConfigHistoryCallable(const Model::GetResourceConfigHistoryRequest& request) const;
767 
783  virtual void GetResourceConfigHistoryAsync(const Model::GetResourceConfigHistoryRequest& request, const GetResourceConfigHistoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
784 
799  virtual Model::ListDiscoveredResourcesOutcome ListDiscoveredResources(const Model::ListDiscoveredResourcesRequest& request) const;
800 
817  virtual Model::ListDiscoveredResourcesOutcomeCallable ListDiscoveredResourcesCallable(const Model::ListDiscoveredResourcesRequest& request) const;
818 
835  virtual void ListDiscoveredResourcesAsync(const Model::ListDiscoveredResourcesRequest& request, const ListDiscoveredResourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
836 
867  virtual Model::PutConfigRuleOutcome PutConfigRule(const Model::PutConfigRuleRequest& request) const;
868 
901  virtual Model::PutConfigRuleOutcomeCallable PutConfigRuleCallable(const Model::PutConfigRuleRequest& request) const;
902 
935  virtual void PutConfigRuleAsync(const Model::PutConfigRuleRequest& request, const PutConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
936 
947  virtual Model::PutConfigurationRecorderOutcome PutConfigurationRecorder(const Model::PutConfigurationRecorderRequest& request) const;
948 
961  virtual Model::PutConfigurationRecorderOutcomeCallable PutConfigurationRecorderCallable(const Model::PutConfigurationRecorderRequest& request) const;
962 
975  virtual void PutConfigurationRecorderAsync(const Model::PutConfigurationRecorderRequest& request, const PutConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
976 
988  virtual Model::PutDeliveryChannelOutcome PutDeliveryChannel(const Model::PutDeliveryChannelRequest& request) const;
989 
1003  virtual Model::PutDeliveryChannelOutcomeCallable PutDeliveryChannelCallable(const Model::PutDeliveryChannelRequest& request) const;
1004 
1018  virtual void PutDeliveryChannelAsync(const Model::PutDeliveryChannelRequest& request, const PutDeliveryChannelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1019 
1025  virtual Model::PutEvaluationsOutcome PutEvaluations(const Model::PutEvaluationsRequest& request) const;
1026 
1034  virtual Model::PutEvaluationsOutcomeCallable PutEvaluationsCallable(const Model::PutEvaluationsRequest& request) const;
1035 
1043  virtual void PutEvaluationsAsync(const Model::PutEvaluationsRequest& request, const PutEvaluationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1044 
1050  virtual Model::StartConfigurationRecorderOutcome StartConfigurationRecorder(const Model::StartConfigurationRecorderRequest& request) const;
1051 
1059  virtual Model::StartConfigurationRecorderOutcomeCallable StartConfigurationRecorderCallable(const Model::StartConfigurationRecorderRequest& request) const;
1060 
1068  virtual void StartConfigurationRecorderAsync(const Model::StartConfigurationRecorderRequest& request, const StartConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1069 
1074  virtual Model::StopConfigurationRecorderOutcome StopConfigurationRecorder(const Model::StopConfigurationRecorderRequest& request) const;
1075 
1082  virtual Model::StopConfigurationRecorderOutcomeCallable StopConfigurationRecorderCallable(const Model::StopConfigurationRecorderRequest& request) const;
1083 
1090  virtual void StopConfigurationRecorderAsync(const Model::StopConfigurationRecorderRequest& request, const StopConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1091 
1092 
1093  private:
1094  void init(const Client::ClientConfiguration& clientConfiguration);
1095 
1097  void DeleteConfigRuleAsyncHelper(const Model::DeleteConfigRuleRequest& request, const DeleteConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1098  void DeleteDeliveryChannelAsyncHelper(const Model::DeleteDeliveryChannelRequest& request, const DeleteDeliveryChannelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1099  void DeliverConfigSnapshotAsyncHelper(const Model::DeliverConfigSnapshotRequest& request, const DeliverConfigSnapshotResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1100  void DescribeComplianceByConfigRuleAsyncHelper(const Model::DescribeComplianceByConfigRuleRequest& request, const DescribeComplianceByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1101  void DescribeComplianceByResourceAsyncHelper(const Model::DescribeComplianceByResourceRequest& request, const DescribeComplianceByResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1102  void DescribeConfigRuleEvaluationStatusAsyncHelper(const Model::DescribeConfigRuleEvaluationStatusRequest& request, const DescribeConfigRuleEvaluationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1103  void DescribeConfigRulesAsyncHelper(const Model::DescribeConfigRulesRequest& request, const DescribeConfigRulesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1104  void DescribeConfigurationRecorderStatusAsyncHelper(const Model::DescribeConfigurationRecorderStatusRequest& request, const DescribeConfigurationRecorderStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1105  void DescribeConfigurationRecordersAsyncHelper(const Model::DescribeConfigurationRecordersRequest& request, const DescribeConfigurationRecordersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1106  void DescribeDeliveryChannelStatusAsyncHelper(const Model::DescribeDeliveryChannelStatusRequest& request, const DescribeDeliveryChannelStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1107  void DescribeDeliveryChannelsAsyncHelper(const Model::DescribeDeliveryChannelsRequest& request, const DescribeDeliveryChannelsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1108  void GetComplianceDetailsByConfigRuleAsyncHelper(const Model::GetComplianceDetailsByConfigRuleRequest& request, const GetComplianceDetailsByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1109  void GetComplianceDetailsByResourceAsyncHelper(const Model::GetComplianceDetailsByResourceRequest& request, const GetComplianceDetailsByResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1110  void GetComplianceSummaryByConfigRuleAsyncHelper(const GetComplianceSummaryByConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1111  void GetComplianceSummaryByResourceTypeAsyncHelper(const Model::GetComplianceSummaryByResourceTypeRequest& request, const GetComplianceSummaryByResourceTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1112  void GetResourceConfigHistoryAsyncHelper(const Model::GetResourceConfigHistoryRequest& request, const GetResourceConfigHistoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1113  void ListDiscoveredResourcesAsyncHelper(const Model::ListDiscoveredResourcesRequest& request, const ListDiscoveredResourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1114  void PutConfigRuleAsyncHelper(const Model::PutConfigRuleRequest& request, const PutConfigRuleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1115  void PutConfigurationRecorderAsyncHelper(const Model::PutConfigurationRecorderRequest& request, const PutConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1116  void PutDeliveryChannelAsyncHelper(const Model::PutDeliveryChannelRequest& request, const PutDeliveryChannelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1117  void PutEvaluationsAsyncHelper(const Model::PutEvaluationsRequest& request, const PutEvaluationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1118  void StartConfigurationRecorderAsyncHelper(const Model::StartConfigurationRecorderRequest& request, const StartConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1119  void StopConfigurationRecorderAsyncHelper(const Model::StopConfigurationRecorderRequest& request, const StopConfigurationRecorderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1120 
1121  Aws::String m_uri;
1122  std::shared_ptr<Utils::Threading::Executor> m_executor;
1123  };
1124 
1125 } // namespace ConfigService
1126 } // namespace Aws
Aws::Utils::Outcome< GetComplianceSummaryByConfigRuleResult, Aws::Client::AWSError< ConfigServiceErrors > > GetComplianceSummaryByConfigRuleOutcome
std::function< void(const ConfigServiceClient *, const Model::GetComplianceSummaryByResourceTypeRequest &, const Model::GetComplianceSummaryByResourceTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetComplianceSummaryByResourceTypeResponseReceivedHandler
std::future< DescribeConfigRuleEvaluationStatusOutcome > DescribeConfigRuleEvaluationStatusOutcomeCallable
Aws::Utils::Outcome< GetResourceConfigHistoryResult, Aws::Client::AWSError< ConfigServiceErrors > > GetResourceConfigHistoryOutcome
std::function< void(const ConfigServiceClient *, const Model::GetComplianceDetailsByConfigRuleRequest &, const Model::GetComplianceDetailsByConfigRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetComplianceDetailsByConfigRuleResponseReceivedHandler
std::future< DescribeDeliveryChannelStatusOutcome > DescribeDeliveryChannelStatusOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DeliverConfigSnapshotRequest &, const Model::DeliverConfigSnapshotOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeliverConfigSnapshotResponseReceivedHandler
Aws::Utils::Outcome< DescribeComplianceByConfigRuleResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeComplianceByConfigRuleOutcome
std::function< void(const ConfigServiceClient *, const Model::DescribeConfigRuleEvaluationStatusRequest &, const Model::DescribeConfigRuleEvaluationStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeConfigRuleEvaluationStatusResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > PutDeliveryChannelOutcome
Aws::Utils::Outcome< GetComplianceDetailsByConfigRuleResult, Aws::Client::AWSError< ConfigServiceErrors > > GetComplianceDetailsByConfigRuleOutcome
std::future< DeleteDeliveryChannelOutcome > DeleteDeliveryChannelOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DescribeConfigurationRecorderStatusRequest &, const Model::DescribeConfigurationRecorderStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeConfigurationRecorderStatusResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > PutConfigurationRecorderOutcome
std::future< DeliverConfigSnapshotOutcome > DeliverConfigSnapshotOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::GetComplianceSummaryByConfigRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetComplianceSummaryByConfigRuleResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > DeleteConfigRuleOutcome
std::future< PutConfigRuleOutcome > PutConfigRuleOutcomeCallable
Aws::Utils::Outcome< DescribeConfigRulesResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeConfigRulesOutcome
std::function< void(const ConfigServiceClient *, const Model::DeleteDeliveryChannelRequest &, const Model::DeleteDeliveryChannelOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDeliveryChannelResponseReceivedHandler
std::function< void(const ConfigServiceClient *, const Model::StartConfigurationRecorderRequest &, const Model::StartConfigurationRecorderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartConfigurationRecorderResponseReceivedHandler
std::function< void(const ConfigServiceClient *, const Model::GetResourceConfigHistoryRequest &, const Model::GetResourceConfigHistoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetResourceConfigHistoryResponseReceivedHandler
std::function< void(const ConfigServiceClient *, const Model::PutDeliveryChannelRequest &, const Model::PutDeliveryChannelOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutDeliveryChannelResponseReceivedHandler
Aws::Utils::Outcome< DescribeConfigurationRecordersResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeConfigurationRecordersOutcome
std::future< PutEvaluationsOutcome > PutEvaluationsOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > DeleteDeliveryChannelOutcome
std::future< GetComplianceDetailsByConfigRuleOutcome > GetComplianceDetailsByConfigRuleOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DescribeConfigurationRecordersRequest &, const Model::DescribeConfigurationRecordersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeConfigurationRecordersResponseReceivedHandler
std::function< void(const ConfigServiceClient *, const Model::DescribeComplianceByResourceRequest &, const Model::DescribeComplianceByResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeComplianceByResourceResponseReceivedHandler
std::future< GetComplianceSummaryByConfigRuleOutcome > GetComplianceSummaryByConfigRuleOutcomeCallable
Aws::Utils::Outcome< PutEvaluationsResult, Aws::Client::AWSError< ConfigServiceErrors > > PutEvaluationsOutcome
std::future< GetComplianceDetailsByResourceOutcome > GetComplianceDetailsByResourceOutcomeCallable
std::future< DeleteConfigRuleOutcome > DeleteConfigRuleOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::PutConfigurationRecorderRequest &, const Model::PutConfigurationRecorderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutConfigurationRecorderResponseReceivedHandler
std::future< PutConfigurationRecorderOutcome > PutConfigurationRecorderOutcomeCallable
std::future< PutDeliveryChannelOutcome > PutDeliveryChannelOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DescribeComplianceByConfigRuleRequest &, const Model::DescribeComplianceByConfigRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeComplianceByConfigRuleResponseReceivedHandler
std::future< DescribeDeliveryChannelsOutcome > DescribeDeliveryChannelsOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DescribeDeliveryChannelsRequest &, const Model::DescribeDeliveryChannelsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDeliveryChannelsResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > PutConfigRuleOutcome
std::future< ListDiscoveredResourcesOutcome > ListDiscoveredResourcesOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::GetComplianceDetailsByResourceRequest &, const Model::GetComplianceDetailsByResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetComplianceDetailsByResourceResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > StopConfigurationRecorderOutcome
std::function< void(const ConfigServiceClient *, const Model::PutConfigRuleRequest &, const Model::PutConfigRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutConfigRuleResponseReceivedHandler
Aws::Utils::Outcome< DescribeComplianceByResourceResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeComplianceByResourceOutcome
std::future< DescribeConfigurationRecorderStatusOutcome > DescribeConfigurationRecorderStatusOutcomeCallable
std::future< StartConfigurationRecorderOutcome > StartConfigurationRecorderOutcomeCallable
std::future< GetComplianceSummaryByResourceTypeOutcome > GetComplianceSummaryByResourceTypeOutcomeCallable
std::future< DescribeComplianceByResourceOutcome > DescribeComplianceByResourceOutcomeCallable
Aws::Utils::Outcome< ListDiscoveredResourcesResult, Aws::Client::AWSError< ConfigServiceErrors > > ListDiscoveredResourcesOutcome
std::future< DescribeConfigRulesOutcome > DescribeConfigRulesOutcomeCallable
Aws::Utils::Outcome< DescribeConfigRuleEvaluationStatusResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeConfigRuleEvaluationStatusOutcome
std::function< void(const ConfigServiceClient *, const Model::PutEvaluationsRequest &, const Model::PutEvaluationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutEvaluationsResponseReceivedHandler
std::future< DescribeComplianceByConfigRuleOutcome > DescribeComplianceByConfigRuleOutcomeCallable
std::future< DescribeConfigurationRecordersOutcome > DescribeConfigurationRecordersOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::ListDiscoveredResourcesRequest &, const Model::ListDiscoveredResourcesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDiscoveredResourcesResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< ConfigServiceErrors > > StartConfigurationRecorderOutcome
Aws::Utils::Outcome< DescribeConfigurationRecorderStatusResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeConfigurationRecorderStatusOutcome
std::function< void(const ConfigServiceClient *, const Model::StopConfigurationRecorderRequest &, const Model::StopConfigurationRecorderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopConfigurationRecorderResponseReceivedHandler
Aws::Utils::Outcome< GetComplianceSummaryByResourceTypeResult, Aws::Client::AWSError< ConfigServiceErrors > > GetComplianceSummaryByResourceTypeOutcome
std::function< void(const ConfigServiceClient *, const Model::DeleteConfigRuleRequest &, const Model::DeleteConfigRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteConfigRuleResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Utils::Outcome< DeliverConfigSnapshotResult, Aws::Client::AWSError< ConfigServiceErrors > > DeliverConfigSnapshotOutcome
Aws::Utils::Outcome< DescribeDeliveryChannelsResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeDeliveryChannelsOutcome
std::future< StopConfigurationRecorderOutcome > StopConfigurationRecorderOutcomeCallable
#define AWS_CONFIGSERVICE_API
std::future< GetResourceConfigHistoryOutcome > GetResourceConfigHistoryOutcomeCallable
std::function< void(const ConfigServiceClient *, const Model::DescribeConfigRulesRequest &, const Model::DescribeConfigRulesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeConfigRulesResponseReceivedHandler
Aws::Utils::Outcome< GetComplianceDetailsByResourceResult, Aws::Client::AWSError< ConfigServiceErrors > > GetComplianceDetailsByResourceOutcome
Aws::Utils::Outcome< DescribeDeliveryChannelStatusResult, Aws::Client::AWSError< ConfigServiceErrors > > DescribeDeliveryChannelStatusOutcome
std::function< void(const ConfigServiceClient *, const Model::DescribeDeliveryChannelStatusRequest &, const Model::DescribeDeliveryChannelStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDeliveryChannelStatusResponseReceivedHandler
JSON (JavaScript Object Notation).