Skip to content

Commit 1e10bd4

Browse files
This release adds IPv4 prefixes to health events
Increasing NextToken parameter length restriction for List APIs from 512 to 1024.
1 parent a2d6cf1 commit 1e10bd4

File tree

8 files changed

+156
-42
lines changed

8 files changed

+156
-42
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.270
1+
1.11.271

generated/src/aws-cpp-sdk-internetmonitor/include/aws/internetmonitor/model/ImpactedLocation.h

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <aws/internetmonitor/model/HealthEventStatus.h>
1010
#include <aws/internetmonitor/model/NetworkImpairment.h>
1111
#include <aws/internetmonitor/model/InternetHealth.h>
12+
#include <aws/core/utils/memory/stl/AWSVector.h>
1213
#include <utility>
1314

1415
namespace Aws
@@ -621,6 +622,61 @@ namespace Model
621622
*/
622623
inline ImpactedLocation& WithInternetHealth(InternetHealth&& value) { SetInternetHealth(std::move(value)); return *this;}
623624

625+
626+
/**
627+
* <p>The IPv4 prefixes at the client location that was impacted by the health
628+
* event.</p>
629+
*/
630+
inline const Aws::Vector<Aws::String>& GetIpv4Prefixes() const{ return m_ipv4Prefixes; }
631+
632+
/**
633+
* <p>The IPv4 prefixes at the client location that was impacted by the health
634+
* event.</p>
635+
*/
636+
inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
637+
638+
/**
639+
* <p>The IPv4 prefixes at the client location that was impacted by the health
640+
* event.</p>
641+
*/
642+
inline void SetIpv4Prefixes(const Aws::Vector<Aws::String>& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = value; }
643+
644+
/**
645+
* <p>The IPv4 prefixes at the client location that was impacted by the health
646+
* event.</p>
647+
*/
648+
inline void SetIpv4Prefixes(Aws::Vector<Aws::String>&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = std::move(value); }
649+
650+
/**
651+
* <p>The IPv4 prefixes at the client location that was impacted by the health
652+
* event.</p>
653+
*/
654+
inline ImpactedLocation& WithIpv4Prefixes(const Aws::Vector<Aws::String>& value) { SetIpv4Prefixes(value); return *this;}
655+
656+
/**
657+
* <p>The IPv4 prefixes at the client location that was impacted by the health
658+
* event.</p>
659+
*/
660+
inline ImpactedLocation& WithIpv4Prefixes(Aws::Vector<Aws::String>&& value) { SetIpv4Prefixes(std::move(value)); return *this;}
661+
662+
/**
663+
* <p>The IPv4 prefixes at the client location that was impacted by the health
664+
* event.</p>
665+
*/
666+
inline ImpactedLocation& AddIpv4Prefixes(const Aws::String& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; }
667+
668+
/**
669+
* <p>The IPv4 prefixes at the client location that was impacted by the health
670+
* event.</p>
671+
*/
672+
inline ImpactedLocation& AddIpv4Prefixes(Aws::String&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(std::move(value)); return *this; }
673+
674+
/**
675+
* <p>The IPv4 prefixes at the client location that was impacted by the health
676+
* event.</p>
677+
*/
678+
inline ImpactedLocation& AddIpv4Prefixes(const char* value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; }
679+
624680
private:
625681

626682
Aws::String m_aSName;
@@ -664,6 +720,9 @@ namespace Model
664720

665721
InternetHealth m_internetHealth;
666722
bool m_internetHealthHasBeenSet = false;
723+
724+
Aws::Vector<Aws::String> m_ipv4Prefixes;
725+
bool m_ipv4PrefixesHasBeenSet = false;
667726
};
668727

669728
} // namespace Model

generated/src/aws-cpp-sdk-internetmonitor/include/aws/internetmonitor/model/LocalHealthEventsConfig.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,31 +118,31 @@ namespace Model
118118
* <p>The minimum percentage of overall traffic for an application that must be
119119
* impacted by an issue before Internet Monitor creates an event when a threshold
120120
* is crossed for a local health score.</p> <p>If you don't set a minimum traffic
121-
* impact threshold, the default value is 0.01%.</p>
121+
* impact threshold, the default value is 0.1%.</p>
122122
*/
123123
inline double GetMinTrafficImpact() const{ return m_minTrafficImpact; }
124124

