Skip to content

Commit

Permalink
nop
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Dec 11, 2024
1 parent a9910a0 commit aeb9bae
Show file tree
Hide file tree
Showing 66 changed files with 2,771 additions and 908 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.462
1.11.463
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ namespace Model
* domain.</p> </li> <li> <p> <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is
* an Amazon OpenSearch Service domain.</p> </li> <li> <p>
* <b>AMAZON_EVENTBRIDGE</b>: The data source is an Amazon EventBridge
* configuration.</p> </li> <li> <p> <b>NONE</b>: There is no data source. Use this
* type when you want to invoke a GraphQL operation without connecting to a data
* source, such as when you're performing data transformation with resolvers or
* invoking a subscription from a mutation.</p> </li> <li> <p> <b>HTTP</b>: The
* data source is an HTTP endpoint.</p> </li> <li> <p> <b>RELATIONAL_DATABASE</b>:
* The data source is a relational database.</p> </li> </ul>
* configuration.</p> </li> <li> <p> <b>AMAZON_BEDROCK_RUNTIME</b>: The data source
* is the Amazon Bedrock runtime.</p> </li> <li> <p> <b>NONE</b>: There is no data
* source. Use this type when you want to invoke a GraphQL operation without
* connecting to a data source, such as when you're performing data transformation
* with resolvers or invoking a subscription from a mutation.</p> </li> <li> <p>
* <b>HTTP</b>: The data source is an HTTP endpoint.</p> </li> <li> <p>
* <b>RELATIONAL_DATABASE</b>: The data source is a relational database.</p> </li>
* </ul>
*/
inline const DataSourceType& GetType() const{ return m_type; }
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
Expand Down
34 changes: 30 additions & 4 deletions generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -8793,10 +8793,10 @@ namespace EC2
* <code>hpc7g.4xlarge</code> | <code>hpc7g.8xlarge</code> |
* <code>hpc7g.16xlarge</code> </p> </li> <li> <p> <code>p3dn.24xlarge</code> |
* <code>p4d.24xlarge</code> | <code>p4de.24xlarge</code> |
* <code>p5.48xlarge</code> | <code>p5e.48xlarge</code> </p> </li> <li> <p>
* <code>trn1.2xlarge</code> | <code>trn1.32xlarge</code> |
* <code>trn1n.32xlarge</code> </p> </li> </ul> </li> </ul> <p>For more
* information, see <a
* <code>p5.48xlarge</code> | <code>p5e.48xlarge</code> |
* <code>p5en.48xlarge</code> </p> </li> <li> <p> <code>trn1.2xlarge</code> |
* <code>trn1.32xlarge</code> | <code>trn1n.32xlarge</code> </p> </li> </ul> </li>
* </ul> <p>For more information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-topology.html">Amazon
* EC2 instance topology</a> in the <i>Amazon EC2 User Guide</i>.</p><p><h3>See
* Also:</h3> <a
Expand Down Expand Up @@ -16328,6 +16328,32 @@ namespace EC2
return SubmitAsync(&EC2Client::ModifyInstanceMetadataOptions, request, handler, context);
}

/**
* <p>Change the configuration of the network performance options for an existing
* instance.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceNetworkPerformanceOptions">AWS
* API Reference</a></p>
*/
virtual Model::ModifyInstanceNetworkPerformanceOptionsOutcome ModifyInstanceNetworkPerformanceOptions(const Model::ModifyInstanceNetworkPerformanceOptionsRequest& request) const;

