Skip to content

Commit 8a9d9d8

Browse files
author
aws-sdk-cpp-automation
committed
Various quota increases related to dimensions and custom metrics
Amazon SageMaker Automatic Model Tuning now supports specifying multiple alternate EC2 instance types to make tuning jobs more robust when the preferred instance type is not available due to insufficient capacity. Amazon Location Service now allows circular geofences in BatchPutGeofence, PutGeofence, and GetGeofence APIs. Fix bug with parsing ISO-8601 CreationTime in Java SDK in DescribeHumanLoop
1 parent 0f4e562 commit 8a9d9d8

36 files changed

+1905
-280
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING 1.9.317
6+
#define AWS_SDK_VERSION_STRING 1.9.318
77
#define AWS_SDK_VERSION_MAJOR 1
88
#define AWS_SDK_VERSION_MINOR 9
9-
#define AWS_SDK_VERSION_PATCH 317
9+
#define AWS_SDK_VERSION_PATCH 318

aws-cpp-sdk-location/include/aws/location/LocationServiceClient.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ namespace Model
318318
typedef std::function<void(const LocationServiceClient*, const Model::UpdateTrackerRequest&, const Model::UpdateTrackerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateTrackerResponseReceivedHandler;
319319

320320
/**
321-
* <p>Suite of geospatial services including Maps, Places, Routes, Tracking, and
322-
* Geofencing</p>
321+
* <p>"Suite of geospatial services including Maps, Places, Routes, Tracking, and
322+
* Geofencing"</p>
323323
*/
324324
class AWS_LOCATIONSERVICE_API LocationServiceClient : public Aws::Client::AWSJsonClient
325325
{
@@ -535,8 +535,10 @@ namespace Model
535535
* a travel mode</a> using TravelMode sets the transportation mode used to
536536
* calculate the routes. This also lets you specify additional route preferences in
537537
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
538-
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p> </li>
539-
* </ul><p><h3>See Also:</h3> <a
538+
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
539+
* <p>If you specify <code>walking</code> for the travel mode and your data
540+
* provider is Esri, the start and destination must be within 40km.</p>
541+
* </li> </ul><p><h3>See Also:</h3> <a
540542
* href="http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRoute">AWS
541543
* API Reference</a></p>
542544
*/

aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceRequestEntry.h

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -88,50 +88,56 @@ namespace Model
8888

8989

9090
/**
91-
* <p>Contains the polygon details to specify the position of the geofence.</p>
92-
* <p>Each <a
93-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
94-
* polygon</a> can have a maximum of 1,000 vertices.</p>
91+
* <p>Contains the details of the position of the geofence. Can be either a polygon
92+
* or a circle. Including both will return a validation error.</p> <p>Each
93+
* <a
94+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
95+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
9596
*/
9697
inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; }
9798

9899
/**
99-
* <p>Contains the polygon details to specify the position of the geofence.</p>
100-
* <p>Each <a
101-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
102-
* polygon</a> can have a maximum of 1,000 vertices.</p>
100+
* <p>Contains the details of the position of the geofence. Can be either a polygon
101+
* or a circle. Including both will return a validation error.</p> <p>Each
102+
* <a
103+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
104+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
103105
*/
104106
inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
105107

106108
/**
107-
* <p>Contains the polygon details to specify the position of the geofence.</p>
108-
* <p>Each <a
109-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
110-
* polygon</a> can have a maximum of 1,000 vertices.</p>
109+
* <p>Contains the details of the position of the geofence. Can be either a polygon
110+
* or a circle. Including both will return a validation error.</p> <p>Each
111+
* <a
112+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
113+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
111114
*/
112115
inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
113116

114117
/**
115-
* <p>Contains the polygon details to specify the position of the geofence.</p>
116-
* <p>Each <a
117-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
118-
* polygon</a> can have a maximum of 1,000 vertices.</p>
118+
* <p>Contains the details of the position of the geofence. Can be either a polygon
119+
* or a circle. Including both will return a validation error.</p> <p>Each
120+
* <a
121+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
122+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
119123
*/
120124
inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
121125

122126
/**
123-
* <p>Contains the polygon details to specify the position of the geofence.</p>
124-
* <p>Each <a
125-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
126-
* polygon</a> can have a maximum of 1,000 vertices.</p>
127+
* <p>Contains the details of the position of the geofence. Can be either a polygon
128+
* or a circle. Including both will return a validation error.</p> <p>Each
129+
* <a
130+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
131+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
127132
*/
128133
inline BatchPutGeofenceRequestEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;}
129134

