Skip to content

Commit 0097ac5

Browse files
Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications.
Mark ComponentVersion in ComponentDeploymentSpecification as required. Updated request parameters for PKCE support. add v2 smoke tests and smithy smokeTests trait for SDK testing
1 parent 2fedad7 commit 0097ac5

34 files changed

+1534
-255
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.325
1+
1.11.326

generated/src/aws-cpp-sdk-greengrassv2/include/aws/greengrassv2/GreengrassV2Client.h

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,10 @@ namespace GreengrassV2
234234
* an Lambda function that runs on IoT Greengrass. This creates a recipe and
235235
* artifacts from the Lambda function's deployment package. You can use this
236236
* operation to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass
237-
* V2.</p> <p>This function only accepts Lambda functions that use the following
238-
* runtimes:</p> <ul> <li> <p>Python 2.7 – <code>python2.7</code> </p> </li> <li>
239-
* <p>Python 3.7 – <code>python3.7</code> </p> </li> <li> <p>Python 3.8 –
240-
* <code>python3.8</code> </p> </li> <li> <p>Python 3.9 – <code>python3.9</code>
241-
* </p> </li> <li> <p>Java 8 – <code>java8</code> </p> </li> <li> <p>Java 11 –
242-
* <code>java11</code> </p> </li> <li> <p>Node.js 10 – <code>nodejs10.x</code> </p>
243-
* </li> <li> <p>Node.js 12 – <code>nodejs12.x</code> </p> </li> <li> <p>Node.js 14
244-
* – <code>nodejs14.x</code> </p> </li> </ul> <p>To create a component from a
245-
* Lambda function, specify <code>lambdaFunction</code> when you call this
237+
* V2.</p> <p>This function accepts Lambda functions in all supported versions of
238+
* Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply any additional
239+
* restrictions on deprecated Lambda runtime versions.</p> <p>To create a component
240+
* from a Lambda function, specify <code>lambdaFunction</code> when you call this
246241
* operation.</p> <p>IoT Greengrass currently supports Lambda functions on
247242
* only Linux core devices.</p> </li> </ul><p><h3>See Also:</h3> <a
248243
* href="http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateComponentVersion">AWS

generated/src/aws-cpp-sdk-greengrassv2/include/aws/greengrassv2/model/GetComponentVersionArtifactRequest.h

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@
77
#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
88
#include <aws/greengrassv2/GreengrassV2Request.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <aws/greengrassv2/model/S3EndpointType.h>
11+
#include <aws/greengrassv2/model/IotEndpointType.h>
1012
#include <utility>
1113

1214
namespace Aws
1315
{
16+
namespace Http
17+
{
18+
class URI;
19+
} //namespace Http
1420
namespace GreengrassV2
1521
{
1622
namespace Model
@@ -31,6 +37,10 @@ namespace Model
3137

3238
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
3339

40+
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41+
42+
AWS_GREENGRASSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43+
3444

3545
/**
3646
* <p>The <a
@@ -177,13 +187,123 @@ namespace Model
177187
*/
178188
inline GetComponentVersionArtifactRequest& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
179189

190+
191+
/**
192+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
193+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
194+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
195+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
196+
* with this parameter.</p>
197+
*/
198+
inline const S3EndpointType& GetS3EndpointType() const{ return m_s3EndpointType; }
199+
200+
/**
201+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
202+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
203+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
204+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
205+
* with this parameter.</p>
206+
*/
207+
inline bool S3EndpointTypeHasBeenSet() const { return m_s3EndpointTypeHasBeenSet; }
208+
209+
/**
210+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
211+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
212+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
213+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
214+
* with this parameter.</p>
215+
*/
216+
inline void SetS3EndpointType(const S3EndpointType& value) { m_s3EndpointTypeHasBeenSet = true; m_s3EndpointType = value; }
217+
218+
/**
219+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
220+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
221+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
222+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
223+
* with this parameter.</p>
224+
*/
225+
inline void SetS3EndpointType(S3EndpointType&& value) { m_s3EndpointTypeHasBeenSet = true; m_s3EndpointType = std::move(value); }
226+
227+
/**
228+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
229+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
230+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
231+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
232+
* with this parameter.</p>
233+
*/
234+
inline GetComponentVersionArtifactRequest& WithS3EndpointType(const S3EndpointType& value) { SetS3EndpointType(value); return *this;}
235+
236+
/**
237+
* <p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>
238+
* <p>All Amazon Web Services Regions except US East (N. Virginia) use
239+
* <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the
240+
* default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code>
241+
* with this parameter.</p>
242+
*/
243+
inline GetComponentVersionArtifactRequest& WithS3EndpointType(S3EndpointType&& value) { SetS3EndpointType(std::move(value)); return *this;}
244+
245+
246+
/**
247+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
248+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
249+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
250+
* is <code>standard</code>.</p>
251+
*/
252+
inline const IotEndpointType& GetIotEndpointType() const{ return m_iotEndpointType; }
253+
254+
/**
255+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
256+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
257+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
258+
* is <code>standard</code>.</p>
259+
*/
260+
inline bool IotEndpointTypeHasBeenSet() const { return m_iotEndpointTypeHasBeenSet; }
261+
262+
/**
263+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
264+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
265+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
266+
* is <code>standard</code>.</p>
267+
*/
268+
inline void SetIotEndpointType(const IotEndpointType& value) { m_iotEndpointTypeHasBeenSet = true; m_iotEndpointType = value; }
269+
270+
/**
271+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
272+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
273+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
274+
* is <code>standard</code>.</p>
275+
*/
276+
inline void SetIotEndpointType(IotEndpointType&& value) { m_iotEndpointTypeHasBeenSet = true; m_iotEndpointType = std::move(value); }
277+
278+
/**
279+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
280+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
281+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
282+
* is <code>standard</code>.</p>
283+
*/
284+
inline GetComponentVersionArtifactRequest& WithIotEndpointType(const IotEndpointType& value) { SetIotEndpointType(value); return *this;}
285+
286+
/**
287+
* <p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.
288+
* Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to
289+
* point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default
290+
* is <code>standard</code>.</p>
291+
*/
292+
inline GetComponentVersionArtifactRequest& WithIotEndpointType(IotEndpointType&& value) { SetIotEndpointType(std::move(value)); return *this;}
293+
180294
private:
181295

182296
Aws::String m_arn;
183297
bool m_arnHasBeenSet = false;
184298

185299
Aws::String m_artifactName;
186300
bool m_artifactNameHasBeenSet = false;
301+
302+
S3EndpointType m_s3EndpointType;
303+
bool m_s3EndpointTypeHasBeenSet = false;
304+
305+
IotEndpointType m_iotEndpointType;
306+
bool m_iotEndpointTypeHasBeenSet = false;
187307
};
188308

189309
} // namespace Model

