@aws-sdk/client-sagemaker 3.386.0 → 3.388.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SageMakerClient.js +2 -2
- package/dist-es/SageMakerClient.js +2 -2
- package/dist-types/SageMakerClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +2 -2
- package/dist-types/models/models_3.d.ts +1 -1
- package/dist-types/models/models_4.d.ts +1 -1
- package/dist-types/ts3.4/SageMakerClient.d.ts +4 -1
- package/package.json +29 -29
|
@@ -15,8 +15,8 @@ Object.defineProperty(exports, "__Client", { enumerable: true, get: function ()
|
|
|
15
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
17
17
|
class SageMakerClient extends smithy_client_1.Client {
|
|
18
|
-
constructor(configuration) {
|
|
19
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
18
|
+
constructor(...[configuration]) {
|
|
19
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
20
20
|
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
21
21
|
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
22
22
|
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
@@ -12,8 +12,8 @@ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"
|
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
13
|
export { __Client };
|
|
14
14
|
export class SageMakerClient extends __Client {
|
|
15
|
-
constructor(configuration) {
|
|
16
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
15
|
+
constructor(...[configuration]) {
|
|
16
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
17
17
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
18
18
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
19
19
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
@@ -7,7 +7,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
7
7
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AddAssociationCommandInput, AddAssociationCommandOutput } from "./commands/AddAssociationCommand";
|
|
12
12
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
13
13
|
import { AssociateTrialComponentCommandInput, AssociateTrialComponentCommandOutput } from "./commands/AssociateTrialComponentCommand";
|
|
@@ -471,7 +471,7 @@ export declare class SageMakerClient extends __Client<__HttpHandlerOptions, Serv
|
|
|
471
471
|
* The resolved configuration of SageMakerClient class. This is resolved and normalized from the {@link SageMakerClientConfig | constructor configuration interface}.
|
|
472
472
|
*/
|
|
473
473
|
readonly config: SageMakerClientResolvedConfig;
|
|
474
|
-
constructor(configuration: SageMakerClientConfig);
|
|
474
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SageMakerClientConfig>);
|
|
475
475
|
/**
|
|
476
476
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
477
477
|
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
@@ -9627,8 +9627,8 @@ export interface OutputConfig {
|
|
|
9627
9627
|
* <code>"CompilerOptions": "\"--verbose 1 --num-neuroncores 2 -O2\""</code>.
|
|
9628
9628
|
* </p>
|
|
9629
9629
|
* <p>For information about supported compiler options, see
|
|
9630
|
-
* <a href="https://
|
|
9631
|
-
* Neuron Compiler CLI</a>.
|
|
9630
|
+
* <a href="https://awsdocs-neuron.readthedocs-hosted.com/en/latest/compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.html">
|
|
9631
|
+
* Neuron Compiler CLI Reference Guide</a>.
|
|
9632
9632
|
* </p>
|
|
9633
9633
|
* </li>
|
|
9634
9634
|
* <li>
|
|
@@ -6881,7 +6881,7 @@ export interface ModelCardExportOutputConfig {
|
|
|
6881
6881
|
export interface CreateModelCardExportJobRequest {
|
|
6882
6882
|
/**
|
|
6883
6883
|
* @public
|
|
6884
|
-
* <p>The name of the model card to export.</p>
|
|
6884
|
+
* <p>The name or Amazon Resource Name (ARN) of the model card to export.</p>
|
|
6885
6885
|
*/
|
|
6886
6886
|
ModelCardName: string | undefined;
|
|
6887
6887
|
/**
|
|
@@ -4979,7 +4979,7 @@ export interface DescribeModelBiasJobDefinitionResponse {
|
|
|
4979
4979
|
export interface DescribeModelCardRequest {
|
|
4980
4980
|
/**
|
|
4981
4981
|
* @public
|
|
4982
|
-
* <p>The name of the model card to describe.</p>
|
|
4982
|
+
* <p>The name or Amazon Resource Name (ARN) of the model card to describe.</p>
|
|
4983
4983
|
*/
|
|
4984
4984
|
ModelCardName: string | undefined;
|
|
4985
4985
|
/**
|
|
@@ -5182,7 +5182,7 @@ export interface DescribeModelCardExportJobResponse {
|
|
|
5182
5182
|
Status: ModelCardExportJobStatus | string | undefined;
|
|
5183
5183
|
/**
|
|
5184
5184
|
* @public
|
|
5185
|
-
* <p>The name of the model card that the model export job exports.</p>
|
|
5185
|
+
* <p>The name or Amazon Resource Name (ARN) of the model card that the model export job exports.</p>
|
|
5186
5186
|
*/
|
|
5187
5187
|
ModelCardName: string | undefined;
|
|
5188
5188
|
/**
|
|
@@ -4321,7 +4321,7 @@ export interface ListModelCardVersionsRequest {
|
|
|
4321
4321
|
MaxResults?: number;
|
|
4322
4322
|
/**
|
|
4323
4323
|
* @public
|
|
4324
|
-
* <p>List model card versions for the model card with the specified name.</p>
|
|
4324
|
+
* <p>List model card versions for the model card with the specified name or Amazon Resource Name (ARN).</p>
|
|
4325
4325
|
*/
|
|
4326
4326
|
ModelCardName: string | undefined;
|
|
4327
4327
|
/**
|
|
@@ -2255,7 +2255,7 @@ export interface UpdateInferenceExperimentResponse {
|
|
|
2255
2255
|
export interface UpdateModelCardRequest {
|
|
2256
2256
|
/**
|
|
2257
2257
|
* @public
|
|
2258
|
-
* <p>The name of the model card to update.</p>
|
|
2258
|
+
* <p>The name or Amazon Resource Name (ARN) of the model card to update.</p>
|
|
2259
2259
|
*/
|
|
2260
2260
|
ModelCardName: string | undefined;
|
|
2261
2261
|
/**
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
} from "@smithy/smithy-client";
|
|
33
33
|
import {
|
|
34
34
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
35
36
|
ChecksumConstructor as __ChecksumConstructor,
|
|
36
37
|
Decoder as __Decoder,
|
|
37
38
|
Encoder as __Encoder,
|
|
@@ -1931,6 +1932,8 @@ export declare class SageMakerClient extends __Client<
|
|
|
1931
1932
|
SageMakerClientResolvedConfig
|
|
1932
1933
|
> {
|
|
1933
1934
|
readonly config: SageMakerClientResolvedConfig;
|
|
1934
|
-
constructor(
|
|
1935
|
+
constructor(
|
|
1936
|
+
...[configuration]: __CheckOptionalClientConfig<SageMakerClientConfig>
|
|
1937
|
+
);
|
|
1935
1938
|
destroy(): void;
|
|
1936
1939
|
}
|
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.388.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",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.388.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.388.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.387.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.387.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.387.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.387.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.387.0",
|
|
31
|
+
"@aws-sdk/types": "3.387.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.387.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.387.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.387.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.2",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.2",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.0
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.2",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.2",
|
|
48
|
+
"@smithy/types": "^2.1.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.2",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.2",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
|
-
"@smithy/util-waiter": "^2.0.
|
|
57
|
+
"@smithy/util-waiter": "^2.0.2",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|