From e3a9fbac559ee9c0375db21bfb401bfa20662540 Mon Sep 17 00:00:00 2001
From: awstools <awstools@amazon.com>
Date: Mon, 23 Jan 2023 19:22:06 +0000
Subject: [PATCH] feat(client-sagemaker): Amazon SageMaker Inference now
 supports P4de instance types.

---
 clients/client-sagemaker/src/models/models_0.ts |  3 ++-
 clients/client-sagemaker/src/models/models_2.ts |  2 +-
 clients/client-sagemaker/src/models/models_3.ts |  4 ++--
 codegen/sdk-codegen/aws-models/sagemaker.json   | 12 +++++++++---
 4 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/clients/client-sagemaker/src/models/models_0.ts b/clients/client-sagemaker/src/models/models_0.ts
index 2ff8bf6b8421..b32b4238d96f 100644
--- a/clients/client-sagemaker/src/models/models_0.ts
+++ b/clients/client-sagemaker/src/models/models_0.ts
@@ -364,6 +364,7 @@ export enum ProductionVariantInstanceType {
   ML_P3_16XLARGE = "ml.p3.16xlarge",
   ML_P3_2XLARGE = "ml.p3.2xlarge",
   ML_P3_8XLARGE = "ml.p3.8xlarge",
+  ML_P4DE_24XLARGE = "ml.p4de.24xlarge",
   ML_P4D_24XLARGE = "ml.p4d.24xlarge",
   ML_R5D_12XLARGE = "ml.r5d.12xlarge",
   ML_R5D_24XLARGE = "ml.r5d.24xlarge",
@@ -9264,7 +9265,7 @@ export interface ProductionVariant {
 
   /**
    * <p>The size, in GB, of the ML storage volume attached to individual inference instance
-   *             associated with the production variant. Currenly only Amazon EBS gp2 storage volumes are
+   *             associated with the production variant. Currently only Amazon EBS gp2 storage volumes are
    *             supported.</p>
    */
   VolumeSizeInGB?: number;
diff --git a/clients/client-sagemaker/src/models/models_2.ts b/clients/client-sagemaker/src/models/models_2.ts
index b31b7eb18da6..d1693e505497 100644
--- a/clients/client-sagemaker/src/models/models_2.ts
+++ b/clients/client-sagemaker/src/models/models_2.ts
@@ -7560,7 +7560,7 @@ export interface Endpoint {
 
   /**
    * <p>A list of the shadow variants hosted on the endpoint. Each shadow variant is a model
-   *             in shadow mode with production traffic replicated from the proudction variant.</p>
+   *             in shadow mode with production traffic replicated from the production variant.</p>
    */
   ShadowProductionVariants?: ProductionVariantSummary[];
 }
diff --git a/clients/client-sagemaker/src/models/models_3.ts b/clients/client-sagemaker/src/models/models_3.ts
index 973eaafa8e8c..aa1af4bef591 100644
--- a/clients/client-sagemaker/src/models/models_3.ts
+++ b/clients/client-sagemaker/src/models/models_3.ts
@@ -8241,8 +8241,8 @@ export interface UpdateDomainRequest {
   /**
    * <p>The entity that creates and manages the required security groups for inter-app
    *             communication in <code>VPCOnly</code> mode. Required when
-   *             <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
-   *             <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
+   *                 <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
+   *                 <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
    *             provided.</p>
    */
   AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json
index 9a82e816120a..e79536ccb356 100644
--- a/codegen/sdk-codegen/aws-models/sagemaker.json
+++ b/codegen/sdk-codegen/aws-models/sagemaker.json
@@ -20821,7 +20821,7 @@
         "ShadowProductionVariants": {
           "target": "com.amazonaws.sagemaker#ProductionVariantSummaryList",
           "traits": {
-            "smithy.api#documentation": "<p>A list of the shadow variants hosted on the endpoint. Each shadow variant is a model\n            in shadow mode with production traffic replicated from the proudction variant.</p>"
+            "smithy.api#documentation": "<p>A list of the shadow variants hosted on the endpoint. Each shadow variant is a model\n            in shadow mode with production traffic replicated from the production variant.</p>"
           }
         }
       },
@@ -41429,7 +41429,7 @@
         "VolumeSizeInGB": {
           "target": "com.amazonaws.sagemaker#ProductionVariantVolumeSizeInGB",
           "traits": {
-            "smithy.api#documentation": "<p>The size, in GB, of the ML storage volume attached to individual inference instance\n            associated with the production variant. Currenly only Amazon EBS gp2 storage volumes are\n            supported.</p>"
+            "smithy.api#documentation": "<p>The size, in GB, of the ML storage volume attached to individual inference instance\n            associated with the production variant. Currently only Amazon EBS gp2 storage volumes are\n            supported.</p>"
           }
         },
         "ModelDataDownloadTimeoutInSeconds": {
@@ -42362,6 +42362,12 @@
           "traits": {
             "smithy.api#enumValue": "ml.r6gd.16xlarge"
           }
+        },
+        "ML_P4DE_24XLARGE": {
+          "target": "smithy.api#Unit",
+          "traits": {
+            "smithy.api#enumValue": "ml.p4de.24xlarge"
+          }
         }
       }
     },
@@ -54040,7 +54046,7 @@
         "AppSecurityGroupManagement": {
           "target": "com.amazonaws.sagemaker#AppSecurityGroupManagement",
           "traits": {
-            "smithy.api#documentation": "<p>The entity that creates and manages the required security groups for inter-app\n            communication in <code>VPCOnly</code> mode. Required when\n            <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and\n            <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is\n            provided.</p>"
+            "smithy.api#documentation": "<p>The entity that creates and manages the required security groups for inter-app\n            communication in <code>VPCOnly</code> mode. Required when\n                <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and\n                <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is\n            provided.</p>"
           }
         }
       }