125125
/**
126126
* <p>The minimum percentage of overall traffic for an application that must be
127127
* impacted by an issue before Internet Monitor creates an event when a threshold
128128
* is crossed for a local health score.</p> <p>If you don't set a minimum traffic
129-
* impact threshold, the default value is 0.01%.</p>
129+
* impact threshold, the default value is 0.1%.</p>
130130
*/
131131
inline bool MinTrafficImpactHasBeenSet() const { return m_minTrafficImpactHasBeenSet; }
132132

133133
/**
134134
* <p>The minimum percentage of overall traffic for an application that must be
135135
* impacted by an issue before Internet Monitor creates an event when a threshold
136136
* is crossed for a local health score.</p> <p>If you don't set a minimum traffic
137-
* impact threshold, the default value is 0.01%.</p>
137+
* impact threshold, the default value is 0.1%.</p>
138138
*/
139139
inline void SetMinTrafficImpact(double value) { m_minTrafficImpactHasBeenSet = true; m_minTrafficImpact = value; }
140140

141141
/**
142142
* <p>The minimum percentage of overall traffic for an application that must be
143143
* impacted by an issue before Internet Monitor creates an event when a threshold
144144
* is crossed for a local health score.</p> <p>If you don't set a minimum traffic
145-
* impact threshold, the default value is 0.01%.</p>
145+
* impact threshold, the default value is 0.1%.</p>
146146
*/
147147
inline LocalHealthEventsConfig& WithMinTrafficImpact(double value) { SetMinTrafficImpact(value); return *this;}
148148

generated/src/aws-cpp-sdk-internetmonitor/include/aws/internetmonitor/model/StartQueryRequest.h

