@aws-sdk/client-sagemaker 3.609.0 → 3.614.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/README.md +40 -0
- package/dist-cjs/index.js +4869 -4441
- package/dist-es/SageMaker.js +10 -0
- package/dist-es/commands/CreateOptimizationJobCommand.js +24 -0
- package/dist-es/commands/DeleteOptimizationJobCommand.js +24 -0
- package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
- package/dist-es/commands/DescribeOptimizationJobCommand.js +24 -0
- package/dist-es/commands/ListOptimizationJobsCommand.js +24 -0
- package/dist-es/commands/StopOptimizationJobCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +38 -0
- package/dist-es/models/models_2.js +0 -19
- package/dist-es/models/models_3.js +27 -17
- package/dist-es/models/models_4.js +22 -0
- package/dist-es/pagination/ListOptimizationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +278 -0
- package/dist-types/SageMaker.d.ts +36 -0
- package/dist-types/SageMakerClient.d.ts +7 -2
- package/dist-types/commands/CreateAppCommand.d.ts +3 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +1 -2
- package/dist-types/commands/CreateDomainCommand.d.ts +22 -18
- package/dist-types/commands/CreateModelCommand.d.ts +22 -0
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +124 -0
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +15 -15
- package/dist-types/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +6 -6
- package/dist-types/commands/DeleteOptimizationJobCommand.d.ts +61 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +4 -1
- package/dist-types/commands/DeleteUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +4 -0
- package/dist-types/commands/DescribeModelCardExportJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeModelCommand.d.ts +22 -0
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -2
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +119 -0
- package/dist-types/commands/ListModelMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListModelPackageGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelsCommand.d.ts +1 -2
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +85 -0
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -1
- package/dist-types/commands/SearchCommand.d.ts +32 -0
- package/dist-types/commands/StopOptimizationJobCommand.d.ts +61 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +69 -61
- package/dist-types/models/models_1.d.ts +421 -442
- package/dist-types/models/models_2.d.ts +436 -556
- package/dist-types/models/models_3.d.ts +5535 -5371
- package/dist-types/models/models_4.d.ts +740 -38
- package/dist-types/pagination/ListOptimizationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/SageMaker.d.ts +86 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateCodeRepositoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOptimizationJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeModelCardExportJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeOptimizationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelPackageGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelPackagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListOptimizationJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StopOptimizationJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -13
- package/dist-types/ts3.4/models/models_1.d.ts +109 -71
- package/dist-types/ts3.4/models/models_2.d.ts +81 -142
- package/dist-types/ts3.4/models/models_3.d.ts +192 -125
- package/dist-types/ts3.4/models/models_4.d.ts +170 -9
- package/dist-types/ts3.4/pagination/ListOptimizationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +20 -20
|
@@ -846,6 +846,22 @@ export interface AdditionalInferenceSpecificationDefinition {
|
|
|
846
846
|
*/
|
|
847
847
|
SupportedResponseMIMETypes?: string[];
|
|
848
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
* <p>Data sources that are available to your model in addition to the one that you specify for <code>ModelDataSource</code> when you use the <code>CreateModel</code> action.</p>
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
export interface AdditionalModelDataSource {
|
|
854
|
+
/**
|
|
855
|
+
* <p>A custom name for this <code>AdditionalModelDataSource</code> object.</p>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
ChannelName: string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* <p>Specifies the S3 location of ML model data to deploy.</p>
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
S3DataSource: S3ModelDataSource | undefined;
|
|
864
|
+
}
|
|
849
865
|
/**
|
|
850
866
|
* <p>A tag object that consists of a key and an optional value, used to manage metadata
|
|
851
867
|
* for SageMaker Amazon Web Services resources.</p>
|
|
@@ -1868,10 +1884,8 @@ export interface ResourceConfig {
|
|
|
1868
1884
|
InstanceGroups?: InstanceGroup[];
|
|
1869
1885
|
}
|
|
1870
1886
|
/**
|
|
1871
|
-
* <p>Specifies a limit to how long a
|
|
1872
|
-
*
|
|
1873
|
-
* reaches the time limit, SageMaker ends the training or compilation job. Use this API to cap
|
|
1874
|
-
* model training costs.</p>
|
|
1887
|
+
* <p>Specifies a limit to how long a job can run. When the job reaches the time limit, SageMaker
|
|
1888
|
+
* ends the job. Use this API to cap costs.</p>
|
|
1875
1889
|
* <p>To stop a training job, SageMaker sends the algorithm the <code>SIGTERM</code> signal,
|
|
1876
1890
|
* which delays job termination for 120 seconds. Algorithms can use this 120-second window
|
|
1877
1891
|
* to save the model artifacts, so the results of training are not lost. </p>
|
|
@@ -2425,6 +2439,34 @@ export interface AlgorithmValidationSpecification {
|
|
|
2425
2439
|
*/
|
|
2426
2440
|
ValidationProfiles: AlgorithmValidationProfile[] | undefined;
|
|
2427
2441
|
}
|
|
2442
|
+
/**
|
|
2443
|
+
* @public
|
|
2444
|
+
* @enum
|
|
2445
|
+
*/
|
|
2446
|
+
export declare const FeatureStatus: {
|
|
2447
|
+
readonly Disabled: "DISABLED";
|
|
2448
|
+
readonly Enabled: "ENABLED";
|
|
2449
|
+
};
|
|
2450
|
+
/**
|
|
2451
|
+
* @public
|
|
2452
|
+
*/
|
|
2453
|
+
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
2454
|
+
/**
|
|
2455
|
+
* <p>A collection of settings that configure the Amazon Q experience within the domain.</p>
|
|
2456
|
+
* @public
|
|
2457
|
+
*/
|
|
2458
|
+
export interface AmazonQSettings {
|
|
2459
|
+
/**
|
|
2460
|
+
* <p>Whether Amazon Q has been enabled within the domain.</p>
|
|
2461
|
+
* @public
|
|
2462
|
+
*/
|
|
2463
|
+
Status?: FeatureStatus;
|
|
2464
|
+
/**
|
|
2465
|
+
* <p>The ARN of the Amazon Q profile used within the domain.</p>
|
|
2466
|
+
* @public
|
|
2467
|
+
*/
|
|
2468
|
+
QProfileArn?: string;
|
|
2469
|
+
}
|
|
2428
2470
|
/**
|
|
2429
2471
|
* <p>Configures how labels are consolidated across human workers and processes output data.
|
|
2430
2472
|
* </p>
|
|
@@ -4123,7 +4165,8 @@ export interface ResourceSpec {
|
|
|
4123
4165
|
*/
|
|
4124
4166
|
InstanceType?: AppInstanceType;
|
|
4125
4167
|
/**
|
|
4126
|
-
* <p> The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the
|
|
4168
|
+
* <p> The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the
|
|
4169
|
+
* Resource.</p>
|
|
4127
4170
|
* @public
|
|
4128
4171
|
*/
|
|
4129
4172
|
LifecycleConfigArn?: string;
|
|
@@ -7476,18 +7519,6 @@ export declare const CandidateSortBy: {
|
|
|
7476
7519
|
* @public
|
|
7477
7520
|
*/
|
|
7478
7521
|
export type CandidateSortBy = (typeof CandidateSortBy)[keyof typeof CandidateSortBy];
|
|
7479
|
-
/**
|
|
7480
|
-
* @public
|
|
7481
|
-
* @enum
|
|
7482
|
-
*/
|
|
7483
|
-
export declare const FeatureStatus: {
|
|
7484
|
-
readonly Disabled: "DISABLED";
|
|
7485
|
-
readonly Enabled: "ENABLED";
|
|
7486
|
-
};
|
|
7487
|
-
/**
|
|
7488
|
-
* @public
|
|
7489
|
-
*/
|
|
7490
|
-
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
7491
7522
|
/**
|
|
7492
7523
|
* <p>The model deployment settings for the SageMaker Canvas application.</p>
|
|
7493
7524
|
* <note>
|
|
@@ -8718,7 +8749,8 @@ export interface CodeEditorAppSettings {
|
|
|
8718
8749
|
LifecycleConfigArns?: string[];
|
|
8719
8750
|
}
|
|
8720
8751
|
/**
|
|
8721
|
-
* <p>A Git repository that SageMaker automatically displays to users for cloning in the
|
|
8752
|
+
* <p>A Git repository that SageMaker automatically displays to users for cloning in the
|
|
8753
|
+
* JupyterServer application.</p>
|
|
8722
8754
|
* @public
|
|
8723
8755
|
*/
|
|
8724
8756
|
export interface CodeRepository {
|
|
@@ -9353,6 +9385,11 @@ export interface ContainerDefinition {
|
|
|
9353
9385
|
* @public
|
|
9354
9386
|
*/
|
|
9355
9387
|
ModelDataSource?: ModelDataSource;
|
|
9388
|
+
/**
|
|
9389
|
+
* <p>Data sources that are available to your model in addition to the one that you specify for <code>ModelDataSource</code> when you use the <code>CreateModel</code> action.</p>
|
|
9390
|
+
* @public
|
|
9391
|
+
*/
|
|
9392
|
+
AdditionalModelDataSources?: AdditionalModelDataSource[];
|
|
9356
9393
|
/**
|
|
9357
9394
|
* <p>The environment variables to set in the Docker container.</p>
|
|
9358
9395
|
* <p>The maximum length of each key and value in the <code>Environment</code> map is
|
|
@@ -9929,13 +9966,14 @@ export interface CreateAppRequest {
|
|
|
9929
9966
|
*/
|
|
9930
9967
|
DomainId: string | undefined;
|
|
9931
9968
|
/**
|
|
9932
|
-
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be
|
|
9969
|
+
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be
|
|
9970
|
+
* set.</p>
|
|
9933
9971
|
* @public
|
|
9934
9972
|
*/
|
|
9935
9973
|
UserProfileName?: string;
|
|
9936
9974
|
/**
|
|
9937
|
-
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code>
|
|
9938
|
-
*
|
|
9975
|
+
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be
|
|
9976
|
+
* set.</p>
|
|
9939
9977
|
* @public
|
|
9940
9978
|
*/
|
|
9941
9979
|
SpaceName?: string;
|
|
@@ -9950,17 +9988,21 @@ export interface CreateAppRequest {
|
|
|
9950
9988
|
*/
|
|
9951
9989
|
AppName: string | undefined;
|
|
9952
9990
|
/**
|
|
9953
|
-
* <p>Each tag consists of a key and an optional value.
|
|
9954
|
-
*
|
|
9991
|
+
* <p>Each tag consists of a key and an optional value. Tag keys must be unique per
|
|
9992
|
+
* resource.</p>
|
|
9955
9993
|
* @public
|
|
9956
9994
|
*/
|
|
9957
9995
|
Tags?: Tag[];
|
|
9958
9996
|
/**
|
|
9959
|
-
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
|
|
9997
|
+
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
|
|
9998
|
+
* created on the instance.</p>
|
|
9960
9999
|
* <note>
|
|
9961
|
-
* <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code>
|
|
9962
|
-
*
|
|
9963
|
-
* <code>
|
|
10000
|
+
* <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code>
|
|
10001
|
+
* in the <code>CreateApp</code> call overrides the value passed as part of the
|
|
10002
|
+
* <code>ResourceSpec</code> configured for the user profile or the domain. If
|
|
10003
|
+
* <code>InstanceType</code> is not specified in any of those three <code>ResourceSpec</code>
|
|
10004
|
+
* values for a <code>KernelGateway</code> app, the <code>CreateApp</code> call fails with a
|
|
10005
|
+
* request validation error.</p>
|
|
9964
10006
|
* </note>
|
|
9965
10007
|
* @public
|
|
9966
10008
|
*/
|
|
@@ -10339,37 +10381,3 @@ export interface CreateClusterRequest {
|
|
|
10339
10381
|
*/
|
|
10340
10382
|
Tags?: Tag[];
|
|
10341
10383
|
}
|
|
10342
|
-
/**
|
|
10343
|
-
* @public
|
|
10344
|
-
*/
|
|
10345
|
-
export interface CreateClusterResponse {
|
|
10346
|
-
/**
|
|
10347
|
-
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
10348
|
-
* @public
|
|
10349
|
-
*/
|
|
10350
|
-
ClusterArn: string | undefined;
|
|
10351
|
-
}
|
|
10352
|
-
/**
|
|
10353
|
-
* @public
|
|
10354
|
-
*/
|
|
10355
|
-
export interface CreateCodeRepositoryInput {
|
|
10356
|
-
/**
|
|
10357
|
-
* <p>The name of the Git repository. The name must have 1 to 63 characters. Valid
|
|
10358
|
-
* characters are a-z, A-Z, 0-9, and - (hyphen).</p>
|
|
10359
|
-
* @public
|
|
10360
|
-
*/
|
|
10361
|
-
CodeRepositoryName: string | undefined;
|
|
10362
|
-
/**
|
|
10363
|
-
* <p>Specifies details about the repository, including the URL where the repository is
|
|
10364
|
-
* located, the default branch, and credentials to use to access the repository.</p>
|
|
10365
|
-
* @public
|
|
10366
|
-
*/
|
|
10367
|
-
GitConfig: GitConfig | undefined;
|
|
10368
|
-
/**
|
|
10369
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
|
|
10370
|
-
* resources in different ways, for example, by purpose, owner, or environment. For more
|
|
10371
|
-
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
10372
|
-
* @public
|
|
10373
|
-
*/
|
|
10374
|
-
Tags?: Tag[];
|
|
10375
|
-
}
|