@aws-sdk/client-sagemaker 3.252.0 → 3.256.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.
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, 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 "@aws-sdk/types";
8
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, 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 "@aws-sdk/types";
10
10
  import { AddAssociationCommandInput, AddAssociationCommandOutput } from "./commands/AddAssociationCommand";
11
11
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
12
12
  import { AssociateTrialComponentCommandInput, AssociateTrialComponentCommandOutput } from "./commands/AssociateTrialComponentCommand";
@@ -316,11 +316,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
316
316
  */
317
317
  requestHandler?: __HttpHandler;
318
318
  /**
319
- * A constructor for a class implementing the {@link __Hash} interface
319
+ * A constructor for a class implementing the {@link __Checksum} interface
320
320
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
321
321
  * @internal
322
322
  */
323
- sha256?: __HashConstructor;
323
+ sha256?: __ChecksumConstructor | __HashConstructor;
324
324
  /**
325
325
  * The function that will be used to convert strings into HTTP endpoints.
326
326
  * @internal
@@ -406,9 +406,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
406
406
  */
407
407
  defaultUserAgentProvider?: Provider<__UserAgent>;
408
408
  /**
409
- * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
409
+ * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
410
410
  */
411
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
411
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
412
412
  }
413
413
  declare type SageMakerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
414
414
  /**
@@ -315,6 +315,7 @@ export declare enum ProductionVariantInstanceType {
315
315
  ML_P3_16XLARGE = "ml.p3.16xlarge",
316
316
  ML_P3_2XLARGE = "ml.p3.2xlarge",
317
317
  ML_P3_8XLARGE = "ml.p3.8xlarge",
318
+ ML_P4DE_24XLARGE = "ml.p4de.24xlarge",
318
319
  ML_P4D_24XLARGE = "ml.p4d.24xlarge",
319
320
  ML_R5D_12XLARGE = "ml.r5d.12xlarge",
320
321
  ML_R5D_24XLARGE = "ml.r5d.24xlarge",
@@ -8443,7 +8444,7 @@ export interface ProductionVariant {
8443
8444
  ServerlessConfig?: ProductionVariantServerlessConfig;
8444
8445
  /**
8445
8446
  * <p>The size, in GB, of the ML storage volume attached to individual inference instance
8446
- * associated with the production variant. Currenly only Amazon EBS gp2 storage volumes are
8447
+ * associated with the production variant. Currently only Amazon EBS gp2 storage volumes are
8447
8448
  * supported.</p>
8448
8449
  */
8449
8450
  VolumeSizeInGB?: number;
@@ -8538,7 +8539,7 @@ export interface CreateEndpointConfigInput {
8538
8539
  * to host at this endpoint in shadow mode with production traffic replicated from the
8539
8540
  * model specified on <code>ProductionVariants</code>. If you use this field, you can only
8540
8541
  * specify one variant for <code>ProductionVariants</code> and one variant for
8541
- * <code>ShadowProductionVariants</code>.</p>
8542
+ * <code>ShadowProductionVariants</code>.</p>
8542
8543
  */
8543
8544
  ShadowProductionVariants?: ProductionVariant[];
8544
8545
  }
