@aws-sdk/client-sagemaker 3.38.0 → 3.39.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 +11 -0
- package/dist-cjs/SageMaker.js +30 -0
- package/dist-cjs/commands/BatchDescribeModelPackageCommand.js +36 -0
- package/dist-cjs/commands/CreateLabelingJobCommand.js +3 -3
- package/dist-cjs/commands/CreateModelCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectCommand.js +2 -1
- package/dist-cjs/commands/DescribeStudioLifecycleConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubscribedWorkteamCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrainingJobCommand.js +1 -2
- package/dist-cjs/commands/StopHyperParameterTuningJobCommand.js +2 -2
- package/dist-cjs/commands/StopLabelingJobCommand.js +2 -2
- package/dist-cjs/commands/StopMonitoringScheduleCommand.js +2 -2
- package/dist-cjs/commands/StopNotebookInstanceCommand.js +2 -2
- package/dist-cjs/commands/StopPipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/StopProcessingJobCommand.js +2 -2
- package/dist-cjs/commands/StopTrainingJobCommand.js +2 -2
- package/dist-cjs/commands/StopTransformJobCommand.js +2 -2
- package/dist-cjs/commands/UpdateActionCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppImageConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +5 -0
- package/dist-cjs/models/models_0.js +165 -163
- package/dist-cjs/models/models_1.js +86 -85
- package/dist-cjs/models/models_2.js +83 -84
- package/dist-cjs/models/models_3.js +98 -1
- package/dist-cjs/protocols/Aws_json1_1.js +400 -10
- package/dist-es/SageMaker.js +30 -0
- package/dist-es/commands/BatchDescribeModelPackageCommand.js +39 -0
- package/dist-es/commands/CreateLabelingJobCommand.js +1 -1
- package/dist-es/commands/CreateModelCommand.js +1 -1
- package/dist-es/commands/DescribeProjectCommand.js +2 -1
- package/dist-es/commands/DescribeStudioLifecycleConfigCommand.js +1 -1
- package/dist-es/commands/DescribeSubscribedWorkteamCommand.js +1 -1
- package/dist-es/commands/DescribeTrainingJobCommand.js +1 -2
- package/dist-es/commands/StopHyperParameterTuningJobCommand.js +1 -1
- package/dist-es/commands/StopLabelingJobCommand.js +1 -1
- package/dist-es/commands/StopMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/StopNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/StopPipelineExecutionCommand.js +1 -1
- package/dist-es/commands/StopProcessingJobCommand.js +1 -1
- package/dist-es/commands/StopTrainingJobCommand.js +1 -1
- package/dist-es/commands/StopTransformJobCommand.js +1 -1
- package/dist-es/commands/UpdateActionCommand.js +1 -1
- package/dist-es/commands/UpdateAppImageConfigCommand.js +1 -1
- package/dist-es/commands/UpdateProjectCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +5 -0
- package/dist-es/models/models_0.js +140 -130
- package/dist-es/models/models_1.js +56 -59
- package/dist-es/models/models_2.js +53 -52
- package/dist-es/models/models_3.js +64 -0
- package/dist-es/protocols/Aws_json1_1.js +374 -10
- package/dist-types/SageMaker.d.ts +23 -2
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +35 -0
- package/dist-types/commands/CreateLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProjectCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubscribedWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +1 -2
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +42 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +389 -691
- package/dist-types/models/models_1.d.ts +553 -275
- package/dist-types/models/models_2.d.ts +319 -185
- package/dist-types/models/models_3.d.ts +265 -5
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/SageMaker.d.ts +10 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/BatchDescribeModelPackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubscribedWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +240 -264
- package/dist-types/ts3.4/models/models_1.d.ts +177 -150
- package/dist-types/ts3.4/models/models_2.d.ts +170 -120
- package/dist-types/ts3.4/models/models_3.d.ts +163 -4
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/10/28 ([#2955](https://github.com/aws/aws-sdk-js-v3/issues/2955)) ([378d161](https://github.com/aws/aws-sdk-js-v3/commit/378d16166de49b06263291001986715d9533cadf))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/SageMaker.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.SageMaker = void 0;
|
|
|
4
4
|
const AddAssociationCommand_1 = require("./commands/AddAssociationCommand");
|
|
5
5
|
const AddTagsCommand_1 = require("./commands/AddTagsCommand");
|
|
6
6
|
const AssociateTrialComponentCommand_1 = require("./commands/AssociateTrialComponentCommand");
|
|
7
|
+
const BatchDescribeModelPackageCommand_1 = require("./commands/BatchDescribeModelPackageCommand");
|
|
7
8
|
const CreateActionCommand_1 = require("./commands/CreateActionCommand");
|
|
8
9
|
const CreateAlgorithmCommand_1 = require("./commands/CreateAlgorithmCommand");
|
|
9
10
|
const CreateAppCommand_1 = require("./commands/CreateAppCommand");
|
|
@@ -235,6 +236,7 @@ const UpdateNotebookInstanceCommand_1 = require("./commands/UpdateNotebookInstan
|
|
|
235
236
|
const UpdateNotebookInstanceLifecycleConfigCommand_1 = require("./commands/UpdateNotebookInstanceLifecycleConfigCommand");
|
|
236
237
|
const UpdatePipelineCommand_1 = require("./commands/UpdatePipelineCommand");
|
|
237
238
|
const UpdatePipelineExecutionCommand_1 = require("./commands/UpdatePipelineExecutionCommand");
|
|
239
|
+
const UpdateProjectCommand_1 = require("./commands/UpdateProjectCommand");
|
|
238
240
|
const UpdateTrainingJobCommand_1 = require("./commands/UpdateTrainingJobCommand");
|
|
239
241
|
const UpdateTrialCommand_1 = require("./commands/UpdateTrialCommand");
|
|
240
242
|
const UpdateTrialComponentCommand_1 = require("./commands/UpdateTrialComponentCommand");
|
|
@@ -285,6 +287,20 @@ class SageMaker extends SageMakerClient_1.SageMakerClient {
|
|
|
285
287
|
return this.send(command, optionsOrCb);
|
|
286
288
|
}
|
|
287
289
|
}
|
|
290
|
+
batchDescribeModelPackage(args, optionsOrCb, cb) {
|
|
291
|
+
const command = new BatchDescribeModelPackageCommand_1.BatchDescribeModelPackageCommand(args);
|
|
292
|
+
if (typeof optionsOrCb === "function") {
|
|
293
|
+
this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
else if (typeof cb === "function") {
|
|
296
|
+
if (typeof optionsOrCb !== "object")
|
|
297
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
288
304
|
createAction(args, optionsOrCb, cb) {
|
|
289
305
|
const command = new CreateActionCommand_1.CreateActionCommand(args);
|
|
290
306
|
if (typeof optionsOrCb === "function") {
|
|
@@ -3519,6 +3535,20 @@ class SageMaker extends SageMakerClient_1.SageMakerClient {
|
|
|
3519
3535
|
return this.send(command, optionsOrCb);
|
|
3520
3536
|
}
|
|
3521
3537
|
}
|
|
3538
|
+
updateProject(args, optionsOrCb, cb) {
|
|
3539
|
+
const command = new UpdateProjectCommand_1.UpdateProjectCommand(args);
|
|
3540
|
+
if (typeof optionsOrCb === "function") {
|
|
3541
|
+
this.send(command, optionsOrCb);
|
|
3542
|
+
}
|
|
3543
|
+
else if (typeof cb === "function") {
|
|
3544
|
+
if (typeof optionsOrCb !== "object")
|
|
3545
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3546
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
3547
|
+
}
|
|
3548
|
+
else {
|
|
3549
|
+
return this.send(command, optionsOrCb);
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3522
3552
|
updateTrainingJob(args, optionsOrCb, cb) {
|
|
3523
3553
|
const command = new UpdateTrainingJobCommand_1.UpdateTrainingJobCommand(args);
|
|
3524
3554
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchDescribeModelPackageCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class BatchDescribeModelPackageCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "SageMakerClient";
|
|
18
|
+
const commandName = "BatchDescribeModelPackageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.BatchDescribeModelPackageInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.BatchDescribeModelPackageOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1BatchDescribeModelPackageCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1BatchDescribeModelPackageCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BatchDescribeModelPackageCommand = BatchDescribeModelPackageCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CreateLabelingJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class CreateLabelingJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class CreateLabelingJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.CreateLabelingJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.CreateLabelingJobResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CreateModelCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class CreateModelCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class CreateModelCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.CreateModelInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.CreateModelOutput.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,6 +4,7 @@ exports.DescribeProjectCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const models_2_1 = require("../models/models_2");
|
|
7
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
9
|
class DescribeProjectCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class DescribeProjectCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_1_1.DescribeProjectInput.filterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_2_1.DescribeProjectOutput.filterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeStudioLifecycleConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class DescribeStudioLifecycleConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class DescribeStudioLifecycleConfigCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.DescribeStudioLifecycleConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.DescribeStudioLifecycleConfigResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeSubscribedWorkteamCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class DescribeSubscribedWorkteamCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class DescribeSubscribedWorkteamCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.DescribeSubscribedWorkteamRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.DescribeSubscribedWorkteamResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeTrainingJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const models_1_1 = require("../models/models_1");
|
|
7
6
|
const models_2_1 = require("../models/models_2");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class DescribeTrainingJobCommand extends smithy_client_1.Command {
|
|
@@ -21,7 +20,7 @@ class DescribeTrainingJobCommand extends smithy_client_1.Command {
|
|
|
21
20
|
logger,
|
|
22
21
|
clientName,
|
|
23
22
|
commandName,
|
|
24
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.DescribeTrainingJobRequest.filterSensitiveLog,
|
|
25
24
|
outputFilterSensitiveLog: models_2_1.DescribeTrainingJobResponse.filterSensitiveLog,
|
|
26
25
|
};
|
|
27
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopHyperParameterTuningJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopHyperParameterTuningJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopHyperParameterTuningJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopHyperParameterTuningJobRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopLabelingJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopLabelingJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopLabelingJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopLabelingJobRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopMonitoringScheduleCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopMonitoringScheduleCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopMonitoringScheduleCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopMonitoringScheduleRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopNotebookInstanceCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopNotebookInstanceCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopNotebookInstanceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopNotebookInstanceInput.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopPipelineExecutionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopPipelineExecutionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class StopPipelineExecutionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopPipelineExecutionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_3_1.StopPipelineExecutionResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopProcessingJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopProcessingJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopProcessingJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopProcessingJobRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopTrainingJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopTrainingJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopTrainingJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopTrainingJobRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StopTransformJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class StopTransformJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class StopTransformJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.StopTransformJobRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateActionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class UpdateActionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateActionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.UpdateActionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_3_1.UpdateActionResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateAppImageConfigCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
class UpdateAppImageConfigCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateAppImageConfigCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.UpdateAppImageConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_3_1.UpdateAppImageConfigResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProjectCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_3_1 = require("../models/models_3");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UpdateProjectCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "SageMakerClient";
|
|
18
|
+
const commandName = "UpdateProjectCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_3_1.UpdateProjectInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_3_1.UpdateProjectOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1UpdateProjectCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1UpdateProjectCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateProjectCommand = UpdateProjectCommand;
|
|
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./AddAssociationCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AddTagsCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./AssociateTrialComponentCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./BatchDescribeModelPackageCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateActionCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateAlgorithmCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateAppCommand"), exports);
|
|
@@ -235,6 +236,7 @@ tslib_1.__exportStar(require("./UpdateNotebookInstanceCommand"), exports);
|
|
|
235
236
|
tslib_1.__exportStar(require("./UpdateNotebookInstanceLifecycleConfigCommand"), exports);
|
|
236
237
|
tslib_1.__exportStar(require("./UpdatePipelineCommand"), exports);
|
|
237
238
|
tslib_1.__exportStar(require("./UpdatePipelineExecutionCommand"), exports);
|
|
239
|
+
tslib_1.__exportStar(require("./UpdateProjectCommand"), exports);
|
|
238
240
|
tslib_1.__exportStar(require("./UpdateTrainingJobCommand"), exports);
|
|
239
241
|
tslib_1.__exportStar(require("./UpdateTrialCommand"), exports);
|
|
240
242
|
tslib_1.__exportStar(require("./UpdateTrialComponentCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -57,22 +57,27 @@ const partitionHash = {
|
|
|
57
57
|
"us-west-2",
|
|
58
58
|
"us-west-2-fips",
|
|
59
59
|
],
|
|
60
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
60
61
|
hostname: "api.sagemaker.{region}.amazonaws.com",
|
|
61
62
|
},
|
|
62
63
|
"aws-cn": {
|
|
63
64
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
65
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
64
66
|
hostname: "api.sagemaker.{region}.amazonaws.com.cn",
|
|
65
67
|
},
|
|
66
68
|
"aws-iso": {
|
|
67
69
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
70
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
68
71
|
hostname: "api.sagemaker.{region}.c2s.ic.gov",
|
|
69
72
|
},
|
|
70
73
|
"aws-iso-b": {
|
|
71
74
|
regions: ["us-isob-east-1"],
|
|
75
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
72
76
|
hostname: "api.sagemaker.{region}.sc2s.sgov.gov",
|
|
73
77
|
},
|
|
74
78
|
"aws-us-gov": {
|
|
75
79
|
regions: ["us-gov-east-1", "us-gov-west-1", "us-gov-west-1-fips", "us-gov-west-1-fips-secondary"],
|
|
80
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
76
81
|
hostname: "api.sagemaker.{region}.amazonaws.com",
|
|
77
82
|
},
|
|
78
83
|
};
|