Skip to content

Commit

Permalink
This release adds the InstanceFamilies field to the ListAssets response.
Browse files Browse the repository at this point in the history
This release adds support for C7i, and R7a instance types.
This release adds support for one-time model monitoring schedules that are executed immediately without delay, explicit data analysis windows for model monitoring schedules and exclude features attributes to remove features from model monitor analysis.
  • Loading branch information
aws-sdk-cpp-automation committed Sep 19, 2023
1 parent e65bcc2 commit 83b6115
Show file tree
Hide file tree
Showing 47 changed files with 1,659 additions and 965 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.166
1.11.167
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,27 @@ namespace Model
r7gd_4xlarge,
r7gd_8xlarge,
r7gd_12xlarge,
r7gd_16xlarge
r7gd_16xlarge,
r7a_medium,
r7a_large,
r7a_xlarge,
r7a_2xlarge,
r7a_4xlarge,
r7a_8xlarge,
r7a_12xlarge,
r7a_16xlarge,
r7a_24xlarge,
r7a_32xlarge,
r7a_48xlarge,
c7i_large,
c7i_xlarge,
c7i_2xlarge,
c7i_4xlarge,
c7i_8xlarge,
c7i_12xlarge,
c7i_16xlarge,
c7i_24xlarge,
c7i_48xlarge
};

namespace InstanceTypeMapper
Expand Down
200 changes: 200 additions & 0 deletions generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,26 @@ namespace Aws
static const int r7gd_8xlarge_HASH = HashingUtils::HashString("r7gd.8xlarge");
static const int r7gd_12xlarge_HASH = HashingUtils::HashString("r7gd.12xlarge");
static const int r7gd_16xlarge_HASH = HashingUtils::HashString("r7gd.16xlarge");
static const int r7a_medium_HASH = HashingUtils::HashString("r7a.medium");
static const int r7a_large_HASH = HashingUtils::HashString("r7a.large");
static const int r7a_xlarge_HASH = HashingUtils::HashString("r7a.xlarge");
static const int r7a_2xlarge_HASH = HashingUtils::HashString("r7a.2xlarge");
static const int r7a_4xlarge_HASH = HashingUtils::HashString("r7a.4xlarge");
static const int r7a_8xlarge_HASH = HashingUtils::HashString("r7a.8xlarge");
static const int r7a_12xlarge_HASH = HashingUtils::HashString("r7a.12xlarge");
static const int r7a_16xlarge_HASH = HashingUtils::HashString("r7a.16xlarge");
static const int r7a_24xlarge_HASH = HashingUtils::HashString("r7a.24xlarge");
static const int r7a_32xlarge_HASH = HashingUtils::HashString("r7a.32xlarge");
static const int r7a_48xlarge_HASH = HashingUtils::HashString("r7a.48xlarge");
static const int c7i_large_HASH = HashingUtils::HashString("c7i.large");
static const int c7i_xlarge_HASH = HashingUtils::HashString("c7i.xlarge");
static const int c7i_2xlarge_HASH = HashingUtils::HashString("c7i.2xlarge");
static const int c7i_4xlarge_HASH = HashingUtils::HashString("c7i.4xlarge");
static const int c7i_8xlarge_HASH = HashingUtils::HashString("c7i.8xlarge");
static const int c7i_12xlarge_HASH = HashingUtils::HashString("c7i.12xlarge");
static const int c7i_16xlarge_HASH = HashingUtils::HashString("c7i.16xlarge");
static const int c7i_24xlarge_HASH = HashingUtils::HashString("c7i.24xlarge");
static const int c7i_48xlarge_HASH = HashingUtils::HashString("c7i.48xlarge");

