From 4c59d2145b9440cfcb832627c1ca797ce41e90fc Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Wed, 17 Apr 2024 18:31:55 +0000 Subject: [PATCH] This release adds support for IAM Identity Center (IDC) as the identity gateway for Q Business. It also allows users to provide an explicit intent for Q Business to identify how the Chat request should be handled. Documentation updates for Elastic Compute Cloud (EC2). --- VERSION | 2 +- .../include/aws/ec2/EC2Client.h | 52 +- .../model/CancelSpotFleetRequestsRequest.h | 27 +- .../include/aws/ec2/model/CreateFleetError.h | 32 +- .../aws/ec2/model/DeleteFleetsRequest.h | 36 +- .../DescribeInstanceTypeOfferingsRequest.h | 156 ++-- .../DescribeInstanceTypeOfferingsResponse.h | 14 +- .../ec2/model/DescribeInstanceTypesRequest.h | 32 +- .../ec2/model/DescribeInstanceTypesResponse.h | 28 +- .../ModifyInstanceMetadataDefaultsRequest.h | 24 +- .../aws/ec2/model/RequestLaunchTemplateData.h | 123 +-- .../aws/ec2/model/RunInstancesRequest.h | 285 +++---- .../model/SearchTransitGatewayRoutesRequest.h | 12 +- .../ec2/model/SpotFleetLaunchSpecification.h | 152 ++-- .../include/aws/qbusiness/QBusinessClient.h | 190 ++--- .../aws/qbusiness/model/ActionExecution.h | 26 +- .../aws/qbusiness/model/ActionReview.h | 56 +- .../model/ActionReviewPayloadField.h | 24 +- .../ActionReviewPayloadFieldAllowedValue.h | 4 +- .../include/aws/qbusiness/model/Application.h | 90 ++- .../model/AppliedCreatorModeConfiguration.h | 90 +++ .../aws/qbusiness/model/AttributeFilter.h | 240 ++++-- .../qbusiness/model/BasicAuthConfiguration.h | 32 +- .../model/BatchDeleteDocumentRequest.h | 48 +- .../model/BatchDeleteDocumentResult.h | 42 +- .../qbusiness/model/BatchPutDocumentRequest.h | 32 +- .../qbusiness/model/BatchPutDocumentResult.h | 42 +- .../model/BlockedPhrasesConfiguration.h | 18 +- .../model/BlockedPhrasesConfigurationUpdate.h | 47 +- .../include/aws/qbusiness/model/ChatMode.h | 32 + .../qbusiness/model/ChatModeConfiguration.h | 89 ++ .../aws/qbusiness/model/ChatSyncRequest.h | 238 +++++- .../aws/qbusiness/model/ChatSyncResult.h | 62 +- .../aws/qbusiness/model/ContentBlockerRule.h | 6 +- .../qbusiness/model/ContentRetrievalRule.h | 20 +- .../aws/qbusiness/model/Conversation.h | 19 +- .../model/CreateApplicationRequest.h | 128 ++- .../qbusiness/model/CreateApplicationResult.h | 28 +- .../qbusiness/model/CreateDataSourceRequest.h | 168 ++-- .../qbusiness/model/CreateDataSourceResult.h | 28 +- .../aws/qbusiness/model/CreateIndexRequest.h | 48 +- .../aws/qbusiness/model/CreateIndexResult.h | 28 +- .../aws/qbusiness/model/CreatePluginRequest.h | 16 +- .../qbusiness/model/CreateRetrieverRequest.h | 64 +- .../aws/qbusiness/model/CreateUserRequest.h | 32 +- .../model/CreateWebExperienceRequest.h | 196 +++-- .../model/CreateWebExperienceResult.h | 28 +- .../model/CreatorModeConfiguration.h | 89 ++ .../aws/qbusiness/model/CreatorModeControl.h | 31 + .../include/aws/qbusiness/model/DataSource.h | 93 ++- .../aws/qbusiness/model/DataSourceSyncJob.h | 4 +- .../model/DataSourceSyncJobMetrics.h | 4 +- .../model/DataSourceVpcConfiguration.h | 18 +- .../DateAttributeBoostingConfiguration.h | 2 +- .../model/DeleteApplicationRequest.h | 16 +- .../model/DeleteConversationRequest.h | 40 +- .../qbusiness/model/DeleteDataSourceRequest.h | 16 +- .../aws/qbusiness/model/DeleteDocument.h | 4 +- .../aws/qbusiness/model/DeleteIndexRequest.h | 48 +- .../aws/qbusiness/model/DeletePluginRequest.h | 16 +- .../qbusiness/model/DeleteRetrieverRequest.h | 16 +- .../model/DeleteWebExperienceRequest.h | 48 +- .../include/aws/qbusiness/model/Document.h | 18 +- .../DocumentAttributeBoostingConfiguration.h | 17 +- .../model/DocumentAttributeCondition.h | 44 +- .../qbusiness/model/DocumentAttributeTarget.h | 18 +- .../aws/qbusiness/model/DocumentContent.h | 24 +- .../aws/qbusiness/model/DocumentDetails.h | 4 +- .../model/DocumentEnrichmentConfiguration.h | 16 +- .../aws/qbusiness/model/EligibleDataSource.h | 2 +- .../qbusiness/model/EncryptionConfiguration.h | 27 +- .../aws/qbusiness/model/FailedDocument.h | 54 +- .../qbusiness/model/GetApplicationRequest.h | 16 +- .../qbusiness/model/GetApplicationResult.h | 151 ++-- .../GetChatControlsConfigurationRequest.h | 48 +- .../GetChatControlsConfigurationResult.h | 137 ++-- .../qbusiness/model/GetDataSourceRequest.h | 16 +- .../aws/qbusiness/model/GetDataSourceResult.h | 28 +- .../aws/qbusiness/model/GetIndexRequest.h | 40 +- .../aws/qbusiness/model/GetIndexResult.h | 107 +-- .../aws/qbusiness/model/GetRetrieverRequest.h | 16 +- .../aws/qbusiness/model/GetRetrieverResult.h | 14 +- .../qbusiness/model/GetWebExperienceRequest.h | 40 +- .../qbusiness/model/GetWebExperienceResult.h | 170 ++-- .../aws/qbusiness/model/GroupMembers.h | 4 +- .../aws/qbusiness/model/GroupStatusDetail.h | 18 +- .../aws/qbusiness/model/HookConfiguration.h | 22 +- .../include/aws/qbusiness/model/Index.h | 3 +- .../model/IndexCapacityConfiguration.h | 8 +- .../InlineDocumentEnrichmentConfiguration.h | 5 +- .../qbusiness/model/ListApplicationsRequest.h | 48 +- .../qbusiness/model/ListApplicationsResult.h | 49 +- .../model/ListConversationsRequest.h | 72 +- .../qbusiness/model/ListConversationsResult.h | 42 +- .../model/ListDataSourceSyncJobsRequest.h | 80 +- .../model/ListDataSourceSyncJobsResult.h | 28 +- .../qbusiness/model/ListDataSourcesRequest.h | 64 +- .../qbusiness/model/ListDataSourcesResult.h | 28 +- .../qbusiness/model/ListDocumentsRequest.h | 32 +- .../aws/qbusiness/model/ListDocumentsResult.h | 28 +- .../aws/qbusiness/model/ListGroupsRequest.h | 32 +- .../aws/qbusiness/model/ListGroupsResult.h | 42 +- .../aws/qbusiness/model/ListIndicesRequest.h | 64 +- .../aws/qbusiness/model/ListIndicesResult.h | 28 +- .../aws/qbusiness/model/ListMessagesRequest.h | 80 +- .../aws/qbusiness/model/ListMessagesResult.h | 28 +- .../aws/qbusiness/model/ListPluginsRequest.h | 32 +- .../aws/qbusiness/model/ListPluginsResult.h | 28 +- .../qbusiness/model/ListRetrieversRequest.h | 48 +- .../qbusiness/model/ListRetrieversResult.h | 28 +- .../model/ListTagsForResourceRequest.h | 32 +- .../model/ListTagsForResourceResult.h | 21 +- .../model/ListWebExperiencesRequest.h | 56 +- .../model/ListWebExperiencesResult.h | 49 +- .../include/aws/qbusiness/model/Message.h | 111 +-- .../model/NativeIndexConfiguration.h | 68 +- .../NumberAttributeBoostingConfiguration.h | 2 +- .../OAuth2ClientCredentialConfiguration.h | 16 +- .../include/aws/qbusiness/model/Plugin.h | 4 +- .../qbusiness/model/PluginAuthConfiguration.h | 2 +- .../aws/qbusiness/model/PluginConfiguration.h | 95 +++ .../include/aws/qbusiness/model/Principal.h | 3 +- .../include/aws/qbusiness/model/Retriever.h | 42 +- .../qbusiness/model/RetrieverConfiguration.h | 40 +- .../include/aws/qbusiness/model/Rule.h | 4 +- .../aws/qbusiness/model/RuleConfiguration.h | 24 +- .../include/aws/qbusiness/model/S3.h | 4 +- .../aws/qbusiness/model/SamlConfiguration.h | 44 +- .../model/ServiceQuotaExceededException.h | 4 +- .../aws/qbusiness/model/SourceAttribution.h | 96 ++- .../model/StartDataSourceSyncJobRequest.h | 24 +- .../model/StopDataSourceSyncJobRequest.h | 56 +- .../StringAttributeBoostingConfiguration.h | 4 +- ...StringListAttributeBoostingConfiguration.h | 4 +- .../include/aws/qbusiness/model/Tag.h | 16 +- .../aws/qbusiness/model/TagResourceRequest.h | 72 +- .../aws/qbusiness/model/TopicConfiguration.h | 2 +- .../qbusiness/model/UntagResourceRequest.h | 68 +- .../model/UpdateApplicationRequest.h | 64 +- .../UpdateChatControlsConfigurationRequest.h | 51 +- .../qbusiness/model/UpdateDataSourceRequest.h | 32 +- .../aws/qbusiness/model/UpdateIndexRequest.h | 96 ++- .../qbusiness/model/UpdateRetrieverRequest.h | 16 +- .../model/UpdateWebExperienceRequest.h | 92 +-- .../include/aws/qbusiness/model/UserAlias.h | 4 +- .../aws/qbusiness/model/ValidationException.h | 4 +- .../model/ValidationExceptionField.h | 4 +- .../aws/qbusiness/model/WebExperience.h | 100 ++- .../model/WebExperienceAuthConfiguration.h | 2 +- .../source/QBusinessClient.cpp | 25 - .../model/AppliedCreatorModeConfiguration.cpp | 60 ++ .../source/model/ChatMode.cpp | 79 ++ .../source/model/ChatModeConfiguration.cpp | 59 ++ .../source/model/ChatSyncRequest.cpp | 14 + .../source/model/CreateApplicationRequest.cpp | 7 + .../model/CreateWebExperienceRequest.cpp | 7 + .../source/model/CreatorModeConfiguration.cpp | 60 ++ .../source/model/CreatorModeControl.cpp | 72 ++ .../source/model/GetApplicationResult.cpp | 6 + .../GetChatControlsConfigurationResult.cpp | 6 + .../source/model/GetWebExperienceResult.cpp | 6 + .../source/model/PluginConfiguration.cpp | 59 ++ ...UpdateChatControlsConfigurationRequest.cpp | 7 + .../include/aws/qconnect/model/DataDetails.h | 17 +- .../source/model/DataDetails.cpp | 12 +- .../include/aws/core/VersionConfig.h | 4 +- .../ec2-2016-11-15.normal.json | 58 +- .../qbusiness-2023-11-27.normal.json | 760 ++++++++++-------- 168 files changed, 5046 insertions(+), 3279 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AppliedCreatorModeConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ChatMode.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ChatModeConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreatorModeConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreatorModeControl.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/AppliedCreatorModeConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ChatMode.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ChatModeConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/CreatorModeConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/CreatorModeControl.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/PluginConfiguration.cpp diff --git a/VERSION b/VERSION index 3ebb4ca72b9..daf030e409c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.308 \ No newline at end of file +1.11.309 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h index cbf6358a682..38aff4ec2e5 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h @@ -1650,8 +1650,10 @@ namespace EC2 * you choose to terminate the instances, the Spot Fleet request enters the * cancelled_terminating state. Otherwise, the Spot Fleet request * enters the cancelled_running state and the instances continue to - * run until they are interrupted or you terminate them manually.

