AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
BatchClient.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/batch/BatchServiceClientModel.h>
13
14namespace Aws
15{
16namespace Batch
17{
35 {
36 public:
38 static const char* GetServiceName();
39 static const char* GetAllocationTag();
40
43
49 std::shared_ptr<BatchEndpointProviderBase> endpointProvider = nullptr);
50
56 std::shared_ptr<BatchEndpointProviderBase> endpointProvider = nullptr,
58
63 BatchClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<BatchEndpointProviderBase> endpointProvider = nullptr,
66
67
68 /* Legacy constructors due deprecation */
73 BatchClient(const Aws::Client::ClientConfiguration& clientConfiguration);
74
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
86 BatchClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
87 const Aws::Client::ClientConfiguration& clientConfiguration);
88
89 /* End of legacy constructors due deprecation */
90 virtual ~BatchClient();
91
109
113 template<typename CancelJobRequestT = Model::CancelJobRequest>
114 Model::CancelJobOutcomeCallable CancelJobCallable(const CancelJobRequestT& request) const
115 {
116 return SubmitCallable(&BatchClient::CancelJob, request);
117 }
118
122 template<typename CancelJobRequestT = Model::CancelJobRequest>
123 void CancelJobAsync(const CancelJobRequestT& request, const CancelJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
124 {
125 return SubmitAsync(&BatchClient::CancelJob, request, handler, context);
126 }
127
211
215 template<typename CreateComputeEnvironmentRequestT = Model::CreateComputeEnvironmentRequest>
216 Model::CreateComputeEnvironmentOutcomeCallable CreateComputeEnvironmentCallable(const CreateComputeEnvironmentRequestT& request) const
217 {
218 return SubmitCallable(&BatchClient::CreateComputeEnvironment, request);
219 }
220
224 template<typename CreateComputeEnvironmentRequestT = Model::CreateComputeEnvironmentRequest>
225 void CreateComputeEnvironmentAsync(const CreateComputeEnvironmentRequestT& request, const CreateComputeEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
226 {
227 return SubmitAsync(&BatchClient::CreateComputeEnvironment, request, handler, context);
228 }
229
236
240 template<typename CreateConsumableResourceRequestT = Model::CreateConsumableResourceRequest>
241 Model::CreateConsumableResourceOutcomeCallable CreateConsumableResourceCallable(const CreateConsumableResourceRequestT& request) const
242 {
243 return SubmitCallable(&BatchClient::CreateConsumableResource, request);
244 }
245
249 template<typename CreateConsumableResourceRequestT = Model::CreateConsumableResourceRequest>
250 void CreateConsumableResourceAsync(const CreateConsumableResourceRequestT& request, const CreateConsumableResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
251 {
252 return SubmitAsync(&BatchClient::CreateConsumableResource, request, handler, context);
253 }
254
268
272 template<typename CreateJobQueueRequestT = Model::CreateJobQueueRequest>
273 Model::CreateJobQueueOutcomeCallable CreateJobQueueCallable(const CreateJobQueueRequestT& request) const
274 {
275 return SubmitCallable(&BatchClient::CreateJobQueue, request);
276 }
277
281 template<typename CreateJobQueueRequestT = Model::CreateJobQueueRequest>
282 void CreateJobQueueAsync(const CreateJobQueueRequestT& request, const CreateJobQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
283 {
284 return SubmitAsync(&BatchClient::CreateJobQueue, request, handler, context);
285 }
286
293
297 template<typename CreateSchedulingPolicyRequestT = Model::CreateSchedulingPolicyRequest>
298 Model::CreateSchedulingPolicyOutcomeCallable CreateSchedulingPolicyCallable(const CreateSchedulingPolicyRequestT& request) const
299 {
300 return SubmitCallable(&BatchClient::CreateSchedulingPolicy, request);
301 }
302
306 template<typename CreateSchedulingPolicyRequestT = Model::CreateSchedulingPolicyRequest>
307 void CreateSchedulingPolicyAsync(const CreateSchedulingPolicyRequestT& request, const CreateSchedulingPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
308 {
309 return SubmitAsync(&BatchClient::CreateSchedulingPolicy, request, handler, context);
310 }
311
320
324 template<typename CreateServiceEnvironmentRequestT = Model::CreateServiceEnvironmentRequest>
325 Model::CreateServiceEnvironmentOutcomeCallable CreateServiceEnvironmentCallable(const CreateServiceEnvironmentRequestT& request) const
326 {
327 return SubmitCallable(&BatchClient::CreateServiceEnvironment, request);
328 }
329
333 template<typename CreateServiceEnvironmentRequestT = Model::CreateServiceEnvironmentRequest>
334 void CreateServiceEnvironmentAsync(const CreateServiceEnvironmentRequestT& request, const CreateServiceEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
335 {
336 return SubmitAsync(&BatchClient::CreateServiceEnvironment, request, handler, context);
337 }
338
351
355 template<typename DeleteComputeEnvironmentRequestT = Model::DeleteComputeEnvironmentRequest>
356 Model::DeleteComputeEnvironmentOutcomeCallable DeleteComputeEnvironmentCallable(const DeleteComputeEnvironmentRequestT& request) const
357 {
358 return SubmitCallable(&BatchClient::DeleteComputeEnvironment, request);
359 }
360
364 template<typename DeleteComputeEnvironmentRequestT = Model::DeleteComputeEnvironmentRequest>
365 void DeleteComputeEnvironmentAsync(const DeleteComputeEnvironmentRequestT& request, const DeleteComputeEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
366 {
367 return SubmitAsync(&BatchClient::DeleteComputeEnvironment, request, handler, context);
368 }
369
376
380 template<typename DeleteConsumableResourceRequestT = Model::DeleteConsumableResourceRequest>
381 Model::DeleteConsumableResourceOutcomeCallable DeleteConsumableResourceCallable(const DeleteConsumableResourceRequestT& request) const
382 {
383 return SubmitCallable(&BatchClient::DeleteConsumableResource, request);
384 }
385
389 template<typename DeleteConsumableResourceRequestT = Model::DeleteConsumableResourceRequest>
390 void DeleteConsumableResourceAsync(const DeleteConsumableResourceRequestT& request, const DeleteConsumableResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
391 {
392 return SubmitAsync(&BatchClient::DeleteConsumableResource, request, handler, context);
393 }
394
406
410 template<typename DeleteJobQueueRequestT = Model::DeleteJobQueueRequest>
411 Model::DeleteJobQueueOutcomeCallable DeleteJobQueueCallable(const DeleteJobQueueRequestT& request) const
412 {
413 return SubmitCallable(&BatchClient::DeleteJobQueue, request);
414 }
415
419 template<typename DeleteJobQueueRequestT = Model::DeleteJobQueueRequest>
420 void DeleteJobQueueAsync(const DeleteJobQueueRequestT& request, const DeleteJobQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
421 {
422 return SubmitAsync(&BatchClient::DeleteJobQueue, request, handler, context);
423 }
424
432
436 template<typename DeleteSchedulingPolicyRequestT = Model::DeleteSchedulingPolicyRequest>
437 Model::DeleteSchedulingPolicyOutcomeCallable DeleteSchedulingPolicyCallable(const DeleteSchedulingPolicyRequestT& request) const
438 {
439 return SubmitCallable(&BatchClient::DeleteSchedulingPolicy, request);
440 }
441
445 template<typename DeleteSchedulingPolicyRequestT = Model::DeleteSchedulingPolicyRequest>
446 void DeleteSchedulingPolicyAsync(const DeleteSchedulingPolicyRequestT& request, const DeleteSchedulingPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
447 {
448 return SubmitAsync(&BatchClient::DeleteSchedulingPolicy, request, handler, context);
449 }
450
461
465 template<typename DeleteServiceEnvironmentRequestT = Model::DeleteServiceEnvironmentRequest>
466 Model::DeleteServiceEnvironmentOutcomeCallable DeleteServiceEnvironmentCallable(const DeleteServiceEnvironmentRequestT& request) const
467 {
468 return SubmitCallable(&BatchClient::DeleteServiceEnvironment, request);
469 }
470
474 template<typename DeleteServiceEnvironmentRequestT = Model::DeleteServiceEnvironmentRequest>
475 void DeleteServiceEnvironmentAsync(const DeleteServiceEnvironmentRequestT& request, const DeleteServiceEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
476 {
477 return SubmitAsync(&BatchClient::DeleteServiceEnvironment, request, handler, context);
478 }
479
487
491 template<typename DeregisterJobDefinitionRequestT = Model::DeregisterJobDefinitionRequest>
492 Model::DeregisterJobDefinitionOutcomeCallable DeregisterJobDefinitionCallable(const DeregisterJobDefinitionRequestT& request) const
493 {
494 return SubmitCallable(&BatchClient::DeregisterJobDefinition, request);
495 }
496
500 template<typename DeregisterJobDefinitionRequestT = Model::DeregisterJobDefinitionRequest>
501 void DeregisterJobDefinitionAsync(const DeregisterJobDefinitionRequestT& request, const DeregisterJobDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
502 {
503 return SubmitAsync(&BatchClient::DeregisterJobDefinition, request, handler, context);
504 }
505
516
520 template<typename DescribeComputeEnvironmentsRequestT = Model::DescribeComputeEnvironmentsRequest>
521 Model::DescribeComputeEnvironmentsOutcomeCallable DescribeComputeEnvironmentsCallable(const DescribeComputeEnvironmentsRequestT& request = {}) const
522 {
523 return SubmitCallable(&BatchClient::DescribeComputeEnvironments, request);
524 }
525
529 template<typename DescribeComputeEnvironmentsRequestT = Model::DescribeComputeEnvironmentsRequest>
530 void DescribeComputeEnvironmentsAsync(const DescribeComputeEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DescribeComputeEnvironmentsRequestT& request = {}) const
531 {
532 return SubmitAsync(&BatchClient::DescribeComputeEnvironments, request, handler, context);
533 }
534
542
546 template<typename DescribeConsumableResourceRequestT = Model::DescribeConsumableResourceRequest>
547 Model::DescribeConsumableResourceOutcomeCallable DescribeConsumableResourceCallable(const DescribeConsumableResourceRequestT& request) const
548 {
549 return SubmitCallable(&BatchClient::DescribeConsumableResource, request);
550 }
551
555 template<typename DescribeConsumableResourceRequestT = Model::DescribeConsumableResourceRequest>
556 void DescribeConsumableResourceAsync(const DescribeConsumableResourceRequestT& request, const DescribeConsumableResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
557 {
558 return SubmitAsync(&BatchClient::DescribeConsumableResource, request, handler, context);
559 }
560
569
573 template<typename DescribeJobDefinitionsRequestT = Model::DescribeJobDefinitionsRequest>
574 Model::DescribeJobDefinitionsOutcomeCallable DescribeJobDefinitionsCallable(const DescribeJobDefinitionsRequestT& request = {}) const
575 {
576 return SubmitCallable(&BatchClient::DescribeJobDefinitions, request);
577 }
578
582 template<typename DescribeJobDefinitionsRequestT = Model::DescribeJobDefinitionsRequest>
583 void DescribeJobDefinitionsAsync(const DescribeJobDefinitionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DescribeJobDefinitionsRequestT& request = {}) const
584 {
585 return SubmitAsync(&BatchClient::DescribeJobDefinitions, request, handler, context);
586 }
587
594
598 template<typename DescribeJobQueuesRequestT = Model::DescribeJobQueuesRequest>
599 Model::DescribeJobQueuesOutcomeCallable DescribeJobQueuesCallable(const DescribeJobQueuesRequestT& request = {}) const
600 {
601 return SubmitCallable(&BatchClient::DescribeJobQueues, request);
602 }
603
607 template<typename DescribeJobQueuesRequestT = Model::DescribeJobQueuesRequest>
608 void DescribeJobQueuesAsync(const DescribeJobQueuesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DescribeJobQueuesRequestT& request = {}) const
609 {
610 return SubmitAsync(&BatchClient::DescribeJobQueues, request, handler, context);
611 }
612
619
623 template<typename DescribeJobsRequestT = Model::DescribeJobsRequest>
624 Model::DescribeJobsOutcomeCallable DescribeJobsCallable(const DescribeJobsRequestT& request) const
625 {
626 return SubmitCallable(&BatchClient::DescribeJobs, request);
627 }
628
632 template<typename DescribeJobsRequestT = Model::DescribeJobsRequest>
633 void DescribeJobsAsync(const DescribeJobsRequestT& request, const DescribeJobsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
634 {
635 return SubmitAsync(&BatchClient::DescribeJobs, request, handler, context);
636 }
637
645
649 template<typename DescribeSchedulingPoliciesRequestT = Model::DescribeSchedulingPoliciesRequest>
650 Model::DescribeSchedulingPoliciesOutcomeCallable DescribeSchedulingPoliciesCallable(const DescribeSchedulingPoliciesRequestT& request) const
651 {
652 return SubmitCallable(&BatchClient::DescribeSchedulingPolicies, request);
653 }
654
658 template<typename DescribeSchedulingPoliciesRequestT = Model::DescribeSchedulingPoliciesRequest>
659 void DescribeSchedulingPoliciesAsync(const DescribeSchedulingPoliciesRequestT& request, const DescribeSchedulingPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
660 {
661 return SubmitAsync(&BatchClient::DescribeSchedulingPolicies, request, handler, context);
662 }
663
671
675 template<typename DescribeServiceEnvironmentsRequestT = Model::DescribeServiceEnvironmentsRequest>
676 Model::DescribeServiceEnvironmentsOutcomeCallable DescribeServiceEnvironmentsCallable(const DescribeServiceEnvironmentsRequestT& request = {}) const
677 {
678 return SubmitCallable(&BatchClient::DescribeServiceEnvironments, request);
679 }
680
684 template<typename DescribeServiceEnvironmentsRequestT = Model::DescribeServiceEnvironmentsRequest>
685 void DescribeServiceEnvironmentsAsync(const DescribeServiceEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DescribeServiceEnvironmentsRequestT& request = {}) const
686 {
687 return SubmitAsync(&BatchClient::DescribeServiceEnvironments, request, handler, context);
688 }
689
696
700 template<typename DescribeServiceJobRequestT = Model::DescribeServiceJobRequest>
701 Model::DescribeServiceJobOutcomeCallable DescribeServiceJobCallable(const DescribeServiceJobRequestT& request) const
702 {
703 return SubmitCallable(&BatchClient::DescribeServiceJob, request);
704 }
705
709 template<typename DescribeServiceJobRequestT = Model::DescribeServiceJobRequest>
710 void DescribeServiceJobAsync(const DescribeServiceJobRequestT& request, const DescribeServiceJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
711 {
712 return SubmitAsync(&BatchClient::DescribeServiceJob, request, handler, context);
713 }
714
722
726 template<typename GetJobQueueSnapshotRequestT = Model::GetJobQueueSnapshotRequest>
727 Model::GetJobQueueSnapshotOutcomeCallable GetJobQueueSnapshotCallable(const GetJobQueueSnapshotRequestT& request) const
728 {
729 return SubmitCallable(&BatchClient::GetJobQueueSnapshot, request);
730 }
731
735 template<typename GetJobQueueSnapshotRequestT = Model::GetJobQueueSnapshotRequest>
736 void GetJobQueueSnapshotAsync(const GetJobQueueSnapshotRequestT& request, const GetJobQueueSnapshotResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
737 {
738 return SubmitAsync(&BatchClient::GetJobQueueSnapshot, request, handler, context);
739 }
740
747
751 template<typename ListConsumableResourcesRequestT = Model::ListConsumableResourcesRequest>
752 Model::ListConsumableResourcesOutcomeCallable ListConsumableResourcesCallable(const ListConsumableResourcesRequestT& request = {}) const
753 {
754 return SubmitCallable(&BatchClient::ListConsumableResources, request);
755 }
756
760 template<typename ListConsumableResourcesRequestT = Model::ListConsumableResourcesRequest>
761 void ListConsumableResourcesAsync(const ListConsumableResourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListConsumableResourcesRequestT& request = {}) const
762 {
763 return SubmitAsync(&BatchClient::ListConsumableResources, request, handler, context);
764 }
765
777 virtual Model::ListJobsOutcome ListJobs(const Model::ListJobsRequest& request = {}) const;
778
782 template<typename ListJobsRequestT = Model::ListJobsRequest>
783 Model::ListJobsOutcomeCallable ListJobsCallable(const ListJobsRequestT& request = {}) const
784 {
785 return SubmitCallable(&BatchClient::ListJobs, request);
786 }
787
791 template<typename ListJobsRequestT = Model::ListJobsRequest>
792 void ListJobsAsync(const ListJobsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListJobsRequestT& request = {}) const
793 {
794 return SubmitAsync(&BatchClient::ListJobs, request, handler, context);
795 }
796
804
808 template<typename ListJobsByConsumableResourceRequestT = Model::ListJobsByConsumableResourceRequest>
809 Model::ListJobsByConsumableResourceOutcomeCallable ListJobsByConsumableResourceCallable(const ListJobsByConsumableResourceRequestT& request) const
810 {
811 return SubmitCallable(&BatchClient::ListJobsByConsumableResource, request);
812 }
813
817 template<typename ListJobsByConsumableResourceRequestT = Model::ListJobsByConsumableResourceRequest>
818 void ListJobsByConsumableResourceAsync(const ListJobsByConsumableResourceRequestT& request, const ListJobsByConsumableResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
819 {
820 return SubmitAsync(&BatchClient::ListJobsByConsumableResource, request, handler, context);
821 }
822
829
833 template<typename ListSchedulingPoliciesRequestT = Model::ListSchedulingPoliciesRequest>
834 Model::ListSchedulingPoliciesOutcomeCallable ListSchedulingPoliciesCallable(const ListSchedulingPoliciesRequestT& request = {}) const
835 {
836 return SubmitCallable(&BatchClient::ListSchedulingPolicies, request);
837 }
838
842 template<typename ListSchedulingPoliciesRequestT = Model::ListSchedulingPoliciesRequest>
843 void ListSchedulingPoliciesAsync(const ListSchedulingPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSchedulingPoliciesRequestT& request = {}) const
844 {
845 return SubmitAsync(&BatchClient::ListSchedulingPolicies, request, handler, context);
846 }
847
855
859 template<typename ListServiceJobsRequestT = Model::ListServiceJobsRequest>
860 Model::ListServiceJobsOutcomeCallable ListServiceJobsCallable(const ListServiceJobsRequestT& request = {}) const
861 {
862 return SubmitCallable(&BatchClient::ListServiceJobs, request);
863 }
864
868 template<typename ListServiceJobsRequestT = Model::ListServiceJobsRequest>
869 void ListServiceJobsAsync(const ListServiceJobsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListServiceJobsRequestT& request = {}) const
870 {
871 return SubmitAsync(&BatchClient::ListServiceJobs, request, handler, context);
872 }
873
883
887 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
888 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
889 {
890 return SubmitCallable(&BatchClient::ListTagsForResource, request);
891 }
892
896 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
897 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
898 {
899 return SubmitAsync(&BatchClient::ListTagsForResource, request, handler, context);
900 }
901
908
912 template<typename RegisterJobDefinitionRequestT = Model::RegisterJobDefinitionRequest>
913 Model::RegisterJobDefinitionOutcomeCallable RegisterJobDefinitionCallable(const RegisterJobDefinitionRequestT& request) const
914 {
915 return SubmitCallable(&BatchClient::RegisterJobDefinition, request);
916 }
917
921 template<typename RegisterJobDefinitionRequestT = Model::RegisterJobDefinitionRequest>
922 void RegisterJobDefinitionAsync(const RegisterJobDefinitionRequestT& request, const RegisterJobDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
923 {
924 return SubmitAsync(&BatchClient::RegisterJobDefinition, request, handler, context);
925 }
926
945
949 template<typename SubmitJobRequestT = Model::SubmitJobRequest>
950 Model::SubmitJobOutcomeCallable SubmitJobCallable(const SubmitJobRequestT& request) const
951 {
952 return SubmitCallable(&BatchClient::SubmitJob, request);
953 }
954
958 template<typename SubmitJobRequestT = Model::SubmitJobRequest>
959 void SubmitJobAsync(const SubmitJobRequestT& request, const SubmitJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
960 {
961 return SubmitAsync(&BatchClient::SubmitJob, request, handler, context);
962 }
963
972
976 template<typename SubmitServiceJobRequestT = Model::SubmitServiceJobRequest>
977 Model::SubmitServiceJobOutcomeCallable SubmitServiceJobCallable(const SubmitServiceJobRequestT& request) const
978 {
979 return SubmitCallable(&BatchClient::SubmitServiceJob, request);
980 }
981
985 template<typename SubmitServiceJobRequestT = Model::SubmitServiceJobRequest>
986 void SubmitServiceJobAsync(const SubmitServiceJobRequestT& request, const SubmitServiceJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
987 {
988 return SubmitAsync(&BatchClient::SubmitServiceJob, request, handler, context);
989 }
990
1003
1007 template<typename TagResourceRequestT = Model::TagResourceRequest>
1008 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
1009 {
1010 return SubmitCallable(&BatchClient::TagResource, request);
1011 }
1012
1016 template<typename TagResourceRequestT = Model::TagResourceRequest>
1017 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1018 {
1019 return SubmitAsync(&BatchClient::TagResource, request, handler, context);
1020 }
1021
1031
1035 template<typename TerminateJobRequestT = Model::TerminateJobRequest>
1036 Model::TerminateJobOutcomeCallable TerminateJobCallable(const TerminateJobRequestT& request) const
1037 {
1038 return SubmitCallable(&BatchClient::TerminateJob, request);
1039 }
1040
1044 template<typename TerminateJobRequestT = Model::TerminateJobRequest>
1045 void TerminateJobAsync(const TerminateJobRequestT& request, const TerminateJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1046 {
1047 return SubmitAsync(&BatchClient::TerminateJob, request, handler, context);
1048 }
1049
1056
1060 template<typename TerminateServiceJobRequestT = Model::TerminateServiceJobRequest>
1061 Model::TerminateServiceJobOutcomeCallable TerminateServiceJobCallable(const TerminateServiceJobRequestT& request) const
1062 {
1063 return SubmitCallable(&BatchClient::TerminateServiceJob, request);
1064 }
1065
1069 template<typename TerminateServiceJobRequestT = Model::TerminateServiceJobRequest>
1070 void TerminateServiceJobAsync(const TerminateServiceJobRequestT& request, const TerminateServiceJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1071 {
1072 return SubmitAsync(&BatchClient::TerminateServiceJob, request, handler, context);
1073 }
1074
1081
1085 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
1086 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
1087 {
1088 return SubmitCallable(&BatchClient::UntagResource, request);
1089 }
1090
1094 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
1095 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1096 {
1097 return SubmitAsync(&BatchClient::UntagResource, request, handler, context);
1098 }
1099
1106
1110 template<typename UpdateComputeEnvironmentRequestT = Model::UpdateComputeEnvironmentRequest>
1111 Model::UpdateComputeEnvironmentOutcomeCallable UpdateComputeEnvironmentCallable(const UpdateComputeEnvironmentRequestT& request) const
1112 {
1113 return SubmitCallable(&BatchClient::UpdateComputeEnvironment, request);
1114 }
1115
1119 template<typename UpdateComputeEnvironmentRequestT = Model::UpdateComputeEnvironmentRequest>
1120 void UpdateComputeEnvironmentAsync(const UpdateComputeEnvironmentRequestT& request, const UpdateComputeEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1121 {
1122 return SubmitAsync(&BatchClient::UpdateComputeEnvironment, request, handler, context);
1123 }
1124
1131
1135 template<typename UpdateConsumableResourceRequestT = Model::UpdateConsumableResourceRequest>
1136 Model::UpdateConsumableResourceOutcomeCallable UpdateConsumableResourceCallable(const UpdateConsumableResourceRequestT& request) const
1137 {
1138 return SubmitCallable(&BatchClient::UpdateConsumableResource, request);
1139 }
1140
1144 template<typename UpdateConsumableResourceRequestT = Model::UpdateConsumableResourceRequest>
1145 void UpdateConsumableResourceAsync(const UpdateConsumableResourceRequestT& request, const UpdateConsumableResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1146 {
1147 return SubmitAsync(&BatchClient::UpdateConsumableResource, request, handler, context);
1148 }
1149
1156
1160 template<typename UpdateJobQueueRequestT = Model::UpdateJobQueueRequest>
1161 Model::UpdateJobQueueOutcomeCallable UpdateJobQueueCallable(const UpdateJobQueueRequestT& request) const
1162 {
1163 return SubmitCallable(&BatchClient::UpdateJobQueue, request);
1164 }
1165
1169 template<typename UpdateJobQueueRequestT = Model::UpdateJobQueueRequest>
1170 void UpdateJobQueueAsync(const UpdateJobQueueRequestT& request, const UpdateJobQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1171 {
1172 return SubmitAsync(&BatchClient::UpdateJobQueue, request, handler, context);
1173 }
1174
1181
1185 template<typename UpdateSchedulingPolicyRequestT = Model::UpdateSchedulingPolicyRequest>
1186 Model::UpdateSchedulingPolicyOutcomeCallable UpdateSchedulingPolicyCallable(const UpdateSchedulingPolicyRequestT& request) const
1187 {
1188 return SubmitCallable(&BatchClient::UpdateSchedulingPolicy, request);
1189 }
1190
1194 template<typename UpdateSchedulingPolicyRequestT = Model::UpdateSchedulingPolicyRequest>
1195 void UpdateSchedulingPolicyAsync(const UpdateSchedulingPolicyRequestT& request, const UpdateSchedulingPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1196 {
1197 return SubmitAsync(&BatchClient::UpdateSchedulingPolicy, request, handler, context);
1198 }
1199
1209
1213 template<typename UpdateServiceEnvironmentRequestT = Model::UpdateServiceEnvironmentRequest>
1214 Model::UpdateServiceEnvironmentOutcomeCallable UpdateServiceEnvironmentCallable(const UpdateServiceEnvironmentRequestT& request) const
1215 {
1216 return SubmitCallable(&BatchClient::UpdateServiceEnvironment, request);
1217 }
1218
1222 template<typename UpdateServiceEnvironmentRequestT = Model::UpdateServiceEnvironmentRequest>
1223 void UpdateServiceEnvironmentAsync(const UpdateServiceEnvironmentRequestT& request, const UpdateServiceEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1224 {
1225 return SubmitAsync(&BatchClient::UpdateServiceEnvironment, request, handler, context);
1226 }
1227
1228
1229 void OverrideEndpoint(const Aws::String& endpoint);
1230 std::shared_ptr<BatchEndpointProviderBase>& accessEndpointProvider();
1231 private:
1233 void init(const BatchClientConfiguration& clientConfiguration);
1234
1235 BatchClientConfiguration m_clientConfiguration;
1236 std::shared_ptr<BatchEndpointProviderBase> m_endpointProvider;
1237 };
1238
1239} // namespace Batch
1240} // namespace Aws
virtual Model::DescribeServiceJobOutcome DescribeServiceJob(const Model::DescribeServiceJobRequest &request) const
std::shared_ptr< BatchEndpointProviderBase > & accessEndpointProvider()
BatchClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void CreateComputeEnvironmentAsync(const CreateComputeEnvironmentRequestT &request, const CreateComputeEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BatchEndpointProvider EndpointProviderType
Definition BatchClient.h:42
Model::DescribeServiceJobOutcomeCallable DescribeServiceJobCallable(const DescribeServiceJobRequestT &request) const
virtual Model::DescribeJobsOutcome DescribeJobs(const Model::DescribeJobsRequest &request) const
virtual Model::SubmitServiceJobOutcome SubmitServiceJob(const Model::SubmitServiceJobRequest &request) const
virtual Model::UpdateConsumableResourceOutcome UpdateConsumableResource(const Model::UpdateConsumableResourceRequest &request) const
void DeleteComputeEnvironmentAsync(const DeleteComputeEnvironmentRequestT &request, const DeleteComputeEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UpdateSchedulingPolicyOutcomeCallable UpdateSchedulingPolicyCallable(const UpdateSchedulingPolicyRequestT &request) const
Model::CreateSchedulingPolicyOutcomeCallable CreateSchedulingPolicyCallable(const CreateSchedulingPolicyRequestT &request) const
void UpdateConsumableResourceAsync(const UpdateConsumableResourceRequestT &request, const UpdateConsumableResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteComputeEnvironmentOutcome DeleteComputeEnvironment(const Model::DeleteComputeEnvironmentRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::UpdateServiceEnvironmentOutcome UpdateServiceEnvironment(const Model::UpdateServiceEnvironmentRequest &request) const
Model::CreateServiceEnvironmentOutcomeCallable CreateServiceEnvironmentCallable(const CreateServiceEnvironmentRequestT &request) const
Model::UpdateComputeEnvironmentOutcomeCallable UpdateComputeEnvironmentCallable(const UpdateComputeEnvironmentRequestT &request) const
static const char * GetServiceName()
virtual Model::TerminateJobOutcome TerminateJob(const Model::TerminateJobRequest &request) const
void GetJobQueueSnapshotAsync(const GetJobQueueSnapshotRequestT &request, const GetJobQueueSnapshotResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UpdateSchedulingPolicyAsync(const UpdateSchedulingPolicyRequestT &request, const UpdateSchedulingPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdateComputeEnvironmentOutcome UpdateComputeEnvironment(const Model::UpdateComputeEnvironmentRequest &request) const
Model::DeleteConsumableResourceOutcomeCallable DeleteConsumableResourceCallable(const DeleteConsumableResourceRequestT &request) const
virtual Model::DeregisterJobDefinitionOutcome DeregisterJobDefinition(const Model::DeregisterJobDefinitionRequest &request) const
void DescribeJobQueuesAsync(const DescribeJobQueuesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeJobQueuesRequestT &request={}) const
void DeleteSchedulingPolicyAsync(const DeleteSchedulingPolicyRequestT &request, const DeleteSchedulingPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListJobsOutcomeCallable ListJobsCallable(const ListJobsRequestT &request={}) const
Model::DescribeSchedulingPoliciesOutcomeCallable DescribeSchedulingPoliciesCallable(const DescribeSchedulingPoliciesRequestT &request) const
void DescribeSchedulingPoliciesAsync(const DescribeSchedulingPoliciesRequestT &request, const DescribeSchedulingPoliciesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BatchClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< BatchEndpointProviderBase > endpointProvider=nullptr, const Aws::Batch::BatchClientConfiguration &clientConfiguration=Aws::Batch::BatchClientConfiguration())
Model::ListConsumableResourcesOutcomeCallable ListConsumableResourcesCallable(const ListConsumableResourcesRequestT &request={}) const
Model::CreateComputeEnvironmentOutcomeCallable CreateComputeEnvironmentCallable(const CreateComputeEnvironmentRequestT &request) const
virtual Model::RegisterJobDefinitionOutcome RegisterJobDefinition(const Model::RegisterJobDefinitionRequest &request) const
Model::DeleteServiceEnvironmentOutcomeCallable DeleteServiceEnvironmentCallable(const DeleteServiceEnvironmentRequestT &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateServiceEnvironmentOutcome CreateServiceEnvironment(const Model::CreateServiceEnvironmentRequest &request) const
virtual Model::CreateJobQueueOutcome CreateJobQueue(const Model::CreateJobQueueRequest &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::CancelJobOutcome CancelJob(const Model::CancelJobRequest &request) const
BatchClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void DescribeServiceEnvironmentsAsync(const DescribeServiceEnvironmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeServiceEnvironmentsRequestT &request={}) const
Model::CancelJobOutcomeCallable CancelJobCallable(const CancelJobRequestT &request) const
static const char * GetAllocationTag()
void DescribeServiceJobAsync(const DescribeServiceJobRequestT &request, const DescribeServiceJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListConsumableResourcesAsync(const ListConsumableResourcesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListConsumableResourcesRequestT &request={}) const
Model::DescribeJobQueuesOutcomeCallable DescribeJobQueuesCallable(const DescribeJobQueuesRequestT &request={}) const
void CreateConsumableResourceAsync(const CreateConsumableResourceRequestT &request, const CreateConsumableResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateConsumableResourceOutcome CreateConsumableResource(const Model::CreateConsumableResourceRequest &request) const
void SubmitServiceJobAsync(const SubmitServiceJobRequestT &request, const SubmitServiceJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListJobsByConsumableResourceOutcomeCallable ListJobsByConsumableResourceCallable(const ListJobsByConsumableResourceRequestT &request) const
Model::RegisterJobDefinitionOutcomeCallable RegisterJobDefinitionCallable(const RegisterJobDefinitionRequestT &request) const
Model::DeleteComputeEnvironmentOutcomeCallable DeleteComputeEnvironmentCallable(const DeleteComputeEnvironmentRequestT &request) const
virtual Model::DeleteJobQueueOutcome DeleteJobQueue(const Model::DeleteJobQueueRequest &request) const
virtual Model::DeleteConsumableResourceOutcome DeleteConsumableResource(const Model::DeleteConsumableResourceRequest &request) const
virtual Model::CreateComputeEnvironmentOutcome CreateComputeEnvironment(const Model::CreateComputeEnvironmentRequest &request) const
void CreateServiceEnvironmentAsync(const CreateServiceEnvironmentRequestT &request, const CreateServiceEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DeregisterJobDefinitionAsync(const DeregisterJobDefinitionRequestT &request, const DeregisterJobDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListServiceJobsOutcomeCallable ListServiceJobsCallable(const ListServiceJobsRequestT &request={}) const
void CancelJobAsync(const CancelJobRequestT &request, const CancelJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void TerminateJobAsync(const TerminateJobRequestT &request, const TerminateJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
virtual Model::DeleteServiceEnvironmentOutcome DeleteServiceEnvironment(const Model::DeleteServiceEnvironmentRequest &request) const
Model::DescribeJobsOutcomeCallable DescribeJobsCallable(const DescribeJobsRequestT &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::DeleteJobQueueOutcomeCallable DeleteJobQueueCallable(const DeleteJobQueueRequestT &request) const
void DeleteJobQueueAsync(const DeleteJobQueueRequestT &request, const DeleteJobQueueResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListServiceJobsAsync(const ListServiceJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListServiceJobsRequestT &request={}) const
virtual Model::SubmitJobOutcome SubmitJob(const Model::SubmitJobRequest &request) const
void TerminateServiceJobAsync(const TerminateServiceJobRequestT &request, const TerminateServiceJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UpdateServiceEnvironmentOutcomeCallable UpdateServiceEnvironmentCallable(const UpdateServiceEnvironmentRequestT &request) const
void DeleteServiceEnvironmentAsync(const DeleteServiceEnvironmentRequestT &request, const DeleteServiceEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeComputeEnvironmentsOutcomeCallable DescribeComputeEnvironmentsCallable(const DescribeComputeEnvironmentsRequestT &request={}) const
void ListJobsAsync(const ListJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListJobsRequestT &request={}) const
void ListSchedulingPoliciesAsync(const ListSchedulingPoliciesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSchedulingPoliciesRequestT &request={}) const
void RegisterJobDefinitionAsync(const RegisterJobDefinitionRequestT &request, const RegisterJobDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeComputeEnvironmentsAsync(const DescribeComputeEnvironmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeComputeEnvironmentsRequestT &request={}) const
Model::TerminateServiceJobOutcomeCallable TerminateServiceJobCallable(const TerminateServiceJobRequestT &request) const
virtual Model::ListConsumableResourcesOutcome ListConsumableResources(const Model::ListConsumableResourcesRequest &request={}) const
void ListJobsByConsumableResourceAsync(const ListJobsByConsumableResourceRequestT &request, const ListJobsByConsumableResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateJobQueueOutcomeCallable CreateJobQueueCallable(const CreateJobQueueRequestT &request) const
Model::DeregisterJobDefinitionOutcomeCallable DeregisterJobDefinitionCallable(const DeregisterJobDefinitionRequestT &request) const
Model::UpdateConsumableResourceOutcomeCallable UpdateConsumableResourceCallable(const UpdateConsumableResourceRequestT &request) const
virtual Model::DescribeJobQueuesOutcome DescribeJobQueues(const Model::DescribeJobQueuesRequest &request={}) const
virtual Model::DescribeServiceEnvironmentsOutcome DescribeServiceEnvironments(const Model::DescribeServiceEnvironmentsRequest &request={}) const
virtual Model::ListJobsOutcome ListJobs(const Model::ListJobsRequest &request={}) const
virtual Model::CreateSchedulingPolicyOutcome CreateSchedulingPolicy(const Model::CreateSchedulingPolicyRequest &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
BatchClientConfiguration ClientConfigurationType
Definition BatchClient.h:41
virtual Model::DeleteSchedulingPolicyOutcome DeleteSchedulingPolicy(const Model::DeleteSchedulingPolicyRequest &request) const
virtual Model::TerminateServiceJobOutcome TerminateServiceJob(const Model::TerminateServiceJobRequest &request) const
Model::GetJobQueueSnapshotOutcomeCallable GetJobQueueSnapshotCallable(const GetJobQueueSnapshotRequestT &request) const
Model::DeleteSchedulingPolicyOutcomeCallable DeleteSchedulingPolicyCallable(const DeleteSchedulingPolicyRequestT &request) const
virtual Model::ListJobsByConsumableResourceOutcome ListJobsByConsumableResource(const Model::ListJobsByConsumableResourceRequest &request) const
void UpdateServiceEnvironmentAsync(const UpdateServiceEnvironmentRequestT &request, const UpdateServiceEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::Client::AWSJsonClient BASECLASS
Definition BatchClient.h:37
Model::UpdateJobQueueOutcomeCallable UpdateJobQueueCallable(const UpdateJobQueueRequestT &request) const
virtual Model::DescribeSchedulingPoliciesOutcome DescribeSchedulingPolicies(const Model::DescribeSchedulingPoliciesRequest &request) const
Model::SubmitJobOutcomeCallable SubmitJobCallable(const SubmitJobRequestT &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeConsumableResourceOutcomeCallable DescribeConsumableResourceCallable(const DescribeConsumableResourceRequestT &request) const
Model::ListSchedulingPoliciesOutcomeCallable ListSchedulingPoliciesCallable(const ListSchedulingPoliciesRequestT &request={}) const
virtual Model::GetJobQueueSnapshotOutcome GetJobQueueSnapshot(const Model::GetJobQueueSnapshotRequest &request) const
Model::TerminateJobOutcomeCallable TerminateJobCallable(const TerminateJobRequestT &request) const
virtual Model::UpdateSchedulingPolicyOutcome UpdateSchedulingPolicy(const Model::UpdateSchedulingPolicyRequest &request) const
void UpdateComputeEnvironmentAsync(const UpdateComputeEnvironmentRequestT &request, const UpdateComputeEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateSchedulingPolicyAsync(const CreateSchedulingPolicyRequestT &request, const CreateSchedulingPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BatchClient(const Aws::Batch::BatchClientConfiguration &clientConfiguration=Aws::Batch::BatchClientConfiguration(), std::shared_ptr< BatchEndpointProviderBase > endpointProvider=nullptr)
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::DescribeJobDefinitionsOutcome DescribeJobDefinitions(const Model::DescribeJobDefinitionsRequest &request={}) const
virtual Model::DescribeComputeEnvironmentsOutcome DescribeComputeEnvironments(const Model::DescribeComputeEnvironmentsRequest &request={}) const
virtual Model::ListServiceJobsOutcome ListServiceJobs(const Model::ListServiceJobsRequest &request={}) const
void DescribeJobsAsync(const DescribeJobsRequestT &request, const DescribeJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdateJobQueueOutcome UpdateJobQueue(const Model::UpdateJobQueueRequest &request) const
void UpdateJobQueueAsync(const UpdateJobQueueRequestT &request, const UpdateJobQueueResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BatchClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< BatchEndpointProviderBase > endpointProvider=nullptr, const Aws::Batch::BatchClientConfiguration &clientConfiguration=Aws::Batch::BatchClientConfiguration())
void SubmitJobAsync(const SubmitJobRequestT &request, const SubmitJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeConsumableResourceOutcome DescribeConsumableResource(const Model::DescribeConsumableResourceRequest &request) const
Model::DescribeServiceEnvironmentsOutcomeCallable DescribeServiceEnvironmentsCallable(const DescribeServiceEnvironmentsRequestT &request={}) const
void DeleteConsumableResourceAsync(const DeleteConsumableResourceRequestT &request, const DeleteConsumableResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListSchedulingPoliciesOutcome ListSchedulingPolicies(const Model::ListSchedulingPoliciesRequest &request={}) const
BatchClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::CreateConsumableResourceOutcomeCallable CreateConsumableResourceCallable(const CreateConsumableResourceRequestT &request) const
void CreateJobQueueAsync(const CreateJobQueueRequestT &request, const CreateJobQueueResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeConsumableResourceAsync(const DescribeConsumableResourceRequestT &request, const DescribeConsumableResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeJobDefinitionsAsync(const DescribeJobDefinitionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeJobDefinitionsRequestT &request={}) const
Model::SubmitServiceJobOutcomeCallable SubmitServiceJobCallable(const SubmitServiceJobRequestT &request) const
Model::DescribeJobDefinitionsOutcomeCallable DescribeJobDefinitionsCallable(const DescribeJobDefinitionsRequestT &request={}) const
std::future< UpdateServiceEnvironmentOutcome > UpdateServiceEnvironmentOutcomeCallable
std::future< UpdateJobQueueOutcome > UpdateJobQueueOutcomeCallable
std::future< SubmitJobOutcome > SubmitJobOutcomeCallable
std::future< CreateJobQueueOutcome > CreateJobQueueOutcomeCallable
std::future< CreateSchedulingPolicyOutcome > CreateSchedulingPolicyOutcomeCallable
std::future< DeleteJobQueueOutcome > DeleteJobQueueOutcomeCallable
std::future< ListServiceJobsOutcome > ListServiceJobsOutcomeCallable
std::future< DeleteSchedulingPolicyOutcome > DeleteSchedulingPolicyOutcomeCallable
std::future< UpdateSchedulingPolicyOutcome > UpdateSchedulingPolicyOutcomeCallable
std::future< DeregisterJobDefinitionOutcome > DeregisterJobDefinitionOutcomeCallable
std::future< GetJobQueueSnapshotOutcome > GetJobQueueSnapshotOutcomeCallable
std::future< CancelJobOutcome > CancelJobOutcomeCallable
std::future< CreateServiceEnvironmentOutcome > CreateServiceEnvironmentOutcomeCallable
std::future< ListJobsOutcome > ListJobsOutcomeCallable
std::future< ListConsumableResourcesOutcome > ListConsumableResourcesOutcomeCallable
std::future< DescribeComputeEnvironmentsOutcome > DescribeComputeEnvironmentsOutcomeCallable
std::future< DeleteConsumableResourceOutcome > DeleteConsumableResourceOutcomeCallable
std::future< ListSchedulingPoliciesOutcome > ListSchedulingPoliciesOutcomeCallable
std::future< DeleteServiceEnvironmentOutcome > DeleteServiceEnvironmentOutcomeCallable
std::future< DescribeJobQueuesOutcome > DescribeJobQueuesOutcomeCallable
std::future< DescribeServiceEnvironmentsOutcome > DescribeServiceEnvironmentsOutcomeCallable
std::future< RegisterJobDefinitionOutcome > RegisterJobDefinitionOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< CreateConsumableResourceOutcome > CreateConsumableResourceOutcomeCallable
std::future< DescribeJobDefinitionsOutcome > DescribeJobDefinitionsOutcomeCallable
std::future< DeleteComputeEnvironmentOutcome > DeleteComputeEnvironmentOutcomeCallable
std::future< DescribeServiceJobOutcome > DescribeServiceJobOutcomeCallable
std::future< DescribeSchedulingPoliciesOutcome > DescribeSchedulingPoliciesOutcomeCallable
std::future< TerminateJobOutcome > TerminateJobOutcomeCallable
std::future< DescribeConsumableResourceOutcome > DescribeConsumableResourceOutcomeCallable
std::future< TerminateServiceJobOutcome > TerminateServiceJobOutcomeCallable
std::future< UpdateComputeEnvironmentOutcome > UpdateComputeEnvironmentOutcomeCallable
std::future< SubmitServiceJobOutcome > SubmitServiceJobOutcomeCallable
std::future< DescribeJobsOutcome > DescribeJobsOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< CreateComputeEnvironmentOutcome > CreateComputeEnvironmentOutcomeCallable
std::future< ListJobsByConsumableResourceOutcome > ListJobsByConsumableResourceOutcomeCallable
std::future< UpdateConsumableResourceOutcome > UpdateConsumableResourceOutcomeCallable
std::function< void(const BatchClient *, const Model::DescribeServiceJobRequest &, const Model::DescribeServiceJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeServiceJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::TerminateJobRequest &, const Model::TerminateJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TerminateJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeregisterJobDefinitionRequest &, const Model::DeregisterJobDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeregisterJobDefinitionResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeComputeEnvironmentsRequest &, const Model::DescribeComputeEnvironmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeComputeEnvironmentsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeJobQueuesRequest &, const Model::DescribeJobQueuesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeJobQueuesResponseReceivedHandler
std::function< void(const BatchClient *, const Model::GetJobQueueSnapshotRequest &, const Model::GetJobQueueSnapshotOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetJobQueueSnapshotResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeJobsRequest &, const Model::DescribeJobsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeJobsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CreateComputeEnvironmentRequest &, const Model::CreateComputeEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateComputeEnvironmentResponseReceivedHandler
std::function< void(const BatchClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeJobDefinitionsRequest &, const Model::DescribeJobDefinitionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeJobDefinitionsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UpdateComputeEnvironmentRequest &, const Model::UpdateComputeEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateComputeEnvironmentResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeleteSchedulingPolicyRequest &, const Model::DeleteSchedulingPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSchedulingPolicyResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UpdateJobQueueRequest &, const Model::UpdateJobQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateJobQueueResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeleteConsumableResourceRequest &, const Model::DeleteConsumableResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteConsumableResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListJobsByConsumableResourceRequest &, const Model::ListJobsByConsumableResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListJobsByConsumableResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListJobsRequest &, const Model::ListJobsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListJobsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UpdateConsumableResourceRequest &, const Model::UpdateConsumableResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateConsumableResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListSchedulingPoliciesRequest &, const Model::ListSchedulingPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSchedulingPoliciesResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CreateJobQueueRequest &, const Model::CreateJobQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateJobQueueResponseReceivedHandler
std::function< void(const BatchClient *, const Model::RegisterJobDefinitionRequest &, const Model::RegisterJobDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterJobDefinitionResponseReceivedHandler
std::function< void(const BatchClient *, const Model::TerminateServiceJobRequest &, const Model::TerminateServiceJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TerminateServiceJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeConsumableResourceRequest &, const Model::DescribeConsumableResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeConsumableResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeleteComputeEnvironmentRequest &, const Model::DeleteComputeEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteComputeEnvironmentResponseReceivedHandler
std::function< void(const BatchClient *, const Model::SubmitJobRequest &, const Model::SubmitJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubmitJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListServiceJobsRequest &, const Model::ListServiceJobsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListServiceJobsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CreateServiceEnvironmentRequest &, const Model::CreateServiceEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateServiceEnvironmentResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CreateConsumableResourceRequest &, const Model::CreateConsumableResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateConsumableResourceResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CancelJobRequest &, const Model::CancelJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeleteJobQueueRequest &, const Model::DeleteJobQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteJobQueueResponseReceivedHandler
std::function< void(const BatchClient *, const Model::ListConsumableResourcesRequest &, const Model::ListConsumableResourcesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListConsumableResourcesResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeSchedulingPoliciesRequest &, const Model::DescribeSchedulingPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeSchedulingPoliciesResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UpdateSchedulingPolicyRequest &, const Model::UpdateSchedulingPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSchedulingPolicyResponseReceivedHandler
std::function< void(const BatchClient *, const Model::UpdateServiceEnvironmentRequest &, const Model::UpdateServiceEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateServiceEnvironmentResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DescribeServiceEnvironmentsRequest &, const Model::DescribeServiceEnvironmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeServiceEnvironmentsResponseReceivedHandler
std::function< void(const BatchClient *, const Model::CreateSchedulingPolicyRequest &, const Model::CreateSchedulingPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateSchedulingPolicyResponseReceivedHandler
std::function< void(const BatchClient *, const Model::SubmitServiceJobRequest &, const Model::SubmitServiceJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubmitServiceJobResponseReceivedHandler
std::function< void(const BatchClient *, const Model::DeleteServiceEnvironmentRequest &, const Model::DeleteServiceEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteServiceEnvironmentResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String