130135
/**
131-
* <p>Contains the polygon details to specify the position of the geofence.</p>
132-
* <p>Each <a
133-
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence
134-
* polygon</a> can have a maximum of 1,000 vertices.</p>
136+
* <p>Contains the details of the position of the geofence. Can be either a polygon
137+
* or a circle. Including both will return a validation error.</p> <p>Each
138+
* <a
139+
* href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
140+
* geofence polygon</a> can have a maximum of 1,000 vertices.</p>
135141
*/
136142
inline BatchPutGeofenceRequestEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;}
137143

aws-cpp-sdk-location/include/aws/location/model/CalculateRouteRequest.h

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -506,67 +506,73 @@ namespace Model
506506

507507
/**
508508
* <p>Specifies the mode of transport when calculating a route. Used in estimating
509-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
510-
* you specify also determines how you specify route preferences: </p> <ul> <li>
511-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
512-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
513-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
514-
* <code>Car</code> </p>
509+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
510+
* <code>Truck</code>, or <code>Walking</code> as options for the
511+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
512+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
513+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
514+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
515+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
515516
*/
516517
inline const TravelMode& GetTravelMode() const{ return m_travelMode; }
517518

518519
/**
519520
* <p>Specifies the mode of transport when calculating a route. Used in estimating
520-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
521-
* you specify also determines how you specify route preferences: </p> <ul> <li>
522-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
523-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
524-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
525-
* <code>Car</code> </p>
521+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
522+
* <code>Truck</code>, or <code>Walking</code> as options for the
523+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
524+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
525+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
526+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
527+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
526528
*/
527529
inline bool TravelModeHasBeenSet() const { return m_travelModeHasBeenSet; }
528530

529531
/**
530532
* <p>Specifies the mode of transport when calculating a route. Used in estimating
531-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
532-
* you specify also determines how you specify route preferences: </p> <ul> <li>
533-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
534-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
535-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
536-
* <code>Car</code> </p>
533+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
534+
* <code>Truck</code>, or <code>Walking</code> as options for the
535+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
536+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
537+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
538+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
539+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
537540
*/
538541
inline void SetTravelMode(const TravelMode& value) { m_travelModeHasBeenSet = true; m_travelMode = value; }
539542

540543
/**
541544
* <p>Specifies the mode of transport when calculating a route. Used in estimating
542-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
543-
* you specify also determines how you specify route preferences: </p> <ul> <li>
544-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
545-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
546-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
547-
* <code>Car</code> </p>
545+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
546+
* <code>Truck</code>, or <code>Walking</code> as options for the
547+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
548+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
549+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
550+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
551+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
548552
*/
549553
inline void SetTravelMode(TravelMode&& value) { m_travelModeHasBeenSet = true; m_travelMode = std::move(value); }
550554

551555
/**
552556
* <p>Specifies the mode of transport when calculating a route. Used in estimating
553-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
554-
* you specify also determines how you specify route preferences: </p> <ul> <li>
555-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
556-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
557-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
558-
* <code>Car</code> </p>
557+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
558+
* <code>Truck</code>, or <code>Walking</code> as options for the
559+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
560+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
561+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
562+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
563+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
559564
*/
560565
inline CalculateRouteRequest& WithTravelMode(const TravelMode& value) { SetTravelMode(value); return *this;}
561566

