@aws-sdk/client-sagemaker 3.145.0 → 3.154.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 +27 -0
- package/dist-cjs/commands/DescribeHumanTaskUiCommand.js +2 -1
- package/dist-cjs/commands/ListPipelineExecutionsCommand.js +3 -3
- package/dist-cjs/models/models_1.js +19 -20
- package/dist-cjs/models/models_2.js +19 -18
- package/dist-cjs/models/models_3.js +16 -4
- package/dist-cjs/protocols/Aws_json1_1.js +62 -0
- package/dist-es/commands/DescribeHumanTaskUiCommand.js +2 -1
- package/dist-es/commands/ListPipelineExecutionsCommand.js +1 -1
- package/dist-es/models/models_1.js +6 -7
- package/dist-es/models/models_2.js +7 -3
- package/dist-es/models/models_3.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +51 -1
- package/dist-types/SageMaker.d.ts +28 -29
- package/dist-types/commands/AddTagsCommand.d.ts +1 -2
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +1 -2
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +8 -6
- package/dist-types/commands/CreateModelCommand.d.ts +2 -4
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -6
- package/dist-types/commands/DeleteModelCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHumanTaskUiCommand.d.ts +2 -1
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +2 -2
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +218 -193
- package/dist-types/models/models_1.d.ts +235 -157
- package/dist-types/models/models_2.d.ts +83 -120
- package/dist-types/models/models_3.d.ts +115 -23
- package/dist-types/ts3.4/commands/DescribeHumanTaskUiCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +35 -29
- package/dist-types/ts3.4/models/models_2.d.ts +26 -42
- package/dist-types/ts3.4/models/models_3.d.ts +44 -1
- package/package.json +4 -4
|
@@ -17179,7 +17179,7 @@ var serializeAws_json1_1HyperParameterSpecifications = function (input, context)
|
|
|
17179
17179
|
});
|
|
17180
17180
|
};
|
|
17181
17181
|
var serializeAws_json1_1HyperParameterTrainingJobDefinition = function (input, context) {
|
|
17182
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlgorithmSpecification != null && {
|
|
17182
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlgorithmSpecification != null && {
|
|
17183
17183
|
AlgorithmSpecification: serializeAws_json1_1HyperParameterAlgorithmSpecification(input.AlgorithmSpecification, context),
|
|
17184
17184
|
})), (input.CheckpointConfig != null && {
|
|
17185
17185
|
CheckpointConfig: serializeAws_json1_1CheckpointConfig(input.CheckpointConfig, context),
|
|
@@ -17187,6 +17187,8 @@ var serializeAws_json1_1HyperParameterTrainingJobDefinition = function (input, c
|
|
|
17187
17187
|
EnableInterContainerTrafficEncryption: input.EnableInterContainerTrafficEncryption,
|
|
17188
17188
|
})), (input.EnableManagedSpotTraining != null && { EnableManagedSpotTraining: input.EnableManagedSpotTraining })), (input.EnableNetworkIsolation != null && { EnableNetworkIsolation: input.EnableNetworkIsolation })), (input.HyperParameterRanges != null && {
|
|
17189
17189
|
HyperParameterRanges: serializeAws_json1_1ParameterRanges(input.HyperParameterRanges, context),
|
|
17190
|
+
})), (input.HyperParameterTuningResourceConfig != null && {
|
|
17191
|
+
HyperParameterTuningResourceConfig: serializeAws_json1_1HyperParameterTuningResourceConfig(input.HyperParameterTuningResourceConfig, context),
|
|
17190
17192
|
})), (input.InputDataConfig != null && {
|
|
17191
17193
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
17192
17194
|
})), (input.OutputDataConfig != null && {
|
|
@@ -17210,6 +17212,16 @@ var serializeAws_json1_1HyperParameterTrainingJobDefinitions = function (input,
|
|
|
17210
17212
|
return serializeAws_json1_1HyperParameterTrainingJobDefinition(entry, context);
|
|
17211
17213
|
});
|
|
17212
17214
|
};
|
|
17215
|
+
var serializeAws_json1_1HyperParameterTuningInstanceConfig = function (input, context) {
|
|
17216
|
+
return __assign(__assign(__assign({}, (input.InstanceCount != null && { InstanceCount: input.InstanceCount })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.VolumeSizeInGB != null && { VolumeSizeInGB: input.VolumeSizeInGB }));
|
|
17217
|
+
};
|
|
17218
|
+
var serializeAws_json1_1HyperParameterTuningInstanceConfigs = function (input, context) {
|
|
17219
|
+
return input
|
|
17220
|
+
.filter(function (e) { return e != null; })
|
|
17221
|
+
.map(function (entry) {
|
|
17222
|
+
return serializeAws_json1_1HyperParameterTuningInstanceConfig(entry, context);
|
|
17223
|
+
});
|
|
17224
|
+
};
|
|
17213
17225
|
var serializeAws_json1_1HyperParameterTuningJobConfig = function (input, context) {
|
|
17214
17226
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HyperParameterTuningJobObjective != null && {
|
|
17215
17227
|
HyperParameterTuningJobObjective: serializeAws_json1_1HyperParameterTuningJobObjective(input.HyperParameterTuningJobObjective, context),
|
|
@@ -17238,6 +17250,11 @@ var serializeAws_json1_1HyperParameterTuningJobWarmStartConfig = function (input
|
|
|
17238
17250
|
ParentHyperParameterTuningJobs: serializeAws_json1_1ParentHyperParameterTuningJobs(input.ParentHyperParameterTuningJobs, context),
|
|
17239
17251
|
})), (input.WarmStartType != null && { WarmStartType: input.WarmStartType }));
|
|
17240
17252
|
};
|
|
17253
|
+
var serializeAws_json1_1HyperParameterTuningResourceConfig = function (input, context) {
|
|
17254
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllocationStrategy != null && { AllocationStrategy: input.AllocationStrategy })), (input.InstanceConfigs != null && {
|
|
17255
|
+
InstanceConfigs: serializeAws_json1_1HyperParameterTuningInstanceConfigs(input.InstanceConfigs, context),
|
|
17256
|
+
})), (input.InstanceCount != null && { InstanceCount: input.InstanceCount })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.VolumeKmsKeyId != null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB != null && { VolumeSizeInGB: input.VolumeSizeInGB }));
|
|
17257
|
+
};
|
|
17241
17258
|
var serializeAws_json1_1ImageConfig = function (input, context) {
|
|
17242
17259
|
return __assign(__assign({}, (input.RepositoryAccessMode != null && { RepositoryAccessMode: input.RepositoryAccessMode })), (input.RepositoryAuthConfig != null && {
|
|
17243
17260
|
RepositoryAuthConfig: serializeAws_json1_1RepositoryAuthConfig(input.RepositoryAuthConfig, context),
|
|
@@ -22985,6 +23002,9 @@ var deserializeAws_json1_1HyperParameterTrainingJobDefinition = function (output
|
|
|
22985
23002
|
HyperParameterRanges: output.HyperParameterRanges != null
|
|
22986
23003
|
? deserializeAws_json1_1ParameterRanges(output.HyperParameterRanges, context)
|
|
22987
23004
|
: undefined,
|
|
23005
|
+
HyperParameterTuningResourceConfig: output.HyperParameterTuningResourceConfig != null
|
|
23006
|
+
? deserializeAws_json1_1HyperParameterTuningResourceConfig(output.HyperParameterTuningResourceConfig, context)
|
|
23007
|
+
: undefined,
|
|
22988
23008
|
InputDataConfig: output.InputDataConfig != null
|
|
22989
23009
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
22990
23010
|
: undefined,
|
|
@@ -23054,6 +23074,24 @@ var deserializeAws_json1_1HyperParameterTrainingJobSummary = function (output, c
|
|
|
23054
23074
|
TuningJobName: __expectString(output.TuningJobName),
|
|
23055
23075
|
};
|
|
23056
23076
|
};
|
|
23077
|
+
var deserializeAws_json1_1HyperParameterTuningInstanceConfig = function (output, context) {
|
|
23078
|
+
return {
|
|
23079
|
+
InstanceCount: __expectInt32(output.InstanceCount),
|
|
23080
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23081
|
+
VolumeSizeInGB: __expectInt32(output.VolumeSizeInGB),
|
|
23082
|
+
};
|
|
23083
|
+
};
|
|
23084
|
+
var deserializeAws_json1_1HyperParameterTuningInstanceConfigs = function (output, context) {
|
|
23085
|
+
var retVal = (output || [])
|
|
23086
|
+
.filter(function (e) { return e != null; })
|
|
23087
|
+
.map(function (entry) {
|
|
23088
|
+
if (entry === null) {
|
|
23089
|
+
return null;
|
|
23090
|
+
}
|
|
23091
|
+
return deserializeAws_json1_1HyperParameterTuningInstanceConfig(entry, context);
|
|
23092
|
+
});
|
|
23093
|
+
return retVal;
|
|
23094
|
+
};
|
|
23057
23095
|
var deserializeAws_json1_1HyperParameterTuningJobConfig = function (output, context) {
|
|
23058
23096
|
return {
|
|
23059
23097
|
HyperParameterTuningJobObjective: output.HyperParameterTuningJobObjective != null
|
|
@@ -23130,6 +23168,18 @@ var deserializeAws_json1_1HyperParameterTuningJobWarmStartConfig = function (out
|
|
|
23130
23168
|
WarmStartType: __expectString(output.WarmStartType),
|
|
23131
23169
|
};
|
|
23132
23170
|
};
|
|
23171
|
+
var deserializeAws_json1_1HyperParameterTuningResourceConfig = function (output, context) {
|
|
23172
|
+
return {
|
|
23173
|
+
AllocationStrategy: __expectString(output.AllocationStrategy),
|
|
23174
|
+
InstanceConfigs: output.InstanceConfigs != null
|
|
23175
|
+
? deserializeAws_json1_1HyperParameterTuningInstanceConfigs(output.InstanceConfigs, context)
|
|
23176
|
+
: undefined,
|
|
23177
|
+
InstanceCount: __expectInt32(output.InstanceCount),
|
|
23178
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23179
|
+
VolumeKmsKeyId: __expectString(output.VolumeKmsKeyId),
|
|
23180
|
+
VolumeSizeInGB: __expectInt32(output.VolumeSizeInGB),
|
|
23181
|
+
};
|
|
23182
|
+
};
|
|
23133
23183
|
var deserializeAws_json1_1Image = function (output, context) {
|
|
23134
23184
|
return {
|
|
23135
23185
|
CreationTime: output.CreationTime != null
|
|
@@ -298,8 +298,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
298
298
|
* jobs, models, labeling jobs, work teams, endpoint configurations, and
|
|
299
299
|
* endpoints.</p>
|
|
300
300
|
* <p>Each tag consists of a key and an optional value. Tag keys must be unique per
|
|
301
|
-
* resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">Amazon Web Services
|
|
302
|
-
* Tagging Strategies</a>.</p>
|
|
301
|
+
* resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">Amazon Web Services Tagging Strategies</a>.</p>
|
|
303
302
|
* <note>
|
|
304
303
|
* <p>Tags that you add to a hyperparameter tuning job by calling this API are also
|
|
305
304
|
* added to any training jobs that the hyperparameter tuning job launches after you
|
|
@@ -347,8 +346,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
347
346
|
createAction(args: CreateActionCommandInput, cb: (err: any, data?: CreateActionCommandOutput) => void): void;
|
|
348
347
|
createAction(args: CreateActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateActionCommandOutput) => void): void;
|
|
349
348
|
/**
|
|
350
|
-
* <p>Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services
|
|
351
|
-
* Marketplace.</p>
|
|
349
|
+
* <p>Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace.</p>
|
|
352
350
|
*/
|
|
353
351
|
createAlgorithm(args: CreateAlgorithmCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlgorithmCommandOutput>;
|
|
354
352
|
createAlgorithm(args: CreateAlgorithmCommandInput, cb: (err: any, data?: CreateAlgorithmCommandOutput) => void): void;
|
|
@@ -395,8 +393,8 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
395
393
|
* notebooks you create. The Git repository is a resource in your SageMaker account, so it can
|
|
396
394
|
* be associated with more than one notebook instance, and it persists independently from
|
|
397
395
|
* the lifecycle of any notebook instances it is associated with.</p>
|
|
398
|
-
* <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>
|
|
399
|
-
* other Git repository.</p>
|
|
396
|
+
* <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>
|
|
397
|
+
* or in any other Git repository.</p>
|
|
400
398
|
*/
|
|
401
399
|
createCodeRepository(args: CreateCodeRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeRepositoryCommandOutput>;
|
|
402
400
|
createCodeRepository(args: CreateCodeRepositoryCommandInput, cb: (err: any, data?: CreateCodeRepositoryCommandOutput) => void): void;
|
|
@@ -545,7 +543,8 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
545
543
|
* operations are being performed on the endpoint. To update an endpoint, you must
|
|
546
544
|
* create a new <code>EndpointConfig</code>.</p>
|
|
547
545
|
* </note>
|
|
548
|
-
* <p>The endpoint name must be unique within an Amazon Web Services Region in your
|
|
546
|
+
* <p>The endpoint name must be unique within an Amazon Web Services Region in your
|
|
547
|
+
* Amazon Web Services account. </p>
|
|
549
548
|
* <p>When it receives the request, SageMaker creates the endpoint, launches the resources (ML
|
|
550
549
|
* compute instances), and deploys the model(s) on them. </p>
|
|
551
550
|
*
|
|
@@ -567,11 +566,12 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
567
566
|
* check the status of an endpoint, use the <a>DescribeEndpoint</a>
|
|
568
567
|
* API.</p>
|
|
569
568
|
* <p>If any of the models hosted at this endpoint get model data from an Amazon S3 location,
|
|
570
|
-
* SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the
|
|
571
|
-
* provided. Amazon Web Services STS is activated in your IAM user account by
|
|
572
|
-
* deactivated Amazon Web Services STS for a region, you need to
|
|
573
|
-
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
|
574
|
-
* Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the
|
|
569
|
+
* SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the
|
|
570
|
+
* S3 path you provided. Amazon Web Services STS is activated in your IAM user account by
|
|
571
|
+
* default. If you previously deactivated Amazon Web Services STS for a region, you need to
|
|
572
|
+
* reactivate Amazon Web Services STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
|
573
|
+
* Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the
|
|
574
|
+
* <i>Amazon Web Services Identity and Access Management User
|
|
575
575
|
* Guide</i>.</p>
|
|
576
576
|
* <note>
|
|
577
577
|
* <p> To add the IAM role policies for using this API operation, go to the <a href="https://console.aws.amazon.com/iam/">IAM console</a>, and choose
|
|
@@ -786,8 +786,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
786
786
|
* <code>CreateEndpoint</code> API. SageMaker then deploys all of the containers that you
|
|
787
787
|
* defined for the model in the hosting environment. </p>
|
|
788
788
|
* <p>For an example that calls this method when deploying a model to SageMaker hosting services,
|
|
789
|
-
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto
|
|
790
|
-
* 3)).</a>
|
|
789
|
+
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto 3)).</a>
|
|
791
790
|
* </p>
|
|
792
791
|
* <p>To run a batch transform using your model, you start a job with the
|
|
793
792
|
* <code>CreateTransformJob</code> API. SageMaker uses your model and your dataset to get
|
|
@@ -795,8 +794,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
795
794
|
* <p>In the request, you also provide an IAM role that SageMaker can assume to access model
|
|
796
795
|
* artifacts and docker image for deployment on ML compute hosting instances or for batch
|
|
797
796
|
* transform jobs. In addition, you also use the IAM role to manage permissions the
|
|
798
|
-
* inference code needs. For example, if the inference code access any other Amazon Web Services resources,
|
|
799
|
-
* you grant necessary permissions via this role.</p>
|
|
797
|
+
* inference code needs. For example, if the inference code access any other Amazon Web Services resources, you grant necessary permissions via this role.</p>
|
|
800
798
|
*/
|
|
801
799
|
createModel(args: CreateModelCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCommandOutput>;
|
|
802
800
|
createModel(args: CreateModelCommandInput, cb: (err: any, data?: CreateModelCommandOutput) => void): void;
|
|
@@ -964,7 +962,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
964
962
|
* <note>
|
|
965
963
|
* <p>The URL that you get from a call to <a>CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If
|
|
966
964
|
* you try to use the URL after the 5-minute limit expires, you are directed to the
|
|
967
|
-
*
|
|
965
|
+
* Amazon Web Services console sign-in page.</p>
|
|
968
966
|
* </note>
|
|
969
967
|
*/
|
|
970
968
|
createPresignedNotebookInstanceUrl(args: CreatePresignedNotebookInstanceUrlCommandInput, options?: __HttpHandlerOptions): Promise<CreatePresignedNotebookInstanceUrlCommandOutput>;
|
|
@@ -1273,13 +1271,13 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
1273
1271
|
* endpoint was created. </p>
|
|
1274
1272
|
* <p>SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't
|
|
1275
1273
|
* need to use the <a href="http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a> API call.</p>
|
|
1276
|
-
* <p>When you delete your endpoint, SageMaker asynchronously deletes associated endpoint
|
|
1277
|
-
* You might still see these resources in your account
|
|
1278
|
-
* Do not delete or revoke the permissions
|
|
1279
|
-
* <code>
|
|
1274
|
+
* <p>When you delete your endpoint, SageMaker asynchronously deletes associated endpoint
|
|
1275
|
+
* resources such as KMS key grants. You might still see these resources in your account
|
|
1276
|
+
* for a few minutes after deleting your endpoint. Do not delete or revoke the permissions
|
|
1277
|
+
* for your <code>
|
|
1280
1278
|
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html#sagemaker-CreateModel-request-ExecutionRoleArn">ExecutionRoleArn</a>
|
|
1281
|
-
* </code>,
|
|
1282
|
-
*
|
|
1279
|
+
* </code>, otherwise SageMaker cannot delete these
|
|
1280
|
+
* resources.</p>
|
|
1283
1281
|
*/
|
|
1284
1282
|
deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
|
|
1285
1283
|
deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
|
|
@@ -1349,9 +1347,9 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
1349
1347
|
deleteImageVersion(args: DeleteImageVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImageVersionCommandOutput) => void): void;
|
|
1350
1348
|
/**
|
|
1351
1349
|
* <p>Deletes a model. The <code>DeleteModel</code> API deletes only the model entry that
|
|
1352
|
-
* was created in SageMaker when you called the <code>CreateModel</code> API. It does not
|
|
1353
|
-
*
|
|
1354
|
-
*
|
|
1350
|
+
* was created in SageMaker when you called the <code>CreateModel</code> API. It does not delete
|
|
1351
|
+
* model artifacts, inference code, or the IAM role that you specified when creating the
|
|
1352
|
+
* model. </p>
|
|
1355
1353
|
*/
|
|
1356
1354
|
deleteModel(args: DeleteModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelCommandOutput>;
|
|
1357
1355
|
deleteModel(args: DeleteModelCommandInput, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
|
|
@@ -2161,8 +2159,8 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
2161
2159
|
listNotebookInstanceLifecycleConfigs(args: ListNotebookInstanceLifecycleConfigsCommandInput, cb: (err: any, data?: ListNotebookInstanceLifecycleConfigsCommandOutput) => void): void;
|
|
2162
2160
|
listNotebookInstanceLifecycleConfigs(args: ListNotebookInstanceLifecycleConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotebookInstanceLifecycleConfigsCommandOutput) => void): void;
|
|
2163
2161
|
/**
|
|
2164
|
-
* <p>Returns a list of the SageMaker notebook instances in the requester's account in an
|
|
2165
|
-
*
|
|
2162
|
+
* <p>Returns a list of the SageMaker notebook instances in the requester's account in an
|
|
2163
|
+
* Amazon Web Services Region. </p>
|
|
2166
2164
|
*/
|
|
2167
2165
|
listNotebookInstances(args: ListNotebookInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotebookInstancesCommandOutput>;
|
|
2168
2166
|
listNotebookInstances(args: ListNotebookInstancesCommandInput, cb: (err: any, data?: ListNotebookInstancesCommandOutput) => void): void;
|
|
@@ -2245,7 +2243,8 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
2245
2243
|
* <code>InProgress</code>, are selected (sorted according to the creation time,
|
|
2246
2244
|
* from the most current to the oldest). Next, those with a status of
|
|
2247
2245
|
* <code>InProgress</code> are returned.</p>
|
|
2248
|
-
* <p>You can quickly test the API using the following Amazon Web Services CLI
|
|
2246
|
+
* <p>You can quickly test the API using the following Amazon Web Services CLI
|
|
2247
|
+
* code.</p>
|
|
2249
2248
|
* <p>
|
|
2250
2249
|
* <code>aws sagemaker list-training-jobs --max-results 100 --status-equals
|
|
2251
2250
|
* InProgress</code>
|
|
@@ -12,8 +12,7 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
12
12
|
* jobs, models, labeling jobs, work teams, endpoint configurations, and
|
|
13
13
|
* endpoints.</p>
|
|
14
14
|
* <p>Each tag consists of a key and an optional value. Tag keys must be unique per
|
|
15
|
-
* resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">Amazon Web Services
|
|
16
|
-
* Tagging Strategies</a>.</p>
|
|
15
|
+
* resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">Amazon Web Services Tagging Strategies</a>.</p>
|
|
17
16
|
* <note>
|
|
18
17
|
* <p>Tags that you add to a hyperparameter tuning job by calling this API are also
|
|
19
18
|
* added to any training jobs that the hyperparameter tuning job launches after you
|
|
@@ -7,8 +7,7 @@ export interface CreateAlgorithmCommandInput extends CreateAlgorithmInput {
|
|
|
7
7
|
export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services
|
|
11
|
-
* Marketplace.</p>
|
|
10
|
+
* <p>Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -12,8 +12,8 @@ export interface CreateCodeRepositoryCommandOutput extends CreateCodeRepositoryO
|
|
|
12
12
|
* notebooks you create. The Git repository is a resource in your SageMaker account, so it can
|
|
13
13
|
* be associated with more than one notebook instance, and it persists independently from
|
|
14
14
|
* the lifecycle of any notebook instances it is associated with.</p>
|
|
15
|
-
* <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>
|
|
16
|
-
* other Git repository.</p>
|
|
15
|
+
* <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>
|
|
16
|
+
* or in any other Git repository.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
19
|
* ```javascript
|
|
@@ -20,7 +20,8 @@ export interface CreateEndpointCommandOutput extends CreateEndpointOutput, __Met
|
|
|
20
20
|
* operations are being performed on the endpoint. To update an endpoint, you must
|
|
21
21
|
* create a new <code>EndpointConfig</code>.</p>
|
|
22
22
|
* </note>
|
|
23
|
-
* <p>The endpoint name must be unique within an Amazon Web Services Region in your
|
|
23
|
+
* <p>The endpoint name must be unique within an Amazon Web Services Region in your
|
|
24
|
+
* Amazon Web Services account. </p>
|
|
24
25
|
* <p>When it receives the request, SageMaker creates the endpoint, launches the resources (ML
|
|
25
26
|
* compute instances), and deploys the model(s) on them. </p>
|
|
26
27
|
*
|
|
@@ -42,11 +43,12 @@ export interface CreateEndpointCommandOutput extends CreateEndpointOutput, __Met
|
|
|
42
43
|
* check the status of an endpoint, use the <a>DescribeEndpoint</a>
|
|
43
44
|
* API.</p>
|
|
44
45
|
* <p>If any of the models hosted at this endpoint get model data from an Amazon S3 location,
|
|
45
|
-
* SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the
|
|
46
|
-
* provided. Amazon Web Services STS is activated in your IAM user account by
|
|
47
|
-
* deactivated Amazon Web Services STS for a region, you need to
|
|
48
|
-
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
|
49
|
-
* Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the
|
|
46
|
+
* SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the
|
|
47
|
+
* S3 path you provided. Amazon Web Services STS is activated in your IAM user account by
|
|
48
|
+
* default. If you previously deactivated Amazon Web Services STS for a region, you need to
|
|
49
|
+
* reactivate Amazon Web Services STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
|
50
|
+
* Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the
|
|
51
|
+
* <i>Amazon Web Services Identity and Access Management User
|
|
50
52
|
* Guide</i>.</p>
|
|
51
53
|
* <note>
|
|
52
54
|
* <p> To add the IAM role policies for using this API operation, go to the <a href="https://console.aws.amazon.com/iam/">IAM console</a>, and choose
|
|
@@ -18,8 +18,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
|
|
|
18
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
20
|
* <p>For an example that calls this method when deploying a model to SageMaker hosting services,
|
|
21
|
-
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto
|
|
22
|
-
* 3)).</a>
|
|
21
|
+
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto 3)).</a>
|
|
23
22
|
* </p>
|
|
24
23
|
* <p>To run a batch transform using your model, you start a job with the
|
|
25
24
|
* <code>CreateTransformJob</code> API. SageMaker uses your model and your dataset to get
|
|
@@ -27,8 +26,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
|
|
|
27
26
|
* <p>In the request, you also provide an IAM role that SageMaker can assume to access model
|
|
28
27
|
* artifacts and docker image for deployment on ML compute hosting instances or for batch
|
|
29
28
|
* transform jobs. In addition, you also use the IAM role to manage permissions the
|
|
30
|
-
* inference code needs. For example, if the inference code access any other Amazon Web Services resources,
|
|
31
|
-
* you grant necessary permissions via this role.</p>
|
|
29
|
+
* inference code needs. For example, if the inference code access any other Amazon Web Services resources, you grant necessary permissions via this role.</p>
|
|
32
30
|
* @example
|
|
33
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
32
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface CreatePresignedNotebookInstanceUrlCommandOutput extends CreateP
|
|
|
23
23
|
* <note>
|
|
24
24
|
* <p>The URL that you get from a call to <a>CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If
|
|
25
25
|
* you try to use the URL after the 5-minute limit expires, you are directed to the
|
|
26
|
-
*
|
|
26
|
+
* Amazon Web Services console sign-in page.</p>
|
|
27
27
|
* </note>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,13 +11,13 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* endpoint was created. </p>
|
|
12
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
|
|
15
|
-
* You might still see these resources in your account
|
|
16
|
-
* Do not delete or revoke the permissions
|
|
17
|
-
* <code>
|
|
14
|
+
* <p>When you delete your endpoint, SageMaker asynchronously deletes associated endpoint
|
|
15
|
+
* resources such as KMS key grants. You might still see these resources in your account
|
|
16
|
+
* for a few minutes after deleting your endpoint. Do not delete or revoke the permissions
|
|
17
|
+
* for your <code>
|
|
18
18
|
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html#sagemaker-CreateModel-request-ExecutionRoleArn">ExecutionRoleArn</a>
|
|
19
|
-
* </code>,
|
|
20
|
-
*
|
|
19
|
+
* </code>, otherwise SageMaker cannot delete these
|
|
20
|
+
* resources.</p>
|
|
21
21
|
* @example
|
|
22
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
23
|
* ```javascript
|
|
@@ -8,9 +8,9 @@ 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 SageMaker when you called the <code>CreateModel</code> API. It does not
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* was created in SageMaker when you called the <code>CreateModel</code> API. It does not delete
|
|
12
|
+
* model artifacts, inference code, or the IAM role that you specified when creating the
|
|
13
|
+
* model. </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -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 { DescribeHumanTaskUiRequest
|
|
3
|
+
import { DescribeHumanTaskUiRequest } from "../models/models_1";
|
|
4
|
+
import { DescribeHumanTaskUiResponse } from "../models/models_2";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface DescribeHumanTaskUiCommandInput extends DescribeHumanTaskUiRequest {
|
|
6
7
|
}
|
|
@@ -7,8 +7,8 @@ export interface ListNotebookInstancesCommandInput extends ListNotebookInstances
|
|
|
7
7
|
export interface ListNotebookInstancesCommandOutput extends ListNotebookInstancesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of the SageMaker notebook instances in the requester's account in an
|
|
11
|
-
*
|
|
10
|
+
* <p>Returns a list of the SageMaker notebook instances in the requester's account in an
|
|
11
|
+
* Amazon Web Services Region. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```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 { ListPipelineExecutionsRequest, ListPipelineExecutionsResponse } from "../models/
|
|
3
|
+
import { ListPipelineExecutionsRequest, ListPipelineExecutionsResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
export interface ListPipelineExecutionsCommandInput extends ListPipelineExecutionsRequest {
|
|
6
6
|
}
|
|
@@ -22,7 +22,8 @@ export interface ListTrainingJobsCommandOutput extends ListTrainingJobsResponse,
|
|
|
22
22
|
* <code>InProgress</code>, are selected (sorted according to the creation time,
|
|
23
23
|
* from the most current to the oldest). Next, those with a status of
|
|
24
24
|
* <code>InProgress</code> are returned.</p>
|
|
25
|
-
* <p>You can quickly test the API using the following Amazon Web Services CLI
|
|
25
|
+
* <p>You can quickly test the API using the following Amazon Web Services CLI
|
|
26
|
+
* code.</p>
|
|
26
27
|
* <p>
|
|
27
28
|
* <code>aws sagemaker list-training-jobs --max-results 100 --status-equals
|
|
28
29
|
* InProgress</code>
|