-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add macOS platform and instance placement options
Updating invoke regex to support imported models for converse API Adds the BatchAddRole and BatchRemoveRole APIs. This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs. Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints. Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance.
- Loading branch information
1 parent
ccedfe0
commit 2345a84
Showing
89 changed files
with
3,969 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.431 | ||
1.11.432 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 128 additions & 0 deletions
128
generated/src/aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/Placement.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/imagebuilder/model/TenancyType.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace imagebuilder | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>By default, EC2 instances run on shared tenancy hardware. This means that | ||
* multiple Amazon Web Services accounts might share the same physical hardware. | ||
* When you use dedicated hardware, the physical server that hosts your instances | ||
* is dedicated to your Amazon Web Services account. Instance placement settings | ||
* contain the details for the physical hardware where instances that Image Builder | ||
* launches during image creation will run.</p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Placement">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class Placement | ||
{ | ||
public: | ||
AWS_IMAGEBUILDER_API Placement(); | ||
AWS_IMAGEBUILDER_API Placement(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_IMAGEBUILDER_API Placement& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>The Availability Zone where your build and test instances will launch.</p> | ||
*/ | ||
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } | ||
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } | ||
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } | ||
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } | ||
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } | ||
inline Placement& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} | ||
inline Placement& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} | ||
inline Placement& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The tenancy of the instance. An instance with a tenancy of | ||
* <code>dedicated</code> runs on single-tenant hardware. An instance with a | ||
* tenancy of <code>host</code> runs on a Dedicated Host.</p> <p>If tenancy is set | ||
* to <code>host</code>, then you can optionally specify one target for placement – | ||
* either host ID or host resource group ARN. If automatic placement is enabled for | ||
* your host, and you don't specify any placement target, Amazon EC2 will try to | ||
* find an available host for your build and test instances.</p> | ||
*/ | ||
inline const TenancyType& GetTenancy() const{ return m_tenancy; } | ||
inline bool TenancyHasBeenSet() const { return m_tenancyHasBeenSet; } | ||
inline void SetTenancy(const TenancyType& value) { m_tenancyHasBeenSet = true; m_tenancy = value; } | ||
inline void SetTenancy(TenancyType&& value) { m_tenancyHasBeenSet = true; m_tenancy = std::move(value); } | ||
inline Placement& WithTenancy(const TenancyType& value) { SetTenancy(value); return *this;} | ||
inline Placement& WithTenancy(TenancyType&& value) { SetTenancy(std::move(value)); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The ID of the Dedicated Host on which build and test instances run. This only | ||
* applies if <code>tenancy</code> is <code>host</code>. If you specify the host | ||
* ID, you must not specify the resource group ARN. If you specify both, Image | ||
* Builder returns an error.</p> | ||
*/ | ||
inline const Aws::String& GetHostId() const{ return m_hostId; } | ||
inline bool HostIdHasBeenSet() const { return m_hostIdHasBeenSet; } | ||
inline void SetHostId(const Aws::String& value) { m_hostIdHasBeenSet = true; m_hostId = value; } | ||
inline void SetHostId(Aws::String&& value) { m_hostIdHasBeenSet = true; m_hostId = std::move(value); } | ||
inline void SetHostId(const char* value) { m_hostIdHasBeenSet = true; m_hostId.assign(value); } | ||
inline Placement& WithHostId(const Aws::String& value) { SetHostId(value); return *this;} | ||
inline Placement& WithHostId(Aws::String&& value) { SetHostId(std::move(value)); return *this;} | ||
inline Placement& WithHostId(const char* value) { SetHostId(value); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The Amazon Resource Name (ARN) of the host resource group in which to launch | ||
* build and test instances. This only applies if <code>tenancy</code> is | ||
* <code>host</code>. If you specify the resource group ARN, you must not specify | ||
* the host ID. If you specify both, Image Builder returns an error.</p> | ||
*/ | ||
inline const Aws::String& GetHostResourceGroupArn() const{ return m_hostResourceGroupArn; } | ||
inline bool HostResourceGroupArnHasBeenSet() const { return m_hostResourceGroupArnHasBeenSet; } | ||
inline void SetHostResourceGroupArn(const Aws::String& value) { m_hostResourceGroupArnHasBeenSet = true; m_hostResourceGroupArn = value; } | ||
inline void SetHostResourceGroupArn(Aws::String&& value) { m_hostResourceGroupArnHasBeenSet = true; m_hostResourceGroupArn = std::move(value); } | ||
inline void SetHostResourceGroupArn(const char* value) { m_hostResourceGroupArnHasBeenSet = true; m_hostResourceGroupArn.assign(value); } | ||
inline Placement& WithHostResourceGroupArn(const Aws::String& value) { SetHostResourceGroupArn(value); return *this;} | ||
inline Placement& WithHostResourceGroupArn(Aws::String&& value) { SetHostResourceGroupArn(std::move(value)); return *this;} | ||
inline Placement& WithHostResourceGroupArn(const char* value) { SetHostResourceGroupArn(value); return *this;} | ||
///@} | ||
private: | ||
|
||
Aws::String m_availabilityZone; | ||
bool m_availabilityZoneHasBeenSet = false; | ||
|
||
TenancyType m_tenancy; | ||
bool m_tenancyHasBeenSet = false; | ||
|
||
Aws::String m_hostId; | ||
bool m_hostIdHasBeenSet = false; | ||
|
||
Aws::String m_hostResourceGroupArn; | ||
bool m_hostResourceGroupArnHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace imagebuilder | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,8 @@ namespace Model | |
{ | ||
NOT_SET, | ||
Windows, | ||
Linux | ||
Linux, | ||
macOS | ||
}; | ||
|
||
namespace PlatformMapper | ||
|
32 changes: 32 additions & 0 deletions
32
generated/src/aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/TenancyType.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace imagebuilder | ||
{ | ||
namespace Model | ||
{ | ||
enum class TenancyType | ||
{ | ||
NOT_SET, | ||
default_, | ||
dedicated, | ||
host | ||
}; | ||
|
||
namespace TenancyTypeMapper | ||
{ | ||
AWS_IMAGEBUILDER_API TenancyType GetTenancyTypeForName(const Aws::String& name); | ||
|
||
AWS_IMAGEBUILDER_API Aws::String GetNameForTenancyType(TenancyType value); | ||
} // namespace TenancyTypeMapper | ||
} // namespace Model | ||
} // namespace imagebuilder | ||
} // namespace Aws |
Oops, something went wrong.