Skip to content

Commit

Permalink
The release addresses Amazon ECS documentation tickets.
Browse files Browse the repository at this point in the history
Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering
  • Loading branch information
aws-sdk-cpp-automation committed Jan 16, 2025
1 parent 8aca4a4 commit 8fd786a
Show file tree
Hide file tree
Showing 11 changed files with 900 additions and 886 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.486
1.11.487
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ namespace Model

///@{
/**
* <p>Linux-specific modifications that are applied to the container, such as Linux
* kernel capabilities. For more information see <a
* <p>Linux-specific modifications that are applied to the default Docker container
* configuration, such as Linux kernel capabilities. For more information see <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html">KernelCapabilities</a>.</p>
* <p>This parameter is not supported for Windows containers.</p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ namespace Model
ml_p5_48xlarge,
ml_p5e_48xlarge,
ml_p5en_48xlarge,
ml_trn1_32xlarge,
ml_trn2_48xlarge
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ namespace Aws
static const int ml_p5_48xlarge_HASH = HashingUtils::HashString("ml.p5.48xlarge");
static const int ml_p5e_48xlarge_HASH = HashingUtils::HashString("ml.p5e.48xlarge");
static const int ml_p5en_48xlarge_HASH = HashingUtils::HashString("ml.p5en.48xlarge");
static const int ml_trn1_32xlarge_HASH = HashingUtils::HashString("ml.trn1.32xlarge");
static const int ml_trn2_48xlarge_HASH = HashingUtils::HashString("ml.trn2.48xlarge");


Expand All @@ -46,6 +47,10 @@ namespace Aws
{
return ReservedCapacityInstanceType::ml_p5en_48xlarge;
}
else if (hashCode == ml_trn1_32xlarge_HASH)
{
return ReservedCapacityInstanceType::ml_trn1_32xlarge;
}
else if (hashCode == ml_trn2_48xlarge_HASH)
{
return ReservedCapacityInstanceType::ml_trn2_48xlarge;
Expand Down Expand Up @@ -74,6 +79,8 @@ namespace Aws
return "ml.p5e.48xlarge";
case ReservedCapacityInstanceType::ml_p5en_48xlarge:
return "ml.p5en.48xlarge";
case ReservedCapacityInstanceType::ml_trn1_32xlarge:
return "ml.trn1.32xlarge";
case ReservedCapacityInstanceType::ml_trn2_48xlarge:
return "ml.trn2.48xlarge";
default:
Expand Down
1 change: 1 addition & 0 deletions src/aws-cpp-sdk-core/include/aws/core/Region.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ namespace Aws
static const char IL_CENTRAL_1[] = "il-central-1"; // Israel (Tel Aviv)
static const char ME_CENTRAL_1[] = "me-central-1"; // Middle East (UAE)
static const char ME_SOUTH_1[] = "me-south-1"; // Middle East (Bahrain)
static const char MX_CENTRAL_1[] = "mx-central-1"; // Mexico (Central)
static const char SA_EAST_1[] = "sa-east-1"; // South America (Sao Paulo)
static const char US_EAST_1[] = "us-east-1"; // US East (N. Virginia)
static const char US_EAST_2[] = "us-east-2"; // US East (Ohio)
Expand Down
4 changes: 2 additions & 2 deletions src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#pragma once

#define AWS_SDK_VERSION_STRING "1.11.486"
#define AWS_SDK_VERSION_STRING "1.11.487"
#define AWS_SDK_VERSION_MAJOR 1
#define AWS_SDK_VERSION_MINOR 11
#define AWS_SDK_VERSION_PATCH 486
#define AWS_SDK_VERSION_PATCH 487
151 changes: 76 additions & 75 deletions src/aws-cpp-sdk-core/source/endpoint/AWSPartitions.cpp

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@
},
"linuxParameters":{
"shape":"LinuxParameters",
"documentation":"<p>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html\">KernelCapabilities</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>"
"documentation":"<p>Linux-specific modifications that are applied to the default Docker container configuration, such as Linux kernel capabilities. For more information see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html\">KernelCapabilities</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>"
},
"secrets":{
"shape":"SecretList",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35325,6 +35325,7 @@
"ml.p5.48xlarge",
"ml.p5e.48xlarge",
"ml.p5en.48xlarge",
"ml.trn1.32xlarge",
"ml.trn2.48xlarge"
]
},
Expand Down
3 changes: 3 additions & 0 deletions tools/code-generation/partitions/partitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
"me-south-1" : {
"description" : "Middle East (Bahrain)"
},
"mx-central-1" : {
"description" : "Mexico (Central)"
},
"sa-east-1" : {
"description" : "South America (Sao Paulo)"
},
Expand Down
Loading

0 comments on commit 8fd786a

Please sign in to comment.