See - * Also:

Restrictions

See Also:

AWS * API Reference

*/ @@ -4766,15 +4768,16 @@ namespace EC2 * EC2 Fleet enters the deleted_running state, and the instances * continue to run until they are interrupted or you terminate them manually.

*

For instant fleets, EC2 Fleet must terminate the instances when - * the fleet is deleted. A deleted instant fleet with running - * instances is not supported.

Restrictions

For more - * information, see instant fleets. A deleted instant fleet with + * running instances is not supported.

Restrictions + *

For more information, see Delete * an EC2 Fleet in the Amazon EC2 User Guide.

See Also:

* AWS @@ -8393,10 +8396,9 @@ namespace EC2 } /** - *

Returns a list of all instance types offered. The results can be filtered by - * location (Region or Availability Zone). If no location is specified, the - * instance types offered in the current Region are returned.

See - * Also:

Lists the instance types that are offered for the specified location. If no + * location is specified, the default is to list the instance types that are + * offered in the current Region.

See Also:

AWS * API Reference

*/ @@ -8421,9 +8423,9 @@ namespace EC2 } /** - *

Describes the details of the instance types that are offered in a location. - * The results can be filtered by the attributes of the instance - * types.

See Also:

Describes the specified instance types. By default, all instance types for + * the current Region are described. Alternatively, you can filter the + * results.

See Also:

AWS * API Reference

*/ @@ -13083,8 +13085,11 @@ namespace EC2 /** *

Retrieve a JPG-format screenshot of a running instance to help with - * troubleshooting.

The returned content is Base64-encoded.

See - * Also:

The returned content is Base64-encoded.

For more + * information, see Instance + * console output in the Amazon EC2 User Guide.

See Also:

+ * AWS * API Reference

*/ @@ -15243,8 +15248,9 @@ namespace EC2 *

