Skip to content

Commit 3d05686

Browse files
author
aws-sdk-cpp-automation
committed
Documentation updates for Amazon Lightsail.
Amazon Rekognition Custom Labels adds support for customer managed encryption, using AWS Key Management Service, of image files copied into the service and files written back to the customer. Kinesis Data Analytics now allows rapid iteration on Apache Flink stream processing through the Kinesis Data Analytics Studio feature. Update the EKS AddonActive waiter. Add pagination to ListUserTags operation With this release, customers can easily use Predictive Scaling as a policy directly through Amazon EC2 Auto Scaling configurations to proactively scale their applications ahead of predicted demand.
1 parent 883e19b commit 3d05686

File tree

144 files changed

+10155
-634
lines changed

Some content is hidden

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

144 files changed

+10155
-634
lines changed

aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h

Lines changed: 143 additions & 38 deletions
Large diffs are not rendered by default.

aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingGroup.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,31 @@ namespace Model
296296
inline AutoScalingGroup& WithDesiredCapacity(int value) { SetDesiredCapacity(value); return *this;}
297297

298298

299+
/**
300+
* <p>The predicted capacity of the group when it has a predictive scaling
301+
* policy.</p>
302+
*/
303+
inline int GetPredictedCapacity() const{ return m_predictedCapacity; }
304+
305+
/**
306+
* <p>The predicted capacity of the group when it has a predictive scaling
307+
* policy.</p>
308+
*/
309+
inline bool PredictedCapacityHasBeenSet() const { return m_predictedCapacityHasBeenSet; }
310+
311+
/**
312+
* <p>The predicted capacity of the group when it has a predictive scaling
313+
* policy.</p>
314+
*/
315+
inline void SetPredictedCapacity(int value) { m_predictedCapacityHasBeenSet = true; m_predictedCapacity = value; }
316+
317+
/**
318+
* <p>The predicted capacity of the group when it has a predictive scaling
319+
* policy.</p>
320+
*/
321+
inline AutoScalingGroup& WithPredictedCapacity(int value) { SetPredictedCapacity(value); return *this;}
322+
323+
299324
/**
300325
* <p>The duration of the default cooldown period, in seconds.</p>
301326
*/
@@ -1131,6 +1156,9 @@ namespace Model
11311156
int m_desiredCapacity;
11321157
bool m_desiredCapacityHasBeenSet;
11331158

