Skip to content

Commit 4a559fc

Browse files
committed
Merge branch 'ReuseStreamingChecksum' of https://github.com/aws/aws-sdk-cpp into ReuseStreamingChecksum
2 parents 291e457 + f2dbd60 commit 4a559fc

File tree

291 files changed

+18624
-1781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+18624
-1781
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.614
1+
1.11.616

generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,33 @@ namespace Batch
309309
return SubmitAsync(&BatchClient::CreateSchedulingPolicy, request, handler, context);
310310
}
311311

312+
/**
313+
* <p>Creates a service environment for running service jobs. Service environments
314+
* define capacity limits for specific service types such as SageMaker Training
315+
* jobs.</p><p><h3>See Also:</h3> <a
316+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateServiceEnvironment">AWS
317+
* API Reference</a></p>
318+
*/
319+
virtual Model::CreateServiceEnvironmentOutcome CreateServiceEnvironment(const Model::CreateServiceEnvironmentRequest& request) const;
320+
321+
/**
322+
* A Callable wrapper for CreateServiceEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
323+
*/
324+
template<typename CreateServiceEnvironmentRequestT = Model::CreateServiceEnvironmentRequest>
325+
Model::CreateServiceEnvironmentOutcomeCallable CreateServiceEnvironmentCallable(const CreateServiceEnvironmentRequestT& request) const
326+
{
327+
return SubmitCallable(&BatchClient::CreateServiceEnvironment, request);
328+
}
329+
330+
/**
331+
* An Async wrapper for CreateServiceEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
332+
*/
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+
312339
/**
313340
* <p>Deletes an Batch compute environment.</p> <p>Before you can delete a compute
314341
* environment, you must set its state to <code>DISABLED</code> with the
@@ -421,6 +448,35 @@ namespace Batch
421448
return SubmitAsync(&BatchClient::DeleteSchedulingPolicy, request, handler, context);
422449
}
423450

451+
/**
452+
* <p>Deletes a Service environment. Before you can delete a service environment,
453+
* you must first set its state to <code>DISABLED</code> with the
454+
* <code>UpdateServiceEnvironment</code> API operation and disassociate it from any
455+
* job queues with the <code>UpdateJobQueue</code> API operation.</p><p><h3>See
456+
* Also:</h3> <a
457+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteServiceEnvironment">AWS
458+
* API Reference</a></p>
459+
*/
460+
virtual Model::DeleteServiceEnvironmentOutcome DeleteServiceEnvironment(const Model::DeleteServiceEnvironmentRequest& request) const;
461+
462+
/**
463+
* A Callable wrapper for DeleteServiceEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
464+
*/
465+
template<typename DeleteServiceEnvironmentRequestT = Model::DeleteServiceEnvironmentRequest>
466+
Model::DeleteServiceEnvironmentOutcomeCallable DeleteServiceEnvironmentCallable(const DeleteServiceEnvironmentRequestT& request) const
467+
{
468+
return SubmitCallable(&BatchClient::DeleteServiceEnvironment, request);
469+
}
470+
471+
/**
472+
* An Async wrapper for DeleteServiceEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
473+
*/
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+
424480
/**
425481
* <p>Deregisters an Batch job definition. Job definitions are permanently deleted
426482
* after 180 days.</p><p><h3>See Also:</h3> <a
@@ -605,6 +661,57 @@ namespace Batch
605661
return SubmitAsync(&BatchClient::DescribeSchedulingPolicies, request, handler, context);
606662
}
607663

664+
/**
665+
* <p>Describes one or more of your service environments.</p><p><h3>See Also:</h3>
666+
* <a
667+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeServiceEnvironments">AWS
668+
* API Reference</a></p>
669+
*/
670+
virtual Model::DescribeServiceEnvironmentsOutcome DescribeServiceEnvironments(const Model::DescribeServiceEnvironmentsRequest& request = {}) const;
671+
672+
/**
673+
* A Callable wrapper for DescribeServiceEnvironments that returns a future to the operation so that it can be executed in parallel to other requests.
674+
*/
675+
template<typename DescribeServiceEnvironmentsRequestT = Model::DescribeServiceEnvironmentsRequest>
676+
Model::DescribeServiceEnvironmentsOutcomeCallable DescribeServiceEnvironmentsCallable(const DescribeServiceEnvironmentsRequestT& request = {}) const
677+
{
678+
return SubmitCallable(&BatchClient::DescribeServiceEnvironments, request);
679+
}
680+
681+
/**
682+
* An Async wrapper for DescribeServiceEnvironments that queues the request into a thread executor and triggers associated callback when operation has finished.
683+
*/
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+
690+
/**
691+
* <p>The details of a service job.</p><p><h3>See Also:</h3> <a
692+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeServiceJob">AWS
693+
* API Reference</a></p>
694+
*/
695+
virtual Model::DescribeServiceJobOutcome DescribeServiceJob(const Model::DescribeServiceJobRequest& request) const;
696+
697+
/**
698+
* A Callable wrapper for DescribeServiceJob that returns a future to the operation so that it can be executed in parallel to other requests.
699+
*/
700+
template<typename DescribeServiceJobRequestT = Model::DescribeServiceJobRequest>
701+
Model::DescribeServiceJobOutcomeCallable DescribeServiceJobCallable(const DescribeServiceJobRequestT& request) const
702+
{
703+
return SubmitCallable(&BatchClient::DescribeServiceJob, request);
704+
}
705+
706+
/**
707+
* An Async wrapper for DescribeServiceJob that queues the request into a thread executor and triggers associated callback when operation has finished.
708+
*/
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+
608715
/**
609716
* <p>Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
610717
* single job queue.</p><p><h3>See Also:</h3> <a
@@ -738,6 +845,32 @@ namespace Batch
738845
return SubmitAsync(&BatchClient::ListSchedulingPolicies, request, handler, context);
739846
}
740847

848+
/**
849+
* <p>Returns a list of service jobs for a specified job queue.</p><p><h3>See
850+
* Also:</h3> <a
851+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListServiceJobs">AWS
852+
* API Reference</a></p>
853+
*/
854+
virtual Model::ListServiceJobsOutcome ListServiceJobs(const Model::ListServiceJobsRequest& request = {}) const;
855+
856+
/**
857+
* A Callable wrapper for ListServiceJobs that returns a future to the operation so that it can be executed in parallel to other requests.
858+
*/
859+
template<typename ListServiceJobsRequestT = Model::ListServiceJobsRequest>
860+
Model::ListServiceJobsOutcomeCallable ListServiceJobsCallable(const ListServiceJobsRequestT& request = {}) const
861+
{
862+
return SubmitCallable(&BatchClient::ListServiceJobs, request);
863+
}
864+
865+
/**
866+
* An Async wrapper for ListServiceJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
867+
*/
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+
741874
/**
742875
* <p>Lists the tags for an Batch resource. Batch resources that support tags are
743876
* compute environments, jobs, job definitions, job queues, and scheduling
@@ -828,6 +961,33 @@ namespace Batch
828961
return SubmitAsync(&BatchClient::SubmitJob, request, handler, context);
829962
}
830963

964+
/**
965+
* <p>Submits a service job to a specified job queue to run on SageMaker AI. A
966+
* service job is a unit of work that you submit to Batch for execution on
967+
* SageMaker AI.</p><p><h3>See Also:</h3> <a
968+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitServiceJob">AWS
969+
* API Reference</a></p>
970+
*/
971+
virtual Model::SubmitServiceJobOutcome SubmitServiceJob(const Model::SubmitServiceJobRequest& request) const;
972+
973+
/**
974+
* A Callable wrapper for SubmitServiceJob that returns a future to the operation so that it can be executed in parallel to other requests.
975+
*/
976+
template<typename SubmitServiceJobRequestT = Model::SubmitServiceJobRequest>
977+
Model::SubmitServiceJobOutcomeCallable SubmitServiceJobCallable(const SubmitServiceJobRequestT& request) const
978+
{
979+
return SubmitCallable(&BatchClient::SubmitServiceJob, request);
980+
}
981+
982+
/**
983+
* An Async wrapper for SubmitServiceJob that queues the request into a thread executor and triggers associated callback when operation has finished.
984+
*/
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+
831991
/**
832992
* <p>Associates the specified tags to a resource with the specified
833993
* <code>resourceArn</code>. If existing tags on a resource aren't specified in the
@@ -887,6 +1047,31 @@ namespace Batch
8871047
return SubmitAsync(&BatchClient::TerminateJob, request, handler, context);
8881048
}
8891049

1050+
/**
1051+
* <p>Terminates a service job in a job queue. </p><p><h3>See Also:</h3> <a
1052+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateServiceJob">AWS
1053+
* API Reference</a></p>
1054+
*/
1055+
virtual Model::TerminateServiceJobOutcome TerminateServiceJob(const Model::TerminateServiceJobRequest& request) const;
1056+
1057+
/**
1058+
* A Callable wrapper for TerminateServiceJob that returns a future to the operation so that it can be executed in parallel to other requests.
1059+
*/
1060+
template<typename TerminateServiceJobRequestT = Model::TerminateServiceJobRequest>
1061+
Model::TerminateServiceJobOutcomeCallable TerminateServiceJobCallable(const TerminateServiceJobRequestT& request) const
1062+
{
1063+
return SubmitCallable(&BatchClient::TerminateServiceJob, request);
1064+
}
1065+
1066+
/**
1067+
* An Async wrapper for TerminateServiceJob that queues the request into a thread executor and triggers associated callback when operation has finished.
1068+
*/
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+
8901075
/**
8911076
* <p>Deletes specified tags from an Batch resource.</p><p><h3>See Also:</h3> <a
8921077
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource">AWS
@@ -1012,6 +1197,34 @@ namespace Batch
10121197
return SubmitAsync(&BatchClient::UpdateSchedulingPolicy, request, handler, context);
10131198
}
10141199

1200+
/**
1201+
* <p>Updates a service environment. You can update the state of a service
1202+
* environment from <code>ENABLED</code> to <code>DISABLED</code> to prevent new
1203+
* service jobs from being placed in the service environment.</p><p><h3>See
1204+
* Also:</h3> <a
1205+
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateServiceEnvironment">AWS
1206+
* API Reference</a></p>
1207+
*/
1208+
virtual Model::UpdateServiceEnvironmentOutcome UpdateServiceEnvironment(const Model::UpdateServiceEnvironmentRequest& request) const;
1209+
1210+
/**
1211+
* A Callable wrapper for UpdateServiceEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
1212+
*/
1213+
template<typename UpdateServiceEnvironmentRequestT = Model::UpdateServiceEnvironmentRequest>
1214+
Model::UpdateServiceEnvironmentOutcomeCallable UpdateServiceEnvironmentCallable(const UpdateServiceEnvironmentRequestT& request) const
1215+
{
1216+
return SubmitCallable(&BatchClient::UpdateServiceEnvironment, request);
1217+
}
1218+
1219+
/**
1220+
* An Async wrapper for UpdateServiceEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
1221+
*/
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+
10151228

10161229
void OverrideEndpoint(const Aws::String& endpoint);
10171230
std::shared_ptr<BatchEndpointProviderBase>& accessEndpointProvider();

0 commit comments

Comments
 (0)