/*
The if-else chains in this file are converted into a jump table by the compiler,
Expand Down Expand Up @@ -4368,6 +4388,110 @@ namespace Aws
enumValue = InstanceType::r7gd_16xlarge;
return true;
}
else if (hashCode == r7a_medium_HASH)
{
enumValue = InstanceType::r7a_medium;
return true;
}
else if (hashCode == r7a_large_HASH)
{
enumValue = InstanceType::r7a_large;
return true;
}
else if (hashCode == r7a_xlarge_HASH)
{
enumValue = InstanceType::r7a_xlarge;
return true;
}
else if (hashCode == r7a_2xlarge_HASH)
{
enumValue = InstanceType::r7a_2xlarge;
return true;
}
else if (hashCode == r7a_4xlarge_HASH)
{
enumValue = InstanceType::r7a_4xlarge;
return true;
}
else if (hashCode == r7a_8xlarge_HASH)
{
enumValue = InstanceType::r7a_8xlarge;
return true;
}
else if (hashCode == r7a_12xlarge_HASH)
{
enumValue = InstanceType::r7a_12xlarge;
return true;
}
else if (hashCode == r7a_16xlarge_HASH)
{
enumValue = InstanceType::r7a_16xlarge;
return true;
}
else if (hashCode == r7a_24xlarge_HASH)
{
enumValue = InstanceType::r7a_24xlarge;
return true;
}
else if (hashCode == r7a_32xlarge_HASH)
{
enumValue = InstanceType::r7a_32xlarge;
return true;
}
else if (hashCode == r7a_48xlarge_HASH)
{
enumValue = InstanceType::r7a_48xlarge;
return true;
}
else if (hashCode == c7i_large_HASH)
{
enumValue = InstanceType::c7i_large;
return true;
}
return false;
}
static bool GetEnumForNameHelper6(int hashCode, InstanceType& enumValue)
{
if (hashCode == c7i_xlarge_HASH)
{
enumValue = InstanceType::c7i_xlarge;
return true;
}
else if (hashCode == c7i_2xlarge_HASH)
{
enumValue = InstanceType::c7i_2xlarge;
return true;
}
else if (hashCode == c7i_4xlarge_HASH)
{
enumValue = InstanceType::c7i_4xlarge;
return true;
}
else if (hashCode == c7i_8xlarge_HASH)
{
enumValue = InstanceType::c7i_8xlarge;
return true;
}
else if (hashCode == c7i_12xlarge_HASH)
{
enumValue = InstanceType::c7i_12xlarge;
return true;
}
else if (hashCode == c7i_16xlarge_HASH)
{
enumValue = InstanceType::c7i_16xlarge;
return true;
}
else if (hashCode == c7i_24xlarge_HASH)
{
enumValue = InstanceType::c7i_24xlarge;
return true;
}
else if (hashCode == c7i_48xlarge_HASH)
{
enumValue = InstanceType::c7i_48xlarge;
return true;
}
return false;
}

Expand Down Expand Up @@ -6575,6 +6699,74 @@ namespace Aws
case InstanceType::r7gd_16xlarge:
value = "r7gd.16xlarge";
return true;
case InstanceType::r7a_medium:
value = "r7a.medium";
return true;
case InstanceType::r7a_large:
value = "r7a.large";
return true;
case InstanceType::r7a_xlarge:
value = "r7a.xlarge";
return true;
case InstanceType::r7a_2xlarge:
value = "r7a.2xlarge";
return true;
case InstanceType::r7a_4xlarge:
value = "r7a.4xlarge";
return true;
case InstanceType::r7a_8xlarge:
value = "r7a.8xlarge";
return true;
case InstanceType::r7a_12xlarge:
value = "r7a.12xlarge";
return true;
case InstanceType::r7a_16xlarge:
value = "r7a.16xlarge";
return true;
case InstanceType::r7a_24xlarge:
value = "r7a.24xlarge";
return true;
case InstanceType::r7a_32xlarge:
value = "r7a.32xlarge";
return true;
case InstanceType::r7a_48xlarge:
value = "r7a.48xlarge";
return true;
case InstanceType::c7i_large:
value = "c7i.large";
return true;
default:
return false;
}
}
static bool GetNameForEnumHelper6(InstanceType enumValue, Aws::String& value)
{
switch(enumValue)
{
case InstanceType::c7i_xlarge:
value = "c7i.xlarge";
return true;
case InstanceType::c7i_2xlarge:
value = "c7i.2xlarge";
return true;
case InstanceType::c7i_4xlarge:
value = "c7i.4xlarge";
return true;
case InstanceType::c7i_8xlarge:
value = "c7i.8xlarge";
return true;
case InstanceType::c7i_12xlarge:
value = "c7i.12xlarge";
return true;
case InstanceType::c7i_16xlarge:
value = "c7i.16xlarge";
return true;
case InstanceType::c7i_24xlarge:
value = "c7i.24xlarge";
return true;
case InstanceType::c7i_48xlarge:
value = "c7i.48xlarge";
return true;
default:
return false;
}
Expand Down Expand Up @@ -6608,6 +6800,10 @@ namespace Aws
{
return enumValue;
}
else if (GetEnumForNameHelper6(hashCode, enumValue))
{
return enumValue;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand Down Expand Up @@ -6645,6 +6841,10 @@ namespace Aws
{
return value;
}
else if (GetNameForEnumHelper6(enumValue, value))
{
return value;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <aws/outposts/Outposts_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/outposts/model/ComputeAssetState.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -145,13 +146,71 @@ namespace Model
*/
inline ComputeAttributes& WithState(ComputeAssetState&& value) { SetState(std::move(value)); return *this;}


/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline const Aws::Vector<Aws::String>& GetInstanceFamilies() const{ return m_instanceFamilies; }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline bool InstanceFamiliesHasBeenSet() const { return m_instanceFamiliesHasBeenSet; }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline void SetInstanceFamilies(const Aws::Vector<Aws::String>& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies = value; }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline void SetInstanceFamilies(Aws::Vector<Aws::String>&& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies = std::move(value); }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline ComputeAttributes& WithInstanceFamilies(const Aws::Vector<Aws::String>& value) { SetInstanceFamilies(value); return *this;}

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline ComputeAttributes& WithInstanceFamilies(Aws::Vector<Aws::String>&& value) { SetInstanceFamilies(std::move(value)); return *this;}

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline ComputeAttributes& AddInstanceFamilies(const Aws::String& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline ComputeAttributes& AddInstanceFamilies(Aws::String&& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(std::move(value)); return *this; }

/**
* <p>A list of the names of instance families that are currently associated with a
* given asset.</p>
*/
inline ComputeAttributes& AddInstanceFamilies(const char* value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; }

private:

Aws::String m_hostId;
bool m_hostIdHasBeenSet = false;

ComputeAssetState m_state;
bool m_stateHasBeenSet = false;

Aws::Vector<Aws::String> m_instanceFamilies;
bool m_instanceFamiliesHasBeenSet = false;
};

} // namespace Model
Expand Down
Loading

0 comments on commit 83b6115

Please sign in to comment.