1159+
int m_predictedCapacity;
1160+
bool m_predictedCapacityHasBeenSet;
1161+
11341162
int m_defaultCooldown;
11351163
bool m_defaultCooldownHasBeenSet;
11361164

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9+
#include <aws/core/utils/memory/stl/AWSVector.h>
10+
#include <aws/core/utils/DateTime.h>
11+
#include <utility>
12+
13+
namespace Aws
14+
{
15+
namespace Utils
16+
{
17+
namespace Xml
18+
{
19+
class XmlNode;
20+
} // namespace Xml
21+
} // namespace Utils
22+
namespace AutoScaling
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>A <code>GetPredictiveScalingForecast</code> call returns the capacity
29+
* forecast for a predictive scaling policy. This structure includes the data
30+
* points for that capacity forecast, along with the timestamps of those data
31+
* points. </p><p><h3>See Also:</h3> <a
32+
* href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CapacityForecast">AWS
33+
* API Reference</a></p>
34+
*/
35+
class AWS_AUTOSCALING_API CapacityForecast
36+
{
37+
public:
38+
CapacityForecast();
39+
CapacityForecast(const Aws::Utils::Xml::XmlNode& xmlNode);
40+
CapacityForecast& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41+
42+
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43+
void OutputToStream(Aws::OStream& oStream, const char* location) const;
44+
45+
46+
/**
47+
* <p>The time stamps for the data points, in UTC format.</p>
48+
*/
49+
inline const Aws::Vector<Aws::Utils::DateTime>& GetTimestamps() const{ return m_timestamps; }
50+
51+
/**
52+
* <p>The time stamps for the data points, in UTC format.</p>
53+
*/
54+
inline bool TimestampsHasBeenSet() const { return m_timestampsHasBeenSet; }
55+
56+
/**
57+
* <p>The time stamps for the data points, in UTC format.</p>
58+
*/
59+
inline void SetTimestamps(const Aws::Vector<Aws::Utils::DateTime>& value) { m_timestampsHasBeenSet = true; m_timestamps = value; }
60+
61+
/**
62+
* <p>The time stamps for the data points, in UTC format.</p>
63+
*/
64+
inline void SetTimestamps(Aws::Vector<Aws::Utils::DateTime>&& value) { m_timestampsHasBeenSet = true; m_timestamps = std::move(value); }
65+
66+
/**
67+
* <p>The time stamps for the data points, in UTC format.</p>
68+
*/
69+
inline CapacityForecast& WithTimestamps(const Aws::Vector<Aws::Utils::DateTime>& value) { SetTimestamps(value); return *this;}
70+
71+
/**
72+
* <p>The time stamps for the data points, in UTC format.</p>
73+
*/
74+
inline CapacityForecast& WithTimestamps(Aws::Vector<Aws::Utils::DateTime>&& value) { SetTimestamps(std::move(value)); return *this;}
75+
76+
/**
77+
* <p>The time stamps for the data points, in UTC format.</p>
78+
*/
79+
inline CapacityForecast& AddTimestamps(const Aws::Utils::DateTime& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(value); return *this; }
80+
81+
/**
82+
* <p>The time stamps for the data points, in UTC format.</p>
83+
*/
84+
inline CapacityForecast& AddTimestamps(Aws::Utils::DateTime&& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(std::move(value)); return *this; }
85+
86+
87+
/**
88+
* <p>The values of the data points.</p>
89+
*/
90+
inline const Aws::Vector<double>& GetValues() const{ return m_values; }
91+
92+
/**
93+
* <p>The values of the data points.</p>
94+
*/
95+
inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
96+
97+
/**
98+
* <p>The values of the data points.</p>
99+
*/
100+
inline void SetValues(const Aws::Vector<double>& value) { m_valuesHasBeenSet = true; m_values = value; }
101+
102+
/**
103+
* <p>The values of the data points.</p>
104+
*/
105+
inline void SetValues(Aws::Vector<double>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
106+
107+
/**
108+
* <p>The values of the data points.</p>
109+
*/
110+
inline CapacityForecast& WithValues(const Aws::Vector<double>& value) { SetValues(value); return *this;}
111+
112+
/**
113+
* <p>The values of the data points.</p>
114+
*/
115+
inline CapacityForecast& WithValues(Aws::Vector<double>&& value) { SetValues(std::move(value)); return *this;}
116+
117+
/**
118+
* <p>The values of the data points.</p>
119+
*/
120+
inline CapacityForecast& AddValues(double value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
121+
122+
private:
123+
124+
Aws::Vector<Aws::Utils::DateTime> m_timestamps;
125+
bool m_timestampsHasBeenSet;
126+
127+
Aws::Vector<double> m_values;
128+
bool m_valuesHasBeenSet;
129+
};
130+
131+
} // namespace Model
132+
} // namespace AutoScaling
133+
} // namespace Aws

aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DeleteWarmPoolRequest.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,34 +78,34 @@ namespace Model
7878

7979

8080
/**
81-
* <p>Specifies that the warm pool is to be deleted along with all instances
82-
* associated with the warm pool, without waiting for all instances to be
83-
* terminated. This parameter also deletes any outstanding lifecycle actions
84-
* associated with the warm pool instances.</p>
81+
* <p>Specifies that the warm pool is to be deleted along with all of its
82+
* associated instances, without waiting for all instances to be terminated. This
83+
* parameter also deletes any outstanding lifecycle actions associated with the
84+
* warm pool instances.</p>
8585
*/
8686
inline bool GetForceDelete() const{ return m_forceDelete; }
8787

8888
/**
89-
* <p>Specifies that the warm pool is to be deleted along with all instances
90-
* associated with the warm pool, without waiting for all instances to be
91-
* terminated. This parameter also deletes any outstanding lifecycle actions
92-
* associated with the warm pool instances.</p>
89+
* <p>Specifies that the warm pool is to be deleted along with all of its
90+
* associated instances, without waiting for all instances to be terminated. This
91+
* parameter also deletes any outstanding lifecycle actions associated with the
92+
* warm pool instances.</p>
9393
*/
9494
inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
9595

