Skip to content

Commit

Permalink
Add multiple customer error code to handle customer caused failure wh…
Browse files Browse the repository at this point in the history
…en managing EKS node groups

This release enables AWS Compute Optimizer to analyze and generate recommendations with a new customization preference, Memory Utilization.
Update ImportTaskCancelled waiter to evaluate task state correctly and minor documentation changes.
Amazon QuickSight: Adds support for setting up VPC Endpoint restrictions for accessing QuickSight Website.
This release adds support for sharing AWS::InternetMonitor::Monitor resources.
Amazon EC2 C7gd, M7gd and R7gd metal instances with up to 3.8 TB of local NVMe-based SSD block-level storage have up to 45% improved real-time NVMe storage performance than comparable Graviton2-based instances.
Add EC2 support for GuardDuty Runtime Monitoring auto management.
This release adds support for understanding pending changes to subscriptions by including two new response parameters for the GetSubscription API for Amazon CodeCatalyst.
  • Loading branch information
aws-sdk-cpp-automation committed Mar 28, 2024
1 parent 1a0db27 commit 6f0dcfc
Show file tree
Hide file tree
Showing 57 changed files with 1,560 additions and 445 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.295
1.11.296
Original file line number Diff line number Diff line change
Expand Up @@ -461,42 +461,50 @@ namespace Model


/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline const Aws::String& GetVpcConnectionName() const{ return m_vpcConnectionName; }

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline bool VpcConnectionNameHasBeenSet() const { return m_vpcConnectionNameHasBeenSet; }

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline void SetVpcConnectionName(const Aws::String& value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName = value; }

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline void SetVpcConnectionName(Aws::String&& value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName = std::move(value); }

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline void SetVpcConnectionName(const char* value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName.assign(value); }

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline CreateDevEnvironmentRequest& WithVpcConnectionName(const Aws::String& value) { SetVpcConnectionName(value); return *this;}

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline CreateDevEnvironmentRequest& WithVpcConnectionName(Aws::String&& value) { SetVpcConnectionName(std::move(value)); return *this;}

/**
* <p>The name of the connection to use connect to a Amazon VPC.</p>
* <p>The name of the connection that will be used to connect to Amazon VPC, if
* any.</p>
*/
inline CreateDevEnvironmentRequest& WithVpcConnectionName(const char* value) { SetVpcConnectionName(value); return *this;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#pragma once
#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -111,6 +112,106 @@ namespace Model
inline GetSubscriptionResult& WithAwsAccountName(const char* value) { SetAwsAccountName(value); return *this;}


/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline const Aws::String& GetPendingSubscriptionType() const{ return m_pendingSubscriptionType; }

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline void SetPendingSubscriptionType(const Aws::String& value) { m_pendingSubscriptionType = value; }

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline void SetPendingSubscriptionType(Aws::String&& value) { m_pendingSubscriptionType = std::move(value); }

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline void SetPendingSubscriptionType(const char* value) { m_pendingSubscriptionType.assign(value); }

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline GetSubscriptionResult& WithPendingSubscriptionType(const Aws::String& value) { SetPendingSubscriptionType(value); return *this;}

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline GetSubscriptionResult& WithPendingSubscriptionType(Aws::String&& value) { SetPendingSubscriptionType(std::move(value)); return *this;}

/**
* <p>The type of the billing plan that the space will be changed to at the start
* of the next billing cycle. This applies only to changes that reduce the
* functionality available for the space. Billing plan changes that increase
* functionality are applied immediately. For more information, see <a
* href="https://codecatalyst.aws/explore/pricing">Pricing</a>.</p>
*/
inline GetSubscriptionResult& WithPendingSubscriptionType(const char* value) { SetPendingSubscriptionType(value); return *this;}


/**
* <p>The day and time the pending change will be applied to the space, in
* coordinated universal time (UTC) timestamp format as specified in <a
* href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
*/
inline const Aws::Utils::DateTime& GetPendingSubscriptionStartTime() const{ return m_pendingSubscriptionStartTime; }

/**
* <p>The day and time the pending change will be applied to the space, in
* coordinated universal time (UTC) timestamp format as specified in <a
* href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
*/
inline void SetPendingSubscriptionStartTime(const Aws::Utils::DateTime& value) { m_pendingSubscriptionStartTime = value; }

/**
* <p>The day and time the pending change will be applied to the space, in
* coordinated universal time (UTC) timestamp format as specified in <a
* href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
*/
inline void SetPendingSubscriptionStartTime(Aws::Utils::DateTime&& value) { m_pendingSubscriptionStartTime = std::move(value); }

/**
* <p>The day and time the pending change will be applied to the space, in
* coordinated universal time (UTC) timestamp format as specified in <a
* href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
*/
inline GetSubscriptionResult& WithPendingSubscriptionStartTime(const Aws::Utils::DateTime& value) { SetPendingSubscriptionStartTime(value); return *this;}

/**
* <p>The day and time the pending change will be applied to the space, in
* coordinated universal time (UTC) timestamp format as specified in <a
* href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
*/
inline GetSubscriptionResult& WithPendingSubscriptionStartTime(Aws::Utils::DateTime&& value) { SetPendingSubscriptionStartTime(std::move(value)); return *this;}



inline const Aws::String& GetRequestId() const{ return m_requestId; }

Expand Down Expand Up @@ -138,6 +239,10 @@ namespace Model

Aws::String m_awsAccountName;

Aws::String m_pendingSubscriptionType;

Aws::Utils::DateTime m_pendingSubscriptionStartTime;

Aws::String m_requestId;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ GetSubscriptionResult& GetSubscriptionResult::operator =(const Aws::AmazonWebSer

}

if(jsonValue.ValueExists("pendingSubscriptionType"))
{
m_pendingSubscriptionType = jsonValue.GetString("pendingSubscriptionType");

}

if(jsonValue.ValueExists("pendingSubscriptionStartTime"))
{
m_pendingSubscriptionStartTime = jsonValue.GetString("pendingSubscriptionStartTime");

}


const auto& headers = result.GetHeaderValueCollection();
const auto& requestIdIter = headers.find("x-amzn-requestid");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace Model
NOT_SET,
PERCENT_30,
PERCENT_20,
PERCENT_10,
PERCENT_0
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ namespace Model
enum class CustomizableMetricName
{
NOT_SET,
CpuUtilization
CpuUtilization,
MemoryUtilization
};

namespace CustomizableMetricNameMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,69 +40,93 @@ namespace Model


/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline const CustomizableMetricThreshold& GetThreshold() const{ return m_threshold; }

/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }

