Skip to content

Commit 2dd5fec

Browse files
author
aws-sdk-cpp-automation
committed
Amazon SageMaker introduces Managed Spot Training. Increases the maximum number of metric definitions to 40 for SageMaker Training and Hyperparameter Tuning Jobs. SageMaker Neo adds support for Acer aiSage and Qualcomm QCS605 and QCS603.
Adding support for optional locale input in CreateProfile and UpdateProfile APIs New field in response of TestIdentityProvider Includes API updates to support streaming through VPC endpoints for image builders and stacks.
1 parent d92009b commit 2dd5fec

File tree

80 files changed

+3484
-1183
lines changed

Some content is hidden

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

80 files changed

+3484
-1183
lines changed

aws-cpp-sdk-alexaforbusiness/include/aws/alexaforbusiness/AlexaForBusinessClient.h

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,10 +1181,7 @@ namespace Model
11811181
* <p>When this action is called for a specified shared device, it allows
11821182
* authorized users to delete the device's entire previous history of voice input
11831183
* data and associated response data. This action can be called once every 24 hours
1184-
* for a specific shared device.</p> <p>When this action is called for a specified
1185-
* shared device, it allows authorized users to delete the device's entire previous
1186-
* history of voice input data. This action can be called once every 24 hours for a
1187-
* specific shared device. </p><p><h3>See Also:</h3> <a
1184+
* for a specific shared device.</p><p><h3>See Also:</h3> <a
11881185
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData">AWS
11891186
* API Reference</a></p>
11901187
*/
@@ -1194,10 +1191,7 @@ namespace Model
11941191
* <p>When this action is called for a specified shared device, it allows
11951192
* authorized users to delete the device's entire previous history of voice input
11961193
* data and associated response data. This action can be called once every 24 hours
1197-
* for a specific shared device.</p> <p>When this action is called for a specified
1198-
* shared device, it allows authorized users to delete the device's entire previous
1199-
* history of voice input data. This action can be called once every 24 hours for a
1200-
* specific shared device. </p><p><h3>See Also:</h3> <a
1194+
* for a specific shared device.</p><p><h3>See Also:</h3> <a
12011195
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData">AWS
12021196
* API Reference</a></p>
12031197
*
@@ -1209,10 +1203,7 @@ namespace Model
12091203
* <p>When this action is called for a specified shared device, it allows
12101204
* authorized users to delete the device's entire previous history of voice input
12111205
* data and associated response data. This action can be called once every 24 hours
1212-
* for a specific shared device.</p> <p>When this action is called for a specified
1213-
* shared device, it allows authorized users to delete the device's entire previous
1214-
* history of voice input data. This action can be called once every 24 hours for a
1215-
* specific shared device. </p><p><h3>See Also:</h3> <a
1206+
* for a specific shared device.</p><p><h3>See Also:</h3> <a
12161207
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData">AWS
12171208
* API Reference</a></p>
12181209
*

aws-cpp-sdk-alexaforbusiness/include/aws/alexaforbusiness/model/CreateProfileRequest.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,47 @@ namespace Model
264264
inline CreateProfileRequest& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
265265

266266

267+
/**
268+
* <p>The locale of the room profile.</p>
269+
*/
270+
inline const Aws::String& GetLocale() const{ return m_locale; }
271+
272+
/**
273+
* <p>The locale of the room profile.</p>
274+
*/
275+
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
276+
277+
/**
278+
* <p>The locale of the room profile.</p>
279+
*/
280+
inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
281+
282+
/**
283+
* <p>The locale of the room profile.</p>
284+
*/
285+
inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
286+
287+
/**
288+
* <p>The locale of the room profile.</p>
289+
*/
290+
inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
291+
292+
/**
293+
* <p>The locale of the room profile.</p>
294+
*/
295+
inline CreateProfileRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
296+
297+
/**
298+
* <p>The locale of the room profile.</p>
299+
*/
300+
inline CreateProfileRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
301+
302+
/**
303+
* <p>The locale of the room profile.</p>
304+
*/
305+
inline CreateProfileRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
306+
307+
267308
/**
268309
* <p>The user-specified token that is used during the creation of a profile.</p>
269310
*/
@@ -387,6 +428,9 @@ namespace Model
387428
WakeWord m_wakeWord;
388429
bool m_wakeWordHasBeenSet;
389430

431+
Aws::String m_locale;
432+
bool m_localeHasBeenSet;
433+
390434
Aws::String m_clientRequestToken;
391435
bool m_clientRequestTokenHasBeenSet;
392436

aws-cpp-sdk-alexaforbusiness/include/aws/alexaforbusiness/model/Profile.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,47 @@ namespace Model
328328
inline Profile& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
329329

330330

