AWS SDK for C++  0.14.3
AWS SDK for C++
SSMClient.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
16 #include <aws/ssm/SSM_EXPORTS.h>
17 #include <aws/ssm/SSMErrors.h>
51 #include <future>
52 #include <functional>
53 
54 namespace Aws
55 {
56 
57 namespace Http
58 {
59  class HttpClient;
60  class HttpClientFactory;
61 } // namespace Http
62 
63 namespace Utils
64 {
65  template< typename R, typename E> class Outcome;
66 
67 namespace Threading
68 {
69  class Executor;
70 } // namespace Threading
71 
72 namespace Json
73 {
74  class JsonValue;
75 } // namespace Json
76 } // namespace Utils
77 
78 namespace Auth
79 {
80  class AWSCredentials;
81  class AWSCredentialsProvider;
82 } // namespace Auth
83 
84 namespace Client
85 {
86  class RetryStrategy;
87 } // namespace Client
88 
89 namespace SSM
90 {
91 
92 namespace Model
93 {
94  class AddTagsToResourceRequest;
95  class CancelCommandRequest;
96  class CreateActivationRequest;
97  class CreateAssociationRequest;
98  class CreateAssociationBatchRequest;
99  class CreateDocumentRequest;
100  class DeleteActivationRequest;
101  class DeleteAssociationRequest;
102  class DeleteDocumentRequest;
103  class DeregisterManagedInstanceRequest;
104  class DescribeActivationsRequest;
105  class DescribeAssociationRequest;
106  class DescribeDocumentRequest;
107  class DescribeDocumentPermissionRequest;
108  class DescribeInstanceInformationRequest;
109  class GetDocumentRequest;
110  class ListAssociationsRequest;
111  class ListCommandInvocationsRequest;
112  class ListCommandsRequest;
113  class ListDocumentsRequest;
114  class ListTagsForResourceRequest;
115  class ModifyDocumentPermissionRequest;
116  class RemoveTagsFromResourceRequest;
117  class SendCommandRequest;
118  class UpdateAssociationStatusRequest;
120 
147 
148  typedef std::future<AddTagsToResourceOutcome> AddTagsToResourceOutcomeCallable;
149  typedef std::future<CancelCommandOutcome> CancelCommandOutcomeCallable;
150  typedef std::future<CreateActivationOutcome> CreateActivationOutcomeCallable;
151  typedef std::future<CreateAssociationOutcome> CreateAssociationOutcomeCallable;
152  typedef std::future<CreateAssociationBatchOutcome> CreateAssociationBatchOutcomeCallable;
153  typedef std::future<CreateDocumentOutcome> CreateDocumentOutcomeCallable;
154  typedef std::future<DeleteActivationOutcome> DeleteActivationOutcomeCallable;
155  typedef std::future<DeleteAssociationOutcome> DeleteAssociationOutcomeCallable;
156  typedef std::future<DeleteDocumentOutcome> DeleteDocumentOutcomeCallable;
157  typedef std::future<DeregisterManagedInstanceOutcome> DeregisterManagedInstanceOutcomeCallable;
158  typedef std::future<DescribeActivationsOutcome> DescribeActivationsOutcomeCallable;
159  typedef std::future<DescribeAssociationOutcome> DescribeAssociationOutcomeCallable;
160  typedef std::future<DescribeDocumentOutcome> DescribeDocumentOutcomeCallable;
161  typedef std::future<DescribeDocumentPermissionOutcome> DescribeDocumentPermissionOutcomeCallable;
162  typedef std::future<DescribeInstanceInformationOutcome> DescribeInstanceInformationOutcomeCallable;
163  typedef std::future<GetDocumentOutcome> GetDocumentOutcomeCallable;
164  typedef std::future<ListAssociationsOutcome> ListAssociationsOutcomeCallable;
165  typedef std::future<ListCommandInvocationsOutcome> ListCommandInvocationsOutcomeCallable;
166  typedef std::future<ListCommandsOutcome> ListCommandsOutcomeCallable;
167  typedef std::future<ListDocumentsOutcome> ListDocumentsOutcomeCallable;
168  typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
169  typedef std::future<ModifyDocumentPermissionOutcome> ModifyDocumentPermissionOutcomeCallable;
170  typedef std::future<RemoveTagsFromResourceOutcome> RemoveTagsFromResourceOutcomeCallable;
171  typedef std::future<SendCommandOutcome> SendCommandOutcomeCallable;
172  typedef std::future<UpdateAssociationStatusOutcome> UpdateAssociationStatusOutcomeCallable;
173  typedef std::future<UpdateManagedInstanceRoleOutcome> UpdateManagedInstanceRoleOutcomeCallable;
174 } // namespace Model
175 
176  class SSMClient;
177 
178  typedef std::function<void(const SSMClient*, const Model::AddTagsToResourceRequest&, const Model::AddTagsToResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddTagsToResourceResponseReceivedHandler;
179  typedef std::function<void(const SSMClient*, const Model::CancelCommandRequest&, const Model::CancelCommandOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CancelCommandResponseReceivedHandler;
180  typedef std::function<void(const SSMClient*, const Model::CreateActivationRequest&, const Model::CreateActivationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateActivationResponseReceivedHandler;
181  typedef std::function<void(const SSMClient*, const Model::CreateAssociationRequest&, const Model::CreateAssociationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateAssociationResponseReceivedHandler;
182  typedef std::function<void(const SSMClient*, const Model::CreateAssociationBatchRequest&, const Model::CreateAssociationBatchOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateAssociationBatchResponseReceivedHandler;
183  typedef std::function<void(const SSMClient*, const Model::CreateDocumentRequest&, const Model::CreateDocumentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateDocumentResponseReceivedHandler;
184  typedef std::function<void(const SSMClient*, const Model::DeleteActivationRequest&, const Model::DeleteActivationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteActivationResponseReceivedHandler;
185  typedef std::function<void(const SSMClient*, const Model::DeleteAssociationRequest&, const Model::DeleteAssociationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAssociationResponseReceivedHandler;
186  typedef std::function<void(const SSMClient*, const Model::DeleteDocumentRequest&, const Model::DeleteDocumentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDocumentResponseReceivedHandler;
187  typedef std::function<void(const SSMClient*, const Model::DeregisterManagedInstanceRequest&, const Model::DeregisterManagedInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeregisterManagedInstanceResponseReceivedHandler;
188  typedef std::function<void(const SSMClient*, const Model::DescribeActivationsRequest&, const Model::DescribeActivationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeActivationsResponseReceivedHandler;
189  typedef std::function<void(const SSMClient*, const Model::DescribeAssociationRequest&, const Model::DescribeAssociationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeAssociationResponseReceivedHandler;
190  typedef std::function<void(const SSMClient*, const Model::DescribeDocumentRequest&, const Model::DescribeDocumentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDocumentResponseReceivedHandler;
191  typedef std::function<void(const SSMClient*, const Model::DescribeDocumentPermissionRequest&, const Model::DescribeDocumentPermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDocumentPermissionResponseReceivedHandler;
192  typedef std::function<void(const SSMClient*, const Model::DescribeInstanceInformationRequest&, const Model::DescribeInstanceInformationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeInstanceInformationResponseReceivedHandler;
193  typedef std::function<void(const SSMClient*, const Model::GetDocumentRequest&, const Model::GetDocumentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetDocumentResponseReceivedHandler;
194  typedef std::function<void(const SSMClient*, const Model::ListAssociationsRequest&, const Model::ListAssociationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAssociationsResponseReceivedHandler;
195  typedef std::function<void(const SSMClient*, const Model::ListCommandInvocationsRequest&, const Model::ListCommandInvocationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListCommandInvocationsResponseReceivedHandler;
196  typedef std::function<void(const SSMClient*, const Model::ListCommandsRequest&, const Model::ListCommandsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListCommandsResponseReceivedHandler;
197  typedef std::function<void(const SSMClient*, const Model::ListDocumentsRequest&, const Model::ListDocumentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListDocumentsResponseReceivedHandler;
198  typedef std::function<void(const SSMClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
199  typedef std::function<void(const SSMClient*, const Model::ModifyDocumentPermissionRequest&, const Model::ModifyDocumentPermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyDocumentPermissionResponseReceivedHandler;
200  typedef std::function<void(const SSMClient*, const Model::RemoveTagsFromResourceRequest&, const Model::RemoveTagsFromResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveTagsFromResourceResponseReceivedHandler;
201  typedef std::function<void(const SSMClient*, const Model::SendCommandRequest&, const Model::SendCommandOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendCommandResponseReceivedHandler;
202  typedef std::function<void(const SSMClient*, const Model::UpdateAssociationStatusRequest&, const Model::UpdateAssociationStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateAssociationStatusResponseReceivedHandler;
203  typedef std::function<void(const SSMClient*, const Model::UpdateManagedInstanceRoleRequest&, const Model::UpdateManagedInstanceRoleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateManagedInstanceRoleResponseReceivedHandler;
204 
306  {
307  public:
309 
314  SSMClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
315 
320  SSMClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
321 
326  SSMClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
327  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
328 
329  virtual ~SSMClient();
330 
349  virtual Model::AddTagsToResourceOutcome AddTagsToResource(const Model::AddTagsToResourceRequest& request) const;
350 
371  virtual Model::AddTagsToResourceOutcomeCallable AddTagsToResourceCallable(const Model::AddTagsToResourceRequest& request) const;
372 
393  virtual void AddTagsToResourceAsync(const Model::AddTagsToResourceRequest& request, const AddTagsToResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
394 
400  virtual Model::CancelCommandOutcome CancelCommand(const Model::CancelCommandRequest& request) const;
401 
409  virtual Model::CancelCommandOutcomeCallable CancelCommandCallable(const Model::CancelCommandRequest& request) const;
410 
418  virtual void CancelCommandAsync(const Model::CancelCommandRequest& request, const CancelCommandResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
419 
430  virtual Model::CreateActivationOutcome CreateActivation(const Model::CreateActivationRequest& request) const;
431 
444  virtual Model::CreateActivationOutcomeCallable CreateActivationCallable(const Model::CreateActivationRequest& request) const;
445 
458  virtual void CreateActivationAsync(const Model::CreateActivationRequest& request, const CreateActivationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
459 
468  virtual Model::CreateAssociationOutcome CreateAssociation(const Model::CreateAssociationRequest& request) const;
469 
480  virtual Model::CreateAssociationOutcomeCallable CreateAssociationCallable(const Model::CreateAssociationRequest& request) const;
481 
492  virtual void CreateAssociationAsync(const Model::CreateAssociationRequest& request, const CreateAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
493 
502  virtual Model::CreateAssociationBatchOutcome CreateAssociationBatch(const Model::CreateAssociationBatchRequest& request) const;
503 
514  virtual Model::CreateAssociationBatchOutcomeCallable CreateAssociationBatchCallable(const Model::CreateAssociationBatchRequest& request) const;
515 
526  virtual void CreateAssociationBatchAsync(const Model::CreateAssociationBatchRequest& request, const CreateAssociationBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
527 
532  virtual Model::CreateDocumentOutcome CreateDocument(const Model::CreateDocumentRequest& request) const;
533 
540  virtual Model::CreateDocumentOutcomeCallable CreateDocumentCallable(const Model::CreateDocumentRequest& request) const;
541 
548  virtual void CreateDocumentAsync(const Model::CreateDocumentRequest& request, const CreateDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
549 
556  virtual Model::DeleteActivationOutcome DeleteActivation(const Model::DeleteActivationRequest& request) const;
557 
566  virtual Model::DeleteActivationOutcomeCallable DeleteActivationCallable(const Model::DeleteActivationRequest& request) const;
567 
576  virtual void DeleteActivationAsync(const Model::DeleteActivationRequest& request, const DeleteActivationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
577 
585  virtual Model::DeleteAssociationOutcome DeleteAssociation(const Model::DeleteAssociationRequest& request) const;
586 
596  virtual Model::DeleteAssociationOutcomeCallable DeleteAssociationCallable(const Model::DeleteAssociationRequest& request) const;
597 
607  virtual void DeleteAssociationAsync(const Model::DeleteAssociationRequest& request, const DeleteAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
608 
615  virtual Model::DeleteDocumentOutcome DeleteDocument(const Model::DeleteDocumentRequest& request) const;
616 
625  virtual Model::DeleteDocumentOutcomeCallable DeleteDocumentCallable(const Model::DeleteDocumentRequest& request) const;
626 
635  virtual void DeleteDocumentAsync(const Model::DeleteDocumentRequest& request, const DeleteDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
636 
642  virtual Model::DeregisterManagedInstanceOutcome DeregisterManagedInstance(const Model::DeregisterManagedInstanceRequest& request) const;
643 
651  virtual Model::DeregisterManagedInstanceOutcomeCallable DeregisterManagedInstanceCallable(const Model::DeregisterManagedInstanceRequest& request) const;
652 
660  virtual void DeregisterManagedInstanceAsync(const Model::DeregisterManagedInstanceRequest& request, const DeregisterManagedInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
661 
667  virtual Model::DescribeActivationsOutcome DescribeActivations(const Model::DescribeActivationsRequest& request) const;
668 
676  virtual Model::DescribeActivationsOutcomeCallable DescribeActivationsCallable(const Model::DescribeActivationsRequest& request) const;
677 
685  virtual void DescribeActivationsAsync(const Model::DescribeActivationsRequest& request, const DescribeActivationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
686 
690  virtual Model::DescribeAssociationOutcome DescribeAssociation(const Model::DescribeAssociationRequest& request) const;
691 
697  virtual Model::DescribeAssociationOutcomeCallable DescribeAssociationCallable(const Model::DescribeAssociationRequest& request) const;
698 
704  virtual void DescribeAssociationAsync(const Model::DescribeAssociationRequest& request, const DescribeAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
705 
709  virtual Model::DescribeDocumentOutcome DescribeDocument(const Model::DescribeDocumentRequest& request) const;
710 
716  virtual Model::DescribeDocumentOutcomeCallable DescribeDocumentCallable(const Model::DescribeDocumentRequest& request) const;
717 
723  virtual void DescribeDocumentAsync(const Model::DescribeDocumentRequest& request, const DescribeDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
724 
730  virtual Model::DescribeDocumentPermissionOutcome DescribeDocumentPermission(const Model::DescribeDocumentPermissionRequest& request) const;
731 
739  virtual Model::DescribeDocumentPermissionOutcomeCallable DescribeDocumentPermissionCallable(const Model::DescribeDocumentPermissionRequest& request) const;
740 
748  virtual void DescribeDocumentPermissionAsync(const Model::DescribeDocumentPermissionRequest& request, const DescribeDocumentPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
749 
758  virtual Model::DescribeInstanceInformationOutcome DescribeInstanceInformation(const Model::DescribeInstanceInformationRequest& request) const;
759 
770  virtual Model::DescribeInstanceInformationOutcomeCallable DescribeInstanceInformationCallable(const Model::DescribeInstanceInformationRequest& request) const;
771 
782  virtual void DescribeInstanceInformationAsync(const Model::DescribeInstanceInformationRequest& request, const DescribeInstanceInformationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
783 
787  virtual Model::GetDocumentOutcome GetDocument(const Model::GetDocumentRequest& request) const;
788 
794  virtual Model::GetDocumentOutcomeCallable GetDocumentCallable(const Model::GetDocumentRequest& request) const;
795 
801  virtual void GetDocumentAsync(const Model::GetDocumentRequest& request, const GetDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
802 
806  virtual Model::ListAssociationsOutcome ListAssociations(const Model::ListAssociationsRequest& request) const;
807 
813  virtual Model::ListAssociationsOutcomeCallable ListAssociationsCallable(const Model::ListAssociationsRequest& request) const;
814 
820  virtual void ListAssociationsAsync(const Model::ListAssociationsRequest& request, const ListAssociationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
821 
829  virtual Model::ListCommandInvocationsOutcome ListCommandInvocations(const Model::ListCommandInvocationsRequest& request) const;
830 
840  virtual Model::ListCommandInvocationsOutcomeCallable ListCommandInvocationsCallable(const Model::ListCommandInvocationsRequest& request) const;
841 
851  virtual void ListCommandInvocationsAsync(const Model::ListCommandInvocationsRequest& request, const ListCommandInvocationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
852 
856  virtual Model::ListCommandsOutcome ListCommands(const Model::ListCommandsRequest& request) const;
857 
863  virtual Model::ListCommandsOutcomeCallable ListCommandsCallable(const Model::ListCommandsRequest& request) const;
864 
870  virtual void ListCommandsAsync(const Model::ListCommandsRequest& request, const ListCommandsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
871 
875  virtual Model::ListDocumentsOutcome ListDocuments(const Model::ListDocumentsRequest& request) const;
876 
882  virtual Model::ListDocumentsOutcomeCallable ListDocumentsCallable(const Model::ListDocumentsRequest& request) const;
883 
889  virtual void ListDocumentsAsync(const Model::ListDocumentsRequest& request, const ListDocumentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
890 
894  virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
895 
901  virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
902 
908  virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
909 
916  virtual Model::ModifyDocumentPermissionOutcome ModifyDocumentPermission(const Model::ModifyDocumentPermissionRequest& request) const;
917 
926  virtual Model::ModifyDocumentPermissionOutcomeCallable ModifyDocumentPermissionCallable(const Model::ModifyDocumentPermissionRequest& request) const;
927 
936  virtual void ModifyDocumentPermissionAsync(const Model::ModifyDocumentPermissionRequest& request, const ModifyDocumentPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
937 
941  virtual Model::RemoveTagsFromResourceOutcome RemoveTagsFromResource(const Model::RemoveTagsFromResourceRequest& request) const;
942 
948  virtual Model::RemoveTagsFromResourceOutcomeCallable RemoveTagsFromResourceCallable(const Model::RemoveTagsFromResourceRequest& request) const;
949 
955  virtual void RemoveTagsFromResourceAsync(const Model::RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
956 
960  virtual Model::SendCommandOutcome SendCommand(const Model::SendCommandRequest& request) const;
961 
967  virtual Model::SendCommandOutcomeCallable SendCommandCallable(const Model::SendCommandRequest& request) const;
968 
974  virtual void SendCommandAsync(const Model::SendCommandRequest& request, const SendCommandResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
975 
980  virtual Model::UpdateAssociationStatusOutcome UpdateAssociationStatus(const Model::UpdateAssociationStatusRequest& request) const;
981 
988  virtual Model::UpdateAssociationStatusOutcomeCallable UpdateAssociationStatusCallable(const Model::UpdateAssociationStatusRequest& request) const;
989 
996  virtual void UpdateAssociationStatusAsync(const Model::UpdateAssociationStatusRequest& request, const UpdateAssociationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
997 
1002  virtual Model::UpdateManagedInstanceRoleOutcome UpdateManagedInstanceRole(const Model::UpdateManagedInstanceRoleRequest& request) const;
1003 
1010  virtual Model::UpdateManagedInstanceRoleOutcomeCallable UpdateManagedInstanceRoleCallable(const Model::UpdateManagedInstanceRoleRequest& request) const;
1011 
1018  virtual void UpdateManagedInstanceRoleAsync(const Model::UpdateManagedInstanceRoleRequest& request, const UpdateManagedInstanceRoleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1019 
1020 
1021  private:
1022  void init(const Client::ClientConfiguration& clientConfiguration);
1023 
1025  void AddTagsToResourceAsyncHelper(const Model::AddTagsToResourceRequest& request, const AddTagsToResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1026  void CancelCommandAsyncHelper(const Model::CancelCommandRequest& request, const CancelCommandResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1027  void CreateActivationAsyncHelper(const Model::CreateActivationRequest& request, const CreateActivationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1028  void CreateAssociationAsyncHelper(const Model::CreateAssociationRequest& request, const CreateAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1029  void CreateAssociationBatchAsyncHelper(const Model::CreateAssociationBatchRequest& request, const CreateAssociationBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1030  void CreateDocumentAsyncHelper(const Model::CreateDocumentRequest& request, const CreateDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1031  void DeleteActivationAsyncHelper(const Model::DeleteActivationRequest& request, const DeleteActivationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1032  void DeleteAssociationAsyncHelper(const Model::DeleteAssociationRequest& request, const DeleteAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1033  void DeleteDocumentAsyncHelper(const Model::DeleteDocumentRequest& request, const DeleteDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1034  void DeregisterManagedInstanceAsyncHelper(const Model::DeregisterManagedInstanceRequest& request, const DeregisterManagedInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1035  void DescribeActivationsAsyncHelper(const Model::DescribeActivationsRequest& request, const DescribeActivationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1036  void DescribeAssociationAsyncHelper(const Model::DescribeAssociationRequest& request, const DescribeAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1037  void DescribeDocumentAsyncHelper(const Model::DescribeDocumentRequest& request, const DescribeDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1038  void DescribeDocumentPermissionAsyncHelper(const Model::DescribeDocumentPermissionRequest& request, const DescribeDocumentPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1039  void DescribeInstanceInformationAsyncHelper(const Model::DescribeInstanceInformationRequest& request, const DescribeInstanceInformationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1040  void GetDocumentAsyncHelper(const Model::GetDocumentRequest& request, const GetDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1041  void ListAssociationsAsyncHelper(const Model::ListAssociationsRequest& request, const ListAssociationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1042  void ListCommandInvocationsAsyncHelper(const Model::ListCommandInvocationsRequest& request, const ListCommandInvocationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1043  void ListCommandsAsyncHelper(const Model::ListCommandsRequest& request, const ListCommandsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1044  void ListDocumentsAsyncHelper(const Model::ListDocumentsRequest& request, const ListDocumentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1045  void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1046  void ModifyDocumentPermissionAsyncHelper(const Model::ModifyDocumentPermissionRequest& request, const ModifyDocumentPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1047  void RemoveTagsFromResourceAsyncHelper(const Model::RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1048  void SendCommandAsyncHelper(const Model::SendCommandRequest& request, const SendCommandResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1049  void UpdateAssociationStatusAsyncHelper(const Model::UpdateAssociationStatusRequest& request, const UpdateAssociationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1050  void UpdateManagedInstanceRoleAsyncHelper(const Model::UpdateManagedInstanceRoleRequest& request, const UpdateManagedInstanceRoleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1051 
1052  Aws::String m_uri;
1053  std::shared_ptr<Utils::Threading::Executor> m_executor;
1054  };
1055 
1056 } // namespace SSM
1057 } // namespace Aws
Aws::Utils::Outcome< AddTagsToResourceResult, Aws::Client::AWSError< SSMErrors > > AddTagsToResourceOutcome
Definition: SSMClient.h:119
Aws::Utils::Outcome< SendCommandResult, Aws::Client::AWSError< SSMErrors > > SendCommandOutcome
Definition: SSMClient.h:144
std::future< UpdateAssociationStatusOutcome > UpdateAssociationStatusOutcomeCallable
Definition: SSMClient.h:172
Aws::Utils::Outcome< DeregisterManagedInstanceResult, Aws::Client::AWSError< SSMErrors > > DeregisterManagedInstanceOutcome
Definition: SSMClient.h:130
Aws::Utils::Outcome< DescribeActivationsResult, Aws::Client::AWSError< SSMErrors > > DescribeActivationsOutcome
Definition: SSMClient.h:131
std::future< DeleteAssociationOutcome > DeleteAssociationOutcomeCallable
Definition: SSMClient.h:155
std::function< void(const SSMClient *, const Model::CancelCommandRequest &, const Model::CancelCommandOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelCommandResponseReceivedHandler
Definition: SSMClient.h:179
Aws::Client::AWSJsonClient BASECLASS
Definition: SSMClient.h:308
std::future< ListCommandInvocationsOutcome > ListCommandInvocationsOutcomeCallable
Definition: SSMClient.h:165
std::function< void(const SSMClient *, const Model::ListCommandInvocationsRequest &, const Model::ListCommandInvocationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListCommandInvocationsResponseReceivedHandler
Definition: SSMClient.h:195
std::function< void(const SSMClient *, const Model::DescribeDocumentRequest &, const Model::DescribeDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDocumentResponseReceivedHandler
Definition: SSMClient.h:190
std::function< void(const SSMClient *, const Model::DescribeAssociationRequest &, const Model::DescribeAssociationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeAssociationResponseReceivedHandler
Definition: SSMClient.h:189
std::function< void(const SSMClient *, const Model::DeregisterManagedInstanceRequest &, const Model::DeregisterManagedInstanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeregisterManagedInstanceResponseReceivedHandler
Definition: SSMClient.h:187
std::future< DeregisterManagedInstanceOutcome > DeregisterManagedInstanceOutcomeCallable
Definition: SSMClient.h:157
Aws::Utils::Outcome< UpdateAssociationStatusResult, Aws::Client::AWSError< SSMErrors > > UpdateAssociationStatusOutcome
Definition: SSMClient.h:145
std::future< ModifyDocumentPermissionOutcome > ModifyDocumentPermissionOutcomeCallable
Definition: SSMClient.h:169
std::function< void(const SSMClient *, const Model::RemoveTagsFromResourceRequest &, const Model::RemoveTagsFromResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemoveTagsFromResourceResponseReceivedHandler
Definition: SSMClient.h:200
std::future< CancelCommandOutcome > CancelCommandOutcomeCallable
Definition: SSMClient.h:149
std::future< DescribeDocumentPermissionOutcome > DescribeDocumentPermissionOutcomeCallable
Definition: SSMClient.h:161
std::function< void(const SSMClient *, const Model::ListAssociationsRequest &, const Model::ListAssociationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAssociationsResponseReceivedHandler
Definition: SSMClient.h:194
std::future< DeleteDocumentOutcome > DeleteDocumentOutcomeCallable
Definition: SSMClient.h:156
std::future< DescribeInstanceInformationOutcome > DescribeInstanceInformationOutcomeCallable
Definition: SSMClient.h:162
std::function< void(const SSMClient *, const Model::DeleteActivationRequest &, const Model::DeleteActivationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteActivationResponseReceivedHandler
Definition: SSMClient.h:184
std::function< void(const SSMClient *, const Model::AddTagsToResourceRequest &, const Model::AddTagsToResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddTagsToResourceResponseReceivedHandler
Definition: SSMClient.h:176
std::function< void(const SSMClient *, const Model::ModifyDocumentPermissionRequest &, const Model::ModifyDocumentPermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ModifyDocumentPermissionResponseReceivedHandler
Definition: SSMClient.h:199
Aws::Utils::Outcome< CreateActivationResult, Aws::Client::AWSError< SSMErrors > > CreateActivationOutcome
Definition: SSMClient.h:123
Aws::Utils::Outcome< CreateDocumentResult, Aws::Client::AWSError< SSMErrors > > CreateDocumentOutcome
Definition: SSMClient.h:126
std::future< SendCommandOutcome > SendCommandOutcomeCallable
Definition: SSMClient.h:171
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
Definition: SSMClient.h:168
std::future< DescribeDocumentOutcome > DescribeDocumentOutcomeCallable
Definition: SSMClient.h:160
std::function< void(const SSMClient *, const Model::CreateActivationRequest &, const Model::CreateActivationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateActivationResponseReceivedHandler
Definition: SSMClient.h:180
Aws::Utils::Outcome< CreateAssociationBatchResult, Aws::Client::AWSError< SSMErrors > > CreateAssociationBatchOutcome
Definition: SSMClient.h:125
std::future< UpdateManagedInstanceRoleOutcome > UpdateManagedInstanceRoleOutcomeCallable
Definition: SSMClient.h:173
Aws::Utils::Outcome< GetDocumentResult, Aws::Client::AWSError< SSMErrors > > GetDocumentOutcome
Definition: SSMClient.h:136
Aws::Utils::Outcome< RemoveTagsFromResourceResult, Aws::Client::AWSError< SSMErrors > > RemoveTagsFromResourceOutcome
Definition: SSMClient.h:143
std::function< void(const SSMClient *, const Model::GetDocumentRequest &, const Model::GetDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDocumentResponseReceivedHandler
Definition: SSMClient.h:193
Aws::Utils::Outcome< DeleteDocumentResult, Aws::Client::AWSError< SSMErrors > > DeleteDocumentOutcome
Definition: SSMClient.h:129
std::function< void(const SSMClient *, const Model::DeleteAssociationRequest &, const Model::DeleteAssociationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAssociationResponseReceivedHandler
Definition: SSMClient.h:185
std::future< ListCommandsOutcome > ListCommandsOutcomeCallable
Definition: SSMClient.h:166
Aws::Utils::Outcome< DescribeDocumentResult, Aws::Client::AWSError< SSMErrors > > DescribeDocumentOutcome
Definition: SSMClient.h:133
Aws::Utils::Outcome< ListCommandInvocationsResult, Aws::Client::AWSError< SSMErrors > > ListCommandInvocationsOutcome
Definition: SSMClient.h:138
Aws::Utils::Outcome< ModifyDocumentPermissionResult, Aws::Client::AWSError< SSMErrors > > ModifyDocumentPermissionOutcome
Definition: SSMClient.h:142
std::function< void(const SSMClient *, const Model::CreateAssociationRequest &, const Model::CreateAssociationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAssociationResponseReceivedHandler
Definition: SSMClient.h:181
std::function< void(const SSMClient *, const Model::DeleteDocumentRequest &, const Model::DeleteDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDocumentResponseReceivedHandler
Definition: SSMClient.h:186
Aws::Utils::Outcome< ListTagsForResourceResult, Aws::Client::AWSError< SSMErrors > > ListTagsForResourceOutcome
Definition: SSMClient.h:141
std::function< void(const SSMClient *, const Model::UpdateManagedInstanceRoleRequest &, const Model::UpdateManagedInstanceRoleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateManagedInstanceRoleResponseReceivedHandler
Definition: SSMClient.h:203
std::function< void(const SSMClient *, const Model::ListDocumentsRequest &, const Model::ListDocumentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDocumentsResponseReceivedHandler
Definition: SSMClient.h:197
Aws::Utils::Outcome< CreateAssociationResult, Aws::Client::AWSError< SSMErrors > > CreateAssociationOutcome
Definition: SSMClient.h:124
std::function< void(const SSMClient *, const Model::ListCommandsRequest &, const Model::ListCommandsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListCommandsResponseReceivedHandler
Definition: SSMClient.h:196
std::future< CreateAssociationBatchOutcome > CreateAssociationBatchOutcomeCallable
Definition: SSMClient.h:152
std::future< AddTagsToResourceOutcome > AddTagsToResourceOutcomeCallable
Definition: SSMClient.h:148
std::function< void(const SSMClient *, const Model::UpdateAssociationStatusRequest &, const Model::UpdateAssociationStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAssociationStatusResponseReceivedHandler
Definition: SSMClient.h:202
std::function< void(const SSMClient *, const Model::DescribeInstanceInformationRequest &, const Model::DescribeInstanceInformationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeInstanceInformationResponseReceivedHandler
Definition: SSMClient.h:192
std::future< DescribeActivationsOutcome > DescribeActivationsOutcomeCallable
Definition: SSMClient.h:158
Aws::Utils::Outcome< ListAssociationsResult, Aws::Client::AWSError< SSMErrors > > ListAssociationsOutcome
Definition: SSMClient.h:137
std::function< void(const SSMClient *, const Model::SendCommandRequest &, const Model::SendCommandOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendCommandResponseReceivedHandler
Definition: SSMClient.h:201
std::function< void(const SSMClient *, const Model::CreateDocumentRequest &, const Model::CreateDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateDocumentResponseReceivedHandler
Definition: SSMClient.h:183
std::future< RemoveTagsFromResourceOutcome > RemoveTagsFromResourceOutcomeCallable
Definition: SSMClient.h:170
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
std::future< CreateAssociationOutcome > CreateAssociationOutcomeCallable
Definition: SSMClient.h:151
std::future< DescribeAssociationOutcome > DescribeAssociationOutcomeCallable
Definition: SSMClient.h:159
std::future< CreateDocumentOutcome > CreateDocumentOutcomeCallable
Definition: SSMClient.h:153
Aws::Utils::Outcome< DescribeInstanceInformationResult, Aws::Client::AWSError< SSMErrors > > DescribeInstanceInformationOutcome
Definition: SSMClient.h:135
Aws::Utils::Outcome< ListDocumentsResult, Aws::Client::AWSError< SSMErrors > > ListDocumentsOutcome
Definition: SSMClient.h:140
std::function< void(const SSMClient *, const Model::DescribeDocumentPermissionRequest &, const Model::DescribeDocumentPermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDocumentPermissionResponseReceivedHandler
Definition: SSMClient.h:191
Aws::Utils::Outcome< UpdateManagedInstanceRoleResult, Aws::Client::AWSError< SSMErrors > > UpdateManagedInstanceRoleOutcome
Definition: SSMClient.h:146
std::function< void(const SSMClient *, const Model::DescribeActivationsRequest &, const Model::DescribeActivationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeActivationsResponseReceivedHandler
Definition: SSMClient.h:188
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:37
Aws::Utils::Outcome< DeleteAssociationResult, Aws::Client::AWSError< SSMErrors > > DeleteAssociationOutcome
Definition: SSMClient.h:128
std::future< ListAssociationsOutcome > ListAssociationsOutcomeCallable
Definition: SSMClient.h:164
Aws::Utils::Outcome< DeleteActivationResult, Aws::Client::AWSError< SSMErrors > > DeleteActivationOutcome
Definition: SSMClient.h:127
std::future< GetDocumentOutcome > GetDocumentOutcomeCallable
Definition: SSMClient.h:163
Aws::Utils::Outcome< CancelCommandResult, Aws::Client::AWSError< SSMErrors > > CancelCommandOutcome
Definition: SSMClient.h:122
std::function< void(const SSMClient *, const Model::CreateAssociationBatchRequest &, const Model::CreateAssociationBatchOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAssociationBatchResponseReceivedHandler
Definition: SSMClient.h:182
std::future< DeleteActivationOutcome > DeleteActivationOutcomeCallable
Definition: SSMClient.h:154
Aws::Utils::Outcome< DescribeDocumentPermissionResult, Aws::Client::AWSError< SSMErrors > > DescribeDocumentPermissionOutcome
Definition: SSMClient.h:134
Aws::Utils::Outcome< DescribeAssociationResult, Aws::Client::AWSError< SSMErrors > > DescribeAssociationOutcome
Definition: SSMClient.h:132
std::future< ListDocumentsOutcome > ListDocumentsOutcomeCallable
Definition: SSMClient.h:167
Aws::Utils::Outcome< ListCommandsResult, Aws::Client::AWSError< SSMErrors > > ListCommandsOutcome
Definition: SSMClient.h:139
JSON (JavaScript Object Notation).
std::future< CreateActivationOutcome > CreateActivationOutcomeCallable
Definition: SSMClient.h:150
std::function< void(const SSMClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
Definition: SSMClient.h:198