562567
/**
563568
* <p>Specifies the mode of transport when calculating a route. Used in estimating
564-
* the speed of travel and road compatibility.</p> <p>The <code>TravelMode</code>
565-
* you specify also determines how you specify route preferences: </p> <ul> <li>
566-
* <p>If traveling by <code>Car</code> use the <code>CarModeOptions</code>
567-
* parameter.</p> </li> <li> <p>If traveling by <code>Truck</code> use the
568-
* <code>TruckModeOptions</code> parameter.</p> </li> </ul> <p>Default Value:
569-
* <code>Car</code> </p>
569+
* the speed of travel and road compatibility. You can choose <code>Car</code>,
570+
* <code>Truck</code>, or <code>Walking</code> as options for the
571+
* <code>TravelMode</code>.</p> <p>The <code>TravelMode</code> you specify also
572+
* determines how you specify route preferences: </p> <ul> <li> <p>If traveling by
573+
* <code>Car</code> use the <code>CarModeOptions</code> parameter.</p> </li> <li>
574+
* <p>If traveling by <code>Truck</code> use the <code>TruckModeOptions</code>
575+
* parameter.</p> </li> </ul> <p>Default Value: <code>Car</code> </p>
570576
*/
571577
inline CalculateRouteRequest& WithTravelMode(TravelMode&& value) { SetTravelMode(std::move(value)); return *this;}
572578

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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/location/LocationService_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSVector.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace LocationService
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>A circle on the earth, as defined by a center point and a
28+
* radius.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/Circle">AWS API
30+
* Reference</a></p>
31+
*/
32+
class AWS_LOCATIONSERVICE_API Circle
33+
{
34+
public:
35+
Circle();
36+
Circle(Aws::Utils::Json::JsonView jsonValue);
37+
Circle& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
/**
42+
* <p>A single point geometry, specifying the center of the circle, using <a
43+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
44+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
45+
*/
46+
inline const Aws::Vector<double>& GetCenter() const{ return m_center; }
47+
48+
/**
49+
* <p>A single point geometry, specifying the center of the circle, using <a
50+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
51+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
52+
*/
53+
inline bool CenterHasBeenSet() const { return m_centerHasBeenSet; }
54+
55+
/**
56+
* <p>A single point geometry, specifying the center of the circle, using <a
57+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
58+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
59+
*/
60+
inline void SetCenter(const Aws::Vector<double>& value) { m_centerHasBeenSet = true; m_center = value; }
61+
62+
/**
63+
* <p>A single point geometry, specifying the center of the circle, using <a
64+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
65+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
66+
*/
67+
inline void SetCenter(Aws::Vector<double>&& value) { m_centerHasBeenSet = true; m_center = std::move(value); }
68+
69+
/**
70+
* <p>A single point geometry, specifying the center of the circle, using <a
71+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
72+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
73+
*/
74+
inline Circle& WithCenter(const Aws::Vector<double>& value) { SetCenter(value); return *this;}
75+
76+
/**
77+
* <p>A single point geometry, specifying the center of the circle, using <a
78+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
79+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
80+
*/
81+
inline Circle& WithCenter(Aws::Vector<double>&& value) { SetCenter(std::move(value)); return *this;}
82+
83+
/**
84+
* <p>A single point geometry, specifying the center of the circle, using <a
85+
* href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
86+
* coordinates, in the form <code>[longitude, latitude]</code>.</p>
87+
*/
88+
inline Circle& AddCenter(double value) { m_centerHasBeenSet = true; m_center.push_back(value); return *this; }
89+
90+
91+
/**
92+
* <p>The radius of the circle in meters. Must be greater than zero and no larger
93+
* than 100,000 (100 kilometers).</p>
94+
*/
95+
inline double GetRadius() const{ return m_radius; }
96+
97+
/**
98+
* <p>The radius of the circle in meters. Must be greater than zero and no larger
99+
* than 100,000 (100 kilometers).</p>
100+
*/
101+
inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
102+
103+
/**
104+
* <p>The radius of the circle in meters. Must be greater than zero and no larger
105+
* than 100,000 (100 kilometers).</p>
106+
*/
107+
inline void SetRadius(double value) { m_radiusHasBeenSet = true; m_radius = value; }
108+
109+
/**
110+
* <p>The radius of the circle in meters. Must be greater than zero and no larger
111+
* than 100,000 (100 kilometers).</p>
112+
*/
113+
inline Circle& WithRadius(double value) { SetRadius(value); return *this;}
114+
115+
private:
116+
117+
Aws::Vector<double> m_center;
118+
bool m_centerHasBeenSet;
119+
120+
double m_radius;
121+
bool m_radiusHasBeenSet;
122+
};
123+
124+
} // namespace Model
125+
} // namespace LocationService
126+
} // namespace Aws

0 commit comments

Comments
 (0)