331+
/**
332+
* <p>The locale of a room profile.</p>
333+
*/
334+
inline const Aws::String& GetLocale() const{ return m_locale; }
335+
336+
/**
337+
* <p>The locale of a room profile.</p>
338+
*/
339+
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
340+
341+
/**
342+
* <p>The locale of a room profile.</p>
343+
*/
344+
inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
345+
346+
/**
347+
* <p>The locale of a room profile.</p>
348+
*/
349+
inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
350+
351+
/**
352+
* <p>The locale of a room profile.</p>
353+
*/
354+
inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
355+
356+
/**
357+
* <p>The locale of a room profile.</p>
358+
*/
359+
inline Profile& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
360+
361+
/**
362+
* <p>The locale of a room profile.</p>
363+
*/
364+
inline Profile& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
365+
366+
/**
367+
* <p>The locale of a room profile.</p>
368+
*/
369+
inline Profile& WithLocale(const char* value) { SetLocale(value); return *this;}
370+
371+
331372
/**
332373
* <p>The setup mode of a room profile.</p>
333374
*/
@@ -457,6 +498,9 @@ namespace Model
457498
WakeWord m_wakeWord;
458499
bool m_wakeWordHasBeenSet;
459500

501+
Aws::String m_locale;
502+
bool m_localeHasBeenSet;
503+
460504
bool m_setupModeDisabled;
461505
bool m_setupModeDisabledHasBeenSet;
462506

aws-cpp-sdk-alexaforbusiness/include/aws/alexaforbusiness/model/ProfileData.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,47 @@ namespace Model
327327
*/
328328
inline ProfileData& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
329329

330+
331+
/**
332+
* <p>The locale of a room profile.</p>
333+
*/
334+
inline const Aws::String& GetLocale() const{ return m_locale; }
335+
336+
/**
337+
* <p>The locale of a room profile.</p>
338+
*/
339+
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
340+
341+
/**
342+
* <p>The locale of a room profile.</p>
343+
*/
344+
inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
345+
346+
/**
347+
* <p>The locale of a room profile.</p>
348+
*/
349+
inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
350+
351+
/**
352+
* <p>The locale of a room profile.</p>
353+
*/
354+
inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
355+
356+
/**
357+
* <p>The locale of a room profile.</p>
358+
*/
359+
inline ProfileData& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
360+
361+
/**
362+
* <p>The locale of a room profile.</p>
363+
*/
364+
inline ProfileData& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
365+
366+
/**
367+
* <p>The locale of a room profile.</p>
368+
*/
369+
inline ProfileData& WithLocale(const char* value) { SetLocale(value); return *this;}
370+
330371
private:
331372

332373
Aws::String m_profileArn;
@@ -352,6 +393,9 @@ namespace Model
352393

353394
WakeWord m_wakeWord;
354395
bool m_wakeWordHasBeenSet;
396+
397+
Aws::String m_locale;
398+
bool m_localeHasBeenSet;
355399
};
356400

357401
} // namespace Model

aws-cpp-sdk-alexaforbusiness/include/aws/alexaforbusiness/model/UpdateProfileRequest.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,47 @@ namespace Model
329329
inline UpdateProfileRequest& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
330330

331331

332+
/**
333+
* <p>The updated locale for the room profile.</p>
334+
*/
335+
inline const Aws::String& GetLocale() const{ return m_locale; }
336+
337+
/**
338+
* <p>The updated locale for the room profile.</p>
339+
*/
340+
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
341+
342+
/**
343+
* <p>The updated locale for the room profile.</p>
344+
*/
345+
inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
346+
347+
/**
348+
* <p>The updated locale for the room profile.</p>
349+
*/
350+
inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
351+
352+
/**
353+
* <p>The updated locale for the room profile.</p>
354+
*/
355+
inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
356+
357+
/**
358+
* <p>The updated locale for the room profile.</p>
359+
*/
360+
inline UpdateProfileRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
361+
362+
/**
363+
* <p>The updated locale for the room profile.</p>
364+
*/
365+
inline UpdateProfileRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
366+
367+
/**
368+
* <p>The updated locale for the room profile.</p>
369+
*/
370+
inline UpdateProfileRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
371+
372+
332373
/**
333374
* <p>Whether the setup mode of the profile is enabled.</p>
334375
*/
@@ -417,6 +458,9 @@ namespace Model
417458
WakeWord m_wakeWord;
418459
bool m_wakeWordHasBeenSet;
419460

461+
Aws::String m_locale;
462+
bool m_localeHasBeenSet;
463+
420464
bool m_setupModeDisabled;
421465
bool m_setupModeDisabledHasBeenSet;
422466

aws-cpp-sdk-alexaforbusiness/source/model/CreateProfileRequest.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ CreateProfileRequest::CreateProfileRequest() :
3232
m_temperatureUnitHasBeenSet(false),
3333
m_wakeWord(WakeWord::NOT_SET),
3434
m_wakeWordHasBeenSet(false),
35+
m_localeHasBeenSet(false),
3536
m_clientRequestToken(Aws::Utils::UUID::RandomUUID()),
3637
m_clientRequestTokenHasBeenSet(true),
3738
m_setupModeDisabled(false),
@@ -80,6 +81,12 @@ Aws::String CreateProfileRequest::SerializePayload() const
8081
payload.WithString("WakeWord", WakeWordMapper::GetNameForWakeWord(m_wakeWord));
8182
}
8283

