Skip to content

Commit 66c026c

Browse files
author
awstools
committed
feat(client-sagemaker): Amazon SageMaker Canvas adds GenerativeAiSettings support for CanvasAppSettings.
1 parent 4a3e848 commit 66c026c

27 files changed

+602
-530
lines changed

Diff for: clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export interface CreateAppImageConfigCommandOutput extends CreateAppImageConfigR
2929
/**
3030
* @public
3131
* <p>Creates a configuration for running a SageMaker image as a KernelGateway app. The
32-
* configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the
33-
* kernels in the image.</p>
32+
* configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the
33+
* kernels in the image.</p>
3434
* @example
3535
* Use a bare-bones client and the command you need to make an API call.
3636
* ```javascript

Diff for: clients/client-sagemaker/src/commands/CreateCodeRepositoryCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ export interface CreateCodeRepositoryCommandOutput extends CreateCodeRepositoryO
2929
/**
3030
* @public
3131
* <p>Creates a Git repository as a resource in your SageMaker account. You can associate the
32-
* repository with notebook instances so that you can use Git source control for the
33-
* notebooks you create. The Git repository is a resource in your SageMaker account, so it can
34-
* be associated with more than one notebook instance, and it persists independently from
35-
* the lifecycle of any notebook instances it is associated with.</p>
32+
* repository with notebook instances so that you can use Git source control for the
33+
* notebooks you create. The Git repository is a resource in your SageMaker account, so it can
34+
* be associated with more than one notebook instance, and it persists independently from
35+
* the lifecycle of any notebook instances it is associated with.</p>
3636
* <p>The repository can be hosted either in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a>
37-
* or in any other Git repository.</p>
37+
* or in any other Git repository.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.
4040
* ```javascript

Diff for: clients/client-sagemaker/src/commands/CreateCompilationJobCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { CreateCompilationJobRequest } from "../models/models_0";
9-
import { CreateCompilationJobResponse } from "../models/models_1";
8+
import { CreateCompilationJobRequest, CreateCompilationJobResponse } from "../models/models_1";
109
import { de_CreateCompilationJobCommand, se_CreateCompilationJobCommand } from "../protocols/Aws_json1_1";
1110
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1211

Diff for: clients/client-sagemaker/src/commands/CreateDomainCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
182182
* KendraSettings: { // KendraSettings
183183
* Status: "ENABLED" || "DISABLED",
184184
* },
185+
* GenerativeAiSettings: { // GenerativeAiSettings
186+
* AmazonBedrockRoleArn: "STRING_VALUE",
187+
* },
185188
* },
186189
* CodeEditorAppSettings: { // CodeEditorAppSettings
187190
* DefaultResourceSpec: {

Diff for: clients/client-sagemaker/src/commands/CreateImageCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface CreateImageCommandOutput extends CreateImageResponse, __Metadat
2929
/**
3030
* @public
3131
* <p>Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image
32-
* version represents a container image stored in Amazon Elastic Container Registry (ECR). For more information, see
32+
* version represents a container image stored in Amazon ECR. For more information, see
3333
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html">Bring your own SageMaker image</a>.</p>
3434
* @example
3535
* Use a bare-bones client and the command you need to make an API call.

Diff for: clients/client-sagemaker/src/commands/CreateImageVersionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface CreateImageVersionCommandOutput extends CreateImageVersionRespo
2929
/**
3030
* @public
3131
* <p>Creates a version of the SageMaker image specified by <code>ImageName</code>. The version
32-
* represents the Amazon Elastic Container Registry (ECR) container image specified by <code>BaseImage</code>.</p>
32+
* represents the Amazon ECR container image specified by <code>BaseImage</code>.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

Diff for: clients/client-sagemaker/src/commands/CreateNotebookInstanceCommand.ts

+17-17
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,39 @@ export interface CreateNotebookInstanceCommandOutput extends CreateNotebookInsta
2929
/**
3030
* @public
3131
* <p>Creates an SageMaker notebook instance. A notebook instance is a machine learning (ML)
32-
* compute instance running on a Jupyter notebook. </p>
32+
* compute instance running on a Jupyter notebook. </p>
3333
* <p>In a <code>CreateNotebookInstance</code> request, specify the type of ML compute
34-
* instance that you want to run. SageMaker launches the instance, installs common libraries
35-
* that you can use to explore datasets for model training, and attaches an ML storage
36-
* volume to the notebook instance. </p>
34+
* instance that you want to run. SageMaker launches the instance, installs common libraries
35+
* that you can use to explore datasets for model training, and attaches an ML storage
36+
* volume to the notebook instance. </p>
3737
* <p>SageMaker also provides a set of example notebooks. Each notebook demonstrates how to
38-
* use SageMaker with a specific algorithm or with a machine learning framework. </p>
38+
* use SageMaker with a specific algorithm or with a machine learning framework. </p>
3939
* <p>After receiving the request, SageMaker does the following:</p>
4040
* <ol>
4141
* <li>
4242
* <p>Creates a network interface in the SageMaker VPC.</p>
4343
* </li>
4444
* <li>
4545
* <p>(Option) If you specified <code>SubnetId</code>, SageMaker creates a network
46-
* interface in your own VPC, which is inferred from the subnet ID that you provide
47-
* in the input. When creating this network interface, SageMaker attaches the security
48-
* group that you specified in the request to the network interface that it creates
49-
* in your VPC.</p>
46+
* interface in your own VPC, which is inferred from the subnet ID that you provide
47+
* in the input. When creating this network interface, SageMaker attaches the security
48+
* group that you specified in the request to the network interface that it creates
49+
* in your VPC.</p>
5050
* </li>
5151
* <li>
5252
* <p>Launches an EC2 instance of the type specified in the request in the SageMaker
53-
* VPC. If you specified <code>SubnetId</code> of your VPC, SageMaker specifies both
54-
* network interfaces when launching this instance. This enables inbound traffic
55-
* from your own VPC to the notebook instance, assuming that the security groups
56-
* allow it.</p>
53+
* VPC. If you specified <code>SubnetId</code> of your VPC, SageMaker specifies both
54+
* network interfaces when launching this instance. This enables inbound traffic
55+
* from your own VPC to the notebook instance, assuming that the security groups
56+
* allow it.</p>
5757
* </li>
5858
* </ol>
5959
* <p>After creating the notebook instance, SageMaker returns its Amazon Resource Name (ARN).
60-
* You can't change the name of a notebook instance after you create it.</p>
60+
* You can't change the name of a notebook instance after you create it.</p>
6161
* <p>After SageMaker creates the notebook instance, you can connect to the Jupyter server and
62-
* work in Jupyter notebooks. For example, you can write code to explore a dataset that you
63-
* can use for model training, train a model, host models by creating SageMaker endpoints, and
64-
* validate hosted models. </p>
62+
* work in Jupyter notebooks. For example, you can write code to explore a dataset that you
63+
* can use for model training, train a model, host models by creating SageMaker endpoints, and
64+
* validate hosted models. </p>
6565
* <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p>
6666
* @example
6767
* Use a bare-bones client and the command you need to make an API call.

Diff for: clients/client-sagemaker/src/commands/CreateNotebookInstanceLifecycleConfigCommand.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ export interface CreateNotebookInstanceLifecycleConfigCommandOutput
3737
/**
3838
* @public
3939
* <p>Creates a lifecycle configuration that you can associate with a notebook instance. A
40-
* <i>lifecycle configuration</i> is a collection of shell scripts that
41-
* run when you create or start a notebook instance.</p>
40+
* <i>lifecycle configuration</i> is a collection of shell scripts that
41+
* run when you create or start a notebook instance.</p>
4242
* <p>Each lifecycle configuration script has a limit of 16384 characters.</p>
4343
* <p>The value of the <code>$PATH</code> environment variable that is available to both
44-
* scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p>
45-
* <p>View CloudWatch Logs for notebook instance lifecycle configurations in log group
46-
* <code>/aws/sagemaker/NotebookInstances</code> in log stream
47-
* <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p>
44+
* scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p>
45+
* <p>View Amazon CloudWatch Logs for notebook instance lifecycle configurations in log group
46+
* <code>/aws/sagemaker/NotebookInstances</code> in log stream
47+
* <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p>
4848
* <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs
49-
* for longer than 5 minutes, it fails and the notebook instance is not created or
50-
* started.</p>
49+
* for longer than 5 minutes, it fails and the notebook instance is not created or
50+
* started.</p>
5151
* <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step
52-
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
52+
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
5353
* @example
5454
* Use a bare-bones client and the command you need to make an API call.
5555
* ```javascript

Diff for: clients/client-sagemaker/src/commands/CreatePresignedDomainUrlCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface CreatePresignedDomainUrlCommandOutput extends CreatePresignedDo
3030
* @public
3131
* <p>Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser,
3232
* the user will be automatically signed in to the domain, and granted access to all of
33-
* the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume.
33+
* the Apps and files associated with the Domain's Amazon Elastic File System volume.
3434
* This operation can only be called when the authentication mode equals IAM.
3535
* </p>
3636
* <p>The IAM role or user passed to this API defines the permissions to access the app. Once

Diff for: clients/client-sagemaker/src/commands/CreateSpaceCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateSpaceCommandOutput extends CreateSpaceResponse, __Metadat
2828

2929
/**
3030
* @public
31-
* <p>Creates a space used for real time collaboration in a Domain.</p>
31+
* <p>Creates a space used for real time collaboration in a domain.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

Diff for: clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
3333
* user-oriented features. This entity is created when a user onboards to a domain. If an
3434
* administrator invites a person by email or imports them from IAM Identity Center, a user profile is
3535
* automatically created. A user profile is the primary holder of settings for an individual
36-
* user and has a reference to the user's private Amazon Elastic File System (EFS) home directory.
36+
* user and has a reference to the user's private Amazon Elastic File System home directory.
3737
* </p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.
@@ -153,6 +153,9 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
153153
* KendraSettings: { // KendraSettings
154154
* Status: "ENABLED" || "DISABLED",
155155
* },
156+
* GenerativeAiSettings: { // GenerativeAiSettings
157+
* AmazonBedrockRoleArn: "STRING_VALUE",
158+
* },
156159
* },
157160
* CodeEditorAppSettings: { // CodeEditorAppSettings
158161
* DefaultResourceSpec: {

Diff for: clients/client-sagemaker/src/commands/DeleteNotebookInstanceCommand.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ export interface DeleteNotebookInstanceCommandOutput extends __MetadataBearer {}
2929
/**
3030
* @public
3131
* <p> Deletes an SageMaker notebook instance. Before you can delete a notebook instance, you
32-
* must call the <code>StopNotebookInstance</code> API. </p>
32+
* must call the <code>StopNotebookInstance</code> API. </p>
3333
* <important>
3434
* <p>When you delete a notebook instance, you lose all of your data. SageMaker removes
35-
* the ML compute instance, and deletes the ML storage volume and the network interface
36-
* associated with the notebook instance. </p>
35+
* the ML compute instance, and deletes the ML storage volume and the network interface
36+
* associated with the notebook instance. </p>
3737
* </important>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.

Diff for: clients/client-sagemaker/src/commands/DescribeDomainCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
154154
* // KendraSettings: { // KendraSettings
155155
* // Status: "ENABLED" || "DISABLED",
156156
* // },
157+
* // GenerativeAiSettings: { // GenerativeAiSettings
158+
* // AmazonBedrockRoleArn: "STRING_VALUE",
159+
* // },
157160
* // },
158161
* // CodeEditorAppSettings: { // CodeEditorAppSettings
159162
* // DefaultResourceSpec: {

Diff for: clients/client-sagemaker/src/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface DescribeNotebookInstanceLifecycleConfigCommandOutput
3939
* @public
4040
* <p>Returns a description of a notebook instance lifecycle configuration.</p>
4141
* <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step
42-
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
42+
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
4343
* @example
4444
* Use a bare-bones client and the command you need to make an API call.
4545
* ```javascript

Diff for: clients/client-sagemaker/src/commands/DescribeStudioLifecycleConfigCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeStudioLifecycleConfigRequest } from "../models/models_2";
9-
import { DescribeStudioLifecycleConfigResponse } from "../models/models_3";
8+
import { DescribeStudioLifecycleConfigRequest, DescribeStudioLifecycleConfigResponse } from "../models/models_3";
109
import {
1110
de_DescribeStudioLifecycleConfigCommand,
1211
se_DescribeStudioLifecycleConfigCommand,

Diff for: clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes
153153
* // KendraSettings: { // KendraSettings
154154
* // Status: "ENABLED" || "DISABLED",
155155
* // },
156+
* // GenerativeAiSettings: { // GenerativeAiSettings
157+
* // AmazonBedrockRoleArn: "STRING_VALUE",
158+
* // },
156159
* // },
157160
* // CodeEditorAppSettings: { // CodeEditorAppSettings
158161
* // DefaultResourceSpec: {

Diff for: clients/client-sagemaker/src/commands/ListAppImageConfigsCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export interface ListAppImageConfigsCommandOutput extends ListAppImageConfigsRes
2929
/**
3030
* @public
3131
* <p>Lists the AppImageConfigs in your account and their properties. The list can be
32-
* filtered by creation time or modified time, and whether the AppImageConfig name contains
33-
* a specified string.</p>
32+
* filtered by creation time or modified time, and whether the AppImageConfig name contains
33+
* a specified string.</p>
3434
* @example
3535
* Use a bare-bones client and the command you need to make an API call.
3636
* ```javascript

Diff for: clients/client-sagemaker/src/commands/UpdateDomainCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
138138
* KendraSettings: { // KendraSettings
139139
* Status: "ENABLED" || "DISABLED",
140140
* },
141+
* GenerativeAiSettings: { // GenerativeAiSettings
142+
* AmazonBedrockRoleArn: "STRING_VALUE",
143+
* },
141144
* },
142145
* CodeEditorAppSettings: { // CodeEditorAppSettings
143146
* DefaultResourceSpec: {

Diff for: clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons
139139
* KendraSettings: { // KendraSettings
140140
* Status: "ENABLED" || "DISABLED",
141141
* },
142+
* GenerativeAiSettings: { // GenerativeAiSettings
143+
* AmazonBedrockRoleArn: "STRING_VALUE",
144+
* },
142145
* },
143146
* CodeEditorAppSettings: { // CodeEditorAppSettings
144147
* DefaultResourceSpec: {

0 commit comments

Comments
 (0)