@aws-sdk/client-sagemaker 3.196.0 → 3.198.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/models/models_1.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +48 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +48 -0
- package/dist-types/SageMaker.d.ts +5 -5
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +4 -4
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/models/models_1.d.ts +4 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +9 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +10 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -8
- package/package.json +29 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.198.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.197.0...v3.198.0) (2022-10-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-sagemaker:** This change allows customers to provide a custom entrypoint script for the docker container to be run while executing training jobs, and provide custom arguments to the entrypoint script. ([4978352](https://github.com/aws/aws-sdk-js-v3/commit/49783528794a2aac328033d0aea2464e6dba6fc8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.197.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.196.0...v3.197.0) (2022-10-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **types:** expand custom endpoint type ([#4097](https://github.com/aws/aws-sdk-js-v3/issues/4097)) ([3620ce4](https://github.com/aws/aws-sdk-js-v3/commit/3620ce4162435b9688823162281140f40365b14c))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-sagemaker:** Amazon SageMaker Automatic Model Tuning now supports specifying Grid Search strategy for tuning jobs, which evaluates all hyperparameter combinations exhaustively based on the categorical hyperparameters provided. ([a00fdf9](https://github.com/aws/aws-sdk-js-v3/commit/a00fdf900a666bfed9f8b792865d23e3f6678996))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.196.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.195.0...v3.196.0) (2022-10-25)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-sagemaker
|
|
@@ -11,6 +11,7 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
11
11
|
var HyperParameterTuningJobStrategyType;
|
|
12
12
|
(function (HyperParameterTuningJobStrategyType) {
|
|
13
13
|
HyperParameterTuningJobStrategyType["BAYESIAN"] = "Bayesian";
|
|
14
|
+
HyperParameterTuningJobStrategyType["GRID"] = "Grid";
|
|
14
15
|
HyperParameterTuningJobStrategyType["HYPERBAND"] = "Hyperband";
|
|
15
16
|
HyperParameterTuningJobStrategyType["RANDOM"] = "Random";
|
|
16
17
|
})(HyperParameterTuningJobStrategyType = exports.HyperParameterTuningJobStrategyType || (exports.HyperParameterTuningJobStrategyType = {}));
|
|
@@ -11211,6 +11211,12 @@ const serializeAws_json1_1AlarmList = (input, context) => {
|
|
|
11211
11211
|
const serializeAws_json1_1AlgorithmSpecification = (input, context) => {
|
|
11212
11212
|
return {
|
|
11213
11213
|
...(input.AlgorithmName != null && { AlgorithmName: input.AlgorithmName }),
|
|
11214
|
+
...(input.ContainerArguments != null && {
|
|
11215
|
+
ContainerArguments: serializeAws_json1_1TrainingContainerArguments(input.ContainerArguments, context),
|
|
11216
|
+
}),
|
|
11217
|
+
...(input.ContainerEntrypoint != null && {
|
|
11218
|
+
ContainerEntrypoint: serializeAws_json1_1TrainingContainerEntrypoint(input.ContainerEntrypoint, context),
|
|
11219
|
+
}),
|
|
11214
11220
|
...(input.EnableSageMakerMetricsTimeSeries != null && {
|
|
11215
11221
|
EnableSageMakerMetricsTimeSeries: input.EnableSageMakerMetricsTimeSeries,
|
|
11216
11222
|
}),
|
|
@@ -16617,6 +16623,20 @@ const serializeAws_json1_1TrafficRoutingConfig = (input, context) => {
|
|
|
16617
16623
|
...(input.WaitIntervalInSeconds != null && { WaitIntervalInSeconds: input.WaitIntervalInSeconds }),
|
|
16618
16624
|
};
|
|
16619
16625
|
};
|
|
16626
|
+
const serializeAws_json1_1TrainingContainerArguments = (input, context) => {
|
|
16627
|
+
return input
|
|
16628
|
+
.filter((e) => e != null)
|
|
16629
|
+
.map((entry) => {
|
|
16630
|
+
return entry;
|
|
16631
|
+
});
|
|
16632
|
+
};
|
|
16633
|
+
const serializeAws_json1_1TrainingContainerEntrypoint = (input, context) => {
|
|
16634
|
+
return input
|
|
16635
|
+
.filter((e) => e != null)
|
|
16636
|
+
.map((entry) => {
|
|
16637
|
+
return entry;
|
|
16638
|
+
});
|
|
16639
|
+
};
|
|
16620
16640
|
const serializeAws_json1_1TrainingEnvironmentMap = (input, context) => {
|
|
16621
16641
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
16622
16642
|
if (value === null) {
|
|
@@ -17346,6 +17366,12 @@ const deserializeAws_json1_1AlarmList = (output, context) => {
|
|
|
17346
17366
|
const deserializeAws_json1_1AlgorithmSpecification = (output, context) => {
|
|
17347
17367
|
return {
|
|
17348
17368
|
AlgorithmName: (0, smithy_client_1.expectString)(output.AlgorithmName),
|
|
17369
|
+
ContainerArguments: output.ContainerArguments != null
|
|
17370
|
+
? deserializeAws_json1_1TrainingContainerArguments(output.ContainerArguments, context)
|
|
17371
|
+
: undefined,
|
|
17372
|
+
ContainerEntrypoint: output.ContainerEntrypoint != null
|
|
17373
|
+
? deserializeAws_json1_1TrainingContainerEntrypoint(output.ContainerEntrypoint, context)
|
|
17374
|
+
: undefined,
|
|
17349
17375
|
EnableSageMakerMetricsTimeSeries: (0, smithy_client_1.expectBoolean)(output.EnableSageMakerMetricsTimeSeries),
|
|
17350
17376
|
MetricDefinitions: output.MetricDefinitions != null
|
|
17351
17377
|
? deserializeAws_json1_1MetricDefinitionList(output.MetricDefinitions, context)
|
|
@@ -24863,6 +24889,28 @@ const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
|
24863
24889
|
WaitIntervalInSeconds: (0, smithy_client_1.expectInt32)(output.WaitIntervalInSeconds),
|
|
24864
24890
|
};
|
|
24865
24891
|
};
|
|
24892
|
+
const deserializeAws_json1_1TrainingContainerArguments = (output, context) => {
|
|
24893
|
+
const retVal = (output || [])
|
|
24894
|
+
.filter((e) => e != null)
|
|
24895
|
+
.map((entry) => {
|
|
24896
|
+
if (entry === null) {
|
|
24897
|
+
return null;
|
|
24898
|
+
}
|
|
24899
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
24900
|
+
});
|
|
24901
|
+
return retVal;
|
|
24902
|
+
};
|
|
24903
|
+
const deserializeAws_json1_1TrainingContainerEntrypoint = (output, context) => {
|
|
24904
|
+
const retVal = (output || [])
|
|
24905
|
+
.filter((e) => e != null)
|
|
24906
|
+
.map((entry) => {
|
|
24907
|
+
if (entry === null) {
|
|
24908
|
+
return null;
|
|
24909
|
+
}
|
|
24910
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
24911
|
+
});
|
|
24912
|
+
return retVal;
|
|
24913
|
+
};
|
|
24866
24914
|
const deserializeAws_json1_1TrainingEnvironmentMap = (output, context) => {
|
|
24867
24915
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
24868
24916
|
if (value === null) {
|
|
@@ -2,6 +2,7 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
|
2
2
|
export var HyperParameterTuningJobStrategyType;
|
|
3
3
|
(function (HyperParameterTuningJobStrategyType) {
|
|
4
4
|
HyperParameterTuningJobStrategyType["BAYESIAN"] = "Bayesian";
|
|
5
|
+
HyperParameterTuningJobStrategyType["GRID"] = "Grid";
|
|
5
6
|
HyperParameterTuningJobStrategyType["HYPERBAND"] = "Hyperband";
|
|
6
7
|
HyperParameterTuningJobStrategyType["RANDOM"] = "Random";
|
|
7
8
|
})(HyperParameterTuningJobStrategyType || (HyperParameterTuningJobStrategyType = {}));
|
|
@@ -10670,6 +10670,12 @@ const serializeAws_json1_1AlarmList = (input, context) => {
|
|
|
10670
10670
|
const serializeAws_json1_1AlgorithmSpecification = (input, context) => {
|
|
10671
10671
|
return {
|
|
10672
10672
|
...(input.AlgorithmName != null && { AlgorithmName: input.AlgorithmName }),
|
|
10673
|
+
...(input.ContainerArguments != null && {
|
|
10674
|
+
ContainerArguments: serializeAws_json1_1TrainingContainerArguments(input.ContainerArguments, context),
|
|
10675
|
+
}),
|
|
10676
|
+
...(input.ContainerEntrypoint != null && {
|
|
10677
|
+
ContainerEntrypoint: serializeAws_json1_1TrainingContainerEntrypoint(input.ContainerEntrypoint, context),
|
|
10678
|
+
}),
|
|
10673
10679
|
...(input.EnableSageMakerMetricsTimeSeries != null && {
|
|
10674
10680
|
EnableSageMakerMetricsTimeSeries: input.EnableSageMakerMetricsTimeSeries,
|
|
10675
10681
|
}),
|
|
@@ -16067,6 +16073,20 @@ const serializeAws_json1_1TrafficRoutingConfig = (input, context) => {
|
|
|
16067
16073
|
...(input.WaitIntervalInSeconds != null && { WaitIntervalInSeconds: input.WaitIntervalInSeconds }),
|
|
16068
16074
|
};
|
|
16069
16075
|
};
|
|
16076
|
+
const serializeAws_json1_1TrainingContainerArguments = (input, context) => {
|
|
16077
|
+
return input
|
|
16078
|
+
.filter((e) => e != null)
|
|
16079
|
+
.map((entry) => {
|
|
16080
|
+
return entry;
|
|
16081
|
+
});
|
|
16082
|
+
};
|
|
16083
|
+
const serializeAws_json1_1TrainingContainerEntrypoint = (input, context) => {
|
|
16084
|
+
return input
|
|
16085
|
+
.filter((e) => e != null)
|
|
16086
|
+
.map((entry) => {
|
|
16087
|
+
return entry;
|
|
16088
|
+
});
|
|
16089
|
+
};
|
|
16070
16090
|
const serializeAws_json1_1TrainingEnvironmentMap = (input, context) => {
|
|
16071
16091
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
16072
16092
|
if (value === null) {
|
|
@@ -16796,6 +16816,12 @@ const deserializeAws_json1_1AlarmList = (output, context) => {
|
|
|
16796
16816
|
const deserializeAws_json1_1AlgorithmSpecification = (output, context) => {
|
|
16797
16817
|
return {
|
|
16798
16818
|
AlgorithmName: __expectString(output.AlgorithmName),
|
|
16819
|
+
ContainerArguments: output.ContainerArguments != null
|
|
16820
|
+
? deserializeAws_json1_1TrainingContainerArguments(output.ContainerArguments, context)
|
|
16821
|
+
: undefined,
|
|
16822
|
+
ContainerEntrypoint: output.ContainerEntrypoint != null
|
|
16823
|
+
? deserializeAws_json1_1TrainingContainerEntrypoint(output.ContainerEntrypoint, context)
|
|
16824
|
+
: undefined,
|
|
16799
16825
|
EnableSageMakerMetricsTimeSeries: __expectBoolean(output.EnableSageMakerMetricsTimeSeries),
|
|
16800
16826
|
MetricDefinitions: output.MetricDefinitions != null
|
|
16801
16827
|
? deserializeAws_json1_1MetricDefinitionList(output.MetricDefinitions, context)
|
|
@@ -24313,6 +24339,28 @@ const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
|
24313
24339
|
WaitIntervalInSeconds: __expectInt32(output.WaitIntervalInSeconds),
|
|
24314
24340
|
};
|
|
24315
24341
|
};
|
|
24342
|
+
const deserializeAws_json1_1TrainingContainerArguments = (output, context) => {
|
|
24343
|
+
const retVal = (output || [])
|
|
24344
|
+
.filter((e) => e != null)
|
|
24345
|
+
.map((entry) => {
|
|
24346
|
+
if (entry === null) {
|
|
24347
|
+
return null;
|
|
24348
|
+
}
|
|
24349
|
+
return __expectString(entry);
|
|
24350
|
+
});
|
|
24351
|
+
return retVal;
|
|
24352
|
+
};
|
|
24353
|
+
const deserializeAws_json1_1TrainingContainerEntrypoint = (output, context) => {
|
|
24354
|
+
const retVal = (output || [])
|
|
24355
|
+
.filter((e) => e != null)
|
|
24356
|
+
.map((entry) => {
|
|
24357
|
+
if (entry === null) {
|
|
24358
|
+
return null;
|
|
24359
|
+
}
|
|
24360
|
+
return __expectString(entry);
|
|
24361
|
+
});
|
|
24362
|
+
return retVal;
|
|
24363
|
+
};
|
|
24316
24364
|
const deserializeAws_json1_1TrainingEnvironmentMap = (output, context) => {
|
|
24317
24365
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
24318
24366
|
if (value === null) {
|
|
@@ -710,10 +710,10 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
710
710
|
* Amazon SageMaker Studio. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/experiments-view-compare.html#experiments-view">View
|
|
711
711
|
* Experiments, Trials, and Trial Components</a>.</p>
|
|
712
712
|
* <important>
|
|
713
|
-
* <p>Do not include any security-sensitive information including account access
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
713
|
+
* <p>Do not include any security-sensitive information including account access IDs,
|
|
714
|
+
* secrets or tokens in any hyperparameter field. If the use of security-sensitive
|
|
715
|
+
* credentials are detected, SageMaker will reject your training job request and return an
|
|
716
|
+
* exception error.</p>
|
|
717
717
|
* </important>
|
|
718
718
|
*/
|
|
719
719
|
createHyperParameterTuningJob(args: CreateHyperParameterTuningJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateHyperParameterTuningJobCommandOutput>;
|
|
@@ -1028,7 +1028,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
1028
1028
|
* </li>
|
|
1029
1029
|
* <li>
|
|
1030
1030
|
* <p>
|
|
1031
|
-
* <code>InputDataConfig</code> - Describes the training
|
|
1031
|
+
* <code>InputDataConfig</code> - Describes the input required by the training job and the Amazon S3,
|
|
1032
1032
|
* EFS, or FSx location where it is stored.</p>
|
|
1033
1033
|
* </li>
|
|
1034
1034
|
* <li>
|
|
@@ -18,10 +18,10 @@ export interface CreateHyperParameterTuningJobCommandOutput extends CreateHyperP
|
|
|
18
18
|
* Amazon SageMaker Studio. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/experiments-view-compare.html#experiments-view">View
|
|
19
19
|
* Experiments, Trials, and Trial Components</a>.</p>
|
|
20
20
|
* <important>
|
|
21
|
-
* <p>Do not include any security-sensitive information including account access
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* <p>Do not include any security-sensitive information including account access IDs,
|
|
22
|
+
* secrets or tokens in any hyperparameter field. If the use of security-sensitive
|
|
23
|
+
* credentials are detected, SageMaker will reject your training job request and return an
|
|
24
|
+
* exception error.</p>
|
|
25
25
|
* </important>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -38,7 +38,7 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|
|
40
40
|
* <p>
|
|
41
|
-
* <code>InputDataConfig</code> - Describes the training
|
|
41
|
+
* <code>InputDataConfig</code> - Describes the input required by the training job and the Amazon S3,
|
|
42
42
|
* EFS, or FSx location where it is stored.</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* <li>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
2
|
export interface ClientInputEndpointParameters {
|
|
3
3
|
region?: string | Provider<string>;
|
|
4
4
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
-
endpoint?: string | Provider<string>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
7
|
}
|
|
8
8
|
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
9
|
defaultSigningName: string;
|
|
@@ -631,6 +631,18 @@ export interface AlgorithmSpecification {
|
|
|
631
631
|
* </ul>
|
|
632
632
|
*/
|
|
633
633
|
EnableSageMakerMetricsTimeSeries?: boolean;
|
|
634
|
+
/**
|
|
635
|
+
* <p>The <a href="https://docs.docker.com/engine/reference/builder/">entrypoint script
|
|
636
|
+
* for a Docker container</a> used to run a training job. This script takes
|
|
637
|
+
* precedence over the default train processing instructions. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html">How Amazon SageMaker
|
|
638
|
+
* Runs Your Training Image</a> for more information.</p>
|
|
639
|
+
*/
|
|
640
|
+
ContainerEntrypoint?: string[];
|
|
641
|
+
/**
|
|
642
|
+
* <p>The arguments for a container used to run a training job. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html">How Amazon SageMaker
|
|
643
|
+
* Runs Your Training Image</a> for additional information.</p>
|
|
644
|
+
*/
|
|
645
|
+
ContainerArguments?: string[];
|
|
634
646
|
}
|
|
635
647
|
export declare enum AlgorithmStatus {
|
|
636
648
|
COMPLETED = "Completed",
|
|
@@ -1010,7 +1010,7 @@ export interface ResourceLimits {
|
|
|
1010
1010
|
* number of training jobs that a hyperparameter tuning job can
|
|
1011
1011
|
* launch.</p>
|
|
1012
1012
|
*/
|
|
1013
|
-
MaxNumberOfTrainingJobs
|
|
1013
|
+
MaxNumberOfTrainingJobs?: number;
|
|
1014
1014
|
/**
|
|
1015
1015
|
* <p>The
|
|
1016
1016
|
* maximum
|
|
@@ -1021,6 +1021,7 @@ export interface ResourceLimits {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
export declare enum HyperParameterTuningJobStrategyType {
|
|
1023
1023
|
BAYESIAN = "Bayesian",
|
|
1024
|
+
GRID = "Grid",
|
|
1024
1025
|
HYPERBAND = "Hyperband",
|
|
1025
1026
|
RANDOM = "Random"
|
|
1026
1027
|
}
|
|
@@ -6236,8 +6237,8 @@ export interface CreateTrainingJobRequest {
|
|
|
6236
6237
|
* <important>
|
|
6237
6238
|
* <p>Do not include any security-sensitive information including account access IDs,
|
|
6238
6239
|
* secrets or tokens in any hyperparameter field. If the use of security-sensitive
|
|
6239
|
-
* credentials are detected, SageMaker will reject your training job request and return
|
|
6240
|
-
*
|
|
6240
|
+
* credentials are detected, SageMaker will reject your training job request and return an
|
|
6241
|
+
* exception error.</p>
|
|
6241
6242
|
* </important>
|
|
6242
6243
|
*/
|
|
6243
6244
|
HyperParameters?: Record<string, string>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -25,7 +25,7 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
27
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
|
-
endpoint?: string |
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Endpoint,
|
|
2
3
|
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
3
5
|
Provider,
|
|
4
6
|
} from "@aws-sdk/types";
|
|
5
7
|
export interface ClientInputEndpointParameters {
|
|
6
8
|
region?: string | Provider<string>;
|
|
7
9
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
10
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
-
endpoint?:
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
10
18
|
}
|
|
11
19
|
export declare type ClientResolvedEndpointParameters =
|
|
12
20
|
ClientInputEndpointParameters & {
|
|
@@ -291,6 +291,8 @@ export interface AlgorithmSpecification {
|
|
|
291
291
|
TrainingInputMode: TrainingInputMode | string | undefined;
|
|
292
292
|
MetricDefinitions?: MetricDefinition[];
|
|
293
293
|
EnableSageMakerMetricsTimeSeries?: boolean;
|
|
294
|
+
ContainerEntrypoint?: string[];
|
|
295
|
+
ContainerArguments?: string[];
|
|
294
296
|
}
|
|
295
297
|
export declare enum AlgorithmStatus {
|
|
296
298
|
COMPLETED = "Completed",
|
|
@@ -184,11 +184,12 @@ export interface ParameterRanges {
|
|
|
184
184
|
CategoricalParameterRanges?: CategoricalParameterRange[];
|
|
185
185
|
}
|
|
186
186
|
export interface ResourceLimits {
|
|
187
|
-
MaxNumberOfTrainingJobs
|
|
187
|
+
MaxNumberOfTrainingJobs?: number;
|
|
188
188
|
MaxParallelTrainingJobs: number | undefined;
|
|
189
189
|
}
|
|
190
190
|
export declare enum HyperParameterTuningJobStrategyType {
|
|
191
191
|
BAYESIAN = "Bayesian",
|
|
192
|
+
GRID = "Grid",
|
|
192
193
|
HYPERBAND = "Hyperband",
|
|
193
194
|
RANDOM = "Random",
|
|
194
195
|
}
|
|
@@ -44,7 +44,16 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
44
44
|
| import("@aws-sdk/types").EndpointV2
|
|
45
45
|
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
46
|
) &
|
|
47
|
-
(
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Provider<string>
|
|
50
|
+
| import("@aws-sdk/types").Endpoint
|
|
51
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
48
57
|
| undefined;
|
|
49
58
|
endpointProvider: (
|
|
50
59
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -44,7 +44,16 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
44
44
|
| import("@aws-sdk/types").EndpointV2
|
|
45
45
|
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
46
|
) &
|
|
47
|
-
(
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Provider<string>
|
|
50
|
+
| import("@aws-sdk/types").Endpoint
|
|
51
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
48
57
|
| undefined;
|
|
49
58
|
endpointProvider: (
|
|
50
59
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -39,14 +39,10 @@ export declare const getRuntimeConfig: (config: SageMakerClientConfig) => {
|
|
|
39
39
|
>;
|
|
40
40
|
endpoint?:
|
|
41
41
|
| string
|
|
42
|
-
|
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
46
|
-
| (import("@aws-sdk/types").EndpointV2 &
|
|
47
|
-
import("@aws-sdk/types").Provider<string>)
|
|
48
|
-
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
49
|
-
import("@aws-sdk/types").Provider<string>)
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
50
46
|
| undefined;
|
|
51
47
|
endpointProvider: (
|
|
52
48
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.198.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,40 +19,40 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.198.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.198.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.198.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.198.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.198.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.198.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.198.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.198.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.198.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.198.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.198.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.198.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.198.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.198.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.198.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.198.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.198.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.198.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.198.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.198.0",
|
|
42
|
+
"@aws-sdk/types": "3.198.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.198.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
45
|
"@aws-sdk/util-base64-node": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.198.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.198.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.198.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.198.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.198.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
54
|
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.198.0",
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|