/**
* A Callable wrapper for ModifyInstanceNetworkPerformanceOptions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ModifyInstanceNetworkPerformanceOptionsRequestT = Model::ModifyInstanceNetworkPerformanceOptionsRequest>
Model::ModifyInstanceNetworkPerformanceOptionsOutcomeCallable ModifyInstanceNetworkPerformanceOptionsCallable(const ModifyInstanceNetworkPerformanceOptionsRequestT& request) const
{
return SubmitCallable(&EC2Client::ModifyInstanceNetworkPerformanceOptions, request);
}

/**
* An Async wrapper for ModifyInstanceNetworkPerformanceOptions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ModifyInstanceNetworkPerformanceOptionsRequestT = Model::ModifyInstanceNetworkPerformanceOptionsRequest>
void ModifyInstanceNetworkPerformanceOptionsAsync(const ModifyInstanceNetworkPerformanceOptionsRequestT& request, const ModifyInstanceNetworkPerformanceOptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&EC2Client::ModifyInstanceNetworkPerformanceOptions, request, handler, context);
}

/**
* <p>Modifies the placement attributes for a specified instance. You can do the
* following:</p> <ul> <li> <p>Modify the affinity between an instance and a <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@
#include <aws/ec2/model/ModifyInstanceMaintenanceOptionsResponse.h>
#include <aws/ec2/model/ModifyInstanceMetadataDefaultsResponse.h>
#include <aws/ec2/model/ModifyInstanceMetadataOptionsResponse.h>
#include <aws/ec2/model/ModifyInstanceNetworkPerformanceOptionsResponse.h>
#include <aws/ec2/model/ModifyInstancePlacementResponse.h>
#include <aws/ec2/model/ModifyIpamResponse.h>
#include <aws/ec2/model/ModifyIpamPoolResponse.h>
Expand Down Expand Up @@ -1394,6 +1395,7 @@ namespace Aws
class ModifyInstanceMaintenanceOptionsRequest;
class ModifyInstanceMetadataDefaultsRequest;
class ModifyInstanceMetadataOptionsRequest;
class ModifyInstanceNetworkPerformanceOptionsRequest;
class ModifyInstancePlacementRequest;
class ModifyIpamRequest;
class ModifyIpamPoolRequest;
Expand Down Expand Up @@ -2054,6 +2056,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ModifyInstanceMaintenanceOptionsResponse, EC2Error> ModifyInstanceMaintenanceOptionsOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceMetadataDefaultsResponse, EC2Error> ModifyInstanceMetadataDefaultsOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceMetadataOptionsResponse, EC2Error> ModifyInstanceMetadataOptionsOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceNetworkPerformanceOptionsResponse, EC2Error> ModifyInstanceNetworkPerformanceOptionsOutcome;
typedef Aws::Utils::Outcome<ModifyInstancePlacementResponse, EC2Error> ModifyInstancePlacementOutcome;
typedef Aws::Utils::Outcome<ModifyIpamResponse, EC2Error> ModifyIpamOutcome;
typedef Aws::Utils::Outcome<ModifyIpamPoolResponse, EC2Error> ModifyIpamPoolOutcome;
Expand Down Expand Up @@ -2714,6 +2717,7 @@ namespace Aws
typedef std::future<ModifyInstanceMaintenanceOptionsOutcome> ModifyInstanceMaintenanceOptionsOutcomeCallable;
typedef std::future<ModifyInstanceMetadataDefaultsOutcome> ModifyInstanceMetadataDefaultsOutcomeCallable;
typedef std::future<ModifyInstanceMetadataOptionsOutcome> ModifyInstanceMetadataOptionsOutcomeCallable;
typedef std::future<ModifyInstanceNetworkPerformanceOptionsOutcome> ModifyInstanceNetworkPerformanceOptionsOutcomeCallable;
typedef std::future<ModifyInstancePlacementOutcome> ModifyInstancePlacementOutcomeCallable;
typedef std::future<ModifyIpamOutcome> ModifyIpamOutcomeCallable;
typedef std::future<ModifyIpamPoolOutcome> ModifyIpamPoolOutcomeCallable;
Expand Down Expand Up @@ -3377,6 +3381,7 @@ namespace Aws
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceMaintenanceOptionsRequest&, const Model::ModifyInstanceMaintenanceOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceMaintenanceOptionsResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceMetadataDefaultsRequest&, const Model::ModifyInstanceMetadataDefaultsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceMetadataDefaultsResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceMetadataOptionsRequest&, const Model::ModifyInstanceMetadataOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceMetadataOptionsResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceNetworkPerformanceOptionsRequest&, const Model::ModifyInstanceNetworkPerformanceOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceNetworkPerformanceOptionsResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstancePlacementRequest&, const Model::ModifyInstancePlacementOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstancePlacementResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyIpamRequest&, const Model::ModifyIpamOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyIpamResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyIpamPoolRequest&, const Model::ModifyIpamPoolOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyIpamPoolResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace EC2
{
namespace Model
{
enum class BandwidthWeightingType
{
NOT_SET,
default_,
vpc_1,
ebs_1
};

namespace BandwidthWeightingTypeMapper
{
AWS_EC2_API BandwidthWeightingType GetBandwidthWeightingTypeForName(const Aws::String& name);

AWS_EC2_API Aws::String GetNameForBandwidthWeightingType(BandwidthWeightingType value);
} // namespace BandwidthWeightingTypeMapper
} // namespace Model
} // namespace EC2
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ namespace Model
* <li> <p> <code>instance-type</code> - The instance type (for example
* <code>c5.2xlarge</code> or c5*).</p> </li> <li> <p>
* <code>memory-info.size-in-mib</code> - The memory size.</p> </li> <li> <p>
* <code>network-info.bandwidth-weightings</code> - For instances that support
* bandwidth weighting to boost performance (<code>default</code>,
* <code>vpc-1</code>, <code>ebs-1</code>).</p> </li> <li> <p>
* <code>network-info.efa-info.maximum-efa-interfaces</code> - The maximum number
* of Elastic Fabric Adapters (EFAs) per instance.</p> </li> <li> <p>
* <code>network-info.efa-supported</code> - Indicates whether the instance type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ namespace Model
* <code>network-interface.tag-value</code> - The value of a tag assigned to the
* network interface.</p> </li> <li> <p> <code>network-interface.vpc-id</code> -
* The ID of the VPC for the network interface.</p> </li> <li> <p>
* <code>network-performance-options.bandwidth-weighting</code> - Where the
* performance boost is applied, if applicable. Valid values: <code>default</code>,
* <code>vpc-1</code>, <code>ebs-1</code>.</p> </li> <li> <p>
* <code>operator.managed</code> - A Boolean that indicates whether this is a
* managed instance.</p> </li> <li> <p> <code>operator.principal</code> - The
* principal that manages the instance. Only valid for managed instances, where
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,33 +152,29 @@ namespace Model
* <code>vpc_endpoint</code>).</p> </li> <li> <p> <code>mac-address</code> - The
* MAC address of the network interface.</p> </li> <li> <p>
* <code>network-interface-id</code> - The ID of the network interface.</p> </li>
* <li> <p> <code>operator.managed</code> - A Boolean that indicates whether this
* is a managed network interface.</p> </li> <li> <p>
* <code>operator.principal</code> - The principal that manages the network
* interface. Only valid for managed network interfaces, where <code>managed</code>
* is <code>true</code>.</p> </li> <li> <p> <code>owner-id</code> - The Amazon Web
* Services account ID of the network interface owner.</p> </li> <li> <p>
* <code>private-dns-name</code> - The private DNS name of the network interface
* (IPv4).</p> </li> <li> <p> <code>private-ip-address</code> - The private IPv4
* address or addresses of the network interface.</p> </li> <li> <p>
* <code>requester-id</code> - The alias or Amazon Web Services account ID of the
* principal or service that created the network interface.</p> </li> <li> <p>
* <code>requester-managed</code> - Indicates whether the network interface is
* being managed by an Amazon Web Services service (for example, Amazon Web
* Services Management Console, Auto Scaling, and so on).</p> </li> <li> <p>
* <code>source-dest-check</code> - Indicates whether the network interface
* performs source/destination checking. A value of <code>true</code> means
* checking is enabled, and <code>false</code> means checking is disabled. The
* value must be <code>false</code> for the network interface to perform network
* address translation (NAT) in your VPC. </p> </li> <li> <p> <code>status</code> -
* The status of the network interface. If the network interface is not attached to
* an instance, the status is <code>available</code>; if a network interface is
* attached to an instance the status is <code>in-use</code>.</p> </li> <li> <p>
* <code>subnet-id</code> - The ID of the subnet for the network interface.</p>
* </li> <li> <p> <code>tag</code>:&lt;key&gt; - The key/value combination of a tag
* assigned to the resource. Use the tag key in the filter name and the tag value
* as the filter value. For example, to find all resources that have a tag with the
* key <code>Owner</code> and the value <code>TeamA</code>, specify
* <li> <p> <code>owner-id</code> - The Amazon Web Services account ID of the
* network interface owner.</p> </li> <li> <p> <code>private-dns-name</code> - The
* private DNS name of the network interface (IPv4).</p> </li> <li> <p>
* <code>private-ip-address</code> - The private IPv4 address or addresses of the
* network interface.</p> </li> <li> <p> <code>requester-id</code> - The alias or
* Amazon Web Services account ID of the principal or service that created the
* network interface.</p> </li> <li> <p> <code>requester-managed</code> - Indicates
* whether the network interface is being managed by an Amazon Web Services service
* (for example, Amazon Web Services Management Console, Auto Scaling, and so
* on).</p> </li> <li> <p> <code>source-dest-check</code> - Indicates whether the
* network interface performs source/destination checking. A value of
* <code>true</code> means checking is enabled, and <code>false</code> means
* checking is disabled. The value must be <code>false</code> for the network
* interface to perform network address translation (NAT) in your VPC. </p> </li>
* <li> <p> <code>status</code> - The status of the network interface. If the
* network interface is not attached to an instance, the status is
* <code>available</code>; if a network interface is attached to an instance the
* status is <code>in-use</code>.</p> </li> <li> <p> <code>subnet-id</code> - The
* ID of the subnet for the network interface.</p> </li> <li> <p>
* <code>tag</code>:&lt;key&gt; - The key/value combination of a tag assigned to
* the resource. Use the tag key in the filter name and the tag value as the filter
* value. For example, to find all resources that have a tag with the key
* <code>Owner</code> and the value <code>TeamA</code>, specify
* <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter
* value.</p> </li> <li> <p> <code>tag-key</code> - The key of a tag assigned to
* the resource. Use this filter to find all resources assigned a tag with a
Expand Down
16 changes: 16 additions & 0 deletions generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <aws/ec2/model/PrivateDnsNameOptionsResponse.h>
#include <aws/ec2/model/InstanceMaintenanceOptions.h>
#include <aws/ec2/model/InstanceBootModeValues.h>
#include <aws/ec2/model/InstanceNetworkPerformanceOptions.h>
#include <aws/ec2/model/OperatorResponse.h>
#include <aws/ec2/model/InstanceState.h>
#include <aws/ec2/model/InstanceType.h>
Expand Down Expand Up @@ -573,6 +574,18 @@ namespace Model
inline Instance& WithCurrentInstanceBootMode(InstanceBootModeValues&& value) { SetCurrentInstanceBootMode(std::move(value)); return *this;}
///@}

///@{
/**
* <p>Contains settings for the network performance options for your instance.</p>
*/
inline const InstanceNetworkPerformanceOptions& GetNetworkPerformanceOptions() const{ return m_networkPerformanceOptions; }
inline bool NetworkPerformanceOptionsHasBeenSet() const { return m_networkPerformanceOptionsHasBeenSet; }
inline void SetNetworkPerformanceOptions(const InstanceNetworkPerformanceOptions& value) { m_networkPerformanceOptionsHasBeenSet = true; m_networkPerformanceOptions = value; }
inline void SetNetworkPerformanceOptions(InstanceNetworkPerformanceOptions&& value) { m_networkPerformanceOptionsHasBeenSet = true; m_networkPerformanceOptions = std::move(value); }
inline Instance& WithNetworkPerformanceOptions(const InstanceNetworkPerformanceOptions& value) { SetNetworkPerformanceOptions(value); return *this;}
inline Instance& WithNetworkPerformanceOptions(InstanceNetworkPerformanceOptions&& value) { SetNetworkPerformanceOptions(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The service provider that manages the instance.</p>
Expand Down Expand Up @@ -977,6 +990,9 @@ namespace Model
InstanceBootModeValues m_currentInstanceBootMode;
bool m_currentInstanceBootModeHasBeenSet = false;

InstanceNetworkPerformanceOptions m_networkPerformanceOptions;
bool m_networkPerformanceOptionsHasBeenSet = false;

OperatorResponse m_operator;
bool m_operatorHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace EC2
{
namespace Model
{
enum class InstanceBandwidthWeighting
{
NOT_SET,
default_,
vpc_1,
ebs_1
};

namespace InstanceBandwidthWeightingMapper
{
AWS_EC2_API InstanceBandwidthWeighting GetInstanceBandwidthWeightingForName(const Aws::String& name);

AWS_EC2_API Aws::String GetNameForInstanceBandwidthWeighting(InstanceBandwidthWeighting value);
} // namespace InstanceBandwidthWeightingMapper
} // namespace Model
} // namespace EC2
} // namespace Aws
Loading

0 comments on commit aeb9bae

Please sign in to comment.