Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 954b45b

Browse files
author
aws-sdk-cpp-automation
committed
Adding support for Compute Environment Allocation Strategies
Amazon RDS now supports Amazon RDS on VMware with the introduction of APIs related to Custom Availability Zones and Media installation.
1 parent a09fbc9 commit 954b45b

File tree

101 files changed

+7504
-933
lines changed

Some content is hidden

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

101 files changed

+7504
-933
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ namespace Model
446446
* queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are
447447
* terminated when you delete a job queue.</p> <p>It is not necessary to
448448
* disassociate compute environments from a queue before submitting a
449-
* <code>DeleteJobQueue</code> request. </p><p><h3>See Also:</h3> <a
449+
* <code>DeleteJobQueue</code> request.</p><p><h3>See Also:</h3> <a
450450
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue">AWS
451451
* API Reference</a></p>
452452
*/
@@ -457,7 +457,7 @@ namespace Model
457457
* queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are
458458
* terminated when you delete a job queue.</p> <p>It is not necessary to
459459
* disassociate compute environments from a queue before submitting a
460-
* <code>DeleteJobQueue</code> request. </p><p><h3>See Also:</h3> <a
460+
* <code>DeleteJobQueue</code> request.</p><p><h3>See Also:</h3> <a
461461
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue">AWS
462462
* API Reference</a></p>
463463
*
@@ -470,7 +470,7 @@ namespace Model
470470
* queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are
471471
* terminated when you delete a job queue.</p> <p>It is not necessary to
472472
* disassociate compute environments from a queue before submitting a
473-
* <code>DeleteJobQueue</code> request. </p><p><h3>See Also:</h3> <a
473+
* <code>DeleteJobQueue</code> request.</p><p><h3>See Also:</h3> <a
474474
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue">AWS
475475
* API Reference</a></p>
476476
*
@@ -665,14 +665,14 @@ namespace Model
665665
virtual void ListJobsAsync(const Model::ListJobsRequest& request, const ListJobsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
666666

667667
/**
668-
* <p>Registers an AWS Batch job definition. </p><p><h3>See Also:</h3> <a
668+
* <p>Registers an AWS Batch job definition.</p><p><h3>See Also:</h3> <a
669669
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition">AWS
670670
* API Reference</a></p>
671671
*/
672672
virtual Model::RegisterJobDefinitionOutcome RegisterJobDefinition(const Model::RegisterJobDefinitionRequest& request) const;
673673

674674
/**
675-
* <p>Registers an AWS Batch job definition. </p><p><h3>See Also:</h3> <a
675+
* <p>Registers an AWS Batch job definition.</p><p><h3>See Also:</h3> <a
676676
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition">AWS
677677
* API Reference</a></p>
678678
*
@@ -681,7 +681,7 @@ namespace Model
681681
virtual Model::RegisterJobDefinitionOutcomeCallable RegisterJobDefinitionCallable(const Model::RegisterJobDefinitionRequest& request) const;
682682

683683
/**
684-
* <p>Registers an AWS Batch job definition. </p><p><h3>See Also:</h3> <a
684+
* <p>Registers an AWS Batch job definition.</p><p><h3>See Also:</h3> <a
685685
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition">AWS
686686
* API Reference</a></p>
687687
*
@@ -691,17 +691,17 @@ namespace Model
691691

692692
/**
693693
* <p>Submits an AWS Batch job from a job definition. Parameters specified during
694-
* <a>SubmitJob</a> override parameters defined in the job definition.
695-
* </p><p><h3>See Also:</h3> <a
694+
* <a>SubmitJob</a> override parameters defined in the job
695+
* definition.</p><p><h3>See Also:</h3> <a
696696
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob">AWS API
697697
* Reference</a></p>
698698
*/
699699
virtual Model::SubmitJobOutcome SubmitJob(const Model::SubmitJobRequest& request) const;
700700

701701
/**
702702
* <p>Submits an AWS Batch job from a job definition. Parameters specified during
703-
* <a>SubmitJob</a> override parameters defined in the job definition.
704-
* </p><p><h3>See Also:</h3> <a
703+
* <a>SubmitJob</a> override parameters defined in the job
704+
* definition.</p><p><h3>See Also:</h3> <a
705705
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob">AWS API
706706
* Reference</a></p>
707707
*
@@ -711,8 +711,8 @@ namespace Model
711711

712712
/**
713713
* <p>Submits an AWS Batch job from a job definition. Parameters specified during
714-
* <a>SubmitJob</a> override parameters defined in the job definition.
715-
* </p><p><h3>See Also:</h3> <a
714+
* <a>SubmitJob</a> override parameters defined in the job
715+
* definition.</p><p><h3>See Also:</h3> <a
716716
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob">AWS API
717717
* Reference</a></p>
718718
*
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Copyright 2010-2017 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+
16+
#pragma once
17+
#include <aws/batch/Batch_EXPORTS.h>
18+
#include <aws/core/utils/memory/stl/AWSString.h>
19+
20+
namespace Aws
21+
{
22+
namespace Batch
23+
{
24+
namespace Model
25+
{
26+
enum class CRAllocationStrategy
27+
{
28+
NOT_SET,
29+
BEST_FIT,
30+
BEST_FIT_PROGRESSIVE,
31+
SPOT_CAPACITY_OPTIMIZED
32+
};
33+
34+
namespace CRAllocationStrategyMapper
35+
{
36+
AWS_BATCH_API CRAllocationStrategy GetCRAllocationStrategyForName(const Aws::String& name);
37+
38+
AWS_BATCH_API Aws::String GetNameForCRAllocationStrategy(CRAllocationStrategy value);
39+
} // namespace CRAllocationStrategyMapper
40+
} // namespace Model
41+
} // namespace Batch
42+
} // namespace Aws

aws-cpp-sdk-batch/include/aws/batch/model/CancelJobRequest.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,56 +86,56 @@ namespace Model
8686
/**
8787
* <p>A message to attach to the job that explains the reason for canceling it.
8888
* This message is returned by future <a>DescribeJobs</a> operations on the job.
89-
* This message is also recorded in the AWS Batch activity logs. </p>
89+
* This message is also recorded in the AWS Batch activity logs.</p>
9090
*/
9191
inline const Aws::String& GetReason() const{ return m_reason; }
9292

9393
/**
9494
* <p>A message to attach to the job that explains the reason for canceling it.
9595
* This message is returned by future <a>DescribeJobs</a> operations on the job.
96-
* This message is also recorded in the AWS Batch activity logs. </p>
96+
* This message is also recorded in the AWS Batch activity logs.</p>
9797
*/
9898
inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
9999

100100
/**
101101
* <p>A message to attach to the job that explains the reason for canceling it.
102102
* This message is returned by future <a>DescribeJobs</a> operations on the job.
103-
* This message is also recorded in the AWS Batch activity logs. </p>
103+
* This message is also recorded in the AWS Batch activity logs.</p>
104104
*/
105105
inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
106106

107107
/**
108108
* <p>A message to attach to the job that explains the reason for canceling it.
109109
* This message is returned by future <a>DescribeJobs</a> operations on the job.
110-
* This message is also recorded in the AWS Batch activity logs. </p>
110+
* This message is also recorded in the AWS Batch activity logs.</p>
111111
*/
112112
inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
113113

114114
/**
115115
* <p>A message to attach to the job that explains the reason for canceling it.
116116
* This message is returned by future <a>DescribeJobs</a> operations on the job.
117-
* This message is also recorded in the AWS Batch activity logs. </p>
117+
* This message is also recorded in the AWS Batch activity logs.</p>
118118
*/
119119
inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
120120

121121
/**
122122
* <p>A message to attach to the job that explains the reason for canceling it.
123123
* This message is returned by future <a>DescribeJobs</a> operations on the job.
124-
* This message is also recorded in the AWS Batch activity logs. </p>
124+
* This message is also recorded in the AWS Batch activity logs.</p>
125125
*/
126126
inline CancelJobRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
127127

128128
/**
129129
* <p>A message to attach to the job that explains the reason for canceling it.
130130
* This message is returned by future <a>DescribeJobs</a> operations on the job.
131-
* This message is also recorded in the AWS Batch activity logs. </p>
131+
* This message is also recorded in the AWS Batch activity logs.</p>
132132
*/
133133
inline CancelJobRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
134134

135135
/**
136136
* <p>A message to attach to the job that explains the reason for canceling it.
137137
* This message is returned by future <a>DescribeJobs</a> operations on the job.
138-
* This message is also recorded in the AWS Batch activity logs. </p>
138+
* This message is also recorded in the AWS Batch activity logs.</p>
139139
*/
140140
inline CancelJobRequest& WithReason(const char* value) { SetReason(value); return *this;}
141141

0 commit comments

Comments
 (0)