84+
if(m_localeHasBeenSet)
85+
{
86+
payload.WithString("Locale", m_locale);
87+
88+
}
89+
8390
if(m_clientRequestTokenHasBeenSet)
8491
{
8592
payload.WithString("ClientRequestToken", m_clientRequestToken);

aws-cpp-sdk-alexaforbusiness/source/model/Profile.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Profile::Profile() :
4141
m_temperatureUnitHasBeenSet(false),
4242
m_wakeWord(WakeWord::NOT_SET),
4343
m_wakeWordHasBeenSet(false),
44+
m_localeHasBeenSet(false),
4445
m_setupModeDisabled(false),
4546
m_setupModeDisabledHasBeenSet(false),
4647
m_maxVolumeLimit(0),
@@ -64,6 +65,7 @@ Profile::Profile(JsonView jsonValue) :
6465
m_temperatureUnitHasBeenSet(false),
6566
m_wakeWord(WakeWord::NOT_SET),
6667
m_wakeWordHasBeenSet(false),
68+
m_localeHasBeenSet(false),
6769
m_setupModeDisabled(false),
6870
m_setupModeDisabledHasBeenSet(false),
6971
m_maxVolumeLimit(0),
@@ -133,6 +135,13 @@ Profile& Profile::operator =(JsonView jsonValue)
133135
m_wakeWordHasBeenSet = true;
134136
}
135137

138+
if(jsonValue.ValueExists("Locale"))
139+
{
140+
m_locale = jsonValue.GetString("Locale");
141+
142+
m_localeHasBeenSet = true;
143+
}
144+
136145
if(jsonValue.ValueExists("SetupModeDisabled"))
137146
{
138147
m_setupModeDisabled = jsonValue.GetBool("SetupModeDisabled");
@@ -213,6 +222,12 @@ JsonValue Profile::Jsonize() const
213222
payload.WithString("WakeWord", WakeWordMapper::GetNameForWakeWord(m_wakeWord));
214223
}
215224

225+
if(m_localeHasBeenSet)
226+
{
227+
payload.WithString("Locale", m_locale);
228+
229+
}
230+
216231
if(m_setupModeDisabledHasBeenSet)
217232
{
218233
payload.WithBool("SetupModeDisabled", m_setupModeDisabled);

aws-cpp-sdk-alexaforbusiness/source/model/ProfileData.cpp

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ ProfileData::ProfileData() :
4040
m_temperatureUnit(TemperatureUnit::NOT_SET),
4141
m_temperatureUnitHasBeenSet(false),
4242
m_wakeWord(WakeWord::NOT_SET),
43-
m_wakeWordHasBeenSet(false)
43+
m_wakeWordHasBeenSet(false),
44+
m_localeHasBeenSet(false)
4445
{
4546
}
4647

@@ -56,7 +57,8 @@ ProfileData::ProfileData(JsonView jsonValue) :
5657
m_temperatureUnit(TemperatureUnit::NOT_SET),
5758
m_temperatureUnitHasBeenSet(false),
5859
m_wakeWord(WakeWord::NOT_SET),
59-
m_wakeWordHasBeenSet(false)
60+
m_wakeWordHasBeenSet(false),
61+
m_localeHasBeenSet(false)
6062
{
6163
*this = jsonValue;
6264
}
@@ -119,6 +121,13 @@ ProfileData& ProfileData::operator =(JsonView jsonValue)
119121
m_wakeWordHasBeenSet = true;
120122
}
121123

124+
if(jsonValue.ValueExists("Locale"))
125+
{
126+
m_locale = jsonValue.GetString("Locale");
127+
128+
m_localeHasBeenSet = true;
129+
}
130+
122131
return *this;
123132
}
124133

@@ -171,6 +180,12 @@ JsonValue ProfileData::Jsonize() const
171180
payload.WithString("WakeWord", WakeWordMapper::GetNameForWakeWord(m_wakeWord));
172181
}
173182

183+
if(m_localeHasBeenSet)
184+
{
185+
payload.WithString("Locale", m_locale);
186+
187+
}
188+
174189
return payload;
175190
}
176191

aws-cpp-sdk-alexaforbusiness/source/model/UpdateProfileRequest.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ UpdateProfileRequest::UpdateProfileRequest() :
3535
m_temperatureUnitHasBeenSet(false),
3636
m_wakeWord(WakeWord::NOT_SET),
3737
m_wakeWordHasBeenSet(false),
38+
m_localeHasBeenSet(false),
3839
m_setupModeDisabled(false),
3940
m_setupModeDisabledHasBeenSet(false),
4041
m_maxVolumeLimit(0),
@@ -93,6 +94,12 @@ Aws::String UpdateProfileRequest::SerializePayload() const
9394
payload.WithString("WakeWord", WakeWordMapper::GetNameForWakeWord(m_wakeWord));
9495
}
9596

97+
if(m_localeHasBeenSet)
98+
{
99+
payload.WithString("Locale", m_locale);
100+
101+
}
102+
96103
if(m_setupModeDisabledHasBeenSet)
97104
{
98105
payload.WithBool("SetupModeDisabled", m_setupModeDisabled);

0 commit comments

Comments
 (0)