generated/src/aws-cpp-sdk-greengrassv2/include/aws/greengrassv2/model/InstalledComponent.h

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -325,80 +325,80 @@ namespace Model
325325
/**
326326
* <p>The most recent deployment source that brought the component to the
327327
* Greengrass core device. For a thing group deployment or thing deployment, the
328-
* source will be the The ID of the deployment. and for local deployments it will
329-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
330-
* currently broken components on the device, which will update the last
331-
* installation source.</p>
328+
* source will be the ID of the last deployment that contained the component. For
329+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
330+
* will attempt to reinstall currently broken components on the device, which will
331+
* update the last installation source.</p>
332332
*/
333333
inline const Aws::String& GetLastInstallationSource() const{ return m_lastInstallationSource; }
334334

335335
/**
336336
* <p>The most recent deployment source that brought the component to the
337337
* Greengrass core device. For a thing group deployment or thing deployment, the
338-
* source will be the The ID of the deployment. and for local deployments it will
339-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
340-
* currently broken components on the device, which will update the last
341-
* installation source.</p>
338+
* source will be the ID of the last deployment that contained the component. For
339+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
340+
* will attempt to reinstall currently broken components on the device, which will
341+
* update the last installation source.</p>
342342
*/
343343
inline bool LastInstallationSourceHasBeenSet() const { return m_lastInstallationSourceHasBeenSet; }
344344

345345
/**
346346
* <p>The most recent deployment source that brought the component to the
347347
* Greengrass core device. For a thing group deployment or thing deployment, the
348-
* source will be the The ID of the deployment. and for local deployments it will
349-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
350-
* currently broken components on the device, which will update the last
351-
* installation source.</p>
348+
* source will be the ID of the last deployment that contained the component. For
349+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
350+
* will attempt to reinstall currently broken components on the device, which will
351+
* update the last installation source.</p>
352352
*/
353353
inline void SetLastInstallationSource(const Aws::String& value) { m_lastInstallationSourceHasBeenSet = true; m_lastInstallationSource = value; }
354354

355355
/**
356356
* <p>The most recent deployment source that brought the component to the
357357
* Greengrass core device. For a thing group deployment or thing deployment, the
358-
* source will be the The ID of the deployment. and for local deployments it will
359-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
360-
* currently broken components on the device, which will update the last
361-
* installation source.</p>
358+
* source will be the ID of the last deployment that contained the component. For
359+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
360+
* will attempt to reinstall currently broken components on the device, which will
361+
* update the last installation source.</p>
362362
*/
363363
inline void SetLastInstallationSource(Aws::String&& value) { m_lastInstallationSourceHasBeenSet = true; m_lastInstallationSource = std::move(value); }
364364