@@ -1442,7 +1442,7 @@ export interface HyperParameterTuningInstanceConfig {
1442
1442
  /**
1443
1443
  * <p>The number of instances of the type specified by <code>InstanceType</code>. Choose an
1444
1444
  * instance count larger than 1 for distributed training algorithms. See <a href="https://docs.aws.amazon.com/data-parallel-use-api.html">SageMaker distributed training
1445
- * jobs</a> for more informcration.</p>
1445
+ * jobs</a> for more information.</p>
1446
1446
  */
1447
1447
  InstanceCount: number | undefined;
1448
1448
  /**
@@ -1608,13 +1608,11 @@ export interface HyperParameterTrainingJobDefinition {
1608
1608
  */
1609
1609
  InputDataConfig?: Channel[];
1610
1610
  /**
1611
- * <p>The <a>VpcConfig</a> object that
1612
- * specifies
1613
- * the VPC that you want the training jobs that this hyperparameter
1614
- * tuning job launches to connect to. Control access to and from your
1615
- * training
1616
- * container by configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs
1617
- * by Using an Amazon Virtual Private Cloud</a>.</p>
1611
+ * <p>The <a>VpcConfig</a> object that specifies the VPC that you want the
1612
+ * training jobs that this hyperparameter tuning job launches to connect to. Control access
1613
+ * to and from your training container by configuring the VPC. For more information, see
1614
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect
1615
+ * Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p>
1618
1616
  */
1619
1617
  VpcConfig?: VpcConfig;
1620
1618
  /**
@@ -1689,6 +1687,19 @@ export interface HyperParameterTrainingJobDefinition {
1689
1687
  * the storage volume (optional).</p>
1690
1688
  */
1691
1689
  HyperParameterTuningResourceConfig?: HyperParameterTuningResourceConfig;
1690
+ /**
1691
+ * <p>An environment variable that you can pass into the SageMaker <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a> API. You can use an existing <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html#sagemaker-CreateTrainingJob-request-Environment">environment variable from the training container</a> or use your own. See
1692
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html">Define metrics
1693
+ * and variables</a> for more information.</p>
1694
+ * <note>
1695
+ * <p>The maximum number of items specified for <code>Map Entries</code> refers to the
1696
+ * maximum number of environment variables for each <code>TrainingJobDefinition</code>
1697
+ * and also the maximum for the hyperparameter tuning job itself. That is, the sum of
1698
+ * the number of environment variables for all the training job definitions can't
1699
+ * exceed the maximum number specified.</p>
1700
+ * </note>
1701
+ */
1702
+ Environment?: Record<string, string>;
1692
1703
  }
1693
1704
  /**
1694
1705
  * <p>A previously completed or stopped hyperparameter tuning job to be used as a starting
@@ -1148,8 +1148,8 @@ export interface PendingDeploymentSummary {
1148
1148
  */
1149
1149
  EndpointConfigName: string | undefined;
1150
1150
  /**
1151
- * <p>An array of <a>PendingProductionVariantSummary</a> objects, one for each model
1152
- * hosted behind this endpoint for the in-progress deployment.</p>
1151
+ * <p>An array of <a>PendingProductionVariantSummary</a> objects, one for each
1152
+ * model hosted behind this endpoint for the in-progress deployment.</p>
1153
1153
  */
1154
1154
  ProductionVariants?: PendingProductionVariantSummary[];
1155
1155
  /**
@@ -1157,9 +1157,10 @@ export interface PendingDeploymentSummary {
1157
1157
  */
1158
1158
  StartTime?: Date;
1159
1159
  /**
1160
- * <p>An array of <a>PendingProductionVariantSummary</a> objects, one for each model
1161
- * hosted behind this endpoint in shadow mode with production traffic replicated from the
1162
- * model specified on <code>ProductionVariants</code> for the in-progress deployment.</p>
1160
+ * <p>An array of <a>PendingProductionVariantSummary</a> objects, one for each
1161
+ * model hosted behind this endpoint in shadow mode with production traffic replicated from
1162
+ * the model specified on <code>ProductionVariants</code> for the in-progress
1163
+ * deployment.</p>
1163
1164
  */
1164
1165
  ShadowProductionVariants?: PendingProductionVariantSummary[];
1165
1166
  }
@@ -1319,8 +1320,8 @@ export interface DescribeEndpointOutput {
1319
1320
  ExplainerConfig?: ExplainerConfig;
1320
1321
  /**
1321
1322
  * <p>An array of <a>ProductionVariantSummary</a> objects, one for each model
1322
- * that you want to host at this endpoint in shadow mode with production traffic
1323
- * replicated from the model specified on <code>ProductionVariants</code>.</p>
1323
+ * that you want to host at this endpoint in shadow mode with production traffic replicated
1324
+ * from the model specified on <code>ProductionVariants</code>.</p>
1324
1325
  */
1325
1326
  ShadowProductionVariants?: ProductionVariantSummary[];
1326
1327
  }