/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline void SetThreshold(const CustomizableMetricThreshold& value) { m_thresholdHasBeenSet = true; m_threshold = value; }

/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline void SetThreshold(CustomizableMetricThreshold&& value) { m_thresholdHasBeenSet = true; m_threshold = std::move(value); }

/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline CustomizableMetricParameters& WithThreshold(const CustomizableMetricThreshold& value) { SetThreshold(value); return *this;}

/**
* <p> The threshold value used for the specified metric parameter. </p>
* <p> The threshold value used for the specified metric parameter. </p>
* <p>You can only specify the threshold value for CPU utilization.</p>
*/
inline CustomizableMetricParameters& WithThreshold(CustomizableMetricThreshold&& value) { SetThreshold(std::move(value)); return *this;}


/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline const CustomizableMetricHeadroom& GetHeadroom() const{ return m_headroom; }

/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline bool HeadroomHasBeenSet() const { return m_headroomHasBeenSet; }

/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline void SetHeadroom(const CustomizableMetricHeadroom& value) { m_headroomHasBeenSet = true; m_headroom = value; }

/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline void SetHeadroom(CustomizableMetricHeadroom&& value) { m_headroomHasBeenSet = true; m_headroom = std::move(value); }

/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline CustomizableMetricParameters& WithHeadroom(const CustomizableMetricHeadroom& value) { SetHeadroom(value); return *this;}

/**
* <p> The headroom threshold value in percentage used for the specified metric
* parameter. </p>
* <p> The headroom value in percentage used for the specified metric parameter.
* </p> <p>The following lists the valid values for CPU and memory utilization.</p>
* <ul> <li> <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>
* </p> </li> <li> <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 |
* PERCENT_10</code> </p> </li> </ul>
*/
inline CustomizableMetricParameters& WithHeadroom(CustomizableMetricHeadroom&& value) { SetHeadroom(std::move(value)); return *this;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand All @@ -358,7 +358,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand All @@ -373,7 +373,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand All @@ -388,7 +388,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand All @@ -403,7 +403,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand All @@ -418,7 +418,7 @@ namespace Model
* <code>Overprovisioned</code> </b> — When Compute Optimizer detects that there’s
* excessive memory or CPU, an Amazon ECS service is considered over-provisioned.
* An over-provisioned service might result in additional infrastructure costs.
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> �� When both the CPU and
* </p> </li> <li> <p> <b> <code>Optimized</code> </b> When both the CPU and
* memory of your Amazon ECS service meet the performance requirements of your
* workload, the service is considered optimized.</p> </li> </ul>
*/
Expand Down
Loading

0 comments on commit 6f0dcfc

Please sign in to comment.