Modifies the default instance metadata service (IMDS) settings at the account * level in the specified Amazon Web Services
 Region.

To * remove a parameter's account-level default setting, specify - * no-preference. At instance launch, the value will come from the - * AMI, or from the launch parameter if specified. For more information, see no-preference. If an account-level setting is cleared with + * no-preference, then the instance launch considers the other + * instance metadata settings. For more information, see Order * of precedence for instance metadata options in the Amazon EC2 User * Guide.

See Also:

Modify the instance metadata parameters on a running or stopped instance. * When you modify the parameters on a stopped instance, they are applied when the * instance is started. When you modify the parameters on a running instance, the - * API responds with a state of “pending��. After the parameter modifications are + * API responds with a state of “pending”. After the parameter modifications are * successfully applied to the instance, the state of the modifications changes * from “pending” to “applied” in subsequent describe-instances API calls. For more * information, see The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline const Aws::Vector& GetSpotFleetRequestIds() const{ return m_spotFleetRequestIds; } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline bool SpotFleetRequestIdsHasBeenSet() const { return m_spotFleetRequestIdsHasBeenSet; } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline void SetSpotFleetRequestIds(const Aws::Vector& value) { m_spotFleetRequestIdsHasBeenSet = true; m_spotFleetRequestIds = value; } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline void SetSpotFleetRequestIds(Aws::Vector&& value) { m_spotFleetRequestIdsHasBeenSet = true; m_spotFleetRequestIds = std::move(value); } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline CancelSpotFleetRequestsRequest& WithSpotFleetRequestIds(const Aws::Vector& value) { SetSpotFleetRequestIds(value); return *this;} /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline CancelSpotFleetRequestsRequest& WithSpotFleetRequestIds(Aws::Vector&& value) { SetSpotFleetRequestIds(std::move(value)); return *this;} /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline CancelSpotFleetRequestsRequest& AddSpotFleetRequestIds(const Aws::String& value) { m_spotFleetRequestIdsHasBeenSet = true; m_spotFleetRequestIds.push_back(value); return *this; } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline CancelSpotFleetRequestsRequest& AddSpotFleetRequestIds(Aws::String&& value) { m_spotFleetRequestIdsHasBeenSet = true; m_spotFleetRequestIds.push_back(std::move(value)); return *this; } /** - *

The IDs of the Spot Fleet requests.

+ *

The IDs of the Spot Fleet requests.

Constraint: You can specify up to + * 100 IDs in a single request.

*/ inline CancelSpotFleetRequestsRequest& AddSpotFleetRequestIds(const char* value) { m_spotFleetRequestIdsHasBeenSet = true; m_spotFleetRequestIds.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateFleetError.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateFleetError.h index 53555bdfc98..b0a95506d54 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateFleetError.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateFleetError.h @@ -125,7 +125,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } @@ -133,7 +133,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } @@ -141,7 +141,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } @@ -149,7 +149,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } @@ -157,7 +157,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } @@ -165,7 +165,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} @@ -173,7 +173,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} @@ -181,7 +181,7 @@ namespace Model /** *

The error code that indicates why the instance could not be launched. For * more information about error codes, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} @@ -190,7 +190,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } @@ -198,7 +198,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } @@ -206,7 +206,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } @@ -214,7 +214,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } @@ -222,7 +222,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } @@ -230,7 +230,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} @@ -238,7 +238,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} @@ -246,7 +246,7 @@ namespace Model /** *

The error message that describes why the instance could not be launched. For * more information about error messages, see Error + * href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error * codes.

*/ inline CreateFleetError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteFleetsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteFleetsRequest.h index a16d0a0413c..f17eb6b2666 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteFleetsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteFleetsRequest.h @@ -71,47 +71,65 @@ namespace Model /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline const Aws::Vector& GetFleetIds() const{ return m_fleetIds; } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline DeleteFleetsRequest& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline DeleteFleetsRequest& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline DeleteFleetsRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline DeleteFleetsRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } /** - *

The IDs of the EC2 Fleets.

+ *

The IDs of the EC2 Fleets.

Constraints: In a single request, you can + * specify up to 25 instant fleet IDs and up to 100 + * maintain or request fleet IDs.

*/ inline DeleteFleetsRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsRequest.h index dc7e553ec7e..c407fafcff8 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsRequest.h @@ -73,113 +73,177 @@ namespace Model /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline const LocationType& GetLocationType() const{ return m_locationType; } /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline bool LocationTypeHasBeenSet() const { return m_locationTypeHasBeenSet; } /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline void SetLocationType(const LocationType& value) { m_locationTypeHasBeenSet = true; m_locationType = value; } /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline void SetLocationType(LocationType&& value) { m_locationTypeHasBeenSet = true; m_locationType = std::move(value); } /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline DescribeInstanceTypeOfferingsRequest& WithLocationType(const LocationType& value) { SetLocationType(value); return *this;} /** - *

The location type.

+ *

The location type.

  • availability-zone - The + * Availability Zone. When you specify a location filter, it must be an + * Availability Zone for the current Region.

  • + * availability-zone-id - The AZ ID. When you specify a location + * filter, it must be an AZ ID for the current Region.

  • + * outpost - The Outpost ARN. When you specify a location filter, it + * must be an Outpost ARN for the current Region.

  • + * region - The current Region. If you specify a location filter, it + * must match the current Region.

*/ inline DescribeInstanceTypeOfferingsRequest& WithLocationType(LocationType&& value) { SetLocationType(std::move(value)); return *this;} /** *

One or more filters. Filter names and values are case-sensitive.

    - *
  • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

  • - * instance-type - The instance type. For example, - * c5.2xlarge.

+ *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline DescribeInstanceTypeOfferingsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline DescribeInstanceTypeOfferingsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline DescribeInstanceTypeOfferingsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

    One or more filters. Filter names and values are case-sensitive.

      - *
    • location - This depends on the location type. For example, - * if the location type is region (default), the location is the - * Region code (for example, us-east-2.)

    • - * instance-type - The instance type. For example, - * c5.2xlarge.

    + *
  • instance-type - The instance type. For a list of possible + * values, see Instance.

    + *
  • location - The location. For a list of possible + * identifiers, see Regions + * and Zones.

  • */ inline DescribeInstanceTypeOfferingsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsResponse.h index 27f2eb363c1..b57ab285af0 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsResponse.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypeOfferingsResponse.h @@ -36,37 +36,37 @@ namespace Model /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline const Aws::Vector& GetInstanceTypeOfferings() const{ return m_instanceTypeOfferings; } /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline void SetInstanceTypeOfferings(const Aws::Vector& value) { m_instanceTypeOfferings = value; } /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline void SetInstanceTypeOfferings(Aws::Vector&& value) { m_instanceTypeOfferings = std::move(value); } /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline DescribeInstanceTypeOfferingsResponse& WithInstanceTypeOfferings(const Aws::Vector& value) { SetInstanceTypeOfferings(value); return *this;} /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline DescribeInstanceTypeOfferingsResponse& WithInstanceTypeOfferings(Aws::Vector&& value) { SetInstanceTypeOfferings(std::move(value)); return *this;} /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline DescribeInstanceTypeOfferingsResponse& AddInstanceTypeOfferings(const InstanceTypeOffering& value) { m_instanceTypeOfferings.push_back(value); return *this; } /** - *

    The instance types offered.

    + *

    The instance types offered in the location.

    */ inline DescribeInstanceTypeOfferingsResponse& AddInstanceTypeOfferings(InstanceTypeOffering&& value) { m_instanceTypeOfferings.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesRequest.h index a7888143807..4abaf35d17a 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesRequest.h @@ -73,58 +73,42 @@ namespace Model /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline const Aws::Vector& GetInstanceTypes() const{ return m_instanceTypes; } /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; } /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline void SetInstanceTypes(const Aws::Vector& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = value; } /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline void SetInstanceTypes(Aws::Vector&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = std::move(value); } /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline DescribeInstanceTypesRequest& WithInstanceTypes(const Aws::Vector& value) { SetInstanceTypes(value); return *this;} /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline DescribeInstanceTypesRequest& WithInstanceTypes(Aws::Vector&& value) { SetInstanceTypes(std::move(value)); return *this;} /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline DescribeInstanceTypesRequest& AddInstanceTypes(const InstanceType& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } /** - *

    The instance types. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance types.

    */ inline DescribeInstanceTypesRequest& AddInstanceTypes(InstanceType&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesResponse.h index 7d4f2b6eea2..d31731bcfdd 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesResponse.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesResponse.h @@ -36,51 +36,37 @@ namespace Model /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline const Aws::Vector& GetInstanceTypes() const{ return m_instanceTypes; } /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline void SetInstanceTypes(const Aws::Vector& value) { m_instanceTypes = value; } /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline void SetInstanceTypes(Aws::Vector&& value) { m_instanceTypes = std::move(value); } /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline DescribeInstanceTypesResponse& WithInstanceTypes(const Aws::Vector& value) { SetInstanceTypes(value); return *this;} /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline DescribeInstanceTypesResponse& WithInstanceTypes(Aws::Vector&& value) { SetInstanceTypes(std::move(value)); return *this;} /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline DescribeInstanceTypesResponse& AddInstanceTypes(const InstanceTypeInfo& value) { m_instanceTypes.push_back(value); return *this; } /** - *

    The instance type. For more information, see Instance - * types in the Amazon EC2 User Guide.

    + *

    The instance type.

    */ inline DescribeInstanceTypesResponse& AddInstanceTypes(InstanceTypeInfo&& value) { m_instanceTypes.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h index 1da80221956..aae3810cfe5 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h @@ -88,26 +88,34 @@ namespace Model /** - *

    The maximum number of hops that the metadata token can travel.

    - *

    Minimum: 1

    Maximum: 64

    + *

    The maximum number of hops that the metadata token can travel. To indicate no + * preference, specify -1.

    Possible values: Integers from + * 1 to 64, and -1 to indicate no + * preference

    */ inline int GetHttpPutResponseHopLimit() const{ return m_httpPutResponseHopLimit; } /** - *

    The maximum number of hops that the metadata token can travel.

    - *

    Minimum: 1

    Maximum: 64

    + *

    The maximum number of hops that the metadata token can travel. To indicate no + * preference, specify -1.

    Possible values: Integers from + * 1 to 64, and -1 to indicate no + * preference

    */ inline bool HttpPutResponseHopLimitHasBeenSet() const { return m_httpPutResponseHopLimitHasBeenSet; } /** - *

    The maximum number of hops that the metadata token can travel.

    - *

    Minimum: 1

    Maximum: 64

    + *

    The maximum number of hops that the metadata token can travel. To indicate no + * preference, specify -1.

    Possible values: Integers from + * 1 to 64, and -1 to indicate no + * preference

    */ inline void SetHttpPutResponseHopLimit(int value) { m_httpPutResponseHopLimitHasBeenSet = true; m_httpPutResponseHopLimit = value; } /** - *

    The maximum number of hops that the metadata token can travel.

    - *

    Minimum: 1

    Maximum: 64

    + *

    The maximum number of hops that the metadata token can travel. To indicate no + * preference, specify -1.

    Possible values: Integers from + * 1 to 64, and -1 to indicate no + * preference

    */ inline ModifyInstanceMetadataDefaultsRequest& WithHttpPutResponseHopLimit(int value) { SetHttpPutResponseHopLimit(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RequestLaunchTemplateData.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RequestLaunchTemplateData.h index f0694bafcbb..6a2fb740908 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RequestLaunchTemplateData.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RequestLaunchTemplateData.h @@ -246,50 +246,42 @@ namespace Model /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline const Aws::Vector& GetNetworkInterfaces() const{ return m_networkInterfaces; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline void SetNetworkInterfaces(const Aws::Vector& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline void SetNetworkInterfaces(Aws::Vector&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline RequestLaunchTemplateData& WithNetworkInterfaces(const Aws::Vector& value) { SetNetworkInterfaces(value); return *this;} /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline RequestLaunchTemplateData& WithNetworkInterfaces(Aws::Vector&& value) { SetNetworkInterfaces(std::move(value)); return *this;} /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline RequestLaunchTemplateData& AddNetworkInterfaces(const LaunchTemplateInstanceNetworkInterfaceSpecificationRequest& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify any security groups and subnets as part of the network interface.

    + *

    The network interfaces for the instance.

    */ inline RequestLaunchTemplateData& AddNetworkInterfaces(LaunchTemplateInstanceNetworkInterfaceSpecificationRequest&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } @@ -1163,111 +1155,138 @@ namespace Model /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline RequestLaunchTemplateData& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline RequestLaunchTemplateData& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** - *

    One or more security group IDs. You can create a security group using CreateSecurityGroup.

    + *

    The IDs of the security groups.

    If you specify a network interface, + * you must specify any security groups as part of the network interface instead of + * using this parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline RequestLaunchTemplateData& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline RequestLaunchTemplateData& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** - *

    One or more security group names. For a nondefault VPC, you must use security - * group IDs instead.

    + *

    The names of the security groups. For a nondefault VPC, you must use security + * group IDs instead.

    If you specify a network interface, you must specify + * any security groups as part of the network interface instead of using this + * parameter.

    */ inline RequestLaunchTemplateData& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h index cc1160c40f2..98e0be3178a 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h @@ -742,7 +742,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } @@ -750,7 +750,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } @@ -758,7 +758,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } @@ -766,7 +766,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } @@ -774,7 +774,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline RunInstancesRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} @@ -782,7 +782,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline RunInstancesRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} @@ -790,7 +790,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline RunInstancesRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } @@ -798,7 +798,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline RunInstancesRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } @@ -806,7 +806,7 @@ namespace Model *

    The IDs of the security groups. You can create a security group using CreateSecurityGroup.

    *

    If you specify a network interface, you must specify any security groups as - * part of the network interface.

    + * part of the network interface instead of using this parameter.

    */ inline RunInstancesRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } @@ -814,120 +814,129 @@ namespace Model /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline RunInstancesRequest& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline RunInstancesRequest& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline RunInstancesRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline RunInstancesRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *

    [Default VPC] The names of the security groups.

    If you specify a * network interface, you must specify any security groups as part of the network - * interface.

    Default: Amazon EC2 uses the default security group.

    + * interface instead of using this parameter.

    Default: Amazon EC2 uses the + * default security group.

    */ inline RunInstancesRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline RunInstancesRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline RunInstancesRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

    The ID of the subnet to launch the instance into.

    If you specify a - * network interface, you must specify any subnets as part of the network - * interface.

    + * network interface, you must specify any subnets as part of the network interface + * instead of using this parameter.

    */ inline RunInstancesRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} @@ -1345,58 +1354,42 @@ namespace Model /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline const Aws::Vector& GetNetworkInterfaces() const{ return m_networkInterfaces; } /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline void SetNetworkInterfaces(const Aws::Vector& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; } /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline void SetNetworkInterfaces(Aws::Vector&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); } /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline RunInstancesRequest& WithNetworkInterfaces(const Aws::Vector& value) { SetNetworkInterfaces(value); return *this;} /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline RunInstancesRequest& WithNetworkInterfaces(Aws::Vector&& value) { SetNetworkInterfaces(std::move(value)); return *this;} /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline RunInstancesRequest& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } /** - *

    The network interfaces to associate with the instance. If you specify a - * network interface, you must specify any security groups and subnets as part of - * the network interface.

    + *

    The network interfaces to associate with the instance.

    */ inline RunInstancesRequest& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } @@ -1491,187 +1484,123 @@ namespace Model /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline const Aws::Vector& GetElasticGpuSpecification() const{ return m_elasticGpuSpecification; } /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline bool ElasticGpuSpecificationHasBeenSet() const { return m_elasticGpuSpecificationHasBeenSet; } /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline void SetElasticGpuSpecification(const Aws::Vector& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = value; } /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline void SetElasticGpuSpecification(Aws::Vector&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = std::move(value); } /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline RunInstancesRequest& WithElasticGpuSpecification(const Aws::Vector& value) { SetElasticGpuSpecification(value); return *this;} /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline RunInstancesRequest& WithElasticGpuSpecification(Aws::Vector&& value) { SetElasticGpuSpecification(std::move(value)); return *this;} /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline RunInstancesRequest& AddElasticGpuSpecification(const ElasticGpuSpecification& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(value); return *this; } /** - *

    Deprecated.

    Amazon Elastic Graphics reached end of life on - * January 8, 2024. For workloads that require graphics acceleration, we recommend - * that you use Amazon EC2 G4ad, G4dn, or G5 instances.

    + *

    An elastic GPU to associate with the instance.

    Amazon Elastic + * Graphics reached end of life on January 8, 2024.

    */ inline RunInstancesRequest& AddElasticGpuSpecification(ElasticGpuSpecification&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(std::move(value)); return *this; } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline const Aws::Vector& GetElasticInferenceAccelerators() const{ return m_elasticInferenceAccelerators; } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline bool ElasticInferenceAcceleratorsHasBeenSet() const { return m_elasticInferenceAcceleratorsHasBeenSet; } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline void SetElasticInferenceAccelerators(const Aws::Vector& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = value; } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline void SetElasticInferenceAccelerators(Aws::Vector&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = std::move(value); } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline RunInstancesRequest& WithElasticInferenceAccelerators(const Aws::Vector& value) { SetElasticInferenceAccelerators(value); return *this;} /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline RunInstancesRequest& WithElasticInferenceAccelerators(Aws::Vector&& value) { SetElasticInferenceAccelerators(std::move(value)); return *this;} /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline RunInstancesRequest& AddElasticInferenceAccelerators(const ElasticInferenceAccelerator& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(value); return *this; } /** - *

    An elastic inference accelerator to associate with the instance. Elastic - * inference accelerators are a resource you can attach to your Amazon EC2 - * instances to accelerate your Deep Learning (DL) inference workloads.

    You - * cannot specify accelerators from different generations in the same request.

    - *

    Starting April 15, 2023, Amazon Web Services will not onboard new - * customers to Amazon Elastic Inference (EI), and will help current customers - * migrate their workloads to options that offer better price and performance. - * After April 15, 2023, new customers will not be able to launch instances with - * Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, - * customers who have used Amazon EI at least once during the past 30-day period - * are considered current customers and will be able to continue using the - * service.

    + *

    An elastic inference accelerator to associate with the instance.

    + *

    Amazon Elastic Inference (EI) is no longer available to new customers. For + * more information, see Amazon + * Elastic Inference FAQs.

    */ inline RunInstancesRequest& AddElasticInferenceAccelerators(ElasticInferenceAccelerator&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SearchTransitGatewayRoutesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SearchTransitGatewayRoutesRequest.h index da8491c7e41..bbc949f159a 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SearchTransitGatewayRoutesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SearchTransitGatewayRoutesRequest.h @@ -273,22 +273,26 @@ namespace Model /** - *

    The maximum number of routes to return.

    + *

    The maximum number of routes to return. If a value is not provided, the + * default is 1000.

    */ inline int GetMaxResults() const{ return m_maxResults; } /** - *

    The maximum number of routes to return.

    + *

    The maximum number of routes to return. If a value is not provided, the + * default is 1000.

    */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

    The maximum number of routes to return.

    + *

    The maximum number of routes to return. If a value is not provided, the + * default is 1000.

    */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

    The maximum number of routes to return.

    + *

    The maximum number of routes to return. If a value is not provided, the + * default is 1000.

    */ inline SearchTransitGatewayRoutesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h index 91f33deb76c..e3cd46a6856 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h @@ -55,42 +55,58 @@ namespace Model /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline SpotFleetLaunchSpecification& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline SpotFleetLaunchSpecification& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline SpotFleetLaunchSpecification& AddSecurityGroups(const GroupIdentifier& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** - *

    The security groups.

    + *

    The security groups.

    If you specify a network interface, you must + * specify any security groups as part of the network interface instead of using + * this parameter.

    */ inline SpotFleetLaunchSpecification& AddSecurityGroups(GroupIdentifier&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } @@ -463,82 +479,74 @@ namespace Model /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline const Aws::Vector& GetNetworkInterfaces() const{ return m_networkInterfaces; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline void SetNetworkInterfaces(const Aws::Vector& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline void SetNetworkInterfaces(Aws::Vector&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline SpotFleetLaunchSpecification& WithNetworkInterfaces(const Aws::Vector& value) { SetNetworkInterfaces(value); return *this;} /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline SpotFleetLaunchSpecification& WithNetworkInterfaces(Aws::Vector&& value) { SetNetworkInterfaces(std::move(value)); return *this;} /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline SpotFleetLaunchSpecification& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } /** - *

    One or more network interfaces. If you specify a network interface, you must - * specify subnet IDs and security group IDs using the network interface.

    - *

    SpotFleetLaunchSpecification currently does not support - * Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - * + *

    The network interfaces.

    + * SpotFleetLaunchSpecification does not support Elastic Fabric + * Adapter (EFA). You must use LaunchTemplateConfig + * instead.

    */ inline SpotFleetLaunchSpecification& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } @@ -723,56 +731,72 @@ namespace Model /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline SpotFleetLaunchSpecification& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline SpotFleetLaunchSpecification& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

    The IDs of the subnets in which to launch the instances. To specify multiple * subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - * subnet-0987cdef6example2".

    + * subnet-0987cdef6example2".

    If you specify a network interface, you must + * specify any subnets as part of the network interface instead of using this + * parameter.

    */ inline SpotFleetLaunchSpecification& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h index 4d29e0a2b4b..025f642b619 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h @@ -17,38 +17,39 @@ namespace QBusiness { /** *

    Amazon Q is in preview release and is subject to change.

    - *

    This is the Amazon Q (for business use) API Reference. Amazon Q is a + *

    This is the Amazon Q Business API Reference. Amazon Q Business is a * fully managed, generative-AI powered enterprise chat assistant that you can - * deploy within your organization. Amazon Q enhances employee productivity by - * supporting key tasks such as question-answering, knowledge discovery, writing - * email messages, summarizing text, drafting document outlines, and brainstorming - * ideas. Users ask questions of Amazon Q and get answers that are presented in a - * conversational manner. For an introduction to the service, see the - * Amazon Q (for business use) Developer Guide .

    For an overview - * of the Amazon Q APIs, see Amazon Q Business User Guide .

    For an overview of the Amazon Q + * Business APIs, see Overview - * of Amazon Q API operations.

    For information about the IAM access - * control permissions you need to use this API, see .

    For information about the IAM + * access control permissions you need to use this API, see IAM - * roles for Amazon Q in the Amazon Q (for business use) Developer - * Guide.

    You can use the following AWS SDKs to access Amazon Q - * APIs: