@aws-sdk/client-sagemaker 3.76.0 → 3.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +2 -2
- package/dist-cjs/commands/CreateImageVersionCommand.js +2 -1
- package/dist-cjs/commands/DescribeLabelingJobCommand.js +2 -1
- package/dist-cjs/commands/DescribeLineageGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelCommand.js +1 -2
- package/dist-cjs/commands/ListTrainingJobsCommand.js +3 -3
- package/dist-cjs/models/models_0.js +16 -17
- package/dist-cjs/models/models_1.js +30 -30
- package/dist-cjs/models/models_2.js +30 -31
- package/dist-cjs/models/models_3.js +28 -3
- package/dist-cjs/pagination/ListActionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAlgorithmsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAppImageConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAppsPaginator.js +2 -1
- package/dist-cjs/pagination/ListArtifactsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAutoMLJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListCandidatesForAutoMLJobPaginator.js +2 -1
- package/dist-cjs/pagination/ListCodeRepositoriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListCompilationJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListContextsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDataQualityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDeviceFleetsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDevicesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEdgePackagingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEndpointConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/ListExperimentsPaginator.js +2 -1
- package/dist-cjs/pagination/ListFlowDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListHumanTaskUisPaginator.js +2 -1
- package/dist-cjs/pagination/ListHyperParameterTuningJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListImageVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListImagesPaginator.js +2 -1
- package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLabelingJobsForWorkteamPaginator.js +2 -1
- package/dist-cjs/pagination/ListLabelingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLineageGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelBiasJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelMetadataPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelPackageGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelPackagesPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelQualityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelsPaginator.js +2 -1
- package/dist-cjs/pagination/ListMonitoringExecutionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListMonitoringSchedulesPaginator.js +2 -1
- package/dist-cjs/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListNotebookInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineExecutionStepsPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineParametersForExecutionPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -1
- package/dist-cjs/pagination/ListProcessingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -1
- package/dist-cjs/pagination/ListStudioLifecycleConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListSubscribedWorkteamsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTagsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrainingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTransformJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrialComponentsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrialsPaginator.js +2 -1
- package/dist-cjs/pagination/ListUserProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWorkforcesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWorkteamsPaginator.js +2 -1
- package/dist-cjs/pagination/QueryLineagePaginator.js +2 -1
- package/dist-cjs/pagination/SearchPaginator.js +2 -1
- package/dist-cjs/protocols/Aws_json1_1.js +41 -0
- package/dist-es/commands/CreateImageVersionCommand.js +2 -1
- package/dist-es/commands/DescribeLabelingJobCommand.js +2 -1
- package/dist-es/commands/DescribeLineageGroupCommand.js +1 -1
- package/dist-es/commands/DescribeModelCommand.js +1 -2
- package/dist-es/commands/ListTrainingJobsCommand.js +1 -1
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -16
- package/dist-es/models/models_2.js +16 -19
- package/dist-es/models/models_3.js +19 -0
- package/dist-es/pagination/ListActionsPaginator.js +3 -2
- package/dist-es/pagination/ListAlgorithmsPaginator.js +3 -2
- package/dist-es/pagination/ListAppImageConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListAppsPaginator.js +3 -2
- package/dist-es/pagination/ListArtifactsPaginator.js +3 -2
- package/dist-es/pagination/ListAssociationsPaginator.js +3 -2
- package/dist-es/pagination/ListAutoMLJobsPaginator.js +3 -2
- package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +3 -2
- package/dist-es/pagination/ListCodeRepositoriesPaginator.js +3 -2
- package/dist-es/pagination/ListCompilationJobsPaginator.js +3 -2
- package/dist-es/pagination/ListContextsPaginator.js +3 -2
- package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListDeviceFleetsPaginator.js +3 -2
- package/dist-es/pagination/ListDevicesPaginator.js +3 -2
- package/dist-es/pagination/ListDomainsPaginator.js +3 -2
- package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListEndpointConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListEndpointsPaginator.js +3 -2
- package/dist-es/pagination/ListExperimentsPaginator.js +3 -2
- package/dist-es/pagination/ListFlowDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListHumanTaskUisPaginator.js +3 -2
- package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +3 -2
- package/dist-es/pagination/ListImageVersionsPaginator.js +3 -2
- package/dist-es/pagination/ListImagesPaginator.js +3 -2
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +3 -2
- package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +3 -2
- package/dist-es/pagination/ListLabelingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListLineageGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelMetadataPaginator.js +3 -2
- package/dist-es/pagination/ListModelPackageGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListModelPackagesPaginator.js +3 -2
- package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelsPaginator.js +3 -2
- package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +3 -2
- package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +3 -2
- package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListNotebookInstancesPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +3 -2
- package/dist-es/pagination/ListPipelinesPaginator.js +3 -2
- package/dist-es/pagination/ListProcessingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListProjectsPaginator.js +3 -2
- package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +3 -2
- package/dist-es/pagination/ListTagsPaginator.js +3 -2
- package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +3 -2
- package/dist-es/pagination/ListTrainingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListTransformJobsPaginator.js +3 -2
- package/dist-es/pagination/ListTrialComponentsPaginator.js +3 -2
- package/dist-es/pagination/ListTrialsPaginator.js +3 -2
- package/dist-es/pagination/ListUserProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListWorkforcesPaginator.js +3 -2
- package/dist-es/pagination/ListWorkteamsPaginator.js +3 -2
- package/dist-es/pagination/QueryLineagePaginator.js +3 -2
- package/dist-es/pagination/SearchPaginator.js +3 -2
- package/dist-es/protocols/Aws_json1_1.js +36 -6
- package/dist-types/SageMaker.d.ts +78 -73
- package/dist-types/SageMakerClient.d.ts +2 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +7 -7
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +5 -5
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateModelCommand.d.ts +6 -8
- package/dist-types/commands/CreateModelPackageCommand.d.ts +4 -4
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +13 -13
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +8 -8
- package/dist-types/commands/DeleteEndpointCommand.d.ts +9 -2
- package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DeleteNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLabelingJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -2
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/StopTrainingJobCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +143 -126
- package/dist-types/models/models_1.d.ts +205 -285
- package/dist-types/models/models_2.d.ts +269 -187
- package/dist-types/models/models_3.d.ts +139 -29
- package/dist-types/ts3.4/commands/CreateImageVersionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -17
- package/dist-types/ts3.4/models/models_1.d.ts +42 -81
- package/dist-types/ts3.4/models/models_2.d.ts +81 -62
- package/dist-types/ts3.4/models/models_3.d.ts +62 -1
- package/package.json +26 -26
|
@@ -7,27 +7,25 @@ export interface CreateModelCommandInput extends CreateModelInput {
|
|
|
7
7
|
export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a model in
|
|
10
|
+
* <p>Creates a model in SageMaker. In the request, you name the model and describe a primary
|
|
11
11
|
* container. For the primary container, you specify the Docker image that
|
|
12
12
|
* contains inference code, artifacts (from prior training), and a custom environment map
|
|
13
13
|
* that the inference code uses when you deploy the model for predictions.</p>
|
|
14
|
-
* <p>Use this API to create a model if you want to use
|
|
14
|
+
* <p>Use this API to create a model if you want to use SageMaker hosting services or run a batch
|
|
15
15
|
* transform job.</p>
|
|
16
16
|
* <p>To host your model, you create an endpoint configuration with the
|
|
17
17
|
* <code>CreateEndpointConfig</code> API, and then create an endpoint with the
|
|
18
|
-
* <code>CreateEndpoint</code> API.
|
|
18
|
+
* <code>CreateEndpoint</code> API. SageMaker then deploys all of the containers that you
|
|
19
19
|
* defined for the model in the hosting environment. </p>
|
|
20
|
-
* <p>For an example that calls this method when deploying a model to
|
|
20
|
+
* <p>For an example that calls this method when deploying a model to SageMaker hosting services,
|
|
21
21
|
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the
|
|
22
22
|
* Model to Amazon SageMaker Hosting Services (Amazon Web Services SDK for Python (Boto
|
|
23
23
|
* 3)).</a>
|
|
24
24
|
* </p>
|
|
25
25
|
* <p>To run a batch transform using your model, you start a job with the
|
|
26
|
-
* <code>CreateTransformJob</code> API.
|
|
26
|
+
* <code>CreateTransformJob</code> API. SageMaker uses your model and your dataset to get
|
|
27
27
|
* inferences which are then saved to a specified S3 location.</p>
|
|
28
|
-
* <p>In the
|
|
29
|
-
* <code>PrimaryContainer</code> parameter.</p>
|
|
30
|
-
* <p>In the request, you also provide an IAM role that Amazon SageMaker can assume to access model
|
|
28
|
+
* <p>In the request, you also provide an IAM role that SageMaker can assume to access model
|
|
31
29
|
* artifacts and docker image for deployment on ML compute hosting instances or for batch
|
|
32
30
|
* transform jobs. In addition, you also use the IAM role to manage permissions the
|
|
33
31
|
* inference code needs. For example, if the inference code access any other Amazon Web Services resources,
|
|
@@ -7,14 +7,14 @@ export interface CreateModelPackageCommandInput extends CreateModelPackageInput
|
|
|
7
7
|
export interface CreateModelPackageCommandOutput extends CreateModelPackageOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a model package that you can use to create
|
|
10
|
+
* <p>Creates a model package that you can use to create SageMaker models or list on Amazon Web Services
|
|
11
11
|
* Marketplace, or a versioned model that is part of a model group. Buyers can subscribe to
|
|
12
|
-
* model packages listed on Amazon Web Services Marketplace to create models in
|
|
12
|
+
* model packages listed on Amazon Web Services Marketplace to create models in SageMaker.</p>
|
|
13
13
|
* <p>To create a model package by specifying a Docker container that contains your
|
|
14
14
|
* inference code and the Amazon S3 location of your model artifacts, provide values for
|
|
15
|
-
*
|
|
15
|
+
* <code>InferenceSpecification</code>. To create a model from an algorithm resource
|
|
16
16
|
* that you created or subscribed to in Amazon Web Services Marketplace, provide a value for
|
|
17
|
-
*
|
|
17
|
+
* <code>SourceAlgorithmSpecification</code>.</p>
|
|
18
18
|
* <note>
|
|
19
19
|
* <p>There are two types of model packages:</p>
|
|
20
20
|
* <ul>
|
|
@@ -7,41 +7,41 @@ export interface CreateNotebookInstanceCommandInput extends CreateNotebookInstan
|
|
|
7
7
|
export interface CreateNotebookInstanceCommandOutput extends CreateNotebookInstanceOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates an
|
|
10
|
+
* <p>Creates an SageMaker notebook instance. A notebook instance is a machine learning (ML)
|
|
11
11
|
* compute instance running on a Jupyter notebook. </p>
|
|
12
12
|
* <p>In a <code>CreateNotebookInstance</code> request, specify the type of ML compute
|
|
13
|
-
* instance that you want to run.
|
|
13
|
+
* instance that you want to run. SageMaker launches the instance, installs common libraries
|
|
14
14
|
* that you can use to explore datasets for model training, and attaches an ML storage
|
|
15
15
|
* volume to the notebook instance. </p>
|
|
16
|
-
* <p>
|
|
17
|
-
* use
|
|
18
|
-
* <p>After receiving the request,
|
|
16
|
+
* <p>SageMaker also provides a set of example notebooks. Each notebook demonstrates how to
|
|
17
|
+
* use SageMaker with a specific algorithm or with a machine learning framework. </p>
|
|
18
|
+
* <p>After receiving the request, SageMaker does the following:</p>
|
|
19
19
|
* <ol>
|
|
20
20
|
* <li>
|
|
21
|
-
* <p>Creates a network interface in the
|
|
21
|
+
* <p>Creates a network interface in the SageMaker VPC.</p>
|
|
22
22
|
* </li>
|
|
23
23
|
* <li>
|
|
24
|
-
* <p>(Option) If you specified <code>SubnetId</code>,
|
|
24
|
+
* <p>(Option) If you specified <code>SubnetId</code>, SageMaker creates a network
|
|
25
25
|
* interface in your own VPC, which is inferred from the subnet ID that you provide
|
|
26
|
-
* in the input. When creating this network interface,
|
|
26
|
+
* in the input. When creating this network interface, SageMaker attaches the security
|
|
27
27
|
* group that you specified in the request to the network interface that it creates
|
|
28
28
|
* in your VPC.</p>
|
|
29
29
|
*
|
|
30
30
|
* </li>
|
|
31
31
|
* <li>
|
|
32
|
-
* <p>Launches an EC2 instance of the type specified in the request in the
|
|
33
|
-
* VPC. If you specified <code>SubnetId</code> of your VPC,
|
|
32
|
+
* <p>Launches an EC2 instance of the type specified in the request in the SageMaker
|
|
33
|
+
* VPC. If you specified <code>SubnetId</code> of your VPC, SageMaker specifies both
|
|
34
34
|
* network interfaces when launching this instance. This enables inbound traffic
|
|
35
35
|
* from your own VPC to the notebook instance, assuming that the security groups
|
|
36
36
|
* allow it.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* </ol>
|
|
39
39
|
*
|
|
40
|
-
* <p>After creating the notebook instance,
|
|
40
|
+
* <p>After creating the notebook instance, SageMaker returns its Amazon Resource Name (ARN).
|
|
41
41
|
* You can't change the name of a notebook instance after you create it.</p>
|
|
42
|
-
* <p>After
|
|
42
|
+
* <p>After SageMaker creates the notebook instance, you can connect to the Jupyter server and
|
|
43
43
|
* work in Jupyter notebooks. For example, you can write code to explore a dataset that you
|
|
44
|
-
* can use for model training, train a model, host models by creating
|
|
44
|
+
* can use for model training, train a model, host models by creating SageMaker endpoints, and
|
|
45
45
|
* validate hosted models. </p>
|
|
46
46
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p>
|
|
47
47
|
* @example
|
|
@@ -8,8 +8,8 @@ export interface CreatePresignedNotebookInstanceUrlCommandOutput extends CreateP
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a URL that you can use to connect to the Jupyter server from a notebook
|
|
11
|
-
* instance. In the
|
|
12
|
-
* instance,
|
|
11
|
+
* instance. In the SageMaker console, when you choose <code>Open</code> next to a notebook
|
|
12
|
+
* instance, SageMaker opens a new tab showing the Jupyter server home page from the notebook
|
|
13
13
|
* instance. The console uses this API to get the URL and show the page.</p>
|
|
14
14
|
* <p> The IAM role or user used to call this API defines the permissions to access the
|
|
15
15
|
* notebook instance. Once the presigned URL is created, no additional permission is
|
|
@@ -7,11 +7,11 @@ export interface CreateTrainingJobCommandInput extends CreateTrainingJobRequest
|
|
|
7
7
|
export interface CreateTrainingJobCommandOutput extends CreateTrainingJobResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Starts a model training job. After training completes,
|
|
10
|
+
* <p>Starts a model training job. After training completes, SageMaker saves the resulting
|
|
11
11
|
* model artifacts to an Amazon S3 location that you specify. </p>
|
|
12
|
-
* <p>If you choose to host your model using
|
|
12
|
+
* <p>If you choose to host your model using SageMaker hosting services, you can use the
|
|
13
13
|
* resulting model artifacts as part of the model. You can also use the artifacts in a
|
|
14
|
-
* machine learning service other than
|
|
14
|
+
* machine learning service other than SageMaker, provided that you know how to use them for
|
|
15
15
|
* inference.
|
|
16
16
|
* </p>
|
|
17
17
|
* <p>In the request body, you provide the following: </p>
|
|
@@ -27,7 +27,7 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
27
27
|
* <code>HyperParameters</code> - Specify these algorithm-specific parameters to
|
|
28
28
|
* enable the estimation of model parameters during training. Hyperparameters can
|
|
29
29
|
* be tuned to optimize this learning process. For a list of hyperparameters for
|
|
30
|
-
* each training algorithm provided by
|
|
30
|
+
* each training algorithm provided by SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p>
|
|
31
31
|
* </li>
|
|
32
32
|
* <li>
|
|
33
33
|
* <p>
|
|
@@ -37,7 +37,7 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
37
37
|
* <li>
|
|
38
38
|
* <p>
|
|
39
39
|
* <code>OutputDataConfig</code> - Identifies the Amazon S3 bucket where you want
|
|
40
|
-
*
|
|
40
|
+
* SageMaker to save the results of model training. </p>
|
|
41
41
|
* </li>
|
|
42
42
|
* <li>
|
|
43
43
|
* <p>
|
|
@@ -55,10 +55,10 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
55
55
|
* </li>
|
|
56
56
|
* <li>
|
|
57
57
|
* <p>
|
|
58
|
-
* <code>RoleArn</code> - The Amazon Resource Name (ARN) that
|
|
58
|
+
* <code>RoleArn</code> - The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on
|
|
59
59
|
* your behalf during model training.
|
|
60
60
|
*
|
|
61
|
-
* You must grant this role the necessary permissions so that
|
|
61
|
+
* You must grant this role the necessary permissions so that SageMaker can successfully
|
|
62
62
|
* complete model training. </p>
|
|
63
63
|
* </li>
|
|
64
64
|
* <li>
|
|
@@ -79,7 +79,7 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
79
79
|
* fails due to an <code>InternalServerError</code>.</p>
|
|
80
80
|
* </li>
|
|
81
81
|
* </ul>
|
|
82
|
-
* <p> For more information about
|
|
82
|
+
* <p> For more information about SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p>
|
|
83
83
|
* @example
|
|
84
84
|
* Use a bare-bones client and the command you need to make an API call.
|
|
85
85
|
* ```javascript
|
|
@@ -7,10 +7,17 @@ export interface DeleteEndpointCommandInput extends DeleteEndpointInput {
|
|
|
7
7
|
export interface DeleteEndpointCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes an endpoint.
|
|
10
|
+
* <p>Deletes an endpoint. SageMaker frees up all of the resources that were deployed when the
|
|
11
11
|
* endpoint was created. </p>
|
|
12
|
-
* <p>
|
|
12
|
+
* <p>SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't
|
|
13
13
|
* need to use the <a href="http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a> API call.</p>
|
|
14
|
+
* <p>When you delete your endpoint, SageMaker asynchronously deletes associated endpoint resources such as KMS key grants.
|
|
15
|
+
* You might still see these resources in your account for a few minutes after deleting your endpoint.
|
|
16
|
+
* Do not delete or revoke the permissions for your
|
|
17
|
+
* <code>
|
|
18
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html#sagemaker-CreateModel-request-ExecutionRoleArn">ExecutionRoleArn</a>
|
|
19
|
+
* </code>,
|
|
20
|
+
* otherwise SageMaker cannot delete these resources.</p>
|
|
14
21
|
* @example
|
|
15
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
23
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface DeleteModelCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a model. The <code>DeleteModel</code> API deletes only the model entry that
|
|
11
|
-
* was created in
|
|
11
|
+
* was created in SageMaker when you called the <code>CreateModel</code> API. It does not
|
|
12
12
|
* delete model artifacts, inference code, or the IAM role that you specified when
|
|
13
13
|
* creating the model. </p>
|
|
14
14
|
* @example
|
|
@@ -8,8 +8,8 @@ export interface DeleteModelPackageCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a model package.</p>
|
|
11
|
-
* <p>A model package is used to create
|
|
12
|
-
* subscribe to model packages listed on Amazon Web Services Marketplace to create models in
|
|
11
|
+
* <p>A model package is used to create SageMaker models or list on Amazon Web Services Marketplace. Buyers can
|
|
12
|
+
* subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -7,10 +7,10 @@ export interface DeleteNotebookInstanceCommandInput extends DeleteNotebookInstan
|
|
|
7
7
|
export interface DeleteNotebookInstanceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p> Deletes an
|
|
10
|
+
* <p> Deletes an SageMaker notebook instance. Before you can delete a notebook instance, you
|
|
11
11
|
* must call the <code>StopNotebookInstance</code> API. </p>
|
|
12
12
|
* <important>
|
|
13
|
-
* <p>When you delete a notebook instance, you lose all of your data.
|
|
13
|
+
* <p>When you delete a notebook instance, you lose all of your data. SageMaker removes
|
|
14
14
|
* the ML compute instance, and deletes the ML storage volume and the network interface
|
|
15
15
|
* associated with the notebook instance. </p>
|
|
16
16
|
* </important>
|
|
@@ -7,7 +7,7 @@ export interface DeleteTagsCommandInput extends DeleteTagsInput {
|
|
|
7
7
|
export interface DeleteTagsCommandOutput extends DeleteTagsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified tags from an
|
|
10
|
+
* <p>Deletes the specified tags from an SageMaker resource.</p>
|
|
11
11
|
* <p>To list a resource's tags, use the <code>ListTags</code> API. </p>
|
|
12
12
|
* <note>
|
|
13
13
|
* <p>When you call this API to delete tags from a hyperparameter tuning job, the
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { DescribeLabelingJobRequest
|
|
3
|
+
import { DescribeLabelingJobRequest } from "../models/models_1";
|
|
4
|
+
import { DescribeLabelingJobResponse } from "../models/models_2";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface DescribeLabelingJobCommandInput extends DescribeLabelingJobRequest {
|
|
6
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { DescribeLineageGroupRequest, DescribeLineageGroupResponse } from "../models/
|
|
3
|
+
import { DescribeLineageGroupRequest, DescribeLineageGroupResponse } from "../models/models_2";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
export interface DescribeLineageGroupCommandInput extends DescribeLineageGroupRequest {
|
|
6
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { DescribeModelInput } from "../models/
|
|
4
|
-
import { DescribeModelOutput } from "../models/models_2";
|
|
3
|
+
import { DescribeModelInput, DescribeModelOutput } from "../models/models_2";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
export interface DescribeModelCommandInput extends DescribeModelInput {
|
|
7
6
|
}
|
|
@@ -7,7 +7,7 @@ export interface ListNotebookInstancesCommandInput extends ListNotebookInstances
|
|
|
7
7
|
export interface ListNotebookInstancesCommandOutput extends ListNotebookInstancesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of the
|
|
10
|
+
* <p>Returns a list of the SageMaker notebook instances in the requester's account in an Amazon Web Services
|
|
11
11
|
* Region. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface ListTagsCommandInput extends ListTagsInput {
|
|
|
7
7
|
export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns the tags for the specified
|
|
10
|
+
* <p>Returns the tags for the specified SageMaker resource.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { ListTrainingJobsRequest, ListTrainingJobsResponse } from "../models/
|
|
3
|
+
import { ListTrainingJobsRequest, ListTrainingJobsResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
export interface ListTrainingJobsCommandInput extends ListTrainingJobsRequest {
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ export interface StartNotebookInstanceCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Launches an ML compute instance with the latest version of the libraries and
|
|
11
|
-
* attaches your ML storage volume. After configuring the notebook instance,
|
|
11
|
+
* attaches your ML storage volume. After configuring the notebook instance, SageMaker sets the
|
|
12
12
|
* notebook instance status to <code>InService</code>. A notebook instance's status must be
|
|
13
13
|
* <code>InService</code> before you can connect to your Jupyter notebook. </p>
|
|
14
14
|
* @example
|
|
@@ -7,8 +7,8 @@ export interface StopNotebookInstanceCommandInput extends StopNotebookInstanceIn
|
|
|
7
7
|
export interface StopNotebookInstanceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Terminates the ML compute instance. Before terminating the instance,
|
|
11
|
-
* disconnects the ML storage volume from it.
|
|
10
|
+
* <p>Terminates the ML compute instance. Before terminating the instance, SageMaker
|
|
11
|
+
* disconnects the ML storage volume from it. SageMaker preserves the ML storage volume. SageMaker
|
|
12
12
|
* stops charging you for the ML compute instance when you call
|
|
13
13
|
* <code>StopNotebookInstance</code>.</p>
|
|
14
14
|
* <p>To access data on the ML storage volume for a notebook instance that has been
|
|
@@ -7,12 +7,12 @@ export interface StopTrainingJobCommandInput extends StopTrainingJobRequest {
|
|
|
7
7
|
export interface StopTrainingJobCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Stops a training job. To stop a job,
|
|
10
|
+
* <p>Stops a training job. To stop a job, SageMaker sends the algorithm the
|
|
11
11
|
* <code>SIGTERM</code> signal, which delays job termination for 120 seconds.
|
|
12
12
|
* Algorithms might use this 120-second window to save the model artifacts, so the results
|
|
13
13
|
* of the training is not lost. </p>
|
|
14
|
-
* <p>When it receives a <code>StopTrainingJob</code> request,
|
|
15
|
-
* the job to <code>Stopping</code>. After
|
|
14
|
+
* <p>When it receives a <code>StopTrainingJob</code> request, SageMaker changes the status of
|
|
15
|
+
* the job to <code>Stopping</code>. After SageMaker stops the job, it sets the status to
|
|
16
16
|
* <code>Stopped</code>.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointOutput, __Met
|
|
|
10
10
|
* <p>Deploys the new <code>EndpointConfig</code> specified in the request, switches to
|
|
11
11
|
* using newly created endpoint, and then deletes resources provisioned for the endpoint
|
|
12
12
|
* using the previous <code>EndpointConfig</code> (there is no availability loss). </p>
|
|
13
|
-
* <p>When
|
|
13
|
+
* <p>When SageMaker receives the request, it sets the endpoint status to
|
|
14
14
|
* <code>Updating</code>. After updating the endpoint, it sets the status to
|
|
15
15
|
* <code>InService</code>. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API.
|
|
16
16
|
*
|
|
@@ -9,7 +9,7 @@ export interface UpdateEndpointWeightsAndCapacitiesCommandOutput extends UpdateE
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates variant weight of one or more variants associated with an existing
|
|
11
11
|
* endpoint, or capacity of one variant associated with an existing endpoint. When it
|
|
12
|
-
* receives the request,
|
|
12
|
+
* receives the request, SageMaker sets the endpoint status to <code>Updating</code>. After
|
|
13
13
|
* updating the endpoint, it sets the status to <code>InService</code>. To check the status
|
|
14
14
|
* of an endpoint, use the <a>DescribeEndpoint</a> API. </p>
|
|
15
15
|
* @example
|