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

clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts

Lines changed: 2 additions & 2 deletions
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

clients/client-sagemaker/src/commands/CreateCodeRepositoryCommand.ts

Lines changed: 5 additions & 5 deletions
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

clients/client-sagemaker/src/commands/CreateCompilationJobCommand.ts

Lines changed: 1 addition & 2 deletions
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

clients/client-sagemaker/src/commands/CreateDomainCommand.ts

Lines changed: 3 additions & 0 deletions
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: {

clients/client-sagemaker/src/commands/CreateImageCommand.ts

Lines changed: 1 addition & 1 deletion
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.

clients/client-sagemaker/src/commands/CreateImageVersionCommand.ts

Lines changed: 1 addition & 1 deletion
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

clients/client-sagemaker/src/commands/CreateNotebookInstanceCommand.ts

Lines changed: 17 additions & 17 deletions
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.

clients/client-sagemaker/src/commands/CreateNotebookInstanceLifecycleConfigCommand.ts

Lines changed: 9 additions & 9 deletions
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

clients/client-sagemaker/src/commands/CreatePresignedDomainUrlCommand.ts

Lines changed: 1 addition & 1 deletion
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

clients/client-sagemaker/src/commands/CreateSpaceCommand.ts

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)