Skip to content

Commit

Permalink
This release will have ValidationException thrown if certain invalid …
Browse files Browse the repository at this point in the history
…app types are provided. The release will also throw ValidationException if more than 10 account ids are provided in VpcOnlyTrustedAccounts.
  • Loading branch information
aws-sdk-cpp-automation committed Jan 14, 2024
1 parent a8d113e commit 46b2d8a
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 80 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.242
1.11.243
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ namespace Model
enum class AdditionalS3DataSourceDataType
{
NOT_SET,
S3Object
S3Object,
S3Prefix
};

namespace AdditionalS3DataSourceDataTypeMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ namespace Model
KernelGateway,
DetailedProfiler,
TensorBoard,
VSCode,
Savitur,
CodeEditor,
JupyterLab,
RStudioServerPro,
RSession,
RSessionGateway,
Canvas,
DatasetManager,
SageMakerLite,
Local
Canvas
};

namespace AppTypeMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ namespace Model
NOT_SET,
JupyterServer,
KernelGateway,
VSCode,
Savitur,
CodeEditor,
JupyterLab
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace Aws
{

static const int S3Object_HASH = HashingUtils::HashString("S3Object");
static const int S3Prefix_HASH = HashingUtils::HashString("S3Prefix");


AdditionalS3DataSourceDataType GetAdditionalS3DataSourceDataTypeForName(const Aws::String& name)
Expand All @@ -30,6 +31,10 @@ namespace Aws
{
return AdditionalS3DataSourceDataType::S3Object;
}
else if (hashCode == S3Prefix_HASH)
{
return AdditionalS3DataSourceDataType::S3Prefix;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand All @@ -48,6 +53,8 @@ namespace Aws
return {};
case AdditionalS3DataSourceDataType::S3Object:
return "S3Object";
case AdditionalS3DataSourceDataType::S3Prefix:
return "S3Prefix";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
Expand Down
42 changes: 0 additions & 42 deletions generated/src/aws-cpp-sdk-sagemaker/source/model/AppType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ namespace Aws
static const int KernelGateway_HASH = HashingUtils::HashString("KernelGateway");
static const int DetailedProfiler_HASH = HashingUtils::HashString("DetailedProfiler");
static const int TensorBoard_HASH = HashingUtils::HashString("TensorBoard");
static const int VSCode_HASH = HashingUtils::HashString("VSCode");
static const int Savitur_HASH = HashingUtils::HashString("Savitur");
static const int CodeEditor_HASH = HashingUtils::HashString("CodeEditor");
static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab");
static const int RStudioServerPro_HASH = HashingUtils::HashString("RStudioServerPro");
static const int RSession_HASH = HashingUtils::HashString("RSession");
static const int RSessionGateway_HASH = HashingUtils::HashString("RSessionGateway");
static const int Canvas_HASH = HashingUtils::HashString("Canvas");
static const int DatasetManager_HASH = HashingUtils::HashString("DatasetManager");
static const int SageMakerLite_HASH = HashingUtils::HashString("SageMakerLite");
static const int Local_HASH = HashingUtils::HashString("Local");


AppType GetAppTypeForName(const Aws::String& name)
Expand All @@ -56,14 +50,6 @@ namespace Aws
{
return AppType::TensorBoard;
}
else if (hashCode == VSCode_HASH)
{
return AppType::VSCode;
}
else if (hashCode == Savitur_HASH)
{
return AppType::Savitur;
}
else if (hashCode == CodeEditor_HASH)
{
return AppType::CodeEditor;
Expand All @@ -76,10 +62,6 @@ namespace Aws
{
return AppType::RStudioServerPro;
}
else if (hashCode == RSession_HASH)
{
return AppType::RSession;
}
else if (hashCode == RSessionGateway_HASH)
{
return AppType::RSessionGateway;
Expand All @@ -88,18 +70,6 @@ namespace Aws
{
return AppType::Canvas;
}
else if (hashCode == DatasetManager_HASH)
{
return AppType::DatasetManager;
}
else if (hashCode == SageMakerLite_HASH)
{
return AppType::SageMakerLite;
}
else if (hashCode == Local_HASH)
{
return AppType::Local;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand All @@ -124,28 +94,16 @@ namespace Aws
return "DetailedProfiler";
case AppType::TensorBoard:
return "TensorBoard";
case AppType::VSCode:
return "VSCode";
case AppType::Savitur:
return "Savitur";
case AppType::CodeEditor:
return "CodeEditor";
case AppType::JupyterLab:
return "JupyterLab";
case AppType::RStudioServerPro:
return "RStudioServerPro";
case AppType::RSession:
return "RSession";
case AppType::RSessionGateway:
return "RSessionGateway";
case AppType::Canvas:
return "Canvas";
case AppType::DatasetManager:
return "DatasetManager";
case AppType::SageMakerLite:
return "SageMakerLite";
case AppType::Local:
return "Local";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ namespace Aws

static const int JupyterServer_HASH = HashingUtils::HashString("JupyterServer");
static const int KernelGateway_HASH = HashingUtils::HashString("KernelGateway");
static const int VSCode_HASH = HashingUtils::HashString("VSCode");
static const int Savitur_HASH = HashingUtils::HashString("Savitur");
static const int CodeEditor_HASH = HashingUtils::HashString("CodeEditor");
static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab");

Expand All @@ -39,14 +37,6 @@ namespace Aws
{
return StudioLifecycleConfigAppType::KernelGateway;
}
else if (hashCode == VSCode_HASH)
{
return StudioLifecycleConfigAppType::VSCode;
}
else if (hashCode == Savitur_HASH)
{
return StudioLifecycleConfigAppType::Savitur;
}
else if (hashCode == CodeEditor_HASH)
{
return StudioLifecycleConfigAppType::CodeEditor;
Expand Down Expand Up @@ -75,10 +65,6 @@ namespace Aws
return "JupyterServer";
case StudioLifecycleConfigAppType::KernelGateway:
return "KernelGateway";
case StudioLifecycleConfigAppType::VSCode:
return "VSCode";
case StudioLifecycleConfigAppType::Savitur:
return "Savitur";
case StudioLifecycleConfigAppType::CodeEditor:
return "CodeEditor";
case StudioLifecycleConfigAppType::JupyterLab:
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.242"
#define AWS_SDK_VERSION_STRING "1.11.243"
#define AWS_SDK_VERSION_MAJOR 1
#define AWS_SDK_VERSION_MINOR 11
#define AWS_SDK_VERSION_PATCH 242
#define AWS_SDK_VERSION_PATCH 243
Original file line number Diff line number Diff line change
Expand Up @@ -4120,7 +4120,10 @@
},
"AdditionalS3DataSourceDataType":{
"type":"string",
"enum":["S3Object"]
"enum":[
"S3Object",
"S3Prefix"
]
},
"AgentVersion":{
"type":"structure",
Expand Down Expand Up @@ -4604,17 +4607,11 @@
"KernelGateway",
"DetailedProfiler",
"TensorBoard",
"VSCode",
"Savitur",
"CodeEditor",
"JupyterLab",
"RStudioServerPro",
"RSession",
"RSessionGateway",
"Canvas",
"DatasetManager",
"SageMakerLite",
"Local"
"Canvas"
]
},
"ApprovalDescription":{
Expand Down Expand Up @@ -33475,8 +33472,6 @@
"enum":[
"JupyterServer",
"KernelGateway",
"VSCode",
"Savitur",
"CodeEditor",
"JupyterLab"
]
Expand Down Expand Up @@ -37194,7 +37189,8 @@
},
"VpcOnlyTrustedAccounts":{
"type":"list",
"member":{"shape":"AccountId"}
"member":{"shape":"AccountId"},
"max":10
},
"VpcSecurityGroupIds":{
"type":"list",
Expand Down

0 comments on commit 46b2d8a

Please sign in to comment.