@aws-sdk/client-sagemaker 3.799.0 → 3.801.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.
Files changed (48) hide show
  1. package/dist-cjs/index.js +79 -34
  2. package/dist-es/models/models_0.js +4 -10
  3. package/dist-es/models/models_1.js +10 -6
  4. package/dist-es/models/models_2.js +6 -12
  5. package/dist-es/models/models_3.js +12 -8
  6. package/dist-es/models/models_4.js +8 -0
  7. package/dist-es/protocols/Aws_json1_1.js +41 -0
  8. package/dist-types/commands/CreateClusterCommand.d.ts +21 -0
  9. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +5 -4
  10. package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +1 -2
  11. package/dist-types/commands/CreateTrainingJobCommand.d.ts +12 -4
  12. package/dist-types/commands/DescribeClusterCommand.d.ts +21 -0
  13. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeHubContentCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeHumanTaskUiCommand.d.ts +1 -2
  16. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -0
  17. package/dist-types/commands/ListComputeQuotasCommand.d.ts +1 -1
  18. package/dist-types/commands/ListContextsCommand.d.ts +1 -1
  19. package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  20. package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
  21. package/dist-types/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  22. package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  23. package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateClusterCommand.d.ts +21 -0
  25. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +23 -0
  26. package/dist-types/models/models_0.d.ts +114 -263
  27. package/dist-types/models/models_1.d.ts +264 -249
  28. package/dist-types/models/models_2.d.ts +283 -191
  29. package/dist-types/models/models_3.d.ts +195 -160
  30. package/dist-types/models/models_4.d.ts +161 -64
  31. package/dist-types/models/models_5.d.ts +85 -4
  32. package/dist-types/ts3.4/commands/CreateMonitoringScheduleCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/DescribeHubContentCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DescribeHumanTaskUiCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/ListComputeQuotasCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ListContextsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/models/models_0.d.ts +30 -46
  43. package/dist-types/ts3.4/models/models_1.d.ts +50 -45
  44. package/dist-types/ts3.4/models/models_2.d.ts +44 -53
  45. package/dist-types/ts3.4/models/models_3.d.ts +55 -49
  46. package/dist-types/ts3.4/models/models_4.d.ts +49 -23
  47. package/dist-types/ts3.4/models/models_5.d.ts +28 -2
  48. package/package.json +1 -1
@@ -55,6 +55,7 @@ declare const ListClusterNodesCommand_base: {
55
55
  * // InstanceId: "STRING_VALUE", // required
56
56
  * // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.16xlarge" || "ml.g6.12xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.gr6.4xlarge" || "ml.gr6.8xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.16xlarge" || "ml.g6e.12xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge" || "ml.trn2.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.i3en.large" || "ml.i3en.xlarge" || "ml.i3en.2xlarge" || "ml.i3en.3xlarge" || "ml.i3en.6xlarge" || "ml.i3en.12xlarge" || "ml.i3en.24xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge", // required
57
57
  * // LaunchTime: new Date("TIMESTAMP"), // required
58
+ * // LastSoftwareUpdateTime: new Date("TIMESTAMP"),
58
59
  * // InstanceStatus: { // ClusterInstanceStatusDetails
59
60
  * // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress", // required
60
61
  * // Message: "STRING_VALUE",
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListComputeQuotasRequest, ListComputeQuotasResponse } from "../models/models_3";
3
+ import { ListComputeQuotasRequest, ListComputeQuotasResponse } from "../models/models_4";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListContextsRequest, ListContextsResponse } from "../models/models_3";
3
+ import { ListContextsRequest, ListContextsResponse } from "../models/models_4";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopInferenceRecommendationsJobRequest } from "../models/models_4";
3
+ import { StopInferenceRecommendationsJobRequest } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopLabelingJobRequest } from "../models/models_4";
3
+ import { StopLabelingJobRequest } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopMlflowTrackingServerRequest, StopMlflowTrackingServerResponse } from "../models/models_4";
3
+ import { StopMlflowTrackingServerRequest, StopMlflowTrackingServerResponse } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopMonitoringScheduleRequest } from "../models/models_4";
3
+ import { StopMonitoringScheduleRequest } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopNotebookInstanceInput } from "../models/models_4";
3
+ import { StopNotebookInstanceInput } from "../models/models_5";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -66,6 +66,27 @@ declare const UpdateClusterCommand_base: {
66
66
  * "STRING_VALUE",
67
67
  * ],