365365
/**
366366
* <p>The most recent deployment source that brought the component to the
367367
* Greengrass core device. For a thing group deployment or thing deployment, the
368-
* source will be the The ID of the deployment. and for local deployments it will
369-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
370-
* currently broken components on the device, which will update the last
371-
* installation source.</p>
368+
* source will be the ID of the last deployment that contained the component. For
369+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
370+
* will attempt to reinstall currently broken components on the device, which will
371+
* update the last installation source.</p>
372372
*/
373373
inline void SetLastInstallationSource(const char* value) { m_lastInstallationSourceHasBeenSet = true; m_lastInstallationSource.assign(value); }
374374

375375
/**
376376
* <p>The most recent deployment source that brought the component to the
377377
* Greengrass core device. For a thing group deployment or thing deployment, the
378-
* source will be the The ID of the deployment. and for local deployments it will
379-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
380-
* currently broken components on the device, which will update the last
381-
* installation source.</p>
378+
* source will be the ID of the last deployment that contained the component. For
379+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
380+
* will attempt to reinstall currently broken components on the device, which will
381+
* update the last installation source.</p>
382382
*/
383383
inline InstalledComponent& WithLastInstallationSource(const Aws::String& value) { SetLastInstallationSource(value); return *this;}
384384

385385
/**
386386
* <p>The most recent deployment source that brought the component to the
387387
* Greengrass core device. For a thing group deployment or thing deployment, the
388-
* source will be the The ID of the deployment. and for local deployments it will
389-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
390-
* currently broken components on the device, which will update the last
391-
* installation source.</p>
388+
* source will be the ID of the last deployment that contained the component. For
389+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
390+
* will attempt to reinstall currently broken components on the device, which will
391+
* update the last installation source.</p>
392392
*/
393393
inline InstalledComponent& WithLastInstallationSource(Aws::String&& value) { SetLastInstallationSource(std::move(value)); return *this;}
394394

395395
/**
396396
* <p>The most recent deployment source that brought the component to the
397397
* Greengrass core device. For a thing group deployment or thing deployment, the
398-
* source will be the The ID of the deployment. and for local deployments it will
399-
* be <code>LOCAL</code>.</p> <p>Any deployment will attempt to reinstall
400-
* currently broken components on the device, which will update the last
401-
* installation source.</p>
398+
* source will be the ID of the last deployment that contained the component. For
399+
* local deployments it will be <code>LOCAL</code>.</p> <p>Any deployment
400+
* will attempt to reinstall currently broken components on the device, which will
401+
* update the last installation source.</p>
402402
*/
403403
inline InstalledComponent& WithLastInstallationSource(const char* value) { SetLastInstallationSource(value); return *this;}
404404

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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/greengrassv2/GreengrassV2_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace GreengrassV2
13+
{
14+
namespace Model
15+
{
16+
enum class IotEndpointType
17+
{
18+
NOT_SET,
19+
fips,
20+
standard
21+
};
22+
23+
namespace IotEndpointTypeMapper
24+
{
25+
AWS_GREENGRASSV2_API IotEndpointType GetIotEndpointTypeForName(const Aws::String& name);
26+
27+
AWS_GREENGRASSV2_API Aws::String GetNameForIotEndpointType(IotEndpointType value);
28+
} // namespace IotEndpointTypeMapper
29+
} // namespace Model
30+
} // namespace GreengrassV2
31+
} // namespace Aws

generated/src/aws-cpp-sdk-greengrassv2/include/aws/greengrassv2/model/ListDeploymentsRequest.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,21 +210,25 @@ namespace Model
210210

211211
/**
212212
* <p>The maximum number of results to be returned per paginated request.</p>
213+
* <p>Default: <code>50</code> </p>
213214
*/
214215
inline int GetMaxResults() const{ return m_maxResults; }
215216

216217
/**
217218
* <p>The maximum number of results to be returned per paginated request.</p>
219+
* <p>Default: <code>50</code> </p>
218220
*/
219221
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
220222

221223
/**
222224
* <p>The maximum number of results to be returned per paginated request.</p>
225+
* <p>Default: <code>50</code> </p>
223226
*/
224227
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
225228

226229
/**
227230
* <p>The maximum number of results to be returned per paginated request.</p>
231+
* <p>Default: <code>50</code> </p>
228232
*/
229233
inline ListDeploymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
230234

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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/greengrassv2/GreengrassV2_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace GreengrassV2
13+
{
14+
namespace Model
15+
{
16+
enum class S3EndpointType
17+
{
18+
NOT_SET,
19+
REGIONAL,
20+
GLOBAL
21+
};
22+
23+
namespace S3EndpointTypeMapper
24+
{
25+
AWS_GREENGRASSV2_API S3EndpointType GetS3EndpointTypeForName(const Aws::String& name);
26+
27+
AWS_GREENGRASSV2_API Aws::String GetNameForS3EndpointType(S3EndpointType value);
28+
} // namespace S3EndpointTypeMapper
29+
} // namespace Model
30+
} // namespace GreengrassV2
31+
} // namespace Aws

0 commit comments

Comments
 (0)