@@ -6292,7 +6293,7 @@ export interface Endpoint {
6292
6293
  Tags?: Tag[];
6293
6294
  /**
6294
6295
  * <p>A list of the shadow variants hosted on the endpoint. Each shadow variant is a model
6295
- * in shadow mode with production traffic replicated from the proudction variant.</p>
6296
+ * in shadow mode with production traffic replicated from the production variant.</p>
6296
6297
  */
6297
6298
  ShadowProductionVariants?: ProductionVariantSummary[];
6298
6299
  }
@@ -6795,8 +6795,8 @@ export interface UpdateDomainRequest {
6795
6795
  /**
6796
6796
  * <p>The entity that creates and manages the required security groups for inter-app
6797
6797
  * communication in <code>VPCOnly</code> mode. Required when
6798
- * <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
6799
- * <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
6798
+ * <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
6799
+ * <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
6800
6800
  * provided.</p>
6801
6801
  */
6802
6802
  AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
@@ -6864,7 +6864,7 @@ export interface UpdateEndpointInput {
6864
6864
  * <code>true</code>, <code>ExcludeRetainedVariantProperties</code> specifies the list
6865
6865
  * of type <a>VariantProperty</a> to override with the values provided by
6866
6866
  * <code>EndpointConfig</code>. If you don't specify a value for
6867
- * <code>ExcludeAllVariantProperties</code>, no variant properties are overridden.
6867
+ * <code>ExcludeRetainedVariantProperties</code>, no variant properties are overridden.
6868
6868
  * </p>
6869
6869
  */
6870
6870
  ExcludeRetainedVariantProperties?: VariantProperty[];
@@ -25,12 +25,13 @@ import {
25
25
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
26
  import {
27
27
  Client as __Client,
28
- DefaultsMode,
28
+ DefaultsMode as __DefaultsMode,
29
29
  SmithyConfiguration as __SmithyConfiguration,
30
30
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -1853,7 +1854,7 @@ export declare type ServiceOutputTypes =
1853
1854
  export interface ClientDefaults
1854
1855
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
1855
1856
  requestHandler?: __HttpHandler;
1856
- sha256?: __HashConstructor;
1857
+ sha256?: __ChecksumConstructor | __HashConstructor;
1857
1858
  urlParser?: __UrlParser;
1858
1859
  bodyLengthChecker?: __BodyLengthCalculator;
1859
1860
  streamCollector?: __StreamCollector;
@@ -1872,7 +1873,7 @@ export interface ClientDefaults
1872
1873
  region?: string | __Provider<string>;
1873
1874
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
1874
1875
  defaultUserAgentProvider?: Provider<__UserAgent>;
1875
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
1876
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
1876
1877
  }
1877
1878
  declare type SageMakerClientConfigType = Partial<
1878
1879
  __SmithyConfiguration<__HttpHandlerOptions>
@@ -176,6 +176,7 @@ export declare enum ProductionVariantInstanceType {
176
176
  ML_P3_16XLARGE = "ml.p3.16xlarge",
177
177
  ML_P3_2XLARGE = "ml.p3.2xlarge",
178
178
  ML_P3_8XLARGE = "ml.p3.8xlarge",
179
+ ML_P4DE_24XLARGE = "ml.p4de.24xlarge",
179
180
  ML_P4D_24XLARGE = "ml.p4d.24xlarge",
180
181
  ML_R5D_12XLARGE = "ml.r5d.12xlarge",
181
182
  ML_R5D_24XLARGE = "ml.r5d.24xlarge",
@@ -259,6 +259,7 @@ export interface HyperParameterTrainingJobDefinition {
259
259
  CheckpointConfig?: CheckpointConfig;
260
260
  RetryStrategy?: RetryStrategy;
261
261
  HyperParameterTuningResourceConfig?: HyperParameterTuningResourceConfig;
262
+ Environment?: Record<string, string>;
262
263
  }
263
264
  export interface ParentHyperParameterTuningJob {
264
265
  HyperParameterTuningJobName?: string;
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.252.0",
4
+ "version": "3.256.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",
@@ -18,42 +18,42 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.256.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.256.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
- "@aws-sdk/util-waiter": "3.226.0",
56
+ "@aws-sdk/util-waiter": "3.254.0",
57
57
  "tslib": "^2.3.1",
58
58
  "uuid": "^8.3.2"
59
59
  },