@aws-sdk/client-sagemaker 3.315.0 → 3.317.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/dist-cjs/SageMaker.js +306 -4228
- package/dist-cjs/protocols/Aws_json1_1.js +9 -9
- package/dist-es/SageMaker.js +306 -4228
- package/dist-es/protocols/Aws_json1_1.js +9 -9
- package/dist-types/SageMaker.d.ts +324 -1612
- package/dist-types/commands/AddTagsCommand.d.ts +2 -2
- package/dist-types/commands/AssociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +4 -0
- package/dist-types/commands/CreateEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointCommand.d.ts +5 -5
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +3 -3
- package/dist-types/commands/CreateExperimentCommand.d.ts +5 -6
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +4 -4
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +4 -0
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHumanTaskUiCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTrialCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkforceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +2 -2
- package/dist-types/commands/ListCompilationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookInstanceLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopCompilationJobCommand.d.ts +2 -2
- package/dist-types/commands/UpdateActionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +4 -0
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +52 -65
- package/dist-types/models/models_1.d.ts +88 -58
- package/dist-types/models/models_2.d.ts +76 -100
- package/dist-types/models/models_3.d.ts +63 -40
- package/dist-types/models/models_4.d.ts +20 -9
- package/dist-types/ts3.4/SageMaker.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -10
- package/dist-types/ts3.4/models/models_1.d.ts +11 -4
- package/dist-types/ts3.4/models/models_2.d.ts +4 -8
- package/dist-types/ts3.4/models/models_3.d.ts +9 -4
- package/dist-types/ts3.4/models/models_4.d.ts +3 -0
- package/package.json +6 -6
|
@@ -471,7 +471,7 @@ export interface AdditionalInferenceSpecificationDefinition {
|
|
|
471
471
|
* for SageMaker Amazon Web Services resources.</p>
|
|
472
472
|
* <p>You can add tags to notebook instances, training jobs, hyperparameter tuning jobs,
|
|
473
473
|
* batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and
|
|
474
|
-
* endpoints. For more information on adding tags to SageMaker resources, see <a>AddTags</a>.</p>
|
|
474
|
+
* endpoints. For more information on adding tags to SageMaker resources, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html">AddTags</a>.</p>
|
|
475
475
|
* <p>For more information on adding metadata to your Amazon Web Services resources with
|
|
476
476
|
* tagging, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>. For advice on best practices for
|
|
477
477
|
* managing Amazon Web Services resources with tagging, see <a href="https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf">Tagging
|
|
@@ -627,7 +627,7 @@ export declare const TrainingInputMode: {
|
|
|
627
627
|
export type TrainingInputMode = (typeof TrainingInputMode)[keyof typeof TrainingInputMode];
|
|
628
628
|
/**
|
|
629
629
|
* @public
|
|
630
|
-
* <p>Specifies the training algorithm to use in a <a>CreateTrainingJob</a>
|
|
630
|
+
* <p>Specifies the training algorithm to use in a <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a>
|
|
631
631
|
* request.</p>
|
|
632
632
|
* <p>For more information about algorithms provided by SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. For
|
|
633
633
|
* information about using your own algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with
|
|
@@ -734,7 +734,7 @@ export interface AlgorithmSpecification {
|
|
|
734
734
|
* </ul>
|
|
735
735
|
* </li>
|
|
736
736
|
* <li>
|
|
737
|
-
* <p>You specify at least one <a>MetricDefinition</a>
|
|
737
|
+
* <p>You specify at least one <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_MetricDefinition.html">MetricDefinition</a>
|
|
738
738
|
* </p>
|
|
739
739
|
* </li>
|
|
740
740
|
* </ul>
|
|
@@ -1121,7 +1121,7 @@ export interface Channel {
|
|
|
1121
1121
|
* <p>(Optional) The input mode to use for the data channel in a training job. If you don't
|
|
1122
1122
|
* set a value for <code>InputMode</code>, SageMaker uses the value set for
|
|
1123
1123
|
* <code>TrainingInputMode</code>. Use this parameter to override the
|
|
1124
|
-
*
|
|
1124
|
+
* <code>TrainingInputMode</code> setting in a <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AlgorithmSpecification.html">AlgorithmSpecification</a>
|
|
1125
1125
|
* request when you have a channel that needs a different input mode from the training
|
|
1126
1126
|
* job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML
|
|
1127
1127
|
* storage volume, and mount the directory to a Docker volume, use <code>File</code> input
|
|
@@ -3885,6 +3885,9 @@ export interface AsyncInferenceNotificationConfig {
|
|
|
3885
3885
|
ErrorTopic?: string;
|
|
3886
3886
|
/**
|
|
3887
3887
|
* <p>The Amazon SNS topics where you want the inference response to be included.</p>
|
|
3888
|
+
* <note>
|
|
3889
|
+
* <p>The inference response is included only if the response size is less than or equal to 128 KB.</p>
|
|
3890
|
+
* </note>
|
|
3888
3891
|
*/
|
|
3889
3892
|
IncludeInferenceResponseIn?: (AsyncNotificationTopicTypes | string)[];
|
|
3890
3893
|
}
|
|
@@ -5771,34 +5774,55 @@ export declare const FeatureStatus: {
|
|
|
5771
5774
|
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
5772
5775
|
/**
|
|
5773
5776
|
* @public
|
|
5774
|
-
* <p>
|
|
5777
|
+
* <p>The model registry settings for the SageMaker Canvas application.</p>
|
|
5778
|
+
*/
|
|
5779
|
+
export interface ModelRegisterSettings {
|
|
5780
|
+
/**
|
|
5781
|
+
* <p>Describes whether the integration to the model registry is enabled or disabled in the Canvas
|
|
5782
|
+
* application.</p>
|
|
5783
|
+
*/
|
|
5784
|
+
Status?: FeatureStatus | string;
|
|
5785
|
+
/**
|
|
5786
|
+
* <p>The Amazon Resource Name (ARN) of the SageMaker model registry account. Required only to
|
|
5787
|
+
* register model versions created by a different SageMaker Canvas AWS account than the AWS account
|
|
5788
|
+
* in which SageMaker model registry is set up.</p>
|
|
5789
|
+
*/
|
|
5790
|
+
CrossAccountModelRegisterRoleArn?: string;
|
|
5791
|
+
}
|
|
5792
|
+
/**
|
|
5793
|
+
* @public
|
|
5794
|
+
* <p>Time series forecast settings for the SageMaker Canvas application.</p>
|
|
5775
5795
|
*/
|
|
5776
5796
|
export interface TimeSeriesForecastingSettings {
|
|
5777
5797
|
/**
|
|
5778
|
-
* <p>Describes whether time series forecasting is enabled or disabled in the Canvas
|
|
5798
|
+
* <p>Describes whether time series forecasting is enabled or disabled in the Canvas
|
|
5799
|
+
* application.</p>
|
|
5779
5800
|
*/
|
|
5780
5801
|
Status?: FeatureStatus | string;
|
|
5781
5802
|
/**
|
|
5782
|
-
* <p>The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default,
|
|
5783
|
-
*
|
|
5784
|
-
*
|
|
5785
|
-
*
|
|
5786
|
-
*
|
|
5787
|
-
*
|
|
5788
|
-
*
|
|
5789
|
-
* in the trust relationship as a service principal.</p>
|
|
5803
|
+
* <p>The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas
|
|
5804
|
+
* uses the execution role specified in the <code>UserProfile</code> that launches the Canvas
|
|
5805
|
+
* application. If an execution role is not specified in the <code>UserProfile</code>, Canvas uses
|
|
5806
|
+
* the execution role specified in the Domain that owns the <code>UserProfile</code>. To allow
|
|
5807
|
+
* time series forecasting, this IAM role should have the <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-canvas.html#security-iam-awsmanpol-AmazonSageMakerCanvasForecastAccess"> AmazonSageMakerCanvasForecastAccess</a> policy attached and
|
|
5808
|
+
* <code>forecast.amazonaws.com</code> added in the trust relationship as a service
|
|
5809
|
+
* principal.</p>
|
|
5790
5810
|
*/
|
|
5791
5811
|
AmazonForecastRoleArn?: string;
|
|
5792
5812
|
}
|
|
5793
5813
|
/**
|
|
5794
5814
|
* @public
|
|
5795
|
-
* <p>The SageMaker Canvas
|
|
5815
|
+
* <p>The SageMaker Canvas application settings.</p>
|
|
5796
5816
|
*/
|
|
5797
5817
|
export interface CanvasAppSettings {
|
|
5798
5818
|
/**
|
|
5799
|
-
* <p>Time series forecast settings for the Canvas
|
|
5819
|
+
* <p>Time series forecast settings for the Canvas application.</p>
|
|
5800
5820
|
*/
|
|
5801
5821
|
TimeSeriesForecastingSettings?: TimeSeriesForecastingSettings;
|
|
5822
|
+
/**
|
|
5823
|
+
* <p>The model registry settings for the SageMaker Canvas application.</p>
|
|
5824
|
+
*/
|
|
5825
|
+
ModelRegisterSettings?: ModelRegisterSettings;
|
|
5802
5826
|
}
|
|
5803
5827
|
/**
|
|
5804
5828
|
* @public
|
|
@@ -7755,7 +7779,7 @@ export interface InputConfig {
|
|
|
7755
7779
|
S3Uri: string | undefined;
|
|
7756
7780
|
/**
|
|
7757
7781
|
* <p>Specifies the name and shape of the expected data inputs for your trained model with a
|
|
7758
|
-
* JSON dictionary form. The data inputs are <
|
|
7782
|
+
* JSON dictionary form. The data inputs are <code>Framework</code>
|
|
7759
7783
|
* specific. </p>
|
|
7760
7784
|
* <ul>
|
|
7761
7785
|
* <li>
|
|
@@ -7933,7 +7957,7 @@ export interface InputConfig {
|
|
|
7933
7957
|
* </ul>
|
|
7934
7958
|
* <p>
|
|
7935
7959
|
* <code>DataInputConfig</code> supports the following parameters for <code>CoreML</code>
|
|
7936
|
-
* <
|
|
7960
|
+
* <code>TargetDevice</code> (ML Model format):</p>
|
|
7937
7961
|
* <ul>
|
|
7938
7962
|
* <li>
|
|
7939
7963
|
* <p>
|
|
@@ -7977,8 +8001,8 @@ export interface InputConfig {
|
|
|
7977
8001
|
* <code>scale</code>: If the input type is an Image, you need to provide a scale factor.</p>
|
|
7978
8002
|
* </li>
|
|
7979
8003
|
* </ul>
|
|
7980
|
-
* <p>CoreML <code>ClassifierConfig</code> parameters can be specified using
|
|
7981
|
-
* <
|
|
8004
|
+
* <p>CoreML <code>ClassifierConfig</code> parameters can be specified using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html">OutputConfig</a>
|
|
8005
|
+
* <code>CompilerOptions</code>. CoreML converter supports Tensorflow and PyTorch models.
|
|
7982
8006
|
* CoreML conversion examples:</p>
|
|
7983
8007
|
* <ul>
|
|
7984
8008
|
* <li>
|
|
@@ -8189,7 +8213,7 @@ export interface OutputConfig {
|
|
|
8189
8213
|
/**
|
|
8190
8214
|
* <p>Identifies the target device or the machine learning instance that you want to run
|
|
8191
8215
|
* your model on after the compilation has completed. Alternatively, you can specify OS,
|
|
8192
|
-
* architecture, and accelerator using <a>TargetPlatform</a> fields. It can be
|
|
8216
|
+
* architecture, and accelerator using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TargetPlatform.html">TargetPlatform</a> fields. It can be
|
|
8193
8217
|
* used instead of <code>TargetPlatform</code>.</p>
|
|
8194
8218
|
*/
|
|
8195
8219
|
TargetDevice?: TargetDevice | string;
|
|
@@ -8371,8 +8395,8 @@ export interface OutputConfig {
|
|
|
8371
8395
|
* </li>
|
|
8372
8396
|
* <li>
|
|
8373
8397
|
* <p>
|
|
8374
|
-
* <code>CoreML</code>: Compilation for the CoreML <a>OutputConfig
|
|
8375
|
-
*
|
|
8398
|
+
* <code>CoreML</code>: Compilation for the CoreML <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html">OutputConfig</a>
|
|
8399
|
+
* <code>TargetDevice</code> supports the following compiler options:</p>
|
|
8376
8400
|
* <ul>
|
|
8377
8401
|
* <li>
|
|
8378
8402
|
* <p>
|
|
@@ -8445,7 +8469,7 @@ export interface OutputConfig {
|
|
|
8445
8469
|
}
|
|
8446
8470
|
/**
|
|
8447
8471
|
* @public
|
|
8448
|
-
* <p>The <a>VpcConfig</a> configuration object that specifies the VPC that you
|
|
8472
|
+
* <p>The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> configuration object that specifies the VPC that you
|
|
8449
8473
|
* want the compilation jobs to connect to. For more information on
|
|
8450
8474
|
* controlling access to your Amazon S3 buckets used for compilation job, see
|
|
8451
8475
|
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Give Amazon SageMaker Compilation Jobs Access to Resources in Your Amazon VPC</a>.</p>
|
|
@@ -8514,7 +8538,7 @@ export interface CreateCompilationJobRequest {
|
|
|
8514
8538
|
*/
|
|
8515
8539
|
OutputConfig: OutputConfig | undefined;
|
|
8516
8540
|
/**
|
|
8517
|
-
* <p>A <a>VpcConfig</a> object that specifies the VPC that you want your
|
|
8541
|
+
* <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> object that specifies the VPC that you want your
|
|
8518
8542
|
* compilation job to connect to. Control access to your models by
|
|
8519
8543
|
* configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Protect Compilation Jobs by Using an Amazon
|
|
8520
8544
|
* Virtual Private Cloud</a>.</p>
|
|
@@ -9153,11 +9177,11 @@ export interface KernelGatewayAppSettings {
|
|
|
9153
9177
|
*/
|
|
9154
9178
|
export interface DefaultSpaceSettings {
|
|
9155
9179
|
/**
|
|
9156
|
-
* <p>The execution role for the space.</p>
|
|
9180
|
+
* <p>The ARN of the execution role for the space.</p>
|
|
9157
9181
|
*/
|
|
9158
9182
|
ExecutionRole?: string;
|
|
9159
9183
|
/**
|
|
9160
|
-
* <p>The security
|
|
9184
|
+
* <p>The security group IDs for the Amazon Virtual Private Cloud that the space uses for communication.</p>
|
|
9161
9185
|
*/
|
|
9162
9186
|
SecurityGroups?: string[];
|
|
9163
9187
|
/**
|
|
@@ -9295,7 +9319,7 @@ export interface UserSettings {
|
|
|
9295
9319
|
* <p>Optional when the <code>CreateDomain.AppNetworkAccessType</code> parameter is set to
|
|
9296
9320
|
* <code>PublicInternetOnly</code>.</p>
|
|
9297
9321
|
* <p>Required when the <code>CreateDomain.AppNetworkAccessType</code> parameter is set to
|
|
9298
|
-
*
|
|
9322
|
+
* <code>VpcOnly</code>, unless specified as part of the <code>DefaultUserSettings</code> for the domain.</p>
|
|
9299
9323
|
* <p>Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the
|
|
9300
9324
|
* number of security groups that you can specify is one less than the maximum number shown.</p>
|
|
9301
9325
|
*/
|
|
@@ -9620,40 +9644,3 @@ export interface CreateEdgeDeploymentStageRequest {
|
|
|
9620
9644
|
*/
|
|
9621
9645
|
Stages: DeploymentStage[] | undefined;
|
|
9622
9646
|
}
|
|
9623
|
-
/**
|
|
9624
|
-
* @public
|
|
9625
|
-
*/
|
|
9626
|
-
export interface CreateEdgePackagingJobRequest {
|
|
9627
|
-
/**
|
|
9628
|
-
* <p>The name of the edge packaging job.</p>
|
|
9629
|
-
*/
|
|
9630
|
-
EdgePackagingJobName: string | undefined;
|
|
9631
|
-
/**
|
|
9632
|
-
* <p>The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.</p>
|
|
9633
|
-
*/
|
|
9634
|
-
CompilationJobName: string | undefined;
|
|
9635
|
-
/**
|
|
9636
|
-
* <p>The name of the model.</p>
|
|
9637
|
-
*/
|
|
9638
|
-
ModelName: string | undefined;
|
|
9639
|
-
/**
|
|
9640
|
-
* <p>The version of the model.</p>
|
|
9641
|
-
*/
|
|
9642
|
-
ModelVersion: string | undefined;
|
|
9643
|
-
/**
|
|
9644
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.</p>
|
|
9645
|
-
*/
|
|
9646
|
-
RoleArn: string | undefined;
|
|
9647
|
-
/**
|
|
9648
|
-
* <p>Provides information about the output location for the packaged model.</p>
|
|
9649
|
-
*/
|
|
9650
|
-
OutputConfig: EdgeOutputConfig | undefined;
|
|
9651
|
-
/**
|
|
9652
|
-
* <p>The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.</p>
|
|
9653
|
-
*/
|
|
9654
|
-
ResourceKey?: string;
|
|
9655
|
-
/**
|
|
9656
|
-
* <p>Creates tags for the packaging job.</p>
|
|
9657
|
-
*/
|
|
9658
|
-
Tags?: Tag[];
|
|
9659
|
-
}
|