Lines changed: 54 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,15 @@ namespace Model
154154
/**
155155
* <p>The type of query to run. The following are the three types of queries that
156156
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
157-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
158-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
159-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
160-
* of the fields returned with each query type and more information about how each
161-
* type of query is performed, see <a
157+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
158+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
159+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
160+
* total traffic, and time to first byte (TTFB) information, for the top location
161+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
162+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
163+
* current configuration, and the best performing EC2 configuration, at 1 hour
164+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
165+
* type and more information about how each type of query is performed, see <a
162166
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
163167
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
164168
* CloudWatch Internet Monitor User Guide.</p>
@@ -168,11 +172,15 @@ namespace Model
168172
/**
169173
* <p>The type of query to run. The following are the three types of queries that
170174
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
171-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
172-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
173-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
174-
* of the fields returned with each query type and more information about how each
175-
* type of query is performed, see <a
175+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
176+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
177+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
178+
* total traffic, and time to first byte (TTFB) information, for the top location
179+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
180+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
181+
* current configuration, and the best performing EC2 configuration, at 1 hour
182+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
183+
* type and more information about how each type of query is performed, see <a
176184
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
177185
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
178186
* CloudWatch Internet Monitor User Guide.</p>
@@ -182,11 +190,15 @@ namespace Model
182190
/**
183191
* <p>The type of query to run. The following are the three types of queries that
184192
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
185-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
186-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
187-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
188-
* of the fields returned with each query type and more information about how each
189-
* type of query is performed, see <a
193+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
194+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
195+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
196+
* total traffic, and time to first byte (TTFB) information, for the top location
197+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
198+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
199+
* current configuration, and the best performing EC2 configuration, at 1 hour
200+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
201+
* type and more information about how each type of query is performed, see <a
190202
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
191203
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
192204
* CloudWatch Internet Monitor User Guide.</p>
@@ -196,11 +208,15 @@ namespace Model
196208
/**
197209
* <p>The type of query to run. The following are the three types of queries that
198210
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
199-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
200-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
201-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
202-
* of the fields returned with each query type and more information about how each
203-
* type of query is performed, see <a
211+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
212+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
213+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
214+
* total traffic, and time to first byte (TTFB) information, for the top location
215+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
216+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
217+
* current configuration, and the best performing EC2 configuration, at 1 hour
218+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
219+
* type and more information about how each type of query is performed, see <a
204220
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
205221
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
206222
* CloudWatch Internet Monitor User Guide.</p>
@@ -210,11 +226,15 @@ namespace Model
210226
/**
211227
* <p>The type of query to run. The following are the three types of queries that
212228
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
213-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
214-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
215-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
216-
* of the fields returned with each query type and more information about how each
217-
* type of query is performed, see <a
229+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
230+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
231+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
232+
* total traffic, and time to first byte (TTFB) information, for the top location
233+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
234+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
235+
* current configuration, and the best performing EC2 configuration, at 1 hour
236+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
237+
* type and more information about how each type of query is performed, see <a
218238
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
219239
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
220240
* CloudWatch Internet Monitor User Guide.</p>
@@ -224,11 +244,15 @@ namespace Model
224244
/**
225245
* <p>The type of query to run. The following are the three types of queries that
226246
* you can run using the Internet Monitor query interface:</p> <ul> <li> <p>
227-
* <code>MEASUREMENTS</code>: TBD definition</p> </li> <li> <p>
228-
* <code>TOP_LOCATIONS</code>: TBD definition</p> </li> <li> <p>
229-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p> </li> </ul> <p>For lists
230-
* of the fields returned with each query type and more information about how each
231-
* type of query is performed, see <a
247+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total
248+
* traffic, and round-trip times, at 5 minute intervals.</p> </li> <li> <p>
249+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score,
250+
* total traffic, and time to first byte (TTFB) information, for the top location
251+
* and ASN combinations that you're monitoring, by traffic volume.</p> </li> <li>
252+
* <p> <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
253+
* current configuration, and the best performing EC2 configuration, at 1 hour
254+
* intervals.</p> </li> </ul> <p>For lists of the fields returned with each query
255+
* type and more information about how each type of query is performed, see <a
232256
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
233257
* Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon
234258
* CloudWatch Internet Monitor User Guide.</p>

generated/src/aws-cpp-sdk-internetmonitor/source/model/ImpactedLocation.cpp

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ ImpactedLocation::ImpactedLocation() :
3636
m_status(HealthEventStatus::NOT_SET),
3737
m_statusHasBeenSet(false),
3838
m_causedByHasBeenSet(false),
39-
m_internetHealthHasBeenSet(false)
39+
m_internetHealthHasBeenSet(false),
40+
m_ipv4PrefixesHasBeenSet(false)
4041
{
4142
}
4243

@@ -58,7 +59,8 @@ ImpactedLocation::ImpactedLocation(JsonView jsonValue) :
5859
m_status(HealthEventStatus::NOT_SET),
5960
m_statusHasBeenSet(false),
6061
m_causedByHasBeenSet(false),
61-
m_internetHealthHasBeenSet(false)
62+
m_internetHealthHasBeenSet(false),
63+
m_ipv4PrefixesHasBeenSet(false)
6264
{
6365
*this = jsonValue;
6466
}
@@ -163,6 +165,16 @@ ImpactedLocation& ImpactedLocation::operator =(JsonView jsonValue)
163165
m_internetHealthHasBeenSet = true;
164166
}
165167

168+
if(jsonValue.ValueExists("Ipv4Prefixes"))
169+
{
170+
Aws::Utils::Array<JsonView> ipv4PrefixesJsonList = jsonValue.GetArray("Ipv4Prefixes");
171+
for(unsigned ipv4PrefixesIndex = 0; ipv4PrefixesIndex < ipv4PrefixesJsonList.GetLength(); ++ipv4PrefixesIndex)
172+
{
173+
m_ipv4Prefixes.push_back(ipv4PrefixesJsonList[ipv4PrefixesIndex].AsString());
174+
}
175+
m_ipv4PrefixesHasBeenSet = true;
176+
}
177+
166178
return *this;
167179
}
168180

@@ -253,6 +265,17 @@ JsonValue ImpactedLocation::Jsonize() const
253265

254266
}
255267

268+
if(m_ipv4PrefixesHasBeenSet)
269+
{
270+
Aws::Utils::Array<JsonValue> ipv4PrefixesJsonList(m_ipv4Prefixes.size());
271+
for(unsigned ipv4PrefixesIndex = 0; ipv4PrefixesIndex < ipv4PrefixesJsonList.GetLength(); ++ipv4PrefixesIndex)
272+
{
273+
ipv4PrefixesJsonList[ipv4PrefixesIndex].AsString(m_ipv4Prefixes[ipv4PrefixesIndex]);
274+
}
275+
payload.WithArray("Ipv4Prefixes", std::move(ipv4PrefixesJsonList));
276+
277+
}
278+
256279
return payload;
257280
}
258281

src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
#pragma once
66

7-
#define AWS_SDK_VERSION_STRING "1.11.270"
7+
#define AWS_SDK_VERSION_STRING "1.11.271"
88
#define AWS_SDK_VERSION_MAJOR 1
99
#define AWS_SDK_VERSION_MINOR 11
10-
#define AWS_SDK_VERSION_PATCH 270
10+
#define AWS_SDK_VERSION_PATCH 271

0 commit comments

Comments
 (0)