68
68
  * },
69
+ * ScheduledUpdateConfig: { // ScheduledUpdateConfig
70
+ * ScheduleExpression: "STRING_VALUE", // required
71
+ * DeploymentConfig: { // DeploymentConfiguration
72
+ * RollingUpdatePolicy: { // RollingDeploymentPolicy
73
+ * MaximumBatchSize: { // CapacitySizeConfig
74
+ * Type: "INSTANCE_COUNT" || "CAPACITY_PERCENTAGE", // required
75
+ * Value: Number("int"), // required
76
+ * },
77
+ * RollbackMaximumBatchSize: {
78
+ * Type: "INSTANCE_COUNT" || "CAPACITY_PERCENTAGE", // required
79
+ * Value: Number("int"), // required
80
+ * },
81
+ * },
82
+ * WaitIntervalInSeconds: Number("int"),
83
+ * AutoRollbackConfiguration: [ // AutoRollbackAlarms
84
+ * { // AlarmDetails
85
+ * AlarmName: "STRING_VALUE", // required
86
+ * },
87
+ * ],
88
+ * },
89
+ * },
69
90
  * },
70
91
  * ],
71
92
  * NodeRecovery: "Automatic" || "None",
@@ -42,6 +42,29 @@ declare const UpdateClusterSoftwareCommand_base: {
42
42
  * const client = new SageMakerClient(config);
43
43
  * const input = { // UpdateClusterSoftwareRequest
44
44
  * ClusterName: "STRING_VALUE", // required
45
+ * InstanceGroups: [ // UpdateClusterSoftwareInstanceGroups
46
+ * { // UpdateClusterSoftwareInstanceGroupSpecification
47
+ * InstanceGroupName: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * DeploymentConfig: { // DeploymentConfiguration
51
+ * RollingUpdatePolicy: { // RollingDeploymentPolicy
52
+ * MaximumBatchSize: { // CapacitySizeConfig
53
+ * Type: "INSTANCE_COUNT" || "CAPACITY_PERCENTAGE", // required
54
+ * Value: Number("int"), // required
55
+ * },
56
+ * RollbackMaximumBatchSize: {
57
+ * Type: "INSTANCE_COUNT" || "CAPACITY_PERCENTAGE", // required
58
+ * Value: Number("int"), // required
59
+ * },
60
+ * },
61
+ * WaitIntervalInSeconds: Number("int"),
62
+ * AutoRollbackConfiguration: [ // AutoRollbackAlarms
63
+ * { // AlarmDetails
64
+ * AlarmName: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * },
45
68
  * };
46
69
  * const command = new UpdateClusterSoftwareCommand(input);
47
70
  * const response = await client.send(command);
@@ -1039,6 +1039,17 @@ export interface Alarm {
1039
1039
  */
1040
1040
  AlarmName?: string | undefined;
1041
1041
  }
1042
+ /**
1043
+ * <p>The details of the alarm to monitor during the AMI update.</p>
1044
+ * @public
1045
+ */
1046
+ export interface AlarmDetails {
1047
+ /**
1048
+ * <p>The name of the alarm.</p>
1049
+ * @public
1050
+ */
1051
+ AlarmName: string | undefined;
1052
+ }
1042
1053
  /**
1043
1054
  * @public
1044
1055
  * @enum
@@ -8151,6 +8162,36 @@ export interface CanvasAppSettings {
8151
8162
  */
8152
8163
  EmrServerlessSettings?: EmrServerlessSettings | undefined;
8153
8164
  }
8165
+ /**
8166
+ * @public
8167
+ * @enum
8168
+ */
8169
+ export declare const NodeUnavailabilityType: {
8170
+ readonly CAPACITY_PERCENTAGE: "CAPACITY_PERCENTAGE";
8171
+ readonly INSTANCE_COUNT: "INSTANCE_COUNT";
8172
+ };
8173
+ /**
8174
+ * @public
8175
+ */
8176
+ export type NodeUnavailabilityType = (typeof NodeUnavailabilityType)[keyof typeof NodeUnavailabilityType];
8177
+ /**
8178
+ * <p>The configuration of the size measurements of the AMI update. Using this
8179
+ * configuration, you can specify whether SageMaker should update your instance group
8180
+ * by an amount or percentage of instances.</p>
8181
+ * @public
8182
+ */
8183
+ export interface CapacitySizeConfig {
8184
+ /**
8185
+ * <p>Specifies whether SageMaker should process the update by amount or percentage of instances.</p>
8186
+ * @public
8187
+ */
8188
+ Type: NodeUnavailabilityType | undefined;
8189
+ /**
8190
+ * <p>Specifies the amount or percentage of instances SageMaker updates at a time.</p>
8191
+ * @public
8192
+ */
8193
+ Value: number | undefined;
8194
+ }
8154
8195
  /**
8155
8196
  * <p>Configuration specifying how to treat different headers. If no headers are specified
8156
8197
  * Amazon SageMaker AI will by default base64 encode when capturing the data.</p>
@@ -8936,6 +8977,59 @@ export declare const DeepHealthCheckType: {
8936
8977
  * @public
8937
8978
  */
8938
8979
  export type DeepHealthCheckType = (typeof DeepHealthCheckType)[keyof typeof DeepHealthCheckType];
8980
+ /**
8981
+ * <p>The configurations that SageMaker uses when updating the AMI versions.</p>
8982
+ * @public
8983
+ */
8984
+ export interface RollingDeploymentPolicy {
8985
+ /**
8986
+ * <p>The maximum amount of instances in the cluster that SageMaker can update at a time.</p>
8987
+ * @public
8988
+ */
8989
+ MaximumBatchSize: CapacitySizeConfig | undefined;
8990
+ /**
8991
+ * <p>The maximum amount of instances in the cluster that SageMaker can roll back at a time.</p>
8992
+ * @public
8993
+ */
8994
+ RollbackMaximumBatchSize?: CapacitySizeConfig | undefined;
8995
+ }
8996
+ /**
8997
+ * <p>The configuration to use when updating the AMI versions.</p>
8998
+ * @public
8999
+ */
9000
+ export interface DeploymentConfiguration {
9001
+ /**
9002
+ * <p>The policy that SageMaker uses when updating the AMI versions of the cluster. </p>
9003
+ * @public
9004
+ */
9005
+ RollingUpdatePolicy?: RollingDeploymentPolicy | undefined;
9006
+ /**
9007
+ * <p>The duration in seconds that SageMaker waits before updating more instances in the cluster.</p>
9008
+ * @public
9009
+ */
9010
+ WaitIntervalInSeconds?: number | undefined;
9011
+ /**
9012
+ * <p>An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.</p>
9013
+ * @public
9014
+ */
9015
+ AutoRollbackConfiguration?: AlarmDetails[] | undefined;
9016
+ }
9017
+ /**
9018
+ * <p>The configuration object of the schedule that SageMaker follows when updating the AMI.</p>
9019
+ * @public
9020
+ */
9021
+ export interface ScheduledUpdateConfig {
9022
+ /**
9023
+ * <p>A cron expression that specifies the schedule that SageMaker follows when updating the AMI.</p>
9024
+ * @public
9025
+ */
9026
+ ScheduleExpression: string | undefined;
9027
+ /**
9028
+ * <p>The configuration to use when updating the AMI versions.</p>
9029
+ * @public
9030
+ */
9031
+ DeploymentConfig?: DeploymentConfiguration | undefined;
9032
+ }
8939
9033
  /**
8940
9034
  * @public
8941
9035
  * @enum
@@ -9066,6 +9160,11 @@ export interface ClusterInstanceGroupDetails {
9066
9160
  * @public
9067
9161
  */
9068
9162
  OverrideVpcConfig?: VpcConfig | undefined;
9163
+ /**
9164
+ * <p>The configuration object of the schedule that SageMaker follows when updating the AMI.</p>
9165
+ * @public
9166
+ */
9167
+ ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
9069
9168
  }
9070
9169
  /**
9071
9170
  * <p>The specifications of an instance group that you need to define.</p>
@@ -9167,6 +9266,11 @@ export interface ClusterInstanceGroupSpecification {
9167
9266
  * @public
9168
9267
  */
9169
9268
  OverrideVpcConfig?: VpcConfig | undefined;
9269
+ /**
9270
+ * <p>The configuration object of the schedule that SageMaker uses to update the AMI.</p>
9271
+ * @public
9272
+ */
9273
+ ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
9170
9274
  }
9171
9275
  /**
9172
9276
  * <p>Specifies the placement details for the node in the SageMaker HyperPod cluster, including the
@@ -9249,6 +9353,11 @@ export interface ClusterNodeDetails {
9249
9353
  * @public
9250
9354
  */
9251
9355
  LaunchTime?: Date | undefined;
9356
+ /**
9357
+ * <p>The time of when the cluster was last updated.</p>
9358
+ * @public
9359
+ */
9360
+ LastSoftwareUpdateTime?: Date | undefined;
9252
9361
  /**
9253
9362
  * <p>The LifeCycle configuration applied to the instance.</p>
9254
9363
  * @public
@@ -9333,6 +9442,11 @@ export interface ClusterNodeSummary {
9333
9442
  * @public
9334
9443
  */
9335
9444
  LaunchTime: Date | undefined;
9445
+ /**
9446
+ * <p>The time of when SageMaker last updated the software of the instances in the cluster.</p>
9447
+ * @public
9448
+ */
9449
+ LastSoftwareUpdateTime?: Date | undefined;
9336
9450
  /**
9337
9451
  * <p>The status of the instance.</p>
9338
9452
  * @public
@@ -10293,266 +10407,3 @@ export interface MultiModelConfig {
10293
10407
  */
10294
10408
  ModelCacheSetting?: ModelCacheSetting | undefined;
10295
10409
  }
10296
- /**
10297
- * <p>Describes the container, as part of model definition.</p>
10298
- * @public
10299
- */
10300
- export interface ContainerDefinition {
10301
- /**
10302
- * <p>This parameter is ignored for models that contain only a
10303
- * <code>PrimaryContainer</code>.</p>
10304
- * <p>When a <code>ContainerDefinition</code> is part of an inference pipeline, the value of
10305
- * the parameter uniquely identifies the container for the purposes of logging and metrics.
10306
- * For information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html">Use Logs and Metrics
10307
- * to Monitor an Inference Pipeline</a>. If you don't specify a value for this
10308
- * parameter for a <code>ContainerDefinition</code> that is part of an inference pipeline,
10309
- * a unique name is automatically assigned based on the position of the
10310
- * <code>ContainerDefinition</code> in the pipeline. If you specify a value for the
10311
- * <code>ContainerHostName</code> for any <code>ContainerDefinition</code> that is part
10312
- * of an inference pipeline, you must specify a value for the
10313
- * <code>ContainerHostName</code> parameter of every <code>ContainerDefinition</code>
10314
- * in that pipeline.</p>
10315
- * @public
10316
- */
10317
- ContainerHostname?: string | undefined;
10318
- /**
10319
- * <p>The path where inference code is stored. This can be either in Amazon EC2 Container Registry or in a
10320
- * Docker registry that is accessible from the same VPC that you configure for your
10321
- * endpoint. If you are using your own custom algorithm instead of an algorithm provided by
10322
- * SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both
10323
- * <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>
10324
- * image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with
10325
- * Amazon SageMaker</a>. </p>
10326
- * <note>
10327
- * <p>The model artifacts in an Amazon S3 bucket and the Docker image for inference container
10328
- * in Amazon EC2 Container Registry must be in the same region as the model or endpoint you are
10329
- * creating.</p>
10330
- * </note>
10331
- * @public
10332
- */
10333
- Image?: string | undefined;
10334
- /**
10335
- * <p>Specifies whether the model container is in Amazon ECR or a private Docker registry
10336
- * accessible from your Amazon Virtual Private Cloud (VPC). For information about storing containers in a
10337
- * private Docker registry, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html">Use a
10338
- * Private Docker Registry for Real-Time Inference Containers</a>. </p>
10339
- * <note>
10340
- * <p>The model artifacts in an Amazon S3 bucket and the Docker image for inference container
10341
- * in Amazon EC2 Container Registry must be in the same region as the model or endpoint you are
10342
- * creating.</p>
10343
- * </note>
10344
- * @public
10345
- */
10346
- ImageConfig?: ImageConfig | undefined;
10347
- /**
10348
- * <p>Whether the container hosts a single model or multiple models.</p>
10349
- * @public
10350
- */
10351
- Mode?: ContainerMode | undefined;
10352
- /**
10353
- * <p>The S3 path where the model artifacts, which result from model training, are stored.
10354
- * This path must point to a single gzip compressed tar archive (.tar.gz suffix). The S3
10355
- * path is required for SageMaker built-in algorithms, but not if you use your own algorithms.
10356
- * For more information on built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">Common
10357
- * Parameters</a>. </p>
10358
- * <note>
10359
- * <p>The model artifacts must be in an S3 bucket that is in the same region as the
10360
- * model or endpoint you are creating.</p>
10361
- * </note>
10362
- * <p>If you provide a value for this parameter, SageMaker uses Amazon Web Services Security Token
10363
- * Service to download model artifacts from the S3 path you provide. Amazon Web Services STS
10364
- * is activated in your Amazon Web Services account by default. If you previously
10365
- * deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
10366
- * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the
10367
- * <i>Amazon Web Services Identity and Access Management User
10368
- * Guide</i>.</p>
10369
- * <important>
10370
- * <p>If you use a built-in algorithm to create a model, SageMaker requires that you provide
10371
- * a S3 path to the model artifacts in <code>ModelDataUrl</code>.</p>
10372
- * </important>
10373
- * @public
10374
- */
10375
- ModelDataUrl?: string | undefined;
10376
- /**
10377
- * <p>Specifies the location of ML model data to deploy.</p>
10378
- * <note>
10379
- * <p>Currently you cannot use <code>ModelDataSource</code> in conjunction with SageMaker
10380
- * batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker
10381
- * Marketplace.</p>
10382
- * </note>
10383
- * @public
10384
- */
10385
- ModelDataSource?: ModelDataSource | undefined;
10386
- /**
10387
- * <p>Data sources that are available to your model in addition to the one that you specify for <code>ModelDataSource</code> when you use the <code>CreateModel</code> action.</p>
10388
- * @public
10389
- */
10390
- AdditionalModelDataSources?: AdditionalModelDataSource[] | undefined;
10391
- /**
10392
- * <p>The environment variables to set in the Docker container. Don't include any
10393
- * sensitive data in your environment variables.</p>
10394
- * <p>The maximum length of each key and value in the <code>Environment</code> map is
10395
- * 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If
10396
- * you pass multiple containers to a <code>CreateModel</code> request, then the maximum
10397
- * length of all of their maps, combined, is also 32 KB.</p>
10398
- * @public
10399
- */
10400
- Environment?: Record<string, string> | undefined;
10401
- /**
10402
- * <p>The name or Amazon Resource Name (ARN) of the model package to use to create the
10403
- * model.</p>
10404
- * @public
10405
- */
10406
- ModelPackageName?: string | undefined;
10407
- /**
10408
- * <p>The inference specification name in the model package version.</p>
10409
- * @public
10410
- */
10411
- InferenceSpecificationName?: string | undefined;
10412
- /**
10413
- * <p>Specifies additional configuration for multi-model endpoints.</p>
10414
- * @public
10415
- */
10416
- MultiModelConfig?: MultiModelConfig | undefined;
10417
- }
10418
- /**
10419
- * @public
10420
- * @enum
10421
- */
10422
- export declare const ContentClassifier: {
10423
- readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
10424
- readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
10425
- };
10426
- /**
10427
- * @public
10428
- */
10429
- export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
10430
- /**
10431
- * <p>A structure describing the source of a context.</p>
10432
- * @public
10433
- */
10434
- export interface ContextSource {
10435
- /**
10436
- * <p>The URI of the source.</p>
10437
- * @public
10438
- */
10439
- SourceUri: string | undefined;
10440
- /**
10441
- * <p>The type of the source.</p>
10442
- * @public
10443
- */
10444
- SourceType?: string | undefined;
10445
- /**
10446
- * <p>The ID of the source.</p>
10447
- * @public
10448
- */
10449
- SourceId?: string | undefined;
10450
- }
10451
- /**
10452
- * <p>Lists a summary of the properties of a context. A context provides a logical grouping
10453
- * of other entities.</p>
10454
- * @public
10455
- */
10456
- export interface ContextSummary {
10457
- /**
10458
- * <p>The Amazon Resource Name (ARN) of the context.</p>
10459
- * @public
10460
- */
10461
- ContextArn?: string | undefined;
10462
- /**
10463
- * <p>The name of the context.</p>
10464
- * @public
10465
- */
10466
- ContextName?: string | undefined;
10467
- /**
10468
- * <p>The source of the context.</p>
10469
- * @public
10470
- */
10471
- Source?: ContextSource | undefined;
10472
- /**
10473
- * <p>The type of the context.</p>
10474
- * @public
10475
- */
10476
- ContextType?: string | undefined;
10477
- /**
10478
- * <p>When the context was created.</p>
10479
- * @public
10480
- */
10481
- CreationTime?: Date | undefined;
10482
- /**
10483
- * <p>When the context was last modified.</p>
10484
- * @public
10485
- */
10486
- LastModifiedTime?: Date | undefined;
10487
- }
10488
- /**
10489
- * @public
10490
- * @enum
10491
- */
10492
- export declare const HyperParameterScalingType: {
10493
- readonly AUTO: "Auto";
10494
- readonly LINEAR: "Linear";
10495
- readonly LOGARITHMIC: "Logarithmic";
10496
- readonly REVERSE_LOGARITHMIC: "ReverseLogarithmic";
10497
- };
10498
- /**
10499
- * @public
10500
- */
10501
- export type HyperParameterScalingType = (typeof HyperParameterScalingType)[keyof typeof HyperParameterScalingType];
10502
- /**
10503
- * <p>A list of continuous hyperparameters to tune.</p>
10504
- * @public
10505
- */
10506
- export interface ContinuousParameterRange {
10507
- /**
10508
- * <p>The name of the continuous hyperparameter to tune.</p>
10509
- * @public
10510
- */
10511
- Name: string | undefined;
10512
- /**
10513
- * <p>The minimum value for the hyperparameter.
10514
- * The
10515
- * tuning job uses floating-point values between this value and <code>MaxValue</code>for
10516
- * tuning.</p>
10517
- * @public
10518
- */
10519
- MinValue: string | undefined;
10520
- /**
10521
- * <p>The maximum value for the hyperparameter. The tuning job uses floating-point values
10522
- * between <code>MinValue</code> value and this value for tuning.</p>
10523
- * @public
10524
- */
10525
- MaxValue: string | undefined;
10526
- /**
10527
- * <p>The scale that hyperparameter tuning uses to search the hyperparameter range. For
10528
- * information about choosing a hyperparameter scale, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type">Hyperparameter Scaling</a>. One of the following values:</p>
10529
- * <dl>
10530
- * <dt>Auto</dt>
10531
- * <dd>
10532
- * <p>SageMaker hyperparameter tuning chooses the best scale for the
10533
- * hyperparameter.</p>
10534
- * </dd>
10535
- * <dt>Linear</dt>
10536
- * <dd>
10537
- * <p>Hyperparameter tuning searches the values in the hyperparameter range by
10538
- * using a linear scale.</p>
10539
- * </dd>
10540
- * <dt>Logarithmic</dt>
10541
- * <dd>
10542
- * <p>Hyperparameter tuning searches the values in the hyperparameter range by
10543
- * using a logarithmic scale.</p>
10544
- * <p>Logarithmic scaling works only for ranges that have only values greater
10545
- * than 0.</p>
10546
- * </dd>
10547
- * <dt>ReverseLogarithmic</dt>
10548
- * <dd>
10549
- * <p>Hyperparameter tuning searches the values in the hyperparameter range by
10550
- * using a reverse logarithmic scale.</p>
10551
- * <p>Reverse logarithmic scaling works only for ranges that are entirely within
10552
- * the range 0<=x<1.0.</p>
10553
- * </dd>
10554
- * </dl>
10555
- * @public
10556
- */
10557
- ScalingType?: HyperParameterScalingType | undefined;
10558
- }