Skip to content

Commit

Permalink
feat(client-sagemaker): Amazon SageMaker now supports idle shutdown o…
Browse files Browse the repository at this point in the history
…f JupyterLab and CodeEditor applications on SageMaker Studio.
  • Loading branch information
awstools committed Sep 5, 2024
1 parent 656877d commit a618313
Show file tree
Hide file tree
Showing 22 changed files with 985 additions and 538 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { CreateArtifactRequest, CreateArtifactResponse } from "../models/models_0";
import { CreateArtifactRequest } from "../models/models_0";
import { CreateArtifactResponse } from "../models/models_1";
import { de_CreateArtifactCommand, se_CreateArtifactCommand } from "../protocols/Aws_json1_1";
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { CreateAutoMLJobRequest } from "../models/models_0";
import { CreateAutoMLJobResponse } from "../models/models_1";
import { CreateAutoMLJobRequest, CreateAutoMLJobResponse } from "../models/models_1";
import { de_CreateAutoMLJobCommand, se_CreateAutoMLJobCommand } from "../protocols/Aws_json1_1";
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";

Expand Down
24 changes: 24 additions & 0 deletions clients/client-sagemaker/src/commands/CreateDomainCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
* LifecycleConfigArns: [
* "STRING_VALUE",
* ],
* AppLifecycleManagement: { // AppLifecycleManagement
* IdleSettings: { // IdleSettings
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* },
* JupyterLabAppSettings: { // JupyterLabAppSettings
* DefaultResourceSpec: "<ResourceSpec>",
Expand All @@ -226,6 +234,14 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* EmrSettings: { // EmrSettings
* AssumableRoleArns: [ // AssumableRoleArns
* "STRING_VALUE",
Expand Down Expand Up @@ -337,6 +353,14 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* EmrSettings: {
* AssumableRoleArns: [
* "STRING_VALUE",
Expand Down
10 changes: 10 additions & 0 deletions clients/client-sagemaker/src/commands/CreateSpaceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ export interface CreateSpaceCommandOutput extends CreateSpaceResponse, __Metadat
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.p5.48xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.c7i.large" || "ml.c7i.xlarge" || "ml.c7i.2xlarge" || "ml.c7i.4xlarge" || "ml.c7i.8xlarge" || "ml.c7i.12xlarge" || "ml.c7i.16xlarge" || "ml.c7i.24xlarge" || "ml.c7i.48xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.m6id.large" || "ml.m6id.xlarge" || "ml.m6id.2xlarge" || "ml.m6id.4xlarge" || "ml.m6id.8xlarge" || "ml.m6id.12xlarge" || "ml.m6id.16xlarge" || "ml.m6id.24xlarge" || "ml.m6id.32xlarge" || "ml.c6id.large" || "ml.c6id.xlarge" || "ml.c6id.2xlarge" || "ml.c6id.4xlarge" || "ml.c6id.8xlarge" || "ml.c6id.12xlarge" || "ml.c6id.16xlarge" || "ml.c6id.24xlarge" || "ml.c6id.32xlarge" || "ml.r6id.large" || "ml.r6id.xlarge" || "ml.r6id.2xlarge" || "ml.r6id.4xlarge" || "ml.r6id.8xlarge" || "ml.r6id.12xlarge" || "ml.r6id.16xlarge" || "ml.r6id.24xlarge" || "ml.r6id.32xlarge",
* LifecycleConfigArn: "STRING_VALUE",
* },
* AppLifecycleManagement: { // SpaceAppLifecycleManagement
* IdleSettings: { // SpaceIdleSettings
* IdleTimeoutInMinutes: Number("int"),
* },
* },
* },
* JupyterLabAppSettings: { // SpaceJupyterLabAppSettings
* DefaultResourceSpec: {
Expand All @@ -103,6 +108,11 @@ export interface CreateSpaceCommandOutput extends CreateSpaceResponse, __Metadat
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* IdleTimeoutInMinutes: Number("int"),
* },
* },
* },
* AppType: "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
* SpaceStorageSettings: { // SpaceStorageSettings
Expand Down
16 changes: 16 additions & 0 deletions clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
* LifecycleConfigArns: [
* "STRING_VALUE",
* ],
* AppLifecycleManagement: { // AppLifecycleManagement
* IdleSettings: { // IdleSettings
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* },
* JupyterLabAppSettings: { // JupyterLabAppSettings
* DefaultResourceSpec: "<ResourceSpec>",
Expand All @@ -197,6 +205,14 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* EmrSettings: { // EmrSettings
* AssumableRoleArns: [ // AssumableRoleArns
* "STRING_VALUE",
Expand Down
24 changes: 24 additions & 0 deletions clients/client-sagemaker/src/commands/DescribeDomainCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
* // LifecycleConfigArns: [
* // "STRING_VALUE",
* // ],
* // AppLifecycleManagement: { // AppLifecycleManagement
* // IdleSettings: { // IdleSettings
* // LifecycleManagement: "ENABLED" || "DISABLED",
* // IdleTimeoutInMinutes: Number("int"),
* // MinIdleTimeoutInMinutes: Number("int"),
* // MaxIdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // },
* // JupyterLabAppSettings: { // JupyterLabAppSettings
* // DefaultResourceSpec: "<ResourceSpec>",
Expand All @@ -198,6 +206,14 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
* // RepositoryUrl: "STRING_VALUE", // required
* // },
* // ],
* // AppLifecycleManagement: {
* // IdleSettings: {
* // LifecycleManagement: "ENABLED" || "DISABLED",
* // IdleTimeoutInMinutes: Number("int"),
* // MinIdleTimeoutInMinutes: Number("int"),
* // MaxIdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // EmrSettings: { // EmrSettings
* // AssumableRoleArns: [ // AssumableRoleArns
* // "STRING_VALUE",
Expand Down Expand Up @@ -304,6 +320,14 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
* // RepositoryUrl: "STRING_VALUE", // required
* // },
* // ],
* // AppLifecycleManagement: {
* // IdleSettings: {
* // LifecycleManagement: "ENABLED" || "DISABLED",
* // IdleTimeoutInMinutes: Number("int"),
* // MinIdleTimeoutInMinutes: Number("int"),
* // MaxIdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // EmrSettings: {
* // AssumableRoleArns: [
* // "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/models_2";
import { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/models_3";
import {
de_DescribeModelBiasJobDefinitionCommand,
se_DescribeModelBiasJobDefinitionCommand,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeModelCardRequest } from "../models/models_2";
import { DescribeModelCardResponse, DescribeModelCardResponseFilterSensitiveLog } from "../models/models_3";
import {
DescribeModelCardRequest,
DescribeModelCardResponse,
DescribeModelCardResponseFilterSensitiveLog,
} from "../models/models_3";
import { de_DescribeModelCardCommand, se_DescribeModelCardCommand } from "../protocols/Aws_json1_1";
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeModelInput, DescribeModelOutput } from "../models/models_2";
import { DescribeModelInput, DescribeModelOutput } from "../models/models_3";
import { de_DescribeModelCommand, se_DescribeModelCommand } from "../protocols/Aws_json1_1";
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";

Expand Down
10 changes: 10 additions & 0 deletions clients/client-sagemaker/src/commands/DescribeSpaceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ export interface DescribeSpaceCommandOutput extends DescribeSpaceResponse, __Met
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.p5.48xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.c7i.large" || "ml.c7i.xlarge" || "ml.c7i.2xlarge" || "ml.c7i.4xlarge" || "ml.c7i.8xlarge" || "ml.c7i.12xlarge" || "ml.c7i.16xlarge" || "ml.c7i.24xlarge" || "ml.c7i.48xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.m6id.large" || "ml.m6id.xlarge" || "ml.m6id.2xlarge" || "ml.m6id.4xlarge" || "ml.m6id.8xlarge" || "ml.m6id.12xlarge" || "ml.m6id.16xlarge" || "ml.m6id.24xlarge" || "ml.m6id.32xlarge" || "ml.c6id.large" || "ml.c6id.xlarge" || "ml.c6id.2xlarge" || "ml.c6id.4xlarge" || "ml.c6id.8xlarge" || "ml.c6id.12xlarge" || "ml.c6id.16xlarge" || "ml.c6id.24xlarge" || "ml.c6id.32xlarge" || "ml.r6id.large" || "ml.r6id.xlarge" || "ml.r6id.2xlarge" || "ml.r6id.4xlarge" || "ml.r6id.8xlarge" || "ml.r6id.12xlarge" || "ml.r6id.16xlarge" || "ml.r6id.24xlarge" || "ml.r6id.32xlarge",
* // LifecycleConfigArn: "STRING_VALUE",
* // },
* // AppLifecycleManagement: { // SpaceAppLifecycleManagement
* // IdleSettings: { // SpaceIdleSettings
* // IdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // },
* // JupyterLabAppSettings: { // SpaceJupyterLabAppSettings
* // DefaultResourceSpec: {
Expand All @@ -109,6 +114,11 @@ export interface DescribeSpaceCommandOutput extends DescribeSpaceResponse, __Met
* // RepositoryUrl: "STRING_VALUE", // required
* // },
* // ],
* // AppLifecycleManagement: {
* // IdleSettings: {
* // IdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // },
* // AppType: "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
* // SpaceStorageSettings: { // SpaceStorageSettings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes
* // LifecycleConfigArns: [
* // "STRING_VALUE",
* // ],
* // AppLifecycleManagement: { // AppLifecycleManagement
* // IdleSettings: { // IdleSettings
* // LifecycleManagement: "ENABLED" || "DISABLED",
* // IdleTimeoutInMinutes: Number("int"),
* // MinIdleTimeoutInMinutes: Number("int"),
* // MaxIdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // },
* // JupyterLabAppSettings: { // JupyterLabAppSettings
* // DefaultResourceSpec: "<ResourceSpec>",
Expand All @@ -197,6 +205,14 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes
* // RepositoryUrl: "STRING_VALUE", // required
* // },
* // ],
* // AppLifecycleManagement: {
* // IdleSettings: {
* // LifecycleManagement: "ENABLED" || "DISABLED",
* // IdleTimeoutInMinutes: Number("int"),
* // MinIdleTimeoutInMinutes: Number("int"),
* // MaxIdleTimeoutInMinutes: Number("int"),
* // },
* // },
* // EmrSettings: { // EmrSettings
* // AssumableRoleArns: [ // AssumableRoleArns
* // "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { ListModelCardsRequest, ListModelCardsResponse } from "../models/models_3";
import { ListModelCardsRequest, ListModelCardsResponse } from "../models/models_4";
import { de_ListModelCardsCommand, se_ListModelCardsCommand } from "../protocols/Aws_json1_1";
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";

Expand Down
24 changes: 24 additions & 0 deletions clients/client-sagemaker/src/commands/UpdateDomainCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
* LifecycleConfigArns: [
* "STRING_VALUE",
* ],
* AppLifecycleManagement: { // AppLifecycleManagement
* IdleSettings: { // IdleSettings
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* },
* JupyterLabAppSettings: { // JupyterLabAppSettings
* DefaultResourceSpec: "<ResourceSpec>",
Expand All @@ -182,6 +190,14 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* EmrSettings: { // EmrSettings
* AssumableRoleArns: [ // AssumableRoleArns
* "STRING_VALUE",
Expand Down Expand Up @@ -280,6 +296,14 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
* RepositoryUrl: "STRING_VALUE", // required
* },
* ],
* AppLifecycleManagement: {
* IdleSettings: {
* LifecycleManagement: "ENABLED" || "DISABLED",
* IdleTimeoutInMinutes: Number("int"),
* MinIdleTimeoutInMinutes: Number("int"),
* MaxIdleTimeoutInMinutes: Number("int"),
* },
* },
* EmrSettings: {
* AssumableRoleArns: [
* "STRING_VALUE",
Expand Down
Loading

0 comments on commit a618313

Please sign in to comment.