9696
/**
97-
* <p>Specifies that the warm pool is to be deleted along with all instances
98-
* associated with the warm pool, without waiting for all instances to be
99-
* terminated. This parameter also deletes any outstanding lifecycle actions
100-
* associated with the warm pool instances.</p>
97+
* <p>Specifies that the warm pool is to be deleted along with all of its
98+
* associated instances, without waiting for all instances to be terminated. This
99+
* parameter also deletes any outstanding lifecycle actions associated with the
100+
* warm pool instances.</p>
101101
*/
102102
inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
103103

104104
/**
105-
* <p>Specifies that the warm pool is to be deleted along with all instances
106-
* associated with the warm pool, without waiting for all instances to be
107-
* terminated. This parameter also deletes any outstanding lifecycle actions
108-
* associated with the warm pool instances.</p>
105+
* <p>Specifies that the warm pool is to be deleted along with all of its
106+
* associated instances, without waiting for all instances to be terminated. This
107+
* parameter also deletes any outstanding lifecycle actions associated with the
108+
* warm pool instances.</p>
109109
*/
110110
inline DeleteWarmPoolRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
111111

aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DescribePoliciesRequest.h

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,55 +153,64 @@ namespace Model
153153

154154
/**
155155
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
156-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
156+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
157+
* <code>PredictiveScaling</code>.</p>
157158
*/
158159
inline const Aws::Vector<Aws::String>& GetPolicyTypes() const{ return m_policyTypes; }
159160

160161
/**
161162
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
162-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
163+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
164+
* <code>PredictiveScaling</code>.</p>
163165
*/
164166
inline bool PolicyTypesHasBeenSet() const { return m_policyTypesHasBeenSet; }
165167

166168
/**
167169
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
168-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
170+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
171+
* <code>PredictiveScaling</code>.</p>
169172
*/
170173
inline void SetPolicyTypes(const Aws::Vector<Aws::String>& value) { m_policyTypesHasBeenSet = true; m_policyTypes = value; }
171174

172175
/**
173176
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
174-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
177+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
178+
* <code>PredictiveScaling</code>.</p>
175179
*/
176180
inline void SetPolicyTypes(Aws::Vector<Aws::String>&& value) { m_policyTypesHasBeenSet = true; m_policyTypes = std::move(value); }
177181

178182
/**
179183
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
180-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
184+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
185+
* <code>PredictiveScaling</code>.</p>
181186
*/
182187
inline DescribePoliciesRequest& WithPolicyTypes(const Aws::Vector<Aws::String>& value) { SetPolicyTypes(value); return *this;}
183188

184189
/**
185190
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
186-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
191+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
192+
* <code>PredictiveScaling</code>.</p>
187193
*/
188194
inline DescribePoliciesRequest& WithPolicyTypes(Aws::Vector<Aws::String>&& value) { SetPolicyTypes(std::move(value)); return *this;}
189195

190196
/**
191197
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
192-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
198+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
199+
* <code>PredictiveScaling</code>.</p>
193200
*/
194201
inline DescribePoliciesRequest& AddPolicyTypes(const Aws::String& value) { m_policyTypesHasBeenSet = true; m_policyTypes.push_back(value); return *this; }
195202

196203
/**
197204
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
198-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
205+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
206+
* <code>PredictiveScaling</code>.</p>
199207
*/
200208
inline DescribePoliciesRequest& AddPolicyTypes(Aws::String&& value) { m_policyTypesHasBeenSet = true; m_policyTypes.push_back(std::move(value)); return *this; }
201209

202210
/**
203211
* <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
204-
* <code>StepScaling</code>, and <code>TargetTrackingScaling</code>.</p>
212+
* <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
213+
* <code>PredictiveScaling</code>.</p>
205214
*/
206215
inline DescribePoliciesRequest& AddPolicyTypes(const char* value) { m_policyTypesHasBeenSet = true; m_policyTypes.push_back(value); return *this; }
207216

